[INFO] fetching crate rust-apt 0.8.0... [INFO] checking rust-apt-0.8.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate rust-apt 0.8.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rust-apt 0.8.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-apt 0.8.0 [INFO] finished tweaking crates.io crate rust-apt 0.8.0 [INFO] tweaked toml for crates.io crate rust-apt 0.8.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb7e56aa3081e047d6ece76a42490a0b985c2d86580999c1d695348db99eb3cd [INFO] running `Command { std: "docker" "start" "-a" "fb7e56aa3081e047d6ece76a42490a0b985c2d86580999c1d695348db99eb3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb7e56aa3081e047d6ece76a42490a0b985c2d86580999c1d695348db99eb3cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb7e56aa3081e047d6ece76a42490a0b985c2d86580999c1d695348db99eb3cd", kill_on_drop: false }` [INFO] [stdout] fb7e56aa3081e047d6ece76a42490a0b985c2d86580999c1d695348db99eb3cd [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b886cf4773d9a4c887ff3fbd7f06ceaf7b18fcea9d9b3e54f582d601a8051bd6 [INFO] running `Command { std: "docker" "start" "-a" "b886cf4773d9a4c887ff3fbd7f06ceaf7b18fcea9d9b3e54f582d601a8051bd6", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling cxxbridge-flags v1.0.128 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.128 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling cxx-build v1.0.128 [INFO] [stderr] Compiling cxxbridge-macro v1.0.128 [INFO] [stderr] Compiling rust-apt v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/iterators/dependency.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a> BaseDep<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/iterators/files.rs:41:67 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> PackageFile<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/tagfile.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &str { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/iterators/dependency.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 80 | impl<'a> BaseDep<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 81 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> BaseDep { [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/iterators/files.rs:41:67 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'a> PackageFile<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 41 | pub fn new(ptr: UniquePtr, cache: &'a Cache) -> PackageFile { [INFO] [stdout] | ^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/tagfile.rs:164:75 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn get_default<'a, 'b: 'a>(&'a self, key: &str, default: &'b str) -> &str { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::vec::IntoIter>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> tests/cache.rs:598:19 [INFO] [stdout] | [INFO] [stdout] 590 | let cache = new_cache!().unwrap(); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 591 | let apt = cache.get("apt").unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 592 | let apt_ver = apt.candidate().unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | for pkg_file in pkg_files { [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 `rust-apt` (test "cache") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b886cf4773d9a4c887ff3fbd7f06ceaf7b18fcea9d9b3e54f582d601a8051bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b886cf4773d9a4c887ff3fbd7f06ceaf7b18fcea9d9b3e54f582d601a8051bd6", kill_on_drop: false }` [INFO] [stdout] b886cf4773d9a4c887ff3fbd7f06ceaf7b18fcea9d9b3e54f582d601a8051bd6