[INFO] cloning repository https://github.com/ynng3/node-rust-napi-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ynng3/node-rust-napi-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fynng3%2Fnode-rust-napi-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fynng3%2Fnode-rust-napi-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4aa17df516a8312c95714e1c78ecc591708070d [INFO] building ynng3/node-rust-napi-example against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fynng3%2Fnode-rust-napi-example" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ynng3/node-rust-napi-example [INFO] finished tweaking git repo https://github.com/ynng3/node-rust-napi-example [INFO] tweaked toml for git repo https://github.com/ynng3/node-rust-napi-example written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ynng3/node-rust-napi-example on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ynng3/node-rust-napi-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee173daab61523a14ef4548d8f0aee990b8e1b69f28df7632afcc48a56a1d87b [INFO] running `Command { std: "docker" "start" "-a" "ee173daab61523a14ef4548d8f0aee990b8e1b69f28df7632afcc48a56a1d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee173daab61523a14ef4548d8f0aee990b8e1b69f28df7632afcc48a56a1d87b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee173daab61523a14ef4548d8f0aee990b8e1b69f28df7632afcc48a56a1d87b", kill_on_drop: false }` [INFO] [stdout] ee173daab61523a14ef4548d8f0aee990b8e1b69f28df7632afcc48a56a1d87b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 62a9d9d00c651c48c4f5bcfd1ee4451cc4f4d31ccbaf31fc896593b40d67767f [INFO] running `Command { std: "docker" "start" "-a" "62a9d9d00c651c48c4f5bcfd1ee4451cc4f4d31ccbaf31fc896593b40d67767f", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling napi-derive-backend v1.0.74 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling napi-derive v2.16.12 [INFO] [stderr] Compiling napi v2.16.11 [INFO] [stderr] Compiling node-rust-napi-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[napi] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `napi` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `napi` may come from an old version of the `napi_derive` crate, try updating your dependency with `cargo update -p napi_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `napi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__napi_register__add_0" "--export" "__napi_register__hello_world_1" "--export" "napi_register_module_v1" "--export" "napi_register_wasm_v1" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnapi-74f10dfce6a71b7d,libnapi_sys-f212dcba028e8e92,libbitflags-282cfc8d4cec6943,libonce_cell-b77ad74ee3733af1}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/node_rust_napi_example.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/node_rust_napi_example.node_rust_napi_example.42f95a19f641f1d3-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/node_rust_napi_example.node_rust_napi_example.42f95a19f641f1d3-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/node_rust_napi_example.node_rust_napi_example.42f95a19f641f1d3-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/node_rust_napi_example.node_rust_napi_example.42f95a19f641f1d3-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_get_reference_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_is_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_create_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_is_exception_pending [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_get_and_clear_last_exception [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.03.rcgu.o): undefined symbol: napi_throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.09.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.12.rcgu.o): undefined symbol: napi_create_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.12.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.12.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.12.rcgu.o): undefined symbol: napi_define_class [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-74f10dfce6a71b7d.rlib(napi-74f10dfce6a71b7d.napi.6e7cd880e0071e32-cgu.12.rcgu.o): undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `node-rust-napi-example` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "62a9d9d00c651c48c4f5bcfd1ee4451cc4f4d31ccbaf31fc896593b40d67767f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a9d9d00c651c48c4f5bcfd1ee4451cc4f4d31ccbaf31fc896593b40d67767f", kill_on_drop: false }` [INFO] [stdout] 62a9d9d00c651c48c4f5bcfd1ee4451cc4f4d31ccbaf31fc896593b40d67767f