Checker "lean4lean" on test "bugs/nested-name-capture"
Checker: lean4lean · Version: arena (bce3448) · 📄 Declaration · 🔗 Source
Test: bugs/nested-name-capture · Expected: ✋ reject · Size: 26.1 KB · Lines: 433 · lean4export: 3.1.0 · Lean: 4.34.1 · 📄 Declaration
Result: ✋ rejected · exit code 1 · wall time: 66.6 ms · instructions: 465.1 M · max rss memory: 106.1 MB · run 2026-10-27 21:12:25 UTC
stderr:
PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1375:4: invalid environment extension has been accessed backtrace: .lake/build/bin/lean4lean(+0x8730425) [0x557b84d5d425] .lake/build/bin/lean4lean(+0x8727b37) [0x557b84d54b37] .lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x557b84d54c1b] .lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0x910) [0x557b7ed3c560] .lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xee) [0x557b7ed78f7e] .lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0x110) [0x557b7ed80670] .lake/build/bin/lean4lean(<apply/2>+0x9e9) [0x557b84d628f9] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x164) [0x557b7ed87264] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0xa2a) [0x557b7ed87b2a] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x764) [0x557b7ed87864] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0xa2a) [0x557b7ed87b2a] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0xa19) [0x557b7ed87b19] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0xa19) [0x557b7ed87b19] .lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x557b7ed88945] .lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0xb89) [0x557b7eb4b759] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x557b7eb4e595] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x709) [0x557b7eb4fd49] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xe8) [0x557b7eb519b8] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xae) [0x557b7eb5197e] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xae) [0x557b7eb5197e] .lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x207) [0x557b7eb54e17] .lake/build/bin/lean4lean([lean] main+0x9a5) [0x557b7e955545] .lake/build/bin/lean4lean(+0x8725687) [0x557b84d52687] .lake/build/bin/lean4lean(+0x8725b55) [0x557b84d52b55] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7efc27be2d53] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7efc27c6a63c] PANIC at _private.Lean.Environment.0.Lean.EnvExtension.getStateImpl Lean.Environment:1375:4: invalid environment extension has been accessed backtrace: .lake/build/bin/lean4lean(+0x8730425) [0x557b84d5d425] .lake/build/bin/lean4lean(+0x8727b37) [0x557b84d54b37] .lake/build/bin/lean4lean(lean_panic_fn_borrowed+0x2b) [0x557b84d54c1b] .lake/build/bin/lean4lean(Lean.EnvExtension.getStateUnsafe [arity↓, private]+0x910) [0x557b7ed3c560] .lake/build/bin/lean4lean(Lean.ppExprWithInfos+0xee) [0x557b7ed78f7e] .lake/build/bin/lean4lean(Lean.MessageData.ofExpr [λ]+0x110) [0x557b7ed80670] .lake/build/bin/lean4lean(<apply/2>+0x9e9) [0x557b84d628f9] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x164) [0x557b7ed87264] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0xa2a) [0x557b7ed87b2a] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0x764) [0x557b7ed87864] .lake/build/bin/lean4lean(Lean.MessageData.formatAux+0xa2a) [0x557b7ed87b2a] .lake/build/bin/lean4lean(Lean.MessageData.toString+0x15) [0x557b7ed88945] .lake/build/bin/lean4lean(Lean4Lean.Replay.throwKernelException [arity↓] (lean4lean)+0xb89) [0x557b7eb4b759] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant [λ] (lean4lean)+0x25) [0x557b7eb4e595] .lake/build/bin/lean4lean(Lean4Lean.Replay.replayConstant (lean4lean)+0x709) [0x557b7eb4fd49] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xe8) [0x557b7eb519b8] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xae) [0x557b7eb5197e] .lake/build/bin/lean4lean(Std.DTreeMap.Internal.Impl.forInStep spec at Lean4Lean.Replay.replayConstants (lean4lean)+0xae) [0x557b7eb5197e] .lake/build/bin/lean4lean(Lean4Lean.Replay.replay (lean4lean)+0x207) [0x557b7eb54e17] .lake/build/bin/lean4lean([lean] main+0x9a5) [0x557b7e955545] .lake/build/bin/lean4lean(+0x8725687) [0x557b84d52687] .lake/build/bin/lean4lean(+0x8725b55) [0x557b84d52b55] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x9dd53) [0x7efc27be2d53] /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/libc.so.6(+0x12563c) [0x7efc27c6a63c] uncaught exception: at boom: (kernel) declaration type mismatch, 'boom' has type [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.] P ((fold sample).1) but it is expected to have type [Error pretty printing expression: (`Inhabited.default` for `IO.Error`). Falling back to raw printer.] False