You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1515988
Build error leg or test failing: runtime-extra-platforms (def 154) — Build product on the mobile / NativeAOT legs (android-arm64 NativeAOT, iossimulator-x64 AllSubsets_NativeAOT, maccatalyst, tvos-arm64) — System.Text.Json.SourceGeneration.Roslyn4.4.Tests
Error Details
The ILLink trimming step crashes with an unhandled System.ArgumentOutOfRangeException inside Mono.Linker.Steps.RemoveSecurity.ProcessType while optimizing System.Text.Json.SourceGeneration.Roslyn4.4.Tests for size, failing the Build product task across every affected mobile / NativeAOT leg. The failure reproduces in source build 1515988 and its follow-up build 1516995, so it is a stable build break rather than infra noise. No existing Known Build Error or area-team tracker was found for this signature.
ILLink : error IL1012: IL Trimmer has encountered an unexpected error. Please report the issue at (aka.ms/redacted) [.../System.Text.Json.SourceGeneration.Roslyn4.4.Tests.csproj::TargetFramework=net11.0]
Fatal error in IL Linker
Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
at Mono.Collections.Generic.Collection`1..ctor(Int32 capacity)
at Mono.Cecil.MemberDefinitionCollection`1..ctor(TypeDefinition container, Int32 capacity)
at Mono.Cecil.MetadataReader.ReadFields(TypeDefinition type)
at Mono.Cecil.TypeDefinition.get_Fields()
at Mono.Linker.Steps.RemoveSecurity.ProcessType(TypeDefinition type) in /_/src/tools/illink/src/linker/Linker.Steps/RemoveSecurityStep.cs:line 31
at Mono.Linker.Steps.RemoveSecurity.ProcessAssembly(AssemblyDefinition assembly, LinkContext context) in /_/src/tools/illink/src/linker/Linker.Steps/RemoveSecurityStep.cs:line 20
at Mono.Linker.Steps.MarkStep.MarkAssembly(...) in /_/src/tools/illink/src/linker/Linker.Steps/MarkStep.cs:line 1500
...
error NETSDK1144: Optimizing assemblies for size failed.
Error Message
{
"ErrorMessage": [
"error IL1012: IL Trimmer has encountered an unexpected error",
"Mono.Linker.Steps.RemoveSecurity.ProcessType(TypeDefinition type) in /_/src/tools/illink/src/linker/Linker.Steps/RemoveSecurityStep.cs"
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Filed by ci-failure-scan (detection only). ci-failure-fix walks open [ci-scan] KBEs and either opens a small fix PR or comments to loop in owners — it never disables the test.
Note
This issue was generated by the automated ci-failure-scan GitHub Copilot workflow.
Caution
agentic threat detected
Threat detection flagged this output in warn mode. Manual review is REQUIRED before any follow-up automation.
Details
The threat detection results could not be parsed.
Review the workflow run logs for details.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1515988
Build error leg or test failing: runtime-extra-platforms (def 154) —
Build producton the mobile / NativeAOT legs (android-arm64 NativeAOT, iossimulator-x64 AllSubsets_NativeAOT, maccatalyst, tvos-arm64) — System.Text.Json.SourceGeneration.Roslyn4.4.TestsError Details
The ILLink trimming step crashes with an unhandled
System.ArgumentOutOfRangeExceptioninsideMono.Linker.Steps.RemoveSecurity.ProcessTypewhile optimizingSystem.Text.Json.SourceGeneration.Roslyn4.4.Testsfor size, failing theBuild producttask across every affected mobile / NativeAOT leg. The failure reproduces in source build 1515988 and its follow-up build 1516995, so it is a stable build break rather than infra noise. No existing Known Build Error or area-team tracker was found for this signature.Error Message
{ "ErrorMessage": [ "error IL1012: IL Trimmer has encountered an unexpected error", "Mono.Linker.Steps.RemoveSecurity.ProcessType(TypeDefinition type) in /_/src/tools/illink/src/linker/Linker.Steps/RemoveSecurityStep.cs" ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Filed by
ci-failure-scan(detection only).ci-failure-fixwalks open[ci-scan]KBEs and either opens a small fix PR or comments to loop in owners — it never disables the test.Note
This issue was generated by the automated
ci-failure-scanGitHub Copilot workflow.Report
Summary