Skip to content

Fix warnings.

Fix warnings. #44

Triggered via push May 9, 2024 13:53
Status Success
Total duration 6m 2s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
Android Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Android Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Android Build
Found version-specific or distribution-specific runtime identifier(s): alpine-arm, alpine-arm64, alpine-x64. Affected libraries: SQLitePCLRaw.lib.e_sqlite3. In .NET 8.0 and higher, assets for version-specific and distribution-specific runtime identifiers will not be found by default. See https://aka.ms/dotnet/rid-usage for details.
Android Build: src/TramlineFive/TramlineFive.Common/Services/MapService.cs#L71
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Android Build: src/TramlineFive/TramlineFive.Common/Services/MapService.cs#L103
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Android Build: src/TramlineFive/TramlineFive.Common/Services/LineMapService.cs#L39
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Android Build: src/TramlineFive/TramlineFive.Common/Services/MapService.cs#L220
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Android Build: src/TramlineFive/TramlineFive.Common/ViewModels/LineDetailsViewModel.cs#L99
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Android Build: src/TramlineFive/TramlineFive.Common/ViewModels/MapViewModel.cs#L146
The variable 'ex' is declared but never used
Android Build: src/TramlineFive/TramlineFive.Common/Services/MapService.cs#L34
The field 'MapService.userStyle' is never used
Android Build: src/TramlineFive/TramlineFive.Common/Services/DirectionsService.cs#L27
The field 'DirectionsService.applicationService' is never used
Android Build: src/TramlineFive/TramlineFive.Common/ViewModels/DirectionsViewModel.cs#L80
The field TramlineFive.Common.ViewModels.DirectionsViewModel.from is annotated with