Skip to content

Use official Jetbrains InspectCode Github Action #2032

Use official Jetbrains InspectCode Github Action

Use official Jetbrains InspectCode Github Action #2032

Triggered via pull request April 15, 2024 21:31
Status Failure
Total duration 2m 47s
Artifacts 2

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 27 warnings, and 3 notices
compile
Process completed with exit code 1.
compile: NWN.Anvil/src/main/API/Ruleset/ClassFeat.cs#L2
Using directive is not required by the code and can be safely removed
compile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/[email protected], actions/cache@v2, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
compile
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/[email protected], actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/nunitlite/TextRunner.cs#L95
XML comment has badly formed XML -- 'End tag was not expected at this location.'
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/LongLivedMarshalByRefObject.cs#L38
Member 'LongLivedMarshalByRefObject.InitializeLifetimeService()' overrides obsolete member 'MarshalByRefObject.InitializeLifetimeService()'. Add the Obsolete attribute to 'LongLivedMarshalByRefObject.InitializeLifetimeService()'.
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/SetUpFixtureAttribute.cs#L71
The type 'NotNullWhenAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullWhenAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/nunitlite/Options.cs#L493
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/nunitlite/Options.cs#L493
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/TestFixtureAttribute.cs#L108
The type 'DisallowNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'DisallowNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/TestFixtureAttribute.cs#L122
The type 'DisallowNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'DisallowNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/TestFixtureAttribute.cs#L136
The type 'DisallowNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'DisallowNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/TestFixtureAttribute.cs#L153
The type 'DisallowNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'DisallowNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
compile: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Guard.cs#L45
The type 'NotNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
compile
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/
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/[email protected], falti/[email protected], actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/[email protected], falti/[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/
test
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/
test
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/
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/nunitlite/TextRunner.cs#L95
XML comment has badly formed XML -- 'End tag was not expected at this location.'
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/LongLivedMarshalByRefObject.cs#L38
Member 'LongLivedMarshalByRefObject.InitializeLifetimeService()' overrides obsolete member 'MarshalByRefObject.InitializeLifetimeService()'. Add the Obsolete attribute to 'LongLivedMarshalByRefObject.InitializeLifetimeService()'.
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/SetUpFixtureAttribute.cs#L71
The type 'NotNullWhenAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullWhenAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/nunitlite/Options.cs#L493
'SecurityPermissionAttribute' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/nunitlite/Options.cs#L493
'SecurityAction' is obsolete: 'Code Access Security is not supported or honored by the runtime.' (https://aka.ms/dotnet-warnings/SYSLIB0003)
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Attributes/CultureAttribute.cs#L80
The type 'NotNullWhenAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullWhenAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Interfaces/TNode.cs#L303
The type 'NotNullIfNotNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/TestParameters.cs#L94
The type 'NotNullIfNotNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/TestParameters.cs#L107
The type 'NotNullIfNotNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'NotNullIfNotNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
test: NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/TestParameters.cs#L108
The type 'MaybeNullAttribute' in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs' conflicts with the imported type 'MaybeNullAttribute' in 'System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Using the type defined in '/home/runner/work/Anvil/Anvil/NWN.Anvil.TestRunner/src/lib/nunit/src/NUnitFramework/framework/Compatibility/System.Diagnostics.CodeAnalysis/NullableAttributes.cs'.
1407 tests found (test 1 to 660)
There are 1407 tests, see "Raw output" for the list of tests 1 to 660.
1407 tests found (test 661 to 1373)
There are 1407 tests, see "Raw output" for the list of tests 661 to 1373.
1407 tests found (test 1374 to 1407)
There are 1407 tests, see "Raw output" for the list of tests 1374 to 1407.

Artifacts

Produced during runtime
Name Size
Event File Expired
26.8 KB
Test Results Expired
275 KB