[INFO] cloning repository https://github.com/qcfu-bu/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/qcfu-bu/rust-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqcfu-bu%2Frust-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqcfu-bu%2Frust-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adc49bdd088c4496e7cd28cd491aad47a752b92b [INFO] building qcfu-bu/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%2Fqcfu-bu%2Frust-test" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qcfu-bu/rust-test [INFO] finished tweaking git repo https://github.com/qcfu-bu/rust-test [INFO] tweaked toml for git repo https://github.com/qcfu-bu/rust-test written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qcfu-bu/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/qcfu-bu/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e60d135fcfda0bcf0133624c4c503359c4317cfaf9f2b099f488d4d1584119c5 [INFO] running `Command { std: "docker" "start" "-a" "e60d135fcfda0bcf0133624c4c503359c4317cfaf9f2b099f488d4d1584119c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e60d135fcfda0bcf0133624c4c503359c4317cfaf9f2b099f488d4d1584119c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60d135fcfda0bcf0133624c4c503359c4317cfaf9f2b099f488d4d1584119c5", kill_on_drop: false }` [INFO] [stdout] e60d135fcfda0bcf0133624c4c503359c4317cfaf9f2b099f488d4d1584119c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 230fec96e95e9642b4689bcab5a98e8d667fbc5fa81b80fd3de05f64f7972c0f [INFO] running `Command { std: "docker" "start" "-a" "230fec96e95e9642b4689bcab5a98e8d667fbc5fa81b80fd3de05f64f7972c0f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasi v0.11.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling libmimalloc-sys v0.1.38 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling pest v2.7.9 [INFO] [stderr] Compiling pest_meta v2.7.9 [INFO] [stderr] Compiling mimalloc v0.1.42 [INFO] [stderr] Compiling pest_generator v2.7.9 [INFO] [stderr] Compiling pest_derive v2.7.9 [INFO] [stderr] Compiling rust-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/names.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Name { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Name` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (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" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{liblazy_static-51da8ddcf16ed5a5,libmimalloc-8ae649759a225933,liblibmimalloc_sys-70f2372b785b34ba,liblibc-c984e53cb28a2b5c,libpest-2872c8d5d4164f84,libucd_trie-cda5845c5e84790a,libmemchr-588abce8eccf2ca2,libthiserror-93a6483923a3fe69,libahash-a10a28538a097e67,libgetrandom-fd27df5d3a88fefc,libwasi-061e01b8c21b18bd,libonce_cell-dde4d1588d924968,libcfg_if-85e480dfb7f3b391,libzerocopy-4a5fe97da26323ac}.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" "/opt/rustwide/target/wasm32-wasip1/debug/build/libmimalloc-sys-66fc7b2384d690af/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.wasm" "--gc-sections" "-O3" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibmimalloc_sys-70f2372b785b34ba.rlib: archive member '98cfcaec7182b1d8-static.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/rust_test-d64cce67cf2eca66.rust_test.1fd10abbd970485a-cgu.00.rcgu.o: undefined symbol: mi_free [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 `rust-test` (bin "rust-test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "230fec96e95e9642b4689bcab5a98e8d667fbc5fa81b80fd3de05f64f7972c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "230fec96e95e9642b4689bcab5a98e8d667fbc5fa81b80fd3de05f64f7972c0f", kill_on_drop: false }` [INFO] [stdout] 230fec96e95e9642b4689bcab5a98e8d667fbc5fa81b80fd3de05f64f7972c0f