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
[xUnit.net 00:00:01.50] System.InvalidCastException : Unable to cast object of type 'Arrow@249-1[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Boolean]]]]' to type 'Testable`1[Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,Microsoft.FSharp.Core.FSharpFunc`2[System.Int32,System.Boolean]]]]]'.
[xUnit.net 00:00:01.50] Stack Trace:
[xUnit.net 00:00:01.50] at Microsoft.FSharp.Core.LanguagePrimitives.IntrinsicFunctions.UnboxGeneric[T](Object source)
[xUnit.net 00:00:01.50] at FsCheck.Runner.check[a](Config config, a p)
[xUnit.net 00:00:01.50] at FsCheck.Check.One[Testable](Config config, Testable property)
[xUnit.net 00:00:01.50] FSharp.Core.UnitTests.DiscriminatedUnionTypes.struct unions support [<CustomEquality>] [FAIL]
Edit: it seems that xUnit runner (?) is loading wrong FSharp.Core/FsCheck dll?
@auduchinok , if this still happens for you can you zip the contents of the artifacts\Log directory and the artifacts\bin\FSharp.Core.UnitTests for the configuration you are testing, I will take a look.
@KevinRansom Thanks! Yes, I'll try to send the logs soon. I've previously send them to @vzarytovskii, so it could probably be faster to ask him for now.
Activity
cartermp commentedon Jan 28, 2021
@KevinRansom @vzarytovskii any ideas?
vzarytovskii commentedon Feb 1, 2021
Some additional errors:
Edit: it seems that xUnit runner (?) is loading wrong FSharp.Core/FsCheck dll?
cartermp commentedon Feb 6, 2021
Any on how to resolve this?
vzarytovskii commentedon Feb 7, 2021
Not from my initial investigation, I wasn't able to repro it on any of my machines.
KevinRansom commentedon Feb 8, 2021
@auduchinok , if this still happens for you can you zip the contents of the artifacts\Log directory and the artifacts\bin\FSharp.Core.UnitTests for the configuration you are testing, I will take a look.
Thanks
Kevin
auduchinok commentedon Feb 11, 2021
@KevinRansom Thanks! Yes, I'll try to send the logs soon. I've previously send them to @vzarytovskii, so it could probably be faster to ask him for now.
vzarytovskii commentedon Feb 11, 2021
Oops, I've missed Kevin's comment somehow. @KevinRansom here are binlogs and build log.
auduchinok commentedon Mar 16, 2021
It doesn't reproduce on a clean Windows install anymore.