Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analyze recursive interfaces in illink #99566

Closed
wants to merge 46 commits into from

ifdef out DynamicallyAccessedMembers

cfc1189
Select commit
Loading
Failed to load commit list.
Closed

Analyze recursive interfaces in illink #99566

ifdef out DynamicallyAccessedMembers
cfc1189
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Mar 22, 2024 in 0s

.NET Result Analysis

Details

⚠️ The following pipeline(s) will not be analyzed as has been explicited excluded from analysis

Build Failures

runtime / Build / windows-x64 Release NativeAOT

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌The job running on agent NetCore-Public 173 ran longer than the maximum time of 120 minutes. For more information, see https://go.microsoft.com/fwlink/?linkid=2077134

runtime / Build / windows-x64 Release NativeAOT / Send tests to Helix (Windows)

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌The Operation will be canceled. The next steps may not contain expected logs.
    ❌The operation was canceled.

runtime / Build / windows-x64 Debug Libraries_AllConfigurations / Build product

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌src\libraries\System.Reflection.Context\src\System\Reflection\Context\Custom\CustomType.cs(47,10): error CS0246: The type or namespace name 'DynamicallyAccessedMembersAttribute' could not be found (are you missing a using directive or an assembly reference?)
    ❌src\libraries\System.Reflection.Context\src\System\Reflection\Context\Custom\CustomType.cs(47,10): error CS0246: The type or namespace name 'DynamicallyAccessedMembers' could not be found (are you missing a using directive or an assembly reference?)
    ❌src\libraries\System.Reflection.Context\src\System\Reflection\Context\Custom\CustomType.cs(47,37): error CS0103: The name 'DynamicallyAccessedMemberTypes' does not exist in the current context

2 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [runtime] [runtime-dev-innerloop]

Test Failures (1 tests failed)

🔹 [All failing tests from runtime]

    Mono.Linker.Tests.TestCases.All.DataFlow [Details] [1.37% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Mono.Linker.Tests.TestCases.All.DataFlow(t: \"FeatureCheckDataFlow\")
      Exception Message
      Unexpected warning found: ILC: Trim analysis warning IL2026: Mono.Linker.Tests.Cases.DataFlow.FeatureCheckDataFlow.CompilerGeneratedCodeDataflow.<StateFlowsAcrossYield>d__1.MoveNext(): Using member 'Mono.Linker.Tests.Cases.DataFlow.FeatureCheckDataFlow.RequiresUnreferencedCode()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. RequiresUnreferencedCode.
      Stack Trace
         at Mono.Linker.Tests.TestCasesRunner.ResultChecker.VerifyLoggedMessages(AssemblyDefinition original, TrimmingTestLogger logger, Boolean checkRemainingErrors) in /_/src/coreclr/tools/aot/ILCompiler.Trimming.Tests/TestCasesRunner/ResultChecker.cs:line 386
         at Mono.Linker.Tests.TestCasesRunner.ResultChecker.AdditionalChecking(TrimmedTestCaseResult linkResult, AssemblyDefinition original) in /_/src/coreclr/tools/aot/ILCompiler.Trimming.Tests/TestCasesRunner/ResultChecker.cs:line 157
         at Mono.Linker.Tests.TestCasesRunner.ResultChecker.Check(TrimmedTestCaseResult testResult) in /_/src/coreclr/tools/aot/ILCompiler.Trimming.Tests/TestCasesRunner/ResultChecker.cs:line 70
         at Mono.Linker.Tests.TestCases.All.Run(String testName) in /_/src/coreclr/tools/aot/ILCompiler.Trimming.Tests/TestCases/TestSuites.cs:line 155
         at Mono.Linker.Tests.TestCases.All.DataFlow(String t) in /_/src/coreclr/tools/aot/ILCompiler.Trimming.Tests/TestCases/TestSuites.cs:line 16
         at InvokeStub_All.DataFlow(Object, Span`1)
         at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Was this helpful? Yes No