Checker "lean4lean" on test "bugs/ctor-num-fields"
Checker: lean4lean · Version: arena (932afa1) · 📄 Declaration · 🔗 Source
Test: bugs/ctor-num-fields · Expected: ✋ reject · Size: 41.1 KB · Lines: 755 · lean4export: 3.1.0 · Lean: 4.36.0 · 📄 Declaration · 🔗 Source
Result: ✋ rejected · exit code 1 · wall time: 57.0 ms · instructions: 554.7 M · max rss memory: 95.8 MB · run 2026-11-22 12:44:12 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55f785f52955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55f785f49597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55f785f4967b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55f77fc59cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55f77fcdd4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55f77fce4722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55f77fceb215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55f77fceb97d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55f77fceb819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55f77fceb97d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55f77fceb96c]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8ac) [0x55f77fceb96c]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55f77fcec885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55f77faaac5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55f77faadd55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55f77faaf428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55f77fab0a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstants (lean4lean)+0x1b) [0x55f77faaea3b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x247) [0x55f77faaf057]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55f77fab0a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55f77fab3f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55f77f8cd370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55f785f47737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55f785f47b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f5db0d78d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f5db0e0063c]
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1611:4: invalid environment extension has been accessed
backtrace:
.lake/build/bin/lean4lean(+0x8b60955) [0x55f785f52955]
.lake/build/bin/lean4lean(+0x8b57597) [0x55f785f49597]
.lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x55f785f4967b]
.lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0xc49) [0x55f77fc59cb9]
.lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xf6) [0x55f77fcdd4e6]
.lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0xe2) [0x55f77fce4722]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x155) [0x55f77fceb215]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55f77fceb97d]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x759) [0x55f77fceb819]
.lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x8bd) [0x55f77fceb97d]
.lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x55f77fcec885]
.lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0x88c) [0x55f77faaac5c]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x55f77faadd55]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x618) [0x55f77faaf428]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55f77fab0a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstants (lean4lean)+0x1b) [0x55f77faaea3b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x247) [0x55f77faaf057]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xc5) [0x55f77fab0a65]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0x8b) [0x55f77fab0a2b]
.lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x290) [0x55f77fab3f30]
.lake/build/bin/lean4lean([lean] main+0x940) [0x55f77f8cd370]
.lake/build/bin/lean4lean(+0x8b55737) [0x55f785f47737]
.lake/build/bin/lean4lean(+0x8b55b22) [0x55f785f47b22]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7f5db0d78d53]
/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7f5db0e0063c]
uncaught exception: at _private.Test.0.h: (kernel) declaration type mismatch, '_private.Test.0.h' has type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
Eq.{1} _private.Test.0.S (_private.Test.0.S.mk Bool.true) (_private.Test.0.S.mk Bool.true)
but it is expected to have type
[Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.]
Eq.{1} _private.Test.0.S (_private.Test.0.S.mk Bool.true) (_private.Test.0.S.mk Bool.false)