Skip to content

feat: implement Native AOT source generator and verify architecture #19

feat: implement Native AOT source generator and verify architecture

feat: implement Native AOT source generator and verify architecture #19

Triggered via push July 23, 2025 17:58
Status Failure
Total duration 2m 55s
Artifacts 3

ci-cd.yml

on: push
Matrix: build-and-test
Continuous Deployment
0s
Continuous Deployment
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 30 warnings, and 2 notices
Build & Test (macOS)
Failed test were found and 'fail-on-error' option is set to true
Build & Test (macOS)
Process completed with exit code 255.
Build & Test (Linux)
Failed test were found and 'fail-on-error' option is set to true
Build & Test (Linux)
Process completed with exit code 255.
Build & Test (Windows)
Failed test were found and 'fail-on-error' option is set to true
Build & Test (Windows)
Process completed with exit code 1.
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L25
Method '<top-level-statements-entry-point>' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "✅ All AOT compatibility tests passed!". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L11
Method '<top-level-statements-entry-point>' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "=== LocalStack.Client Native AOT Compatibility Test ===". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L28
Modify '<Main>$' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/ManualAccessorTest.cs#L26
Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/ManualRegistration.cs#L20
Method 'void ManualRegistration.RegisterTestAccessors()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Manual test accessor registered for AmazonS3Client". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L26
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "This suggests the source generator did not run or did not find any AWS clients.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L25
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "No AWS client accessors registered.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L17
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Registered client types:". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L12
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "=== Simple Registry Test ===". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L25
Method '<top-level-statements-entry-point>' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "✅ All AOT compatibility tests passed!". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L11
Method '<top-level-statements-entry-point>' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "=== LocalStack.Client Native AOT Compatibility Test ===". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L28
Modify '<Main>$' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/ManualRegistration.cs#L20
Method 'void ManualRegistration.RegisterTestAccessors()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Manual test accessor registered for AmazonS3Client". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L26
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "This suggests the source generator did not run or did not find any AWS clients.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L25
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "No AWS client accessors registered.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L17
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Registered client types:". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L12
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "=== Simple Registry Test ===". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Linux): tests/LocalStack.Client.AotCompatibility.Tests/ManualAccessorTest.cs#L26
Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L25
Method '<top-level-statements-entry-point>' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "✅ All AOT compatibility tests passed!". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L11
Method '<top-level-statements-entry-point>' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "=== LocalStack.Client Native AOT Compatibility Test ===". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/Program.cs#L28
Modify '<Main>$' to catch a more specific allowed exception type, or rethrow the exception (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1031)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/ManualAccessorTest.cs#L26
Make sure that this accessibility bypass is safe here. (https://rules.sonarsource.com/csharp/RSPEC-3011)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/ManualRegistration.cs#L20
Method 'void ManualRegistration.RegisterTestAccessors()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Manual test accessor registered for AmazonS3Client". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L26
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "This suggests the source generator did not run or did not find any AWS clients.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L25
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "No AWS client accessors registered.". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L17
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "Registered client types:". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (Windows): tests/LocalStack.Client.AotCompatibility.Tests/SimpleRegistryTest.cs#L12
Method 'void SimpleRegistryTest.Run()' passes a literal string as parameter 'value' of a call to 'void Console.WriteLine(string? value)'. Retrieve the following string(s) from a resource table instead: "=== Simple Registry Test ===". (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1303)
Build & Test (macOS)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
Build & Test (macOS)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520

Artifacts

Produced during runtime
Name Size Digest
test-results-Linux Expired
19.4 KB
sha256:38314103d4bad8b5ff0411227e37b2c924ebd6b296eb8ff2e7beb2cf0f6e61b8
test-results-Windows Expired
12.1 KB
sha256:5eb1852d556650f9cfec62e5146290d17219d15377702706104c01a63597605e
test-results-macOS Expired
23.5 KB
sha256:c55bb9feb6c6cdd2f33778c3b98ea7662e0b6ed3284c9c3c295221a0a2b34b22