Skip to content

Fix infer by alias #317

Fix infer by alias

Fix infer by alias #317

Triggered via push August 19, 2024 07:24
Status Success
Total duration 2m 31s
Artifacts 4

build.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

47 warnings
build (ubuntu-20.04, linux-x64, linux-x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (ubuntu-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (ubuntu-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<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-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<TValue>(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 (ubuntu-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (ubuntu-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L36
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<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 (macos-latest, osx-x64, darwin-x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<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 (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<TValue>(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 (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/ExecuteCommand/Commands/SetConfig.cs#L102
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-arm64, darwin-arm64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<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 (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<TValue>(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 (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/ExecuteCommand/Commands/SetConfig.cs#L102
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String)'. The return value of method 'System.Object.GetType()' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
build (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (windows-latest, win-x64, win32-x64)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build (windows-latest, win-x64, win32-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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, win-x64, win32-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L64
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (windows-latest, win-x64, win32-x64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<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, win-x64, win32-x64): EmmyLua.LanguageServer/Server/Monitor/ProcessMonitor.cs#L22
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<TValue>(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 (windows-latest, win-x64, win32-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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, win-x64, win32-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L34
Using member 'System.Text.Json.JsonSerializer.Deserialize<TValue>(JsonDocument, 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 (windows-latest, win-x64, win32-x64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L36
Using member 'System.Text.Json.JsonSerializer.SerializeToDocument<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.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "EmmyLua.LanguageServer-darwin-arm64", "EmmyLua.LanguageServer-darwin-x64", "EmmyLua.LanguageServer-linux-x64", "EmmyLua.LanguageServer-win32-x64". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
publish
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
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/download-artifact@v2, softprops/action-gh-release@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
EmmyLua.LanguageServer-darwin-arm64
18.2 MB
EmmyLua.LanguageServer-darwin-x64
18.2 MB
EmmyLua.LanguageServer-linux-x64
17.6 MB
EmmyLua.LanguageServer-win32-x64
16.2 MB