[INFO] cloning repository https://github.com/wangkirin/napi-rs-ffi-bench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangkirin/napi-rs-ffi-bench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangkirin%2Fnapi-rs-ffi-bench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangkirin%2Fnapi-rs-ffi-bench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b8873ec8113569f64d0e1140b00b80c3ac2a6ab [INFO] building wangkirin/napi-rs-ffi-bench against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangkirin%2Fnapi-rs-ffi-bench" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wangkirin/napi-rs-ffi-bench [INFO] finished tweaking git repo https://github.com/wangkirin/napi-rs-ffi-bench [INFO] tweaked toml for git repo https://github.com/wangkirin/napi-rs-ffi-bench written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wangkirin/napi-rs-ffi-bench 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/wangkirin/napi-rs-ffi-bench 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 36cea317cee745b326958882230e5fc27eec769cf1f30a0331cf72e31eb915c2 [INFO] running `Command { std: "docker" "start" "-a" "36cea317cee745b326958882230e5fc27eec769cf1f30a0331cf72e31eb915c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36cea317cee745b326958882230e5fc27eec769cf1f30a0331cf72e31eb915c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36cea317cee745b326958882230e5fc27eec769cf1f30a0331cf72e31eb915c2", kill_on_drop: false }` [INFO] [stdout] 36cea317cee745b326958882230e5fc27eec769cf1f30a0331cf72e31eb915c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 81761d367c1c2ac01337dfb3e263e29729f082f6343e036622b0e7dacfe91e7f [INFO] running `Command { std: "docker" "start" "-a" "81761d367c1c2ac01337dfb3e263e29729f082f6343e036622b0e7dacfe91e7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling napi-ffi-bench v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `napi::bindgen_prelude` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use napi::bindgen_prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [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__sum_as_i64_0" "--export" "__napi_register__sum_list_of_floats_1" "--export" "__napi_register__sum_list_of_floats_with_timing_3" "--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-d444586a40b7b1ea,libnapi_sys-81f6e7f4bb19c886,libbitflags-c5d55bfa10cafd97,libonce_cell-bcd15b06b8f373b9}.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_ffi_bench.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_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_get_element [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/napi_ffi_bench.napi_ffi_bench.8710f5b634c8b271-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_create_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_define_class [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_throw_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_create_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.04.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-d444586a40b7b1ea.rlib(napi-d444586a40b7b1ea.napi.d9722beedae65ab1-cgu.06.rcgu.o): undefined symbol: napi_get_reference_value [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-ffi-bench` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "81761d367c1c2ac01337dfb3e263e29729f082f6343e036622b0e7dacfe91e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81761d367c1c2ac01337dfb3e263e29729f082f6343e036622b0e7dacfe91e7f", kill_on_drop: false }` [INFO] [stdout] 81761d367c1c2ac01337dfb3e263e29729f082f6343e036622b0e7dacfe91e7f