Skip to content

Feature: Upgrade .NET from Core 3.1 to 8.0 (and Native AOT!) #19

Feature: Upgrade .NET from Core 3.1 to 8.0 (and Native AOT!)

Feature: Upgrade .NET from Core 3.1 to 8.0 (and Native AOT!) #19

Triggered via pull request November 8, 2024 03:00
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
pack
Process completed with exit code 1.
build: src/Octokit.GraphQL.Core/QueryableInterfaceExtensions.cs#L18
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Reflection.TypeInfo.DeclaredConstructors.get'. The generic parameter 'TResult' of 'Octokit.GraphQL.QueryableInterfaceExtensions.Cast<TResult>(IQueryableInterface)' 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/Octokit.GraphQL.Core/Core/Utilities/ExpressionExtensions.cs#L57
Using member 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: src/Octokit.GraphQL.Core/Core/Utilities/ExpressionExtensions.cs#L110
Using member 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: src/Octokit.GraphQL.Core/Core/Builders/QueryBuilder.cs#L80
Using member 'System.Type.MakeGenericType(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: src/Octokit.GraphQL.Core/Core/Builders/QueryBuilder.cs#L119
Using member 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: src/Octokit.GraphQL.Core/Core/Utilities/ExpressionExtensions.cs#L136
Using member 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
build: src/Octokit.GraphQL.Core/Core/Utilities/ExpressionExtensions.cs#L159
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Reflection.TypeInfo.ImplementedInterfaces.get'. The parameter 'type' of method 'Octokit.GraphQL.Core.Utilities.ExpressionExtensions.GetEnumerableItemType(Type)' 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/Octokit.GraphQL.Core/Core/Builders/QueryBuilder.cs#L146
Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
build: src/Octokit.GraphQL.Core/Core/Builders/QueryBuilder.cs#L154
Using member 'System.Linq.Expressions.Expression.Property(Expression, String)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Creating Expressions requires unreferenced code because the members being referenced by the Expression may be trimmed.
build: src/Octokit.GraphQL.Core/Core/Utilities/ExpressionExtensions.cs#L136
Call to 'System.Reflection.MethodInfo.MakeGenericMethod(params Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic method.