Skip to content

add permissions to allow oidc #199

add permissions to allow oidc

add permissions to allow oidc #199

Triggered via pull request December 19, 2024 20:27
Status Failure
Total duration 4m 52s
Artifacts

ci.yml

on: pull_request
Matrix: build-test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 60 warnings
build-test (net6.0)
Process completed with exit code 1.
build-test (netcoreapp2.0)
.NET Core 3.1 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-test (netcoreapp2.0)
.NET Core 2.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-test (netcoreapp2.0): sdk/src/Core/Plugins/EC2Plugin.cs#L125
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-test (netcoreapp2.0): sdk/src/Core/ThirdParty/LitJson/JsonData.cs#L22
Type ThirdParty.LitJson.JsonData should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
build-test (netcoreapp2.0): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L325
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp2.0): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L326
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp2.0): sdk/src/Core/ThirdParty/LitJson/JsonReader.cs#L263
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp2.0): sdk/src/Core/ThirdParty/LitJson/JsonReader.cs#L264
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp2.0): sdk/src/Core/ThirdParty/LitJson/JsonReader.cs#L265
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp2.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L208
Method WithSamplingStrategy passes 'SamplingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp2.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L193
Method WithDaemonAddress passes 'DaemonAddress' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp2.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L220
Method WithStreamingStrategy passes 'StreamingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0)
.NET Core 3.1 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-test (net6.0)
.NET Core 2.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-test (net6.0): sdk/src/Core/Plugins/EC2Plugin.cs#L125
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-test (net6.0): sdk/src/Core/ThirdParty/LitJson/JsonData.cs#L22
Type ThirdParty.LitJson.JsonData should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
build-test (net6.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L208
Method WithSamplingStrategy passes 'SamplingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L220
Method WithStreamingStrategy passes 'StreamingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L193
Method WithDaemonAddress passes 'DaemonAddress' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L253
Method WithTraceContext passes 'TraceContext' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L242
Method WithSegmentEmitter passes 'SegmentEmitter' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0): sdk/src/Core/AwsXrayRecorderBuilder.cs#L265
Method WithExceptionSerializationStrategy passes 'ExceptionSerializationStartegy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net6.0): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L325
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (net6.0): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L326
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (net462)
.NET Core 2.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-test (net462): sdk/src/Core/Plugins/EC2Plugin.cs#L125
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-test (net462): sdk/src/Core/ThirdParty/LitJson/JsonData.cs#L22
Type ThirdParty.LitJson.JsonData should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
build-test (net462): sdk/src/Core/AwsXrayRecorderBuilder.cs#L220
Method WithStreamingStrategy passes 'StreamingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net462): sdk/src/Core/AwsXrayRecorderBuilder.cs#L193
Method WithDaemonAddress passes 'DaemonAddress' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net462): sdk/src/Core/AwsXrayRecorderBuilder.cs#L208
Method WithSamplingStrategy passes 'SamplingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net462): sdk/src/Core/AwsXrayRecorderBuilder.cs#L242
Method WithSegmentEmitter passes 'SegmentEmitter' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net462): sdk/src/Core/AwsXrayRecorderBuilder.cs#L253
Method WithTraceContext passes 'TraceContext' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net462): sdk/src/Core/AwsXrayRecorderBuilder.cs#L265
Method WithExceptionSerializationStrategy passes 'ExceptionSerializationStartegy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net462): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L325
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (net462): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L326
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (net462)
.NET Core 3.1 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-test (netcoreapp3.1)
.NET Core 3.1 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-test (netcoreapp3.1): sdk/src/Core/Plugins/EC2Plugin.cs#L125
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-test (netcoreapp3.1): sdk/src/Core/ThirdParty/LitJson/JsonData.cs#L22
Type ThirdParty.LitJson.JsonData should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
build-test (netcoreapp3.1): sdk/src/Core/AwsXrayRecorderBuilder.cs#L208
Method WithSamplingStrategy passes 'SamplingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp3.1): sdk/src/Core/AwsXrayRecorderBuilder.cs#L220
Method WithStreamingStrategy passes 'StreamingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp3.1): sdk/src/Core/AwsXrayRecorderBuilder.cs#L193
Method WithDaemonAddress passes 'DaemonAddress' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp3.1): sdk/src/Core/AwsXrayRecorderBuilder.cs#L242
Method WithSegmentEmitter passes 'SegmentEmitter' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp3.1): sdk/src/Core/AwsXrayRecorderBuilder.cs#L253
Method WithTraceContext passes 'TraceContext' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp3.1): sdk/src/Core/AwsXrayRecorderBuilder.cs#L265
Method WithExceptionSerializationStrategy passes 'ExceptionSerializationStartegy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (netcoreapp3.1): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L325
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp3.1): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L326
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (netcoreapp3.1)
.NET Core 2.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-test (net452): sdk/src/Core/Plugins/EC2Plugin.cs#L125
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build-test (net452): sdk/src/Core/ThirdParty/LitJson/JsonData.cs#L22
Type ThirdParty.LitJson.JsonData should override Equals because it implements IEquatable<T> (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1067)
build-test (net452): sdk/src/Core/AwsXrayRecorderBuilder.cs#L220
Method WithStreamingStrategy passes 'StreamingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net452): sdk/src/Core/AwsXrayRecorderBuilder.cs#L208
Method WithSamplingStrategy passes 'SamplingStrategy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net452): sdk/src/Core/AwsXrayRecorderBuilder.cs#L193
Method WithDaemonAddress passes 'DaemonAddress' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net452): sdk/src/Core/AwsXrayRecorderBuilder.cs#L242
Method WithSegmentEmitter passes 'SegmentEmitter' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net452): sdk/src/Core/AwsXrayRecorderBuilder.cs#L253
Method WithTraceContext passes 'TraceContext' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net452): sdk/src/Core/AwsXrayRecorderBuilder.cs#L265
Method WithExceptionSerializationStrategy passes 'ExceptionSerializationStartegy' as the paramName argument to a ArgumentNullException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
build-test (net452): sdk/src/Core/AWSXRayRecorderImpl.cs#L719
Member 'GetSubsegmentsToStream' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)
build-test (net452): sdk/src/Core/ThirdParty/LitJson/JsonWriter.cs#L325
Use 'string.Contains' instead of 'string.IndexOf' to improve readability (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2249)
build-test (net452)
.NET Core 3.1 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-test (net452)
.NET Core 2.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.