🔼 Update dependency Telegram.Bot to 22.2.0 #1118
Annotations
27 warnings
Build (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L86
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<TValue>(HttpClient, String, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L89
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L92
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L95
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L98
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<TValue>(HttpClient, String, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Utils/FileHelper.cs#L152
Using member 'System.Text.Json.JsonSerializer.SerializeAsync<TValue>(Stream, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Utils/FileHelper.cs#L157
Using member 'System.Text.Json.JsonSerializer.SerializeAsync<TValue>(Stream, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Utils/FileHelper.cs#L95
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L104
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L110
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (ubuntu-latest):
ShadowsocksUriGenerator.CLI/OnlineConfigCommand.cs#L154
Using member 'System.Text.Json.JsonSerializer.Serialize<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 (ubuntu-latest):
ShadowsocksUriGenerator.Server/Program.cs#L16
Using member 'Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions.AddControllers(IServiceCollection)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. MVC does not currently support trimming or native AOT. https://aka.ms/aspnet/trimming
|
Build (ubuntu-latest):
ShadowsocksUriGenerator.Chatbot.Telegram/Commands/CredCommands.cs#L136
Using member 'System.Text.Json.JsonSerializer.Serialize<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 (windows-latest):
ShadowsocksUriGenerator/Utils/FileHelper.cs#L152
Using member 'System.Text.Json.JsonSerializer.SerializeAsync<TValue>(Stream, TValue, 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 (windows-latest):
ShadowsocksUriGenerator/Utils/FileHelper.cs#L157
Using member 'System.Text.Json.JsonSerializer.SerializeAsync<TValue>(Stream, TValue, 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 (windows-latest):
ShadowsocksUriGenerator/Utils/FileHelper.cs#L95
Using member 'System.Text.Json.JsonSerializer.DeserializeAsync<TValue>(Stream, 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 (windows-latest):
ShadowsocksUriGenerator/Data/Nodes.cs#L362
Using member 'System.Text.Json.JsonSerializer.Serialize<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 (windows-latest):
ShadowsocksUriGenerator/Data/Group.cs#L291
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(String, 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 (windows-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L86
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<TValue>(HttpClient, String, 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 (windows-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L89
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (windows-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L92
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (windows-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L95
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.PutAsJsonAsync<TValue>(HttpClient, String, TValue, 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 (windows-latest):
ShadowsocksUriGenerator/Outline/ApiClient.cs#L98
Using member 'System.Net.Http.Json.HttpClientJsonExtensions.GetFromJsonAsync<TValue>(HttpClient, String, 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 (windows-latest):
ShadowsocksUriGenerator.CLI/OnlineConfigCommand.cs#L154
Using member 'System.Text.Json.JsonSerializer.Serialize<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 (windows-latest):
ShadowsocksUriGenerator.Server/Program.cs#L16
Using member 'Microsoft.Extensions.DependencyInjection.MvcServiceCollectionExtensions.AddControllers(IServiceCollection)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. MVC does not currently support trimming or native AOT. https://aka.ms/aspnet/trimming
|
Build (windows-latest):
ShadowsocksUriGenerator.Chatbot.Telegram/Commands/CredCommands.cs#L136
Using member 'System.Text.Json.JsonSerializer.Serialize<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.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
ss-uri-gen-chatbot-telegram-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux
|
1.57 MB |
|
ss-uri-gen-chatbot-telegram-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-arm64
|
7.21 MB |
|
ss-uri-gen-chatbot-telegram-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-x64
|
7.41 MB |
|
ss-uri-gen-chatbot-telegram-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows
|
1.63 MB |
|
ss-uri-gen-chatbot-telegram-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-arm64
|
7.07 MB |
|
ss-uri-gen-chatbot-telegram-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-x64
|
7.28 MB |
|
ss-uri-gen-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux
|
1.01 MB |
|
ss-uri-gen-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-arm64
|
6.69 MB |
|
ss-uri-gen-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-x64
|
6.89 MB |
|
ss-uri-gen-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows
|
1.06 MB |
|
ss-uri-gen-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-arm64
|
6.39 MB |
|
ss-uri-gen-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-x64
|
6.59 MB |
|
ss-uri-gen-rescue-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux
|
980 KB |
|
ss-uri-gen-rescue-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-arm64
|
5.97 MB |
|
ss-uri-gen-rescue-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-x64
|
6.17 MB |
|
ss-uri-gen-rescue-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows
|
1.01 MB |
|
ss-uri-gen-rescue-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-arm64
|
5.65 MB |
|
ss-uri-gen-rescue-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-x64
|
5.84 MB |
|
ss-uri-gen-server-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux
|
2.37 MB |
|
ss-uri-gen-server-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-arm64
|
9.71 MB |
|
ss-uri-gen-server-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-linux-x64
|
9.9 MB |
|
ss-uri-gen-server-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows
|
2.4 MB |
|
ss-uri-gen-server-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-arm64
|
9.68 MB |
|
ss-uri-gen-server-db8f874fe69977310c0892ee2bb9cf79ba1dd3d6-windows-x64
|
9.88 MB |
|