Skip to content

Use code gen logging #719

Use code gen logging

Use code gen logging #719

Triggered via pull request July 30, 2024 16:57
Status Failure
Total duration 1m 51s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 12 warnings
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (csharp)
This version of the CodeQL Action was deprecated on January 18th, 2023, and is no longer updated or supported. For better performance, improved security, and new features, upgrade to v2. For more information, see https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/
Analyze (csharp): tests/MetricsTests.cs#L87
Argument 3: cannot convert from 'int' to 'Opc.Ua.NotificationMessage'
Analyze (csharp): tests/MetricsTests.cs#L87
Argument 4: cannot convert from 'int' to 'Microsoft.Extensions.Logging.ILogger'
Analyze (csharp): tests/MetricsTests.cs#L87
Argument 3: cannot convert from 'int' to 'Opc.Ua.NotificationMessage'
Analyze (csharp): tests/MetricsTests.cs#L87
Argument 4: cannot convert from 'int' to 'Microsoft.Extensions.Logging.ILogger'
Analyze (csharp)
Assets file '/home/runner/work/iot-edge-opc-plc/iot-edge-opc-plc/src/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
Assets file '/home/runner/work/iot-edge-opc-plc/iot-edge-opc-plc/tests/obj/project.assets.json' doesn't have a target for '.NETFramework,Version=v8.0'. Ensure that restore has run and that you have included 'net80' in the TargetFrameworks for your project.
Analyze (csharp)
We were unable to automatically build your code. Please replace the call to the autobuild action with your custom build steps. Failure invoking /opt/hostedtoolcache/CodeQL/2.18.0/x64/codeql/csharp/tools/autobuild.sh with arguments . Exit code 1 and error was: Error: Could not auto-detect a suitable build method
Analyze (csharp)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/autobuild@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Analyze (csharp)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, github/codeql-action/init@v1, actions/setup-dotnet@v1, github/codeql-action/autobuild@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Analyze (csharp): tests/MetricsTests.cs#L30
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L30
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L33
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L33
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L36
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L30
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L30
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L33
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp): tests/MetricsTests.cs#L33
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.