[INFO] cloning repository https://github.com/collinsmith/rust-by-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/collinsmith/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcollinsmith%2Frust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcollinsmith%2Frust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a198148af655a4d5fbd1b4fe7bd16c046395606b [INFO] checking collinsmith/rust-by-example/a198148af655a4d5fbd1b4fe7bd16c046395606b against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcollinsmith%2Frust-by-example" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/collinsmith/rust-by-example on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/collinsmith/rust-by-example [INFO] finished tweaking git repo https://github.com/collinsmith/rust-by-example [INFO] tweaked toml for git repo https://github.com/collinsmith/rust-by-example written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/collinsmith/rust-by-example 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a0c1a452966a27d773d2d39aace57b021359bae30120bbe3a9116f6c62e7c6d [INFO] running `Command { std: "docker" "start" "-a" "8a0c1a452966a27d773d2d39aace57b021359bae30120bbe3a9116f6c62e7c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a0c1a452966a27d773d2d39aace57b021359bae30120bbe3a9116f6c62e7c6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0c1a452966a27d773d2d39aace57b021359bae30120bbe3a9116f6c62e7c6d", kill_on_drop: false }` [INFO] [stdout] 8a0c1a452966a27d773d2d39aace57b021359bae30120bbe3a9116f6c62e7c6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cea03ecd9eb9a89127c4158f3f77e42e14515af8785c6b038bbc1fccb6bd0804 [INFO] running `Command { std: "docker" "start" "-a" "cea03ecd9eb9a89127c4158f3f77e42e14515af8785c6b038bbc1fccb6bd0804", kill_on_drop: false }` [INFO] [stderr] Checking arrays_and_slices v0.1.0 (/opt/rustwide/workdir/2-3-arrays_and_slices) [INFO] [stderr] Checking hello-world v0.1.0 (/opt/rustwide/workdir/1-0-hello-world) [INFO] [stderr] Checking casting v0.1.0 (/opt/rustwide/workdir/5-1-casting) [INFO] [stderr] Checking comments v0.1.0 (/opt/rustwide/workdir/1-1-0-comments) [INFO] [stderr] Checking debug v0.1.0 (/opt/rustwide/workdir/1-2-1-debug) [INFO] [stderr] Checking display v0.1.0 (/opt/rustwide/workdir/1-2-2-display) [INFO] [stderr] Checking enums v0.1.0 (/opt/rustwide/workdir/3-2-0-enums) [INFO] [stderr] Checking linked_list v0.1.0 (/opt/rustwide/workdir/3-2-3-linked_list) [INFO] [stderr] Checking tuples v0.1.0 (/opt/rustwide/workdir/2-2-tuples) [INFO] [stderr] Checking formatted-print v0.1.0 (/opt/rustwide/workdir/1-2-0-formatted-print) [INFO] [stderr] Checking formatting v0.1.0 (/opt/rustwide/workdir/1-2-3-formatting) [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> 2-2-tuples/src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | struct Matrix( [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 51 | f32, f32, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] 52 | f32, f32, [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Matrix` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugPrintable` is never constructed [INFO] [stdout] --> 1-2-1-debug/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct DebugPrintable(i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 1-2-1-debug/src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | struct Structure(i32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 1-2-1-debug/src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | struct Deep(Structure); [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Deep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> 1-2-1-debug/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 53 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | age: u8 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> 3-2-3-linked_list/src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | fn prepend(self, e: u32) -> List { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Cons(e, Box::new(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linked_list` (bin "linked_list") due to 2 previous errors [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> 3-2-3-linked_list/src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | fn prepend(self, e: u32) -> List { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Cons(e, Box::new(self)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DebugPrintable` is never constructed [INFO] [stdout] --> 1-2-1-debug/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | struct DebugPrintable(i32); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 1-2-1-debug/src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | struct Structure(i32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Structure` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> 1-2-1-debug/src/main.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | struct Deep(Structure); [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Deep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `age` are never read [INFO] [stdout] --> 1-2-1-debug/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | struct Person<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 53 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | age: u8 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linked_list` (bin "linked_list" test) due to 2 previous errors [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cea03ecd9eb9a89127c4158f3f77e42e14515af8785c6b038bbc1fccb6bd0804", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea03ecd9eb9a89127c4158f3f77e42e14515af8785c6b038bbc1fccb6bd0804", kill_on_drop: false }` [INFO] [stdout] cea03ecd9eb9a89127c4158f3f77e42e14515af8785c6b038bbc1fccb6bd0804