[INFO] cloning repository https://github.com/Devin-Yeung/lasagna [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Devin-Yeung/lasagna" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevin-Yeung%2Flasagna", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDevin-Yeung%2Flasagna'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c576d6aaef420a6c46c3e8ce788eda2b45deab35 [INFO] checking Devin-Yeung/lasagna/c576d6aaef420a6c46c3e8ce788eda2b45deab35 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%2FDevin-Yeung%2Flasagna" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Devin-Yeung/lasagna 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/Devin-Yeung/lasagna [INFO] finished tweaking git repo https://github.com/Devin-Yeung/lasagna [INFO] tweaked toml for git repo https://github.com/Devin-Yeung/lasagna written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Devin-Yeung/lasagna 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b34cae20a4722e75f92719531d7dca6f1104afe5f37923129bff73c48794c2c7 [INFO] running `Command { std: "docker" "start" "-a" "b34cae20a4722e75f92719531d7dca6f1104afe5f37923129bff73c48794c2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b34cae20a4722e75f92719531d7dca6f1104afe5f37923129bff73c48794c2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b34cae20a4722e75f92719531d7dca6f1104afe5f37923129bff73c48794c2c7", kill_on_drop: false }` [INFO] [stdout] b34cae20a4722e75f92719531d7dca6f1104afe5f37923129bff73c48794c2c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1917fdb053a3737824a4e015ba47c0b9b215c4c04bb596b01dbec669fc13c679 [INFO] running `Command { std: "docker" "start" "-a" "1917fdb053a3737824a4e015ba47c0b9b215c4c04bb596b01dbec669fc13c679", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Compiling zip v2.0.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking deflate64 v0.1.8 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking lasagna v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `relative_to` is never used [INFO] [stdout] --> src/tree.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn relative_to(base: &Path, path: &Path) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl FileWrapper { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(depth: usize, is_last: bool, path: PathBuf) -> FileWrapper { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/tree.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FileStream<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | items: Vec>>, [INFO] [stdout] 46 | config: Option<&'a Config>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_at_root` is never used [INFO] [stdout] --> src/tree_view.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl TreeParams { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn is_at_root(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `root`, `deeper`, and `iterate_over` are never used [INFO] [stdout] --> src/tree_view.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl TreeDepth { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 152 | pub fn root() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn deeper(self) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | pub fn iterate_over(self, inner: I) -> Iter [INFO] [stdout] | ^^^^^^^^^^^^ [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] --> src/tree_view.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 185 | let t = self.inner.next()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | Some((params, t)) [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lasagna` (bin "lasagna") due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/tree.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl FileWrapper { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(depth: usize, is_last: bool, path: PathBuf) -> FileWrapper { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/tree.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FileStream<'a> { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | items: Vec>>, [INFO] [stdout] 46 | config: Option<&'a Config>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_at_root` is never used [INFO] [stdout] --> src/tree_view.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 141 | impl TreeParams { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn is_at_root(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deeper` is never used [INFO] [stdout] --> src/tree_view.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl TreeDepth { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn deeper(self) -> Self { [INFO] [stdout] | ^^^^^^ [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] --> src/tree_view.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 185 | let t = self.inner.next()?; [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | Some((params, t)) [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lasagna` (bin "lasagna" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1917fdb053a3737824a4e015ba47c0b9b215c4c04bb596b01dbec669fc13c679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1917fdb053a3737824a4e015ba47c0b9b215c4c04bb596b01dbec669fc13c679", kill_on_drop: false }` [INFO] [stdout] 1917fdb053a3737824a4e015ba47c0b9b215c4c04bb596b01dbec669fc13c679