Skip to content

fix(tooling): nullable options #566

fix(tooling): nullable options

fix(tooling): nullable options #566

Triggered via push November 24, 2024 05:15
Status Failure
Total duration 4m 55s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 149 warnings
windows-latest
[xUnit.net 00:00:00.60] Nuke.Common.Tests.SettingsTest.TestXunit2 [FAIL]
Nuke.Common.Tests.SettingsTest.TestXunit2: source/Nuke.Common.Tests/SettingsTest.cs#L69
Expected arguments to be "A.csproj B.csproj D.config B.csproj "new folder\E.config"" with a length of 58, but "B.csproj D.config B.csproj "new folder\E.config"" has a length of 48, differs near "B.c" (index 0).
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
windows-latest
Could not inject value for "Build.JetBrainsMonoVersion"
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Helm\Helm.Generated.cs(936,124): warning CS0108: 'HelmInstallSettings.Set' hides inherited member 'Options.Set(string, object)'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Helm\Helm.Generated.cs(979,124): warning CS0108: 'HelmLintSettings.Set' hides inherited member 'Options.Set(string, object)'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Helm\Helm.Generated.cs(1338,124): warning CS0108: 'HelmTemplateSettings.Set' hides inherited member 'Options.Set(string, object)'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Helm\Helm.Generated.cs(1424,124): warning CS0108: 'HelmUpgradeSettings.Set' hides inherited member 'Options.Set(string, object)'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Docker\Docker.Generated.cs(5343,59): warning CS0108: 'DockerBuildxCreateSettings.Config' hides inherited member 'DockerOptionsBase.Config'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Docker\Docker.Generated.cs(2041,59): warning CS0108: 'DockerServiceCreateSettings.Config' hides inherited member 'DockerOptionsBase.Config'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Docker\Docker.Generated.cs(2775,50): warning CS0108: 'DockerConfigCreateSettings.Config' hides inherited member 'DockerOptionsBase.Config'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Docker\DockerTargetDefinitionExtensions.cs(105,44): warning CS0618: 'ToolOptionsExtensions.SetProcessLogger<T>(T, Action<OutputType, string>)' is obsolete: 'Marked for removal' [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common\Tools\Helm\Helm.Generated.cs(936,124): warning CS0108: 'HelmInstallSettings.Set' hides inherited member 'Options.Set(string, object)'. Use the new keyword if hiding was intended. [D:\a\nuke\nuke\source\Nuke.Common\Nuke.Common.csproj]
Potentially misleading parameter name in lambda or local function: source/Nuke.Common.Tests/SettingsTest.cs#L154
The '_' name is typically reserved for parameters without usages
Nullability attribute usage with declaration of void or value type: source/Nuke.Utilities/IO/RelativePath.cs#L45
Applying nullness annotation to value type is meaningless
Nullability attribute usage with declaration of void or value type: source/Nuke.Utilities/IO/AbsolutePath.cs#L111
Applying nullness annotation to value type is meaningless
Use preferred argument style for literal values: source/Nuke.Build/Host.cs#L61
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Build/Logging.cs#L196
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Tooling.Tests/OptionsTest.cs#L47
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Utilities/Text/String.Truncate.cs#L14
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Build/Logging.cs#L206
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Tooling.Tests/OptionsTest.cs#L41
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Tooling/ToolTasks.Run.cs#L74
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Build/Logging.cs#L196
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Common/Tools/Unity/UnityTasks.cs#L127
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Common.Tests/SettingsTest.cs#L131
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Tooling.Tests/OptionsTest.cs#L35
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Build/Logging.cs#L206
Inconsistent argument style: missing name identifier
Use preferred body style (convert into method or operator with preferred body style): source/Nuke.Tooling/ToolTasks.cs#L27
Code body does not conform to code style settings: use statement body
Use preferred body style (convert into method or operator with preferred body style): source/Nuke.Build/NukeBuild.Interface.cs#L19
Code body does not conform to code style settings: use statement body
Use preferred body style (convert into method or operator with preferred body style): source/Nuke.Tooling/ToolTasks.ToolPath.cs#L127
Code body does not conform to code style settings: use statement body
Use preferred body style (convert into method or operator with preferred body style): source/Nuke.Tooling/ToolTasks.cs#L24
Code body does not conform to code style settings: use statement body
Use preferred body style (convert into method or operator with preferred body style): source/Nuke.Tooling/ToolTasks.cs#L15
Code body does not conform to code style settings: use statement body
Possible 'null' assignment to non-nullable entity: source/Nuke.MSBuildTasks/ContextAwareTask.cs#L38
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: source/Nuke.Tooling/NuGetPackageResolver.cs#L181
Possible 'null' assignment to non-nullable entity
Possible 'null' assignment to non-nullable entity: source/Nuke.MSBuildTasks/ContextAwareTask.cs#L165
Possible 'null' assignment to non-nullable entity
Keyword 'new' is required: source/Nuke.Common/Tools/Docker/Docker.Generated.cs#L2041
The keyword 'new' is required on 'Config' because it hides property 'string Nuke.Common.Tools.Docker.DockerOptionsBase.Config'
Keyword 'new' is required: source/Nuke.Common/Tools/Helm/Helm.Generated.cs#L1424
The keyword 'new' is required on 'Set' because it hides method 'void Nuke.Common.Tooling.Options.Set(string, object)'
Keyword 'new' is required: source/Nuke.Common/Tools/Helm/Helm.Generated.cs#L979
The keyword 'new' is required on 'Set' because it hides method 'void Nuke.Common.Tooling.Options.Set(string, object)'
Keyword 'new' is required: source/Nuke.Common/Tools/Docker/Docker.Generated.cs#L2775
The keyword 'new' is required on 'Config' because it hides property 'string Nuke.Common.Tools.Docker.DockerOptionsBase.Config'
Keyword 'new' is required: source/Nuke.Common/Tools/Helm/Helm.Generated.cs#L936
The keyword 'new' is required on 'Set' because it hides method 'void Nuke.Common.Tooling.Options.Set(string, object)'
Keyword 'new' is required: source/Nuke.Common/Tools/Docker/Docker.Generated.cs#L5343
The keyword 'new' is required on 'Config' because it hides property 'string Nuke.Common.Tools.Docker.DockerOptionsBase.Config'
Keyword 'new' is required: source/Nuke.Common/Tools/Helm/Helm.Generated.cs#L1338
The keyword 'new' is required on 'Set' because it hides method 'void Nuke.Common.Tooling.Options.Set(string, object)'
Use of obsolete symbol: source/Nuke.Common/Tools/Docker/DockerTargetDefinitionExtensions.cs#L120
CS0618: Method 'Nuke.Common.Tooling.ToolOptionsExtensions.SetProcessLogger(this T, Action)' is obsolete: 'Marked for removal'
Class with virtual (overridable) members never inherited (non-private accessibility): source/Nuke.Common/Tools/AzureKeyVault/AzureKeyVault.cs#L17
Class 'AzureKeyVaultConfiguration' has some virtual members but no inheritors
Co-variant array conversion: source/Nuke.Utilities/Task.WaitAll.cs#L28
Co-variant array conversion from Task\[\] to Task\[\] can cause run-time exception on write operation
Possible comparison of value type with 'null': source/Nuke.Utilities/Object.When.cs#L19
Possible comparison of value type with 'null'
Member initialized value ignored: source/Nuke.Tooling.Tests/ToolTasksLoggerTest.cs#L19
Field initializer value ignored during initialization
Mismatch of optional parameter value in overridden method: source/Nuke.Common/Tools/Unity/UnityTasks.cs#L90
Parameter options in base method 'Func GetExitHandler(ToolOptions)' has default value
Mismatch of optional parameter value in overridden method: source/Nuke.Common/Tools/Unity/UnityTasks.cs#L77
Parameter options in base method 'IReadOnlyCollection Run(ToolOptions)' has default value
Mismatch of optional parameter value in overridden method: source/Nuke.Common/Tools/Xunit/XunitTasks.cs#L21
Parameter options in base method 'Func GetExitHandler(ToolOptions)' has default value
Redundant cast: source/Nuke.Tooling/DelegateHelper.cs#L58
Type cast is redundant
Redundant using directive: source/Nuke.Tooling.Tests/ToolTasksToolPathTest.cs#L6
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Build.Tests/SchemaUtilityTest.cs#L12
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Tooling/ToolOptions.Properties.cs#L9
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Components/ISignPackages.cs#L14
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Build.Tests/ParameterServiceTest.cs#L10
Using directive is not required by the code and can be safely removed
Base type is required: source/Nuke.Tooling.Tests/ToolTasksToolPathTest.cs#L59
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetToolAttribute'
Base type is required: source/Nuke.Tooling.Tests/ToolTasksToolPathTest.cs#L68
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetToolAttribute'
'value' parameter is not used: source/Nuke.Tooling/ToolRequirement.cs#L33
'value' parameter is not used
'value' parameter is not used: source/Nuke.Tooling/ToolRequirement.cs#L44
'value' parameter is not used
'value' parameter is not used: source/Nuke.Tooling/ToolRequirement.cs#L39
'value' parameter is not used
'value' parameter is not used: source/Nuke.Tooling/ToolRequirement.cs#L38
'value' parameter is not used
'value' parameter is not used: source/Nuke.Tooling/ToolRequirement.cs#L27
'value' parameter is not used
'value' parameter is not used: source/Nuke.Tooling/ToolRequirement.cs#L32
'value' parameter is not used