Skip to content

Allow calling Draft4Support.Enable() multiple times #29

Allow calling Draft4Support.Enable() multiple times

Allow calling Draft4Support.Enable() multiple times #29

Triggered via pull request July 8, 2024 06:06
Status Failure
Total duration 1m 2s
Artifacts

dotnet-core.yml

on: pull_request
Publish Unit Test Results
15s
Publish Unit Test Results
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 17 warnings
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
The name 'InitializeDraf4MetaSchema' does not exist in the current context
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
The name 'InitializeDraf4MetaSchema' does not exist in the current context
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
The name 'InitializeDraf4MetaSchema' does not exist in the current context
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
A static readonly field cannot be assigned to (except in a static constructor or a variable initializer)
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L36
The name 'InitializeDraf4MetaSchema' does not exist in the current context
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
No files were found with the provided path: **/*/test-results.trx. No artifacts will be uploaded.
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L35
Non-nullable field '_draft4MetaSchema' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Graeae.Models/SchemaDraft4/Draft4Support.cs#L35
Non-nullable field '_draft4MetaSchema' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Graeae.Models/Tag.cs#L103
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ref Utf8JsonReader, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
build: Graeae.Models/Tag.cs#L103
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ref Utf8JsonReader, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: Graeae.Models/Tag.cs#L113
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
build: Graeae.Models/Tag.cs#L113
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: Graeae.Models/ServerVariable.cs#L101
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
build: Graeae.Models/ServerVariable.cs#L101
Using member 'System.Text.Json.JsonSerializer.Serialize<TValue>(Utf8JsonWriter, TValue, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
build: Graeae.Models/ServerVariable.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ref Utf8JsonReader, JsonSerializerOptions)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.
build: Graeae.Models/ServerVariable.cs#L91
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ref Utf8JsonReader, JsonSerializerOptions)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.
Publish Unit Test Results
Running this action via 'uses: EnricoMi/publish-unit-test-result-action/composite@v2 is deprecated! For details, see: https://github.com/EnricoMi/publish-unit-test-result-action/tree/v2#running-as-a-composite-action
Publish Unit Test Results
Could not find any files for **/*/test-results.trx
Publish Unit Test Results
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Publish Unit Test Results
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/download-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/