Skip to content

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

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

Triggered via pull request September 28, 2024 07:07
Status Failure
Total duration 3m 38s
Artifacts

dotnetcore.yml

on: pull_request
build-test-publish
3m 26s
build-test-publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build-test-publish
Process completed with exit code 1.
build-test-publish: 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.
build-test-publish: 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-test-publish: 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-test-publish: 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-test-publish: 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-test-publish: 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-test-publish: 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-test-publish: 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-test-publish: 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-test-publish: 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.