[INFO] cloning repository https://github.com/ammkrn/nanoda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ammkrn/nanoda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammkrn%2Fnanoda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammkrn%2Fnanoda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04c0b5e5ddf73f6bae55ca17da1a320d239d8147 [INFO] building ammkrn/nanoda against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fammkrn%2Fnanoda" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ammkrn/nanoda [INFO] finished tweaking git repo https://github.com/ammkrn/nanoda [INFO] tweaked toml for git repo https://github.com/ammkrn/nanoda written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ammkrn/nanoda 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/ammkrn/nanoda 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0588ca9b5e328e9083dcb9535bd8d45445e2a05511d111fbe65c2340c9778f4e [INFO] running `Command { std: "docker" "start" "-a" "0588ca9b5e328e9083dcb9535bd8d45445e2a05511d111fbe65c2340c9778f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0588ca9b5e328e9083dcb9535bd8d45445e2a05511d111fbe65c2340c9778f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0588ca9b5e328e9083dcb9535bd8d45445e2a05511d111fbe65c2340c9778f4e", kill_on_drop: false }` [INFO] [stdout] 0588ca9b5e328e9083dcb9535bd8d45445e2a05511d111fbe65c2340c9778f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 67f7718a8f9ff8fe8ae035b799c3bbec77bff60d6f2d1dc75ffe47c503dfa8ee [INFO] running `Command { std: "docker" "start" "-a" "67f7718a8f9ff8fe8ae035b799c3bbec77bff60d6f2d1dc75ffe47c503dfa8ee", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling mimalloc-sys v0.1.5 [INFO] [stderr] Compiling stacker v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling mimallocator v0.1.3 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling nanoda v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::inductive::Inductive` [INFO] [stdout] --> src/parser.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::inductive::Inductive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/expr.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | std::mem::replace(self, instd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 573 | let _ = std::mem::replace(self, instd); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/reduction.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | Some(already) => { std::mem::replace(already, e2); }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 128 | Some(already) => { let _ = std::mem::replace(already, e2); }, [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Expr` instead of cloning the inner type [INFO] [stdout] --> src/tc.rs:260:43 [INFO] [stdout] | [INFO] [stdout] 260 | collected.push(elem.clone().clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/pretty/components.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | std::mem::replace(eol, (acc.len() + line_width)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 222 | let _ = std::mem::replace(eol, (acc.len() + line_width)); [INFO] [stdout] | +++++++ [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/{libmimallocator-fb061123ab087399,libmimalloc_sys-b2593d0226400b40,libstacker-b67f39c4ca049880,liblibc-e148fdcdd3f36a67,libfxhash-378b1166d76bcc6b,libbyteorder-019cf26721bf1528,libhashbrown-f17fef89e8f3dc09,libstructopt-3b9d019d401771ad,libclap-d0d4d8a2fcf6ba95,libvec_map-35db6a21e4c898cc,libtextwrap-70c2d841f2fa8468,libunicode_width-355c438a6065a504,libstrsim-77da817db1277a2f,libbitflags-783ca2bd9261e989,libatty-db1187288b4a6945,libansi_term-6c0151593fd7624b,libparking_lot-02d2b564a13aff25,libparking_lot_core-c84da818e6d5dd22,libsmallvec-99084132e47585ea,liblock_api-5d4de1168207c75d,libscopeguard-89ec6e95557c4a44,libcrossbeam_utils-3d210dcb4330d647,liblazy_static-9e9498024e9845f1,libcfg_if-e3689acfdca55ebb}.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/mimalloc-sys-8a59752008d6ffe7/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.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/libmimalloc_sys-b2593d0226400b40.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/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_zalloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_zalloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_malloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_malloc [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_realloc_aligned [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/nanoda-ed789a5890644623.nanoda.8cb60facad76f015-cgu.11.rcgu.o: undefined symbol: mi_realloc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nanoda` (bin "nanoda") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "67f7718a8f9ff8fe8ae035b799c3bbec77bff60d6f2d1dc75ffe47c503dfa8ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67f7718a8f9ff8fe8ae035b799c3bbec77bff60d6f2d1dc75ffe47c503dfa8ee", kill_on_drop: false }` [INFO] [stdout] 67f7718a8f9ff8fe8ae035b799c3bbec77bff60d6f2d1dc75ffe47c503dfa8ee