Skip to content

ICE: Moonbit compiling fails in Windows OS #937

@chethanuk

Description

@chethanuk

(Your description on the reproducing steps or environment)

Code

  • Target: (wasm, wasm-gc, js, native/c, native/llvm, irrelevant)
 DEBUG moonbit_component_generator > Running the MoonBit compiler with args: build-package C:\Users\ADMINI~1\AppData\Local\Temp\2\.tmpZTyBKm\ffi\top.mbt -w -44 -o C:\Users\ADMINI~1\AppData\Local\Temp\2\.tmpZTyBKm\target\wasm\release\build\ffi\ffi.core -pkg golem/script-source/ffi -std-path C:\Users\ADMINI~1\AppData\Local\Temp\2\.tmpZTyBKm\core\target\wasm\release\bundle -pkg-sources golem/script-source/ffi:C:\Users\ADMINI~1\AppData\Local\Temp\2\.tmpZTyBKm\ffi -target wasm
 DEBUG wit_parser::resolve         > type Some("error") Interface(Id { idx: 3 })
 DEBUG wit_parser::resolve         > type Some("pollable") Interface(Id { idx: 3 })
 DEBUG wit_parser::resolve         > type None None

         --  --
       /  //  / __--------_
      /  //  /_/            \
   ---      -                \ __
  / 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: Sys_error("Error: The parameter is incorrect. (os error 87)")

Compiler args: moonc build-package "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\.tmpZTyBKm\\ffi\\top.mbt" -w -44 -o "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\.tmpZTyBKm\\target\\wasm\\release\\build\\ffi\\ffi.core" -pkg golem/script-source/ffi -std-path "C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\.tmpZTyBKm\\core\\target\\wasm\\release\\bundle" -pkg-sources "golem/script-source/ffi:C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\.tmpZTyBKm\\ffi" -target wasm

moonc version: v0.6.19
error: test failed, to rerun pass `-p moonbit-component-generator --lib`

Caused by:
  process didn't exit successfully: `C:\Users\Administrator\moonbit-component-generator\target\debug\deps\moonbit_component_generator-e794dc5777cac099.exe --nocapture` (exit code: 199)

Environment

  • OS: Windows
  • OS distribution and/or version: (e.g. Ubuntu 22, Windows 10)
  • CPU Architecture: (x86_64 / arm64)
v0.6.19

Error output

<output>

Metadata

Metadata

Assignees

Labels

ICEInternal Compiler ErrorbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions