This ICE appears to only happen when the "_build" and ".mooncakes" directories from a previous version of the compiler are left around.
If I run "moon test -j 12 --target all" when these directories are around, I get the dump below.
However, if I run:
$ rm -rf _build .mooncakes
Then everything compiles and tests successfully without any errors whatsoever.
glenn@glenn-MacM2Pro ~/src/github.com/gmlewis/moonbit-01-base64 (master) $ ./update.sh
+ moon update
failed to update registry, re-cloning
Registry index re-cloned successfully
Symbols updated successfully
+ rm -rf target
+ moon fmt
Finished. moon: no work to do
+ moon info
Finished. moon: no work to do
+ moon test -j 12 --target all
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/wasm/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/wasm/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/base64.blackbox_test.core -main gmlewis/base64_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/base64.blackbox_test.wasm -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target wasm -g -O0
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/wasm/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/wasm/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/base64.internal_test.core -main gmlewis/base64 -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/base64.internal_test.wasm -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target wasm -g -O0
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/wasm/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/wasm/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/examples/simple/simple.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/examples/simple/simple.blackbox_test.core -main gmlewis/base64/examples/simple_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm/debug/test/examples/simple/simple.blackbox_test.wasm -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64/examples/simple:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources gmlewis/base64/examples/simple_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target wasm -g -O0
moonc version: v0.8.2+3382e0600
WARN Some diagnostics could not be rendered, please run with --no-render to see raw output.
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/wasm-gc/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/wasm-gc/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/base64.blackbox_test.core -main gmlewis/base64_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/base64.blackbox_test.wasm -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target wasm-gc -g -O0 -source-map
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/wasm-gc/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/wasm-gc/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/base64.internal_test.core -main gmlewis/base64 -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/base64.internal_test.wasm -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target wasm-gc -g -O0 -source-map
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/wasm-gc/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/wasm-gc/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/examples/simple/simple.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/examples/simple/simple.blackbox_test.core -main gmlewis/base64/examples/simple_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/wasm-gc/debug/test/examples/simple/simple.blackbox_test.wasm -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64/examples/simple:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources gmlewis/base64/examples/simple_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target wasm-gc -g -O0 -source-map
moonc version: v0.8.2+3382e0600
WARN Some diagnostics could not be rendered, please run with --no-render to see raw output.
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/js/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/js/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/base64.internal_test.core -main gmlewis/base64 -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/base64.internal_test.js -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -js-format cjs -no-dts -target js -g -O0 -source-map
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/js/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/js/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/base64.blackbox_test.core -main gmlewis/base64_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/base64.blackbox_test.js -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -js-format cjs -no-dts -target js -g -O0 -source-map
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/js/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/js/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/examples/simple/simple.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/examples/simple/simple.blackbox_test.core -main gmlewis/base64/examples/simple_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/js/debug/test/examples/simple/simple.blackbox_test.js -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64/examples/simple:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources gmlewis/base64/examples/simple_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -js-format cjs -no-dts -target js -g -O0 -source-map
moonc version: v0.8.2+3382e0600
WARN Some diagnostics could not be rendered, please run with --no-render to see raw output.
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/native/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/native/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/base64.blackbox_test.core -main gmlewis/base64_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/base64.blackbox_test.c -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target native -g -O0
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/native/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/native/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/base64.internal_test.core -main gmlewis/base64 -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/base64.internal_test.c -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target native -g -O0
moonc version: v0.8.2+3382e0600
-- --
/ // / __--------_
/ // /_/ \
--- - \ __
/ X / ____ / )
*_________/__/_____/______/ `--
Oops, the compiler has encountered an unexpected situation.
This is a bug in the compiler.
A bug report containing the error description and relevant code would be
greatly appreciated. You can submit the bug report here:
https://github.com/moonbitlang/moonbit-docs/issues/new?template=ice.md
Error: Moonc.Basic_hashf.Make(Key).Key_not_found(_)
Compiler args: /Users/glenn/.moon/bin/moonc link-core /Users/glenn/.moon/lib/core/_build/native/release/bundle/abort/abort.core /Users/glenn/.moon/lib/core/_build/native/release/bundle/core.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/base64.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/examples/simple/simple.core /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/examples/simple/simple.blackbox_test.core -main gmlewis/base64/examples/simple_blackbox_test -o /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/_build/native/debug/test/examples/simple/simple.blackbox_test.c -test-mode -pkg-config-path /Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple/moon.pkg -pkg-sources gmlewis/base64:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64 -pkg-sources gmlewis/base64/examples/simple:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources gmlewis/base64/examples/simple_blackbox_test:/Users/glenn/src/github.com/gmlewis/moonbit-01-base64/examples/simple -pkg-sources moonbitlang/core:/Users/glenn/.moon/lib/core -exported_functions moonbit_test_driver_internal_execute,moonbit_test_driver_finish -target native -g -O0
moonc version: v0.8.2+3382e0600
WARN Some diagnostics could not be rendered, please run with --no-render to see raw output.
This ICE appears to only happen when the "_build" and ".mooncakes" directories from a previous version of the compiler are left around.
If I run "moon test -j 12 --target all" when these directories are around, I get the dump below.
However, if I run:
Then everything compiles and tests successfully without any errors whatsoever.
Here is the dump: