Skip to content

Reduce compilation warnings, so we can see when something is wrong. #853

Reduce compilation warnings, so we can see when something is wrong.

Reduce compilation warnings, so we can see when something is wrong. #853

Triggered via pull request September 26, 2023 10:08
Status Success
Total duration 18m 6s
Artifacts 7

dotnet.yml

on: pull_request
Build and Optionally Publish Meadow.CLI nuget
5m 51s
Build and Optionally Publish Meadow.CLI nuget
Build Win 2019 Extension
9m 49s
Build Win 2019 Extension
Build Win 2022 Extension
11m 28s
Build Win 2022 Extension
Build Mac 2019 Extension
1m 18s
Build Mac 2019 Extension
Build Mac 2022 Extension
56s
Build Mac 2022 Extension
Build VSCode Extension
11m 46s
Build VSCode Extension
Fit to window
Zoom out
Zoom in

Annotations

73 warnings
Build and Optionally Publish Meadow.CLI nuget
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, NuGet/[email protected], actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build and Optionally Publish Meadow.CLI nuget
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "LibUsbDotNet
Build and Optionally Publish Meadow.CLI nuget
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "LibUsbDotNet
Build and Optionally Publish Meadow.CLI nuget: Meadow.CLI.Core/Internals/Dfu/DfuUtils.cs#L22
The field 'DfuUtils._usbBootLoaderVenderID' is assigned but its value is never used
Build and Optionally Publish Meadow.CLI nuget: Meadow.CLI.Core/Internals/Dfu/DfuUtils.cs#L22
The field 'DfuUtils._usbBootLoaderVenderID' is assigned but its value is never used
Build and Optionally Publish Meadow.CLI nuget
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Mac 2022 Extension
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, NuGet/[email protected], actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Mac 2022 Extension
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "LibUsbDotNet
Build Mac 2022 Extension
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.
Build Mac 2022 Extension
This call site is reachable on all platforms. 'Console.WriteLine(string?)' is only supported on: 'Unix'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'IPAddress.Loopback' is only supported on: 'Unix'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'ProcessStartInfo.UseShellExecute' is only supported on: 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'Process.WaitForExit()' is only supported on: 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'ProcessStartInfo.Arguments' is only supported on: 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'ProcessStartInfo.FileName' is only supported on: 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'ProcessStartInfo.RedirectStandardOutput' is only supported on: 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
This call site is reachable on all platforms. 'Process.Start(ProcessStartInfo)' is only supported on: 'macOS/OSX'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1416)
Build Mac 2022 Extension
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Mac 2019 Extension
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, NuGet/[email protected], actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Mac 2019 Extension
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Mac 2019 Extension: Meadow.CLI.Core/Managers/PackageManager.cs#L40
Dereference of a possibly null reference.
Build Mac 2019 Extension: Meadow.CLI.Core/Managers/PackageManager.cs#L93
Possible null reference return.
Build Mac 2019 Extension: Meadow.CLI.Core/Managers/PackageManager.cs#L105
Dereference of a possibly null reference.
Build Mac 2019 Extension: Meadow.CLI.Core/Firmware/FirmwareManager.cs#L163
Possible null reference argument for parameter 'osVersion' in 'Task IMeadowDevice.DeployApp(string applicationFilePath, string osVersion, bool includePdbs = false, bool verbose = false, IList<string>? linkOptions = null, CancellationToken cancellationToken = default(CancellationToken))'.
Build Mac 2019 Extension: Meadow.CLI.Core/Managers/DownloadManager.cs#L308
Possible null reference argument for parameter 's' in 'Version Extensions.ToVersion(string s)'.
Build Mac 2019 Extension: Meadow.CLI.Core/Internals/Dfu/DfuUtils.cs#L189
Possible null reference argument for parameter 'firmwareVersion' in 'string DownloadManager.FirmwarePathForVersion(string firmwareVersion)'.
Build Mac 2019 Extension: Meadow.CLI.Core/Devices/MeadowLocalDevice.Comms.cs#L401
Dereference of a possibly null reference.
Build Mac 2019 Extension: Meadow.CLI.Core/Devices/MeadowLocalDevice.Comms.cs#L404
Dereference of a possibly null reference.
Build Mac 2019 Extension: Meadow.CLI.Core/Devices/MeadowLocalDevice.FileManager.cs#L246
Possible null reference argument for parameter 'firmwareVersion' in 'string DownloadManager.FirmwarePathForVersion(string firmwareVersion)'.
Build Mac 2019 Extension
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.
Build Mac 2019 Extension
.NET 5.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
Build Win 2019 Extension
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, NuGet/[email protected], actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Win 2019 Extension
.NET 5.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
Build Win 2019 Extension: MeadowLogger/EventId.cs#L23
Cannot convert null literal to non-nullable reference type.
Build Win 2019 Extension: MeadowLogger/NullLogger.cs#L22
Possible null reference return.
Build Win 2019 Extension: MeadowLogger/LoggerInformation.cs#L61
Possible null reference argument for parameter 'state' in 'IDisposable IExternalScopeProvider.Push(object state)'.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L23
Converting null literal or possible null value to non-nullable type.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L61
Converting null literal or possible null value to non-nullable type.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L112
Converting null literal or possible null value to non-nullable type.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L11
Non-nullable property 'Loggers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L12
Non-nullable property 'MessageLoggers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L13
Non-nullable property 'ScopeLoggers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build Win 2019 Extension: MeadowLogger/Logger.cs#L149
Non-nullable field '_disposable0' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build Win 2019 Extension
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build Win 2022 Extension
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, NuGet/[email protected], actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build Win 2022 Extension: MeadowLogger/EventId.cs#L23
Cannot convert null literal to non-nullable reference type.
Build Win 2022 Extension: MeadowLogger/NullLogger.cs#L22
Possible null reference return.
Build Win 2022 Extension: MeadowLogger/LoggerInformation.cs#L61
Possible null reference argument for parameter 'state' in 'IDisposable IExternalScopeProvider.Push(object state)'.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L23
Converting null literal or possible null value to non-nullable type.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L61
Converting null literal or possible null value to non-nullable type.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L112
Converting null literal or possible null value to non-nullable type.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L11
Non-nullable property 'Loggers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L12
Non-nullable property 'MessageLoggers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L13
Non-nullable property 'ScopeLoggers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Build Win 2022 Extension: MeadowLogger/Logger.cs#L149
Non-nullable field '_disposable0' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Build Win 2022 Extension
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Build VSCode Extension
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, Nuget/[email protected], actions/setup-node@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
ProjectReference 'D:\a\Meadow.CLI\Meadow.CLI\vs-code\externals\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj' was resolved using '.NETFramework,Version=v4.7.2' instead of the project target framework '.NETCoreApp,Version=v7.0'. This project may not be fully compatible with your project.
Build VSCode Extension
ProjectReference 'D:\a\Meadow.CLI\Meadow.CLI\vs-code\externals\nrefactory\ICSharpCode.NRefactory.CSharp\ICSharpCode.NRefactory.CSharp.csproj' was resolved using '.NETFramework,Version=v4.7.2' instead of the project target framework '.NETCoreApp,Version=v7.0'. This project may not be fully compatible with your project.
Build VSCode Extension
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "LibUsbDotNet
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.
Build VSCode Extension
ProjectReference 'D:\a\Meadow.CLI\Meadow.CLI\vs-code\externals\nrefactory\ICSharpCode.NRefactory\ICSharpCode.NRefactory.csproj' was resolved using '.NETFramework,Version=v4.7.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
Build VSCode Extension
ProjectReference 'D:\a\Meadow.CLI\Meadow.CLI\vs-code\externals\nrefactory\ICSharpCode.NRefactory.CSharp\ICSharpCode.NRefactory.CSharp.csproj' was resolved using '.NETFramework,Version=v4.7.2' instead of the project target framework '.NETCoreApp,Version=v5.0'. This project may not be fully compatible with your project.
Build VSCode Extension
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
Meadow.CLI.Classic.nuget.1.3.4.0 Expired
3.38 MB
Meadow.CLI.nuget.1.3.4.0 Expired
3.67 MB
Meadow.Mac.2019.mpack.1.3.4 Expired
2.01 MB
Meadow.Mac.2022.mpack.1.3.4 Expired
635 KB
Meadow.VSCode.vsix.1.3.4 Expired
9.31 MB
Meadow.Win.VS2019.vsix.1.3.4 Expired
3.64 MB
Meadow.Win.VS2022.vsix.1.3.4 Expired
3.44 MB