We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build with windows 11
moon 0.1.20241111 (e6d64e0 2024-11-11) ~\.moon\bin\moon.exe moonc v0.1.20241111+dc2407357 ~\.moon\bin\moonc.exe moonrun 0.1.20241111 (e6d64e0 2024-11-11) ~\.moon\bin\moonrun.exe
moon test --target native [============------------ ] 15/48 done, 12/14 running gen-test-driver: moonbitlang/x/time_internal_test gen-test-driver: moonbitlang/x/time_whitebox_test gen-test-driver: moonbitlang/x/time_blackbox_test gen-test-driver: moonbitlang/x/uuid_internal_test gen-test-driver: moonbitlang/x/uuid_blackbox_test build-package: moonbitlang/x/fs build-package: moonbitlang/x/json5_internal_test failed: moonc build-package -error-format json D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt -o D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\target\native\debug\test\fs\fs.core -pkg moonbitlang/x/fs -std-path C:\Users\mzh\.moon\lib\core\target\native\release\bundle -i D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\target\native\debug\test\fs\internal\ffi\ffi.mi:ffi -pkg-sources moonbitlang/x/fs:D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs -target native -g Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:35:3] │ 35 │ @ffi.write_string_to_file(path, content) │ ────────────┬──────────── │ ╰────────────── Value write_string_to_file not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:45:3] │ 45 │ @ffi.write_bytes_to_file(path, content) │ ────────────┬─────────── │ ╰───────────── Value write_bytes_to_file not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:56:3] │ 56 │ @ffi.path_exists(path) │ ────────┬─────── │ ╰───────── Value path_exists not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:68:3] │ 68 │ @ffi.read_file_to_string(path) │ ────────────┬─────────── │ ╰───────────── Value read_file_to_string not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:83:3] │ 83 │ @ffi.read_file_to_bytes(path) │ ───────────┬─────────── │ ╰───────────── Value read_file_to_bytes not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:97:3] │ 97 │ @ffi.read_dir(path) │ ──────┬────── │ ╰──────── Value read_dir not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:106:3] │ 106 │ @ffi.create_dir(path) │ ───────┬─────── │ ╰───────── Value create_dir not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:120:3] │ 120 │ @ffi.is_dir(path) │ ─────┬───── │ ╰─────── Value is_dir not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:134:3] │ 134 │ @ffi.is_file(path) │ ──────┬───── │ ╰─────── Value is_file not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:144:3] │ 144 │ @ffi.remove_dir(path) │ ───────┬─────── │ ╰───────── Value remove_dir not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:154:3] │ 154 │ @ffi.remove_file(path) │ ────────┬─────── │ ╰───────── Value remove_file not found in package "ffi". ─────╯ failed: moonc build-package -error-format json D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\target\native\debug\test\fs\__generated_driver_for_internal_test.mbt -o D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\target\native\debug\test\fs\fs.internal_test.core -pkg moonbitlang/x/fs -is-main -std-path C:\Users\mzh\.moon\lib\core\target\native\release\bundle -i D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\target\native\debug\test\fs\internal\ffi\ffi.mi:ffi -pkg-sources moonbitlang/x/fs:D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs -target native -g -no-mi Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:35:3] │ 35 │ @ffi.write_string_to_file(path, content) │ ────────────┬──────────── │ ╰────────────── Value write_string_to_file not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:45:3] │ 45 │ @ffi.write_bytes_to_file(path, content) │ ────────────┬─────────── │ ╰───────────── Value write_bytes_to_file not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:56:3] │ 56 │ @ffi.path_exists(path) │ ────────┬─────── │ ╰───────── Value path_exists not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:68:3] │ 68 │ @ffi.read_file_to_string(path) │ ────────────┬─────────── │ ╰───────────── Value read_file_to_string not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:83:3] │ 83 │ @ffi.read_file_to_bytes(path) │ ───────────┬─────────── │ ╰───────────── Value read_file_to_bytes not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:97:3] │ 97 │ @ffi.read_dir(path) │ ──────┬────── │ ╰──────── Value read_dir not found in package "ffi". ────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:106:3] │ 106 │ @ffi.create_dir(path) │ ───────┬─────── │ ╰───────── Value create_dir not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:120:3] │ 120 │ @ffi.is_dir(path) │ ─────┬───── │ ╰─────── Value is_dir not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:134:3] │ 134 │ @ffi.is_file(path) │ ──────┬───── │ ╰─────── Value is_file not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:144:3] │ 144 │ @ffi.remove_dir(path) │ ───────┬─────── │ ╰───────── Value remove_dir not found in package "ffi". ─────╯ Error: [4021] ╭─[D:\Users\mzh\moonbit-coreutils\.mooncakes\moonbitlang\x\fs\fs.mbt:154:3] │ 154 │ @ffi.remove_file(path) │ ────────┬─────── │ ╰───────── Value remove_file not found in package "ffi". ─────╯ error: failed to run test for target Native
The text was updated successfully, but these errors were encountered:
can't reproduce on local windows machine and ci, could you provide more detail?
Sorry, something went wrong.
oops, seems x has not published after #69
and, native io is not ready for external usage for now due to some native link flag issue (cc @Guest0x0 )
No branches or pull requests
Can't build with windows 11
The text was updated successfully, but these errors were encountered: