[INFO] fetching crate swc_nodejs_common 1.0.3... [INFO] building swc_nodejs_common-1.0.3 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate swc_nodejs_common 1.0.3 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate swc_nodejs_common 1.0.3 [INFO] finished tweaking crates.io crate swc_nodejs_common 1.0.3 [INFO] tweaked toml for crates.io crate swc_nodejs_common 1.0.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swc_nodejs_common 1.0.3 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 crates.io crate swc_nodejs_common 1.0.3 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] 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] 13d5935864fdfbe6f98361197793410de4fafabfe1a2270164ef7cde15b7fede [INFO] running `Command { std: "docker" "start" "-a" "13d5935864fdfbe6f98361197793410de4fafabfe1a2270164ef7cde15b7fede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13d5935864fdfbe6f98361197793410de4fafabfe1a2270164ef7cde15b7fede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13d5935864fdfbe6f98361197793410de4fafabfe1a2270164ef7cde15b7fede", kill_on_drop: false }` [INFO] [stdout] 13d5935864fdfbe6f98361197793410de4fafabfe1a2270164ef7cde15b7fede [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] 962841f9ec389aa74e8831329ea7a4b5dc1957818f48c405995676e131e5a9a9 [INFO] running `Command { std: "docker" "start" "-a" "962841f9ec389aa74e8831329ea7a4b5dc1957818f48c405995676e131e5a9a9", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling napi-build v2.2.3 [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling napi-sys v3.0.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling napi v3.3.0 [INFO] [stderr] Compiling dtor v0.1.0 [INFO] [stderr] Compiling ctor v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling swc_nodejs_common v1.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.87s [INFO] running `Command { std: "docker" "inspect" "962841f9ec389aa74e8831329ea7a4b5dc1957818f48c405995676e131e5a9a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962841f9ec389aa74e8831329ea7a4b5dc1957818f48c405995676e131e5a9a9", kill_on_drop: false }` [INFO] [stdout] 962841f9ec389aa74e8831329ea7a4b5dc1957818f48c405995676e131e5a9a9 [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" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] dd31f508d37195ec859c04cd756919729b8a685ff0632e15ead275945d7a4001 [INFO] running `Command { std: "docker" "start" "-a" "dd31f508d37195ec859c04cd756919729b8a685ff0632e15ead275945d7a4001", kill_on_drop: false }` [INFO] [stderr] Compiling swc_nodejs_common v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "--export" "napi_register_module_v1" "--export" "napi_register_wasm_v1" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libnapi-073d505dd1498dd1,libnapi_sys-bc60540f9f2a3402,libbitflags-282cfc8d4cec6943,librustc_hash-b695fc556540dede,libnohash_hasher-1d2a64c8bb32a3ee,libserde_json-9ace2176c359224b,libmemchr-fce70e7b22dffad4,libitoa-c00a5eb83387cdca,libryu-bcb26aa50f65bbc8,libctor-f3cdb875e62ac943,libdtor-8ce6be385a342f4e,libserde-560afcbcec8e0f9d,libserde_core-81eeb70c4b2e6be4,libanyhow-5e37c6a252687bff}.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/swc_nodejs_common-a5e9ef240f9deb2c.wasm" "--gc-sections" "-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/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_get_reference_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_reference_unref [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_is_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_create_error [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_get_reference_value [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_reference_unref [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_is_exception_pending [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_get_and_clear_last_exception [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_reference_unref [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.05.rcgu.o): undefined symbol: napi_delete_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.06.rcgu.o): undefined symbol: napi_create_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.06.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-073d505dd1498dd1.rlib(napi-073d505dd1498dd1.napi.1789a8073de8dc7e-cgu.06.rcgu.o): undefined symbol: napi_set_named_property [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 `swc_nodejs_common` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "dd31f508d37195ec859c04cd756919729b8a685ff0632e15ead275945d7a4001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd31f508d37195ec859c04cd756919729b8a685ff0632e15ead275945d7a4001", kill_on_drop: false }` [INFO] [stdout] dd31f508d37195ec859c04cd756919729b8a685ff0632e15ead275945d7a4001