Skip to content
Triggered via push August 5, 2024 23:40
Status Failure
Total duration 6m 24s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 130 warnings
windows-latest
[xUnit.net 00:00:00.28] Nuke.Common.Tests.ToolOptionsArgumentsTest.TestLookup [FAIL]
Nuke.Common.Tests.ToolOptionsArgumentsTest.TestLookup: source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs#L190
System.ArgumentException : Expected object of type 'System.Reflection.PropertyInfo' to be not null (Parameter 'GetType().GetProperty(x.Name)')
windows-latest
Target "Test" has thrown an exception
windows-latest
Process completed with exit code 1.
windows-latest
D:\a\nuke\nuke\source\Nuke.Common.Tests\SettingsTest.cs(41,13): warning CS0219: The variable 'logEntry' is assigned but its value is never used [D:\a\nuke\nuke\source\Nuke.Common.Tests\Nuke.Common.Tests.csproj]
windows-latest
D:\a\nuke\nuke\source\Nuke.Common.Tests\SettingsTest.cs(41,13): warning CS0219: The variable 'logEntry' is assigned but its value is never used [D:\a\nuke\nuke\source\Nuke.Common.Tests\Nuke.Common.Tests.csproj]
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#L48
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.Tooling.Tests/OptionsTest.cs#L42
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.Build/Logging.cs#L196
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Common/Tools/Octopus/OctopusTasks.cs#L25
Inconsistent argument style: missing name identifier
Use preferred argument style for literal values: source/Nuke.Tooling.Tests/OptionsTest.cs#L36
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.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/New/ToolTasks.cs#L26
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/New/ToolTasks.cs#L23
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/New/ToolTasks.cs#L16
Code body does not conform to code style settings: use statement body
Use explicit or implicit modifier definition for types: source/Nuke.Common/Tools/Xunit/XunitTasks.cs#L21
Inconsistent modifiers style: missing 'internal' modifier
Possible 'null' assignment to non-nullable entity: source/Nuke.Tooling/New/Options.cs#L42
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
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
Member initialized value ignored: source/Nuke.Tooling.Tests/ToolTasksLoggerTest.cs#L20
Field initializer value ignored during initialization
Non-accessed local variable: source/Nuke.Common.Tests/SettingsTest.cs#L41
Local variable 'logEntry' is only assigned but its value is never used
Return value must be disposed but the method or function is not annotated with [MustDisposeResource]: source/Nuke.Utilities/Collections/LookupTable.cs#L76
Return value must be disposed but method 'GetEnumerator' is not annotated with \[MustDisposeResource\]
Possible 'System.NullReferenceException': source/Nuke.Tooling/New/ToolOptions.cs#L36
Possible 'System.NullReferenceException'
Redundant cast: source/Nuke.Tooling/New/DelegateHelper.cs#L58
Type cast is redundant
Redundant using directive: source/Nuke.Tooling.Generator/Generators/DataClassGenerator.cs#L10
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Tooling.Generator/Generators/DataClassGenerator.cs#L6
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Common/Tools/Pulumi/PulumiTasks.cs#L6
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Tooling/ProcessExtensions.cs#L10
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Tooling/Old/ToolSettings.cs#L10
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.Common/Tools/ReSharper/ReSharperTasks.cs#L11
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Tooling/New/ToolOptions.cs#L10
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Common/Tools/MinVer/MinVerAttribute.cs#L12
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioningAttribute.cs#L11
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
Redundant using directive: source/Nuke.Common/Tools/Pulumi/PulumiTasks.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Common/Tools/ReSharper/ReSharperTasks.cs#L8
Using directive is not required by the code and can be safely removed
Redundant using directive: source/Nuke.Tooling/New/ToolOptions.cs#L6
Using directive is not required by the code and can be safely removed
Base type is required: source/Nuke.Common/Tools/Pulumi/PulumiTasks.cs#L14
Base interface 'Nuke.Common.Tooling.IRequirePathTool' is required by attribute 'PathToolRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioningTasks.cs#L16
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/Netlify/NetlifyTasks.cs#L14
Base interface 'Nuke.Common.Tooling.IRequirePathTool' is required by attribute 'PathToolRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/DocFX/DocFXTasks.cs#L13
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/Npm/NpmTasks.cs#L13
Base interface 'Nuke.Common.Tooling.IRequirePathTool' is required by attribute 'PathToolRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/SonarScanner/SonarScannerTasks.cs#L11
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/MinVer/MinVerTasks.cs#L14
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/DotNet/DotNetTasks.cs#L29
Base interface 'Nuke.Common.Tooling.IRequirePathTool' is required by attribute 'PathToolRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/DotNet/DotNetTasks.cs#L31
Base interface 'Nuke.Common.Tooling.IRequirePathTool' is required by attribute 'PathToolRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/DotCover/DotCoverTasks.cs#L10
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/Octopus/OctopusTasks.cs#L11
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/MSpec/MSpecTasks.cs#L12
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/Git/GitTasks.cs#L10
Base interface 'Nuke.Common.Tooling.IRequirePathTool' is required by attribute 'PathToolRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/ReSharper/ReSharperTasks.cs#L18
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/GitVersion/GitVersionTasks.cs#L16
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/ReportGenerator/ReportGeneratorTasks.cs#L24
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/Codecov/CodecovTasks.cs#L11
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/OctoVersion/OctoVersionTasks.cs#L16
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Base type is required: source/Nuke.Common/Tools/VSWhere/VSWhereTasks.cs#L13
Base interface 'Nuke.Common.Tooling.IRequireNuGetPackage' is required by attribute 'NuGetPackageRequirementAttribute'
Suspicious type conversion or check: source/Nuke.Common/Tools/Unity/UnityTasks.cs#L25
Suspicious cast: there is no type in the solution which is inherited from both 'Nuke.Tooling.ToolOptions' and 'Nuke.Common.Tools.Unity.UnityBaseSettings'
Suspicious type conversion or check: source/Nuke.Common/Tools/Xunit/XunitTasks.cs#L27
Suspicious cast: there is no type in the solution which is inherited from both 'Nuke.Tooling.ToolOptions' and 'Nuke.Common.Tools.Xunit.Xunit2Settings'
Auto-property accessor is never used (non-private accessibility): source/Nuke.Tooling/New/ToolTasks.ToolPath.cs#L56
Auto-property accessor 'FrameworkProperty.set' is never used
Type member is never used (private accessibility): source/Nuke.Tooling.Tests/ToolOptionsArgumentsTest.cs#L209
Property 'String' is never used (except inside its declaration)
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L126
Method 'ClearDictionary' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L111
Method 'AddDictionary' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L190
Method 'AddCollection' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L106
Method 'AddDictionary' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L195
Method 'AddCollection' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L205
Method 'RemoveCollection' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L200
Method 'RemoveCollection' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L121
Method 'RemoveDictionary' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L210
Method 'ClearCollection' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L101
Method 'SetDictionary' return value is never used
Method return value is never used (non-private accessibility): source/Nuke.Tooling/New/Options.cs#L116
Method 'AddDictionary' return value is never used
Unused local variable: source/Nuke.Tooling/New/ToolOptions.Arguments.cs#L202
Local variable 'pairs' is never used