Skip to content

Prevent accidental usage of generic Add for live projections #834

Prevent accidental usage of generic Add for live projections

Prevent accidental usage of generic Add for live projections #834

Triggered via pull request August 7, 2024 07:07
Status Failure
Total duration 12m 46s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

23 errors and 21 warnings
build
/home/runner/work/marten/marten/src/DocumentDbTests/Bugs/Bug_2942_include_error.cs(22,18): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj::TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/DocumentDbTests/Bugs/Bug_960_drop_index_concurrently_pg_error.cs(24,23): warning xUnit1048: Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048) [/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj::TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_2074_recovering_from_errors.cs(39,91): warning xUnit1030: Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030) [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_2074_recovering_from_errors.cs(39,91): warning xUnit1030: Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030) [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/DocumentDbTests/Bugs/Bug_2942_include_error.cs(22,18): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj::TargetFramework=net8.0]
build
/home/runner/work/marten/marten/src/DocumentDbTests/Bugs/Bug_960_drop_index_concurrently_pg_error.cs(24,23): warning xUnit1048: Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048) [/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj::TargetFramework=net8.0]
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_2074_recovering_from_errors.cs(39,91): warning xUnit1030: Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030) [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_2074_recovering_from_errors.cs(39,91): warning xUnit1030: Test methods should not call ConfigureAwait(false), as it may bypass parallelization limits. Omit ConfigureAwait, or use ConfigureAwait(true) to avoid CA2007. (https://xunit.net/xunit.analyzers/rules/xUnit1030) [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
build
/home/runner/work/marten/marten/src/DocumentDbTests/Bugs/Bug_2942_include_error.cs(22,18): warning CS8632: The annotation for nullable reference types should only be used in code within a '#nullable' annotations context. [/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj::TargetFramework=net7.0]
build
/home/runner/work/marten/marten/src/DocumentDbTests/Bugs/Bug_960_drop_index_concurrently_pg_error.cs(24,23): warning xUnit1048: Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048) [/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj::TargetFramework=net7.0]
build
[xUnit.net 00:00:10.86] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new {Id = x.Id, Other = x.Children}") [FAIL]
build
[xUnit.net 00:00:11.01] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new {Id = x.Id, Other = x.Double}") [FAIL]
build
[xUnit.net 00:00:11.12] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new { Id = x.Id, Person = new Person2(x.Strin"···) [FAIL]
build
[xUnit.net 00:00:11.14] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new { Id = x.Id, Person = new Person { Age = "···) [FAIL]
build
[xUnit.net 00:00:11.17] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new {Id = x.Id, Name = \"Harold\"}") [FAIL]
build
[xUnit.net 00:00:11.31] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new {Id = x.Id, Other = x.DateOffset}") [FAIL]
build
[xUnit.net 00:00:11.44] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new { Id = x.Id, Name = x.StringArray[0] }") [FAIL]
build
[xUnit.net 00:00:11.48] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new {Id = x.Id, Number = x.Number}") [FAIL]
build
[xUnit.net 00:00:11.52] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new {Id = x.Id, Other = x.NullableColor}") [FAIL]
build
[xUnit.net 00:00:11.52] LinqTests.Acceptance.select_clauses.run_query_with_stj(description: "x => new { Id = x.Id, Age = x.NumberArray[0] }") [FAIL]
build
[xUnit.net 00:02:55.72] EventSourcingTests.Aggregation.when_using_inline_lambdas_to_define_immutable_projection.async_apply_with_immutable_aggregate [FAIL]
build
Target "TestEventSourcing" has thrown an exception
build
Process completed with exit code 255.
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-dotnet@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
npm WARN EBADENGINE Unsupported engine {
build
npm WARN EBADENGINE package: '@vitejs/[email protected]',
build
npm WARN EBADENGINE required: { node: '^18.0.0 || >=20.0.0' },
build
npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
build
npm WARN EBADENGINE }
build
npm WARN EBADENGINE Unsupported engine {
build
npm WARN EBADENGINE package: '[email protected]',
build
npm WARN EBADENGINE required: { node: '>=18.14.0' },
build
npm WARN EBADENGINE current: { node: 'v16.20.2', npm: '8.19.4' }
build
npm WARN EBADENGINE }
build
/home/runner/work/marten/marten/src/Marten.NodaTime.Testing/Marten.NodaTime.Testing.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [/home/runner/work/marten/marten/src/Marten.sln]
build
/home/runner/work/marten/marten/src/Marten.CommandLine.Tests/Marten.CommandLine.Tests.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [/home/runner/work/marten/marten/src/Marten.sln]
build
/home/runner/work/marten/marten/src/LinqTests/LinqTests.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [/home/runner/work/marten/marten/src/Marten.sln]
build
/home/runner/work/marten/marten/src/DocumentDbTests/DocumentDbTests.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [/home/runner/work/marten/marten/src/Marten.sln]
build
/home/runner/work/marten/marten/src/Marten.Testing/Marten.Testing.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [/home/runner/work/marten/marten/src/Marten.sln]
build
/home/runner/work/marten/marten/src/MartenBenchmarks/MartenBenchmarks.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [/home/runner/work/marten/marten/src/Marten.sln]
build
/home/runner/work/marten/marten/src/Marten.Testing/Marten.Testing.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [TargetFramework=net6.0]
build
/home/runner/work/marten/marten/src/Marten.Testing/Marten.Testing.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [TargetFramework=net7.0]
build
/home/runner/work/marten/marten/src/Marten.Testing/Marten.Testing.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [TargetFramework=net8.0]
build
/home/runner/work/marten/marten/src/Marten.NodaTime.Testing/Marten.NodaTime.Testing.csproj : warning NU1608: Detected package version outside of dependency constraint: Lamar 12.1.0 requires Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 8.0.0) but version Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0 was resolved. [TargetFramework=net6.0]