Skip to content

Engine work

Engine work #59

Triggered via pull request June 27, 2024 21:42
@rudzenrudzen
synchronize #61
engine_work
Status Failure
Total duration 33s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 11 warnings
build
The license file 'LICENSE' does not exist in the package.
build
The license file 'LICENSE' does not exist in the package.
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/chess-lib/Rudzoft.ChessLib/Exceptions/TranspositionTableFailure.cs#L48
'ArgumentException.ArgumentException(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/chess-lib/Rudzoft.ChessLib/Exceptions/InvalidSquare.cs#L44
'InvalidOperationException.InvalidOperationException(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/chess-lib/Rudzoft.ChessLib/Exceptions/InvalidMove.cs#L44
'InvalidOperationException.InvalidOperationException(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/chess-lib/Rudzoft.ChessLib/Exceptions/InvalidFenException.cs#L43
'ArgumentException.ArgumentException(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build: src/chess-lib/Rudzoft.ChessLib/Position.cs#L622
The local function 'GetRookSquareAndDirection' is declared but never used
build: src/chess-lib/Rudzoft.ChessLib/Types/Square.cs#L59
Using member 'System.Enum.GetValues(Type)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. It might not be possible to create an array of the enum type at runtime. Use the GetValues<TEnum> overload or the GetValuesAsUnderlyingType method instead.
build: src/chess-lib/Rudzoft.ChessLib/Extensions/ChessLibServiceCollectionExtensions.cs#L121
'TImplementation' generic argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors' in 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient<TService, TImplementation>(IServiceCollection)'. The generic parameter 'TImplementation' of 'Rudzoft.ChessLib.Extensions.ChessLibServiceCollectionExtensions.AddFactory<TService, TImplementation>(IServiceCollection)' 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: src/chess-lib/Rudzoft.ChessLib/Extensions/ChessLibServiceCollectionExtensions.cs#L63
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.
build: src/chess-lib/Rudzoft.ChessLib/Extensions/ChessLibServiceCollectionExtensions.cs#L70
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. Binding strongly typed objects to configuration values requires generating dynamic code at runtime, for example instantiating generic types.
build: src/chess-lib/Rudzoft.ChessLib/Extensions/ChessLibServiceCollectionExtensions.cs#L63
Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.Bind(IConfiguration, Object)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Cannot statically analyze the type of instance so its members may be trimmed.