Skip to content

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

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!) #18

Triggered via pull request November 8, 2024 02:58
Status Failure
Total duration 1m 6s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 20 warnings
pack
Process completed with exit code 1.
pack: 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.
pack: 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.
pack: 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.
pack: 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.
pack: 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.
pack: src/Octokit.GraphQL.Core/Core/Builders/JsonMethods.cs#L18
'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Reflection.TypeInfo.GetDeclaredMethods(String)'. The parameter 'type' of method 'Octokit.GraphQL.Core.Builders.JsonMethods.GetMethod(Type, String, params 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.
pack: 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.
pack: 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.
pack: 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.
pack: 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/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/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/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.
build: src/Octokit.GraphQL.Core/Core/SimpleSubquery.cs#L89
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/PagedSubquery.cs#L91
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#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.