Skip to content

ILCompiler.Compiler.Tests.SwiftLoweringTests.VerifyLowering failing with preivew 6 #104765

@am11

Description

@am11

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=737461
Build error leg or test failing: ILCompiler.Compiler.Tests.SwiftLoweringTests.VerifyLowering
Pull request: #104696

Error Message

    Assert.Equal() Failure: Exception thrown during comparison
Expected: {CORINFO_TYPE_LONG: 0, CORINFO_TYPE_DOUBLE: 8, CORINFO_TYPE_LONG: 16, CORINFO_TYPE_SHORT: 24}
Actual:   {CORINFO_TYPE_LONG: 0, CORINFO_TYPE_DOUBLE: 8, CORINFO_TYPE_LONG: 16, CORINFO_TYPE_SHORT: 24}
---- System.NotSupportedException : Calling built-in Equals() or GetHashCode() on type marked as InlineArray is invalid.

   at ILCompiler.Compiler.Tests.SwiftLoweringTests.VerifyLowering(String typeName, EcmaType type, CORINFO_SWIFT_LOWERING expectedLowering) in /_/src/coreclr/tools/aot/ILCompiler.Compiler.Tests/SwiftLoweringTests.cs:line 106
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)

----- Inner Stack Trace -----
at System.ValueType.CanCompareBitsOrUseFastGetHashCode(MethodTable* pMT)
at System.ValueType.Equals(Object obj)
at System.ValueType.Equals(Object obj)
{
  "ErrorMessage": "Calling built-in Equals() or GetHashCode() on type marked as InlineArray is invalid",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=737461
Error message validated: [Calling built-in Equals() or GetHashCode() on type marked as InlineArray is invalid]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/11/2024 10:27:03 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-NativeAOT-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions