Skip to content

Fix for1959

Fix for1959 #2011

Triggered via pull request March 21, 2026 22:49
Status Success
Total duration 3m 39s
Artifacts 4

ci-build.yml

on: pull_request
Matrix: build / build-unix
build  /  collect-coverage
19s
build / collect-coverage
Fit to window
Zoom out
Zoom in

Annotations

1 error and 34 warnings
build / collect-coverage
Process completed with exit code 141.
build / build-unix (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dotnet/[email protected], glennawatson/[email protected]. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build / build-unix (macos-latest): Refit/RefitSettings.cs#L136
Change 'HttpRequestMessageOptions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build-unix (macos-latest): Refit/ProblemDetails.cs#L13
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build-unix (macos-latest): Refit/ProblemDetails.cs#L19
Change 'Extensions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build-unix (macos-latest): Refit/MultipartItem.cs#L133
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
build / build-unix (macos-latest): Refit/MultipartItem.cs#L12
Abstract type 'MultipartItem' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
build / build-unix (macos-latest): Refit/Polyfills.Trimming.cs#L16
Add a public read-only property accessor for positional argument memberSignature of Attribute DynamicDependencyAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019)
build / build-unix (macos-latest): Refit/Polyfills.Trimming.cs#L15
Add a public read-only property accessor for positional argument type of Attribute DynamicDependencyAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019)
build / build-unix (macos-latest): Refit/Polyfills.Trimming.cs#L15
Add a public read-only property accessor for positional argument memberTypes of Attribute DynamicDependencyAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019)
build / build-unix (macos-latest): Refit/ApiException.cs#L67
Field RefitSettings is a member of type ApiException which is serializable but is of type Refit.RefitSettings which is not serializable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2235)
build / build-unix (macos-latest): Refit/DynamicallyAccessedMembersAttribute.cs#L26
Specify AttributeUsage on DynamicallyAccessedMembersAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018)
build / build-unix (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dotnet/[email protected], glennawatson/[email protected]. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build / build-unix (ubuntu-latest): Refit/DynamicallyAccessedMembersAttribute.cs#L26
Specify AttributeUsage on DynamicallyAccessedMembersAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L161
Type 'SyntaxReceiver' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/Parser.cs#L46
Prefer the generic overload 'Refit.Generator.WellKnownTypes.Get<T>()' instead of 'Refit.Generator.WellKnownTypes.Get(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/Emitter.cs#L320
The behavior of 'string.StartsWith(string)' could vary based on the current user's locale settings. Replace this call in 'Refit.Generator.Emitter.WriteMethodOpening(Refit.Generator.SourceWriter, Refit.Generator.MethodModel, bool, bool, bool)' with a call to 'string.StartsWith(string, System.StringComparison)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1310)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/Emitter.cs#L340
Use 'StringBuilder.Append(char)' instead of 'StringBuilder.Append(string)' when the input is a constant unit string (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1834)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L23
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/Emitter.cs#L191
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException 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 / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/Polyfills/IndexRange.cs#L58
Provide a method named 'ToIndex' or 'FromInt32' as an alternate for operator op_Implicit (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2225)
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
build / build-unix (ubuntu-latest): InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
build / build-windows
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: dotnet/[email protected], glennawatson/[email protected]. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build / build-windows: Refit/MultipartItem.cs#L133
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
build / build-windows: Refit/RefitSettings.cs#L136
Change 'HttpRequestMessageOptions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build-windows: Refit/ProblemDetails.cs#L19
Change 'Extensions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build-windows: Refit/ProblemDetails.cs#L13
Change 'Errors' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build / build-windows: Refit/MultipartItem.cs#L12
Abstract type 'MultipartItem' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
build / build-windows: Refit/ApiException.cs#L67
Field RefitSettings is a member of type ApiException which is serializable but is of type Refit.RefitSettings which is not serializable (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2235)
build / build-windows: Refit/Polyfills.Trimming.cs#L16
Add a public read-only property accessor for positional argument memberSignature of Attribute DynamicDependencyAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019)
build / build-windows: Refit/Polyfills.Trimming.cs#L15
Add a public read-only property accessor for positional argument type of Attribute DynamicDependencyAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019)
build / build-windows: Refit/Polyfills.Trimming.cs#L15
Add a public read-only property accessor for positional argument memberTypes of Attribute DynamicDependencyAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1019)
build / build-windows: Refit/DynamicallyAccessedMembersAttribute.cs#L26
Specify AttributeUsage on DynamicallyAccessedMembersAttribute (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1018)
build / collect-coverage
No files were found with the provided path: ./.collect. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
nuget
884 KB
sha256:a6ba001fa195391b57baa36564693abe8ce4e36bf85a35223da7dd50548ec283
tmp-coverage-Linux Expired
111 KB
sha256:d0121b3959615792f1ae917836ddf222d7f6add904a1f6328716b09b74a55729
tmp-coverage-Windows Expired
111 KB
sha256:948f5457660bab46427250515906adc15dd7ce753ee8deaa93fac3db90ec6fa1
tmp-coverage-macOS Expired
111 KB
sha256:c7791e65b6de7b40a63b796458d08d79e3c356f71da12638a1da1f979c79de5b