Skip to content

Fix build

Fix build #293

Triggered via push August 1, 2024 11:32
Status Success
Total duration 2m 1s
Artifacts 4

build.yml

on: push
Matrix: build
publish
0s
publish
Fit to window
Zoom out
Zoom in

Annotations

53 warnings
build (macos-latest, osx-x64, darwin-x64)
The following actions uses Node.js version which is deprecated 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)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (macos-latest, osx-x64, darwin-x64)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (macos-latest, osx-x64, darwin-x64): EmmyLua/CodeAnalysis/Compilation/Analyzer/DeclarationAnalyzer/DeclarationAnalyzer.cs#L5
Parameter 'LuaCompilation compilation' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (macos-latest, osx-x64, darwin-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L66
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#L66
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/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-x64, darwin-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): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L36
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)
The following actions uses Node.js version which is deprecated 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/CodeAnalysis/Compilation/Analyzer/DeclarationAnalyzer/DeclarationAnalyzer.cs#L5
Parameter 'LuaCompilation compilation' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (ubuntu-20.04, linux-x64, linux-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L66
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#L66
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#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 (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 '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)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (ubuntu-20.04, linux-x64, linux-x64)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (macos-latest, osx-arm64, darwin-arm64)
The following actions uses Node.js version which is deprecated 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/CodeAnalysis/Compilation/Analyzer/DeclarationAnalyzer/DeclarationAnalyzer.cs#L5
Parameter 'LuaCompilation compilation' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (macos-latest, osx-arm64, darwin-arm64): EmmyLua.LanguageServer/Server/ServerContext.cs#L66
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#L66
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/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 (macos-latest, osx-arm64, darwin-arm64): 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-arm64, darwin-arm64): EmmyLua.LanguageServer/DocumentRender/EmmyAnnotatorHandler.cs#L36
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)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (macos-latest, osx-arm64, darwin-arm64)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (windows-latest, win-x64, win32-x64)
The following actions uses Node.js version which is deprecated 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)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (windows-latest, win-x64, win32-x64)
Unexpected input(s) 'pre-release', valid inputs are ['dotnet-version', 'dotnet-quality', 'global-json-file', 'source-url', 'owner', 'config-file', 'cache', 'cache-dependency-path']
build (windows-latest, win-x64, win32-x64): EmmyLua/CodeAnalysis/Compilation/Analyzer/DeclarationAnalyzer/DeclarationAnalyzer.cs#L5
Parameter 'LuaCompilation compilation' is captured into the state of the enclosing type and its value is also passed to the base constructor. The value might be captured by the base class as well.
build (windows-latest, win-x64, win32-x64): EmmyLua.LanguageServer/Server/ServerContext.cs#L66
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#L66
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#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.
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 '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.
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/

Artifacts

Produced during runtime
Name Size
EmmyLua.LanguageServer-darwin-arm64
50.2 MB
EmmyLua.LanguageServer-darwin-x64
51.3 MB
EmmyLua.LanguageServer-linux-x64
13.4 MB
EmmyLua.LanguageServer-win32-x64
12 MB