Skip to content

[Cryptography] React to EncryptionContext changes #14

[Cryptography] React to EncryptionContext changes

[Cryptography] React to EncryptionContext changes #14

Triggered via push August 25, 2025 04:28
Status Failure
Total duration 47s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
build
Process completed with exit code 1.
build: src/Amazon.Cryptography/EncryptedMessageHeader.cs#L3
The type or namespace name 'Algorithms' does not exist in the namespace 'Amazon.Cryptography' (are you missing an assembly reference?)
build: src/Amazon.Cryptography/EncryptedMessageHeader.cs#L3
The type or namespace name 'Algorithms' does not exist in the namespace 'Amazon.Cryptography' (are you missing an assembly reference?)
build: src/Amazon.Rekognition/RekognitionClient.cs#L177
Using member 'System.Net.Http.Json.JsonContent.Create<T>(T, MediaTypeHeaderValue, 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: src/Amazon.Rekognition/RekognitionClient.cs#L177
Using member 'System.Text.Json.JsonSerializerOptions.Default.get' 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: src/Amazon.Rekognition/RekognitionClient.cs#L159
Using member 'System.Net.Http.Json.HttpContentJsonExtensions.ReadFromJsonAsync<T>(HttpContent, JsonSerializerOptions, CancellationToken)' 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: src/Amazon.Rekognition/RekognitionClient.cs#L159
Using member 'System.Text.Json.JsonSerializerOptions.Default.get' 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: src/Amazon.Kinesis.Firehose/KinesisFirehoseClient.cs#L79
Using member 'System.Text.Json.JsonSerializer.SerializeToUtf8Bytes<TValue>(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: src/Amazon.Kinesis.Firehose/KinesisFirehoseClient.cs#L62
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(ReadOnlySpan<Byte>, 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: src/Amazon.Transcribe/Models/TranscriptionJob.cs#L50
Non-nullable property 'MediaFormat' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Amazon.Transcribe/Models/TranscriptionJob.cs#L47
Non-nullable property 'Media' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: src/Amazon.Cryptography/Keys/EncryptedDataKey.cs#L8
'EncryptedDataKey' defines operator == or operator != but does not override Object.GetHashCode()
build: src/Amazon.Cryptography/Keys/EncryptedDataKey.cs#L8
'EncryptedDataKey' overrides Object.Equals(object o) but does not override Object.GetHashCode()