Skip to content

Update serilog to v8 (major) #3764

Update serilog to v8 (major)

Update serilog to v8 (major) #3764

Triggered via pull request November 16, 2023 03:05
Status Success
Total duration 12m 9s
Artifacts 4

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 35 warnings
Publish / publish
Process completed with exit code 1.
build
You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 54 MB
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.Pages/Sample.Pages.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.Restful/Sample.Restful.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.BlazorServer/Sample.BlazorServer.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.Grpc/Sample.Grpc.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.Function/Sample_Function.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.Graphql/Sample.Graphql.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.BlazorWasm/Sample.BlazorWasm.csproj]
build
/usr/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(203,6): warning : This project cannot be packaged because packaging has been disabled. Add <IsPackable>true</IsPackable> to the project file to enable producing a package from this project. [/home/runner/work/LaunchPad/LaunchPad/sample/Sample.Classic.Restful/Sample.Classic.Restful.csproj]
build
Failed to save: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
build: .build/Build.cs#L56
Converting null literal or possible null value to non-nullable type.
build: .build/Build.cs#L57
Dereference of a possibly null reference.
build: .build/Build.cs#L88
Make 'Pipeline' sealed (a breaking change if this class has previously shipped), implement the method non-explicitly, or implement a new method that exposes the functionality of 'Rocket.Surgery.Nuke.IHaveSolution.get_Solution' and is visible to derived classes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1033)
build: .build/Build.CI.cs#L46
The type name Pipeline conflicts in whole or in part with the namespace name 'Azure.Core.Pipeline'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
build
Please updated the build to also be decorated with [LocalBuildConventions]
build
/home/runner/work/LaunchPad/LaunchPad/src/Mapping/AutoMapperHostBuilderExtensions.cs(20,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Mapping/Rocket.Surgery.LaunchPad.Mapping.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/SerilogEnrichLoggingConvention.cs(31,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/SerilogEnrichSpansConvention.cs(31,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/SerilogEnrichEnvironmentLoggingConvention.cs(30,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/SerilogReadFromConfigurationConvention.cs(27,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/SerilogReadFromConfigurationConvention.cs(32,35): warning IL2066: Type passed to generic parameter 'T' of 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String)' can not be statically determined and may not meet 'DynamicallyAccessedMembersAttribute' requirements. [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/ConfigureOptionsLoggingConvention.cs(32,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/SerilogAbstractionsHostBuilderExtensions.cs(22,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/SerilogAbstractionsHostBuilderExtensions.cs(27,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Conventions/SerilogReadFromConfigurationConvention.cs(55,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/LpContext.cs(13,61): warning IL2026: Using member 'Microsoft.EntityFrameworkCore.DbContext.DbContext(DbContextOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. EF Core isn't fully compatible with trimming, and running the application may generate unexpected runtime failures. Some specific coding pattern are usually required to make trimming work properly, see https://aka.ms/efcore-docs-trimming for more details. [/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/Rocket.Surgery.LaunchPad.EntityFramework.csproj::TargetFramework=net6.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/LpContext.cs(20,9): warning IL2026: Using member 'Microsoft.EntityFrameworkCore.ModelBuilder.ApplyConfigurationsFromAssembly(Assembly, Func<Type, Boolean>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API isn't safe for trimming, since it searches for types in an arbitrary assembly. [/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/Rocket.Surgery.LaunchPad.EntityFramework.csproj::TargetFramework=net6.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/LpContext.cs(13,61): warning IL2026: Using member 'Microsoft.EntityFrameworkCore.DbContext.DbContext(DbContextOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. EF Core isn't fully compatible with trimming, and running the application may generate unexpected runtime failures. Some specific coding pattern are usually required to make trimming work properly, see https://aka.ms/efcore-docs-trimming for more details. [/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/Rocket.Surgery.LaunchPad.EntityFramework.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/LpContext.cs(20,9): warning IL2026: Using member 'Microsoft.EntityFrameworkCore.ModelBuilder.ApplyConfigurationsFromAssembly(Assembly, Func<Type, Boolean>)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. This API isn't safe for trimming, since it searches for types in an arbitrary assembly. [/home/runner/work/LaunchPad/LaunchPad/src/EntityFramework/Rocket.Surgery.LaunchPad.EntityFramework.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/OpenTelemetryHostBuilderExtensions.cs(22,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/Rocket.Surgery.LaunchPad.Telemetry.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/OpenTelemetryHostBuilderExtensions.cs(27,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/Rocket.Surgery.LaunchPad.Telemetry.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/OpenTelemetryHostBuilderExtensions.cs(44,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/Rocket.Surgery.LaunchPad.Telemetry.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/OpenTelemetryHostBuilderExtensions.cs(49,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Telemetry/Rocket.Surgery.LaunchPad.Telemetry.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Mapping/AutoMapperHostBuilderExtensions.cs(20,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Mapping/Rocket.Surgery.LaunchPad.Mapping.csproj::TargetFramework=net8.0]
build
/home/runner/work/LaunchPad/LaunchPad/src/Serilog/SerilogAbstractionsHostBuilderExtensions.cs(22,9): warning CA1510: Use 'ArgumentNullException.ThrowIfNull' instead of explicitly throwing a new exception instance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1510) [/home/runner/work/LaunchPad/LaunchPad/src/Serilog/Rocket.Surgery.LaunchPad.Serilog.csproj::TargetFramework=net8.0]

Artifacts

Produced during runtime
Name Size
coverage Expired
183 MB
logs Expired
45.1 MB
nuget Expired
6.09 MB
test data Expired
143 MB