Add readonly modifier #1598
on-push-do-ci-build-pg15-jsonnet.yml
on: pull_request
build
15m 59s
Annotations
13 errors and 30 warnings
build
Process completed with exit code 255.
|
build
Target "TestCodeGen" has thrown an exception
|
build
The build failed. Fix the build errors and run again.
|
build
/home/runner/work/marten/marten/src/DaemonTests/TestingSupport/DaemonContext.cs(41,9): error CS1059: The operand of an increment or decrement operator must be a variable, property or indexer [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
Process completed with exit code 255.
|
build
Target "TestCore" has thrown an exception
|
build
The argument /home/runner/work/marten/marten/src/CoreTests/bin/Release/net9.0/CoreTests.dll is invalid. Please use the /help option to check the list of valid arguments.
|
build
Process completed with exit code 255.
|
build
Target "Compile" has thrown an exception
|
build
/home/runner/work/marten/marten/src/DaemonTests/TestingSupport/DaemonContext.cs(41,9): error CS1059: The operand of an increment or decrement operator must be a variable, property or indexer [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/TestingSupport/DaemonContext.cs(41,9): error CS1059: The operand of an increment or decrement operator must be a variable, property or indexer [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net9.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/TestingSupport/DaemonContext.cs(41,9): error CS1059: The operand of an increment or decrement operator must be a variable, property or indexer [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/TestingSupport/DaemonContext.cs(41,9): error CS1059: The operand of an increment or decrement operator must be a variable, property or indexer [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net9.0]
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
/home/runner/work/marten/marten/src/DaemonTests/Internals/GapDetectorTest.cs(47,83): 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/Resiliency/when_skipping_events_in_daemon.cs(185,24): warning xUnit1013: Public method 'enable_advanced_tracking_in_bootstrapping' on test class 'when_skipping_events_in_daemon_with_advanced_tracking' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Subscriptions/SubscriptionSamples.cs(98,24): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [/home/runner/work/marten/marten/src/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Subscriptions/SubscriptionSamples.cs(348,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/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Subscriptions/SubscriptionSamples.cs(347,26): 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/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_3059_double_application.cs(176,11): 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/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_3059_double_application.cs(175,11): 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/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_3059_double_application.cs(174,11): 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/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/DaemonTests/Bugs/Bug_3059_double_application.cs(173,11): 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/DaemonTests/DaemonTests.csproj::TargetFramework=net8.0]
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|
build
/home/runner/work/marten/marten/src/Marten.Testing/Documents/Target.cs(227,12): warning CS8618: Non-nullable property 'Address2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/marten/marten/src/LinqTestsTypes/LinqTestsTypes.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/Marten.Testing/Documents/Target.cs(227,12): warning CS8618: Non-nullable property 'Address1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/marten/marten/src/LinqTestsTypes/LinqTestsTypes.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/Marten.Testing/Documents/Target.cs(253,19): warning CS8618: Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/marten/marten/src/LinqTestsTypes/LinqTestsTypes.csproj::TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/FSharpTypes/FSharpTypes.fsproj : warning NU1605: FSharpTypes -> FSharp.Core (>= 8.0.100) [TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/FSharpTypes/FSharpTypes.fsproj : warning NU1605: FSharpTypes -> LinqTestsTypes -> FSharp.Core (>= 9.0.100) [TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/FSharpTypes/FSharpTypes.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 9.0.100 to 8.0.100. Reference the package directly from the project to select a different version. [TargetFramework=net8.0]
|
build
/home/runner/work/marten/marten/src/FSharpTypes/FSharpTypes.fsproj : warning NU1605: FSharpTypes -> FSharp.Core (>= 8.0.100) [/home/runner/work/marten/marten/src/Marten.sln]
|
build
/home/runner/work/marten/marten/src/FSharpTypes/FSharpTypes.fsproj : warning NU1605: FSharpTypes -> LinqTestsTypes -> FSharp.Core (>= 9.0.100) [/home/runner/work/marten/marten/src/Marten.sln]
|
build
/home/runner/work/marten/marten/src/FSharpTypes/FSharpTypes.fsproj : warning NU1605: Detected package downgrade: FSharp.Core from 9.0.100 to 8.0.100. Reference the package directly from the project to select a different version. [/home/runner/work/marten/marten/src/Marten.sln]
|
build
Solution "/home/runner/work/marten/marten/src/Marten.sln" has active build configurations for the build project.
Either enable SuppressBuildProjectCheck on "Build.Solution" or remove the following entries from the solution file:
" - {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x64.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Debug|x86.Build.0 = Debug|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|Any CPU.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x64.Build.0 = Release|Any CPU
- {B9CF8AA4-ABB1-442E-B3D3-760A448286A6}.Release|x86.Build.0 = Release|Any CPU"
|