[INFO] cloning repository https://github.com/darkgraycat/napi-rust-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darkgraycat/napi-rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkgraycat%2Fnapi-rust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkgraycat%2Fnapi-rust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4568cea83ad39d73e32fb1f0184da472004f7724 [INFO] building darkgraycat/napi-rust-test against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarkgraycat%2Fnapi-rust-test" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/darkgraycat/napi-rust-test [INFO] finished tweaking git repo https://github.com/darkgraycat/napi-rust-test [INFO] tweaked toml for git repo https://github.com/darkgraycat/napi-rust-test written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/darkgraycat/napi-rust-test 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/darkgraycat/napi-rust-test 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cbfbcd61a584eb1b91a94b7a23a30fd95baeb782425fc15ef4ecd8727dac68cc [INFO] running `Command { std: "docker" "start" "-a" "cbfbcd61a584eb1b91a94b7a23a30fd95baeb782425fc15ef4ecd8727dac68cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbfbcd61a584eb1b91a94b7a23a30fd95baeb782425fc15ef4ecd8727dac68cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfbcd61a584eb1b91a94b7a23a30fd95baeb782425fc15ef4ecd8727dac68cc", kill_on_drop: false }` [INFO] [stdout] cbfbcd61a584eb1b91a94b7a23a30fd95baeb782425fc15ef4ecd8727dac68cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1dcb737e20fce07e265e601f6b529d2ab8b8df04e70f3eb6647be5f495f42739 [INFO] running `Command { std: "docker" "start" "-a" "1dcb737e20fce07e265e601f6b529d2ab8b8df04e70f3eb6647be5f495f42739", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling napi-rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.86 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling regex v1.11.1 [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.13 [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] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[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] warning: unexpected `cfg` condition value: `noop` [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #[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__divide_3" "--export" "__napi_register__multiply_2" "--export" "__napi_register__substract_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-be0cca550cc65862,libnapi_sys-f212dcba028e8e92,libbitflags-282cfc8d4cec6943,libonce_cell-ce8c35e2bf3be270}.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/napi_rust_test.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/napi_rust_test.napi_rust_test.9efacf8d46dfb1ea-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_rust_test.napi_rust_test.9efacf8d46dfb1ea-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_rust_test.napi_rust_test.9efacf8d46dfb1ea-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_rust_test.napi_rust_test.9efacf8d46dfb1ea-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_rust_test.napi_rust_test.9efacf8d46dfb1ea-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_rust_test.napi_rust_test.9efacf8d46dfb1ea-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.11.rcgu.o): undefined symbol: napi_create_double [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.11.rcgu.o): undefined symbol: napi_get_value_double [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.11.rcgu.o): undefined symbol: napi_typeof [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_get_reference_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_is_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_create_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_is_exception_pending [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_get_and_clear_last_exception [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.13.rcgu.o): undefined symbol: napi_throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-be0cca550cc65862.rlib(napi-be0cca550cc65862.napi.9a6ee9e4d59d039d-cgu.14.rcgu.o): undefined symbol: napi_create_object [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 `napi-rust-test` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1dcb737e20fce07e265e601f6b529d2ab8b8df04e70f3eb6647be5f495f42739", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dcb737e20fce07e265e601f6b529d2ab8b8df04e70f3eb6647be5f495f42739", kill_on_drop: false }` [INFO] [stdout] 1dcb737e20fce07e265e601f6b529d2ab8b8df04e70f3eb6647be5f495f42739