[INFO] cloning repository https://github.com/jwhntf/binary_tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jwhntf/binary_tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwhntf%2Fbinary_tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwhntf%2Fbinary_tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b10be1abc89abe11b53830f44e70ebfbc8f8e5d [INFO] building jwhntf/binary_tree against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjwhntf%2Fbinary_tree" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jwhntf/binary_tree on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jwhntf/binary_tree [INFO] finished tweaking git repo https://github.com/jwhntf/binary_tree [INFO] tweaked toml for git repo https://github.com/jwhntf/binary_tree written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jwhntf/binary_tree 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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding random v0.14.0 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b94026217650b47839a8e164ed8005eb57e120b8268545628373e1c10bf27d89 [INFO] running `Command { std: "docker" "start" "-a" "b94026217650b47839a8e164ed8005eb57e120b8268545628373e1c10bf27d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b94026217650b47839a8e164ed8005eb57e120b8268545628373e1c10bf27d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94026217650b47839a8e164ed8005eb57e120b8268545628373e1c10bf27d89", kill_on_drop: false }` [INFO] [stdout] b94026217650b47839a8e164ed8005eb57e120b8268545628373e1c10bf27d89 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22caaf15d60a1c54c90ddd26d80dd93333f5a52bb70cd60249230e73f93afdc5 [INFO] running `Command { std: "docker" "start" "-a" "22caaf15d60a1c54c90ddd26d80dd93333f5a52bb70cd60249230e73f93afdc5", kill_on_drop: false }` [INFO] [stderr] Compiling random v0.14.0 [INFO] [stderr] Compiling Here v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `build_from_raw`, `build_whole`, `borrow_value`, `set_left_child`, `set_right_child`, and `is_leaf` are never used [INFO] [stdout] --> src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 16 | fn build_from_raw(data: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn build_whole( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn borrow_value(&self) -> &T { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn set_left_child(&mut self, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn set_right_child(&mut self, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl BinaryTree { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 72 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn pre_order(&self, root: &Option>>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn in_order(&self, root: &Option>>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn post_order(&self, root: &Option>>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn pre_order_non_recursive(&self, root: &Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | fn in_order_non_recursive(&self, root: &Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn post_order_non_recursive(&self, root: &Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Tags` is never used [INFO] [stdout] --> src/main.rs:186:6 [INFO] [stdout] | [INFO] [stdout] 186 | enum Tags {Left, Right} [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StackElement` is never constructed [INFO] [stdout] --> src/main.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 187 | struct StackElement<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcGRoAy5/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c961c021679cb080.rlib,libpanic_unwind-cf53e161ed1cff61.rlib,libobject-cb648d8066e1f446.rlib,libmemchr-c5d4f358058ea4b7.rlib,libaddr2line-c3d71356250e6616.rlib,libgimli-f87b04c9c9484f11.rlib,librustc_demangle-bcb6f2ec634b4b7c.rlib,libstd_detect-7c9c37927c8e6d84.rlib,libhashbrown-c2c9b281c2c2a277.rlib,librustc_std_workspace_alloc-436fb8ec294074ae.rlib,libminiz_oxide-8d1606a7c3a02301.rlib,libadler-b9d368accc529045.rlib,libunwind-8fa2d9148abc4bd4.rlib,libcfg_if-04c8eb04b1ca0e2e.rlib,liblibc-ac32c271036f683f.rlib,liballoc-954db56effadca87.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-d643a4794e0b0ebc.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/Here-733866eaf5868f0a" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] Stack dump: [INFO] [stdout] 0. Program arguments: /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/bin/rust-lld -flavor gnu -plugin /usr/lib/gcc/x86_64-linux-gnu/11/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbX0qdY.res --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o /opt/rustwide/target/debug/deps/Here-733866eaf5868f0a /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/11/crtbeginS.o -L/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib -L/opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld -L/usr/lib/gcc/x86_64-linux-gnu/11 -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/11/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/11/../../.. /tmp/rustcGRoAy5/symbols.o /opt/rustwide/target/debug/deps/Here-733866eaf5868f0a.Here.f8d43e6f5db34b39-cgu.0.rcgu.o /opt/rustwide/target/debug/deps/Here-733866eaf5868f0a.4fgeytjb456oivp04j2vo864i.rcgu.o --as-needed -Bstatic /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c961c021679cb080.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-cf53e161ed1cff61.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-cb648d8066e1f446.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-c5d4f358058ea4b7.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-c3d71356250e6616.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-f87b04c9c9484f11.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-bcb6f2ec634b4b7c.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-7c9c37927c8e6d84.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c2c9b281c2c2a277.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-436fb8ec294074ae.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-8d1606a7c3a02301.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b9d368accc529045.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-8fa2d9148abc4bd4.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-04c8eb04b1ca0e2e.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac32c271036f683f.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-954db56effadca87.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-395a38b8e0851c9b.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-d453bab70303062c.rlib /opt/rustwide/rustup-home/toolchains/9b5e8b16bd1c4acf4cf8e6880368314cf021a987/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d643a4794e0b0ebc.rlib -Bdynamic -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc --eh-frame-hdr -z noexecstack --gc-sections -z relro -z now /usr/lib/gcc/x86_64-linux-gnu/11/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/crtn.o [INFO] [stdout] Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): [INFO] [stdout] 0 libLLVM.so.19.1-rust-1.85.0-nightly 0x000075d88235aba7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 39 [INFO] [stdout] 1 libLLVM.so.19.1-rust-1.85.0-nightly 0x000075d88235afbc [INFO] [stdout] 2 libc.so.6 0x000075d87e219520 [INFO] [stdout] 3 rust-lld 0x00005eedf8218c73 [INFO] [stdout] 4 rust-lld 0x00005eedf804cb36 [INFO] [stdout] 5 rust-lld 0x00005eedf80324ec [INFO] [stdout] 6 rust-lld 0x00005eedf7f63ae0 [INFO] [stdout] 7 rust-lld 0x00005eedf7f62b7d [INFO] [stdout] 8 rust-lld 0x00005eedf7f63221 [INFO] [stdout] 9 libc.so.6 0x000075d87e200d90 [INFO] [stdout] 10 libc.so.6 0x000075d87e200e40 __libc_start_main + 128 [INFO] [stdout] 11 rust-lld 0x00005eedf7de57e9 [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Here` (bin "Here") due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "22caaf15d60a1c54c90ddd26d80dd93333f5a52bb70cd60249230e73f93afdc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22caaf15d60a1c54c90ddd26d80dd93333f5a52bb70cd60249230e73f93afdc5", kill_on_drop: false }` [INFO] [stdout] 22caaf15d60a1c54c90ddd26d80dd93333f5a52bb70cd60249230e73f93afdc5