[INFO] cloning repository https://github.com/kvinwang/gramine-bug-report-mem-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kvinwang/gramine-bug-report-mem-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Fgramine-bug-report-mem-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkvinwang%2Fgramine-bug-report-mem-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83c1033527f5e55b168f036cd1b06cf4a959d214 [INFO] building kvinwang/gramine-bug-report-mem-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%2Fkvinwang%2Fgramine-bug-report-mem-test" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kvinwang/gramine-bug-report-mem-test [INFO] finished tweaking git repo https://github.com/kvinwang/gramine-bug-report-mem-test [INFO] tweaked toml for git repo https://github.com/kvinwang/gramine-bug-report-mem-test written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kvinwang/gramine-bug-report-mem-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/kvinwang/gramine-bug-report-mem-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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0378f9c751215ed14c39157f9a2ea80d28ee2b5edeee2a88327c1e2573d275c9 [INFO] running `Command { std: "docker" "start" "-a" "0378f9c751215ed14c39157f9a2ea80d28ee2b5edeee2a88327c1e2573d275c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0378f9c751215ed14c39157f9a2ea80d28ee2b5edeee2a88327c1e2573d275c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0378f9c751215ed14c39157f9a2ea80d28ee2b5edeee2a88327c1e2573d275c9", kill_on_drop: false }` [INFO] [stdout] 0378f9c751215ed14c39157f9a2ea80d28ee2b5edeee2a88327c1e2573d275c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b2b623e48d433b5d03f308779875d98cfa7f928eb2a468eb7926e589bdbfeb4a [INFO] running `Command { std: "docker" "start" "-a" "b2b623e48d433b5d03f308779875d98cfa7f928eb2a468eb7926e589bdbfeb4a", kill_on_drop: false }` [INFO] [stderr] Compiling libmimalloc-sys v0.1.30 [INFO] [stderr] Compiling mimalloc v0.1.34 [INFO] [stderr] Compiling mem-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `current_used` is never read [INFO] [stdout] --> src/allocator.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 12 | /// The current heap usage of the allocator. [INFO] [stdout] 13 | pub current_used: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has a derived impl for the trait `Debug`, but this is 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" "<3 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libmimalloc-6d4443dfd8d519dc,liblibmimalloc_sys-6d4f51f4668e3140,liblibc-1dd74f312c75ee64,librand-1874c9bdeab97e23,librand_chacha-f4b0258a7df2ff92,libppv_lite86-486e4425e6fd09e6,librand_core-3a8f7c0cf04f2a21,libgetrandom-2076b58c9b565b3e,libwasi-209230712e0af480,libcfg_if-50b02a9e3502ecf2}.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-d20c75a49adb2fc4/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.wasm" "--gc-sections" "-O0" [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-6d4f51f4668e3140.rlib: archive member 'static.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_zalloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_zalloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_malloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_realloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/mem_test-0ff9132a093e234f.mem_test.65f7ad2d814baca-cgu.0.rcgu.o: undefined symbol: mi_realloc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mem-test` (bin "mem-test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b2b623e48d433b5d03f308779875d98cfa7f928eb2a468eb7926e589bdbfeb4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b623e48d433b5d03f308779875d98cfa7f928eb2a468eb7926e589bdbfeb4a", kill_on_drop: false }` [INFO] [stdout] b2b623e48d433b5d03f308779875d98cfa7f928eb2a468eb7926e589bdbfeb4a