[INFO] cloning repository https://github.com/alexeagle/example_rust_napi_nodejs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexeagle/example_rust_napi_nodejs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexeagle%2Fexample_rust_napi_nodejs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexeagle%2Fexample_rust_napi_nodejs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3f3357a2c7a4c3b18ab196ac9e3a54302b954cc [INFO] building alexeagle/example_rust_napi_nodejs against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexeagle%2Fexample_rust_napi_nodejs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexeagle/example_rust_napi_nodejs [INFO] finished tweaking git repo https://github.com/alexeagle/example_rust_napi_nodejs [INFO] tweaked toml for git repo https://github.com/alexeagle/example_rust_napi_nodejs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexeagle/example_rust_napi_nodejs 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/alexeagle/example_rust_napi_nodejs 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 5d55a9f2c4ddaaf10bc0e25f57d10ae5ca5a7135545ef2ca44cd483b045adcc2 [INFO] running `Command { std: "docker" "start" "-a" "5d55a9f2c4ddaaf10bc0e25f57d10ae5ca5a7135545ef2ca44cd483b045adcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d55a9f2c4ddaaf10bc0e25f57d10ae5ca5a7135545ef2ca44cd483b045adcc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d55a9f2c4ddaaf10bc0e25f57d10ae5ca5a7135545ef2ca44cd483b045adcc2", kill_on_drop: false }` [INFO] [stdout] 5d55a9f2c4ddaaf10bc0e25f57d10ae5ca5a7135545ef2ca44cd483b045adcc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8b10e992b99661d69a078526be6e00081793ca66220e22b8e306a58a33eec60f [INFO] running `Command { std: "docker" "start" "-a" "8b10e992b99661d69a078526be6e00081793ca66220e22b8e306a58a33eec60f", kill_on_drop: false }` [INFO] [stderr] Compiling dtor-proc-macro v0.0.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling ctor-proc-macro v0.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling napi-build v2.2.3 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling napi-sys v3.0.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling napi v3.2.4 [INFO] [stderr] Compiling dtor v0.1.0 [INFO] [stderr] Compiling ctor v0.5.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling napi-derive-backend v2.1.4 [INFO] [stderr] Compiling napi-derive v3.2.4 [INFO] [stderr] Compiling example_rust_napi_nodejs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__napi_register__hello_0" "--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-7cd7727d461a06bc,libnapi_sys-1bec40446424f208,libbitflags-c5d55bfa10cafd97,librustc_hash-b695fc556540dede,libnohash_hasher-1d2a64c8bb32a3ee,libctor-f3cdb875e62ac943,libdtor-8ce6be385a342f4e}.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/example_rust_napi_nodejs.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/example_rust_napi_nodejs.example_rust_napi_nodejs.825843f6553ce355-cgu.0.rcgu.o: undefined symbol: napi_get_cb_info [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/example_rust_napi_nodejs.example_rust_napi_nodejs.825843f6553ce355-cgu.0.rcgu.o: undefined symbol: napi_create_reference [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/example_rust_napi_nodejs.example_rust_napi_nodejs.825843f6553ce355-cgu.0.rcgu.o: undefined symbol: napi_create_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_get_value_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_get_value_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_get_value_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_typeof [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_get_value_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_typeof [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_get_undefined [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_call_function [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-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-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.03.rcgu.o): undefined symbol: napi_create_string_utf8 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.08.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.08.rcgu.o): undefined symbol: napi_get_global [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.11.rcgu.o): undefined symbol: napi_create_object [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.11.rcgu.o): undefined symbol: napi_get_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.11.rcgu.o): undefined symbol: napi_set_named_property [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libnapi-7cd7727d461a06bc.rlib(napi-7cd7727d461a06bc.napi.5b785dfe4bd85a84-cgu.11.rcgu.o): undefined symbol: napi_define_class [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 `example_rust_napi_nodejs` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8b10e992b99661d69a078526be6e00081793ca66220e22b8e306a58a33eec60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b10e992b99661d69a078526be6e00081793ca66220e22b8e306a58a33eec60f", kill_on_drop: false }` [INFO] [stdout] 8b10e992b99661d69a078526be6e00081793ca66220e22b8e306a58a33eec60f