[INFO] fetching crate esl01-indexedlog 0.3.0... [INFO] checking esl01-indexedlog-0.3.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate esl01-indexedlog 0.3.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate esl01-indexedlog 0.3.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 esl01-indexedlog 0.3.0 [INFO] finished tweaking crates.io crate esl01-indexedlog 0.3.0 [INFO] tweaked toml for crates.io crate esl01-indexedlog 0.3.0 written to /workspace/builds/worker-7-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 74 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.1.26 (available: v0.2.8) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding matchers v0.1.0 (available: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (available: v0.8.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 26fc0ed1dac139f79b08a049c5a74c8983a1d7b1233ee2e34d8d65afde79d393 [INFO] running `Command { std: "docker" "start" "-a" "26fc0ed1dac139f79b08a049c5a74c8983a1d7b1233ee2e34d8d65afde79d393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26fc0ed1dac139f79b08a049c5a74c8983a1d7b1233ee2e34d8d65afde79d393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26fc0ed1dac139f79b08a049c5a74c8983a1d7b1233ee2e34d8d65afde79d393", kill_on_drop: false }` [INFO] [stdout] 26fc0ed1dac139f79b08a049c5a74c8983a1d7b1233ee2e34d8d65afde79d393 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cf5190485c1878dda500fe02fe2c1eee1e5b4a36b85d7cece2017091fe1ed47d [INFO] running `Command { std: "docker" "start" "-a" "cf5190485c1878dda500fe02fe2c1eee1e5b4a36b85d7cece2017091fe1ed47d", kill_on_drop: false }` [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking esl01-vlqencoding v0.3.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking esl01-atomicfile v0.3.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking esl01-dev-logger v0.3.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Checking esl01-minibytes v0.3.0 [INFO] [stderr] Checking esl01-indexedlog v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `open_options::OpenOptions` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log/repair.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 146 | .or_else(|_| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | / self.clone() [INFO] [stdout] 148 | | .index_defs(Vec::new()) [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: this value of type `open_options::OpenOptions` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn open>(dir: P, index_defs: Vec) -> crate::Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | / OpenOptions::new() [INFO] [stdout] 237 | | .index_defs(index_defs) [INFO] [stdout] 238 | | .create(true) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `O` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repair.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | fn repair(path: impl AsRef) -> crate::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | T::default_open_options().open_options_repair(path.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esl01-indexedlog` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::fs::File` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/index.rs:4347:17 [INFO] [stdout] | [INFO] [stdout] 4291 | let dir = tempdir().unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4308 | let opts = open_opts() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4347 | let mut f = File::create(dir.path().join("a")).expect("create"); [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: this value of type `open_options::OpenOptions` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log/repair.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 146 | .or_else(|_| { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | / self.clone() [INFO] [stdout] 148 | | .index_defs(Vec::new()) [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `open_options::OpenOptions` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn open>(dir: P, index_defs: Vec) -> crate::Result { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | / OpenOptions::new() [INFO] [stdout] 237 | | .index_defs(index_defs) [INFO] [stdout] 238 | | .create(true) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `O` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/repair.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 143 | fn repair(path: impl AsRef) -> crate::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | T::default_open_options().open_options_repair(path.as_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `[rotate::RotateLog; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rotate.rs:1017:28 [INFO] [stdout] | [INFO] [stdout] 1007 | let dir = tempdir().unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1008 | let opts = OpenOptions::new() [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1017 | for rotate in &mut [rotate, rotate_mem] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `rotate::RotateLog` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rotate.rs:1103:17 [INFO] [stdout] | [INFO] [stdout] 1065 | let dir = tempdir().unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1103 | let rotate = open(4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Map>, {closure@src/rotate.rs:1769:57: 1769:60}>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/rotate.rs:1769:42 [INFO] [stdout] | [INFO] [stdout] 1762 | let mut log = open_opts.open(path).unwrap(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1769 | for entry in log.iter().map(|d| d.unwrap()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `esl01-indexedlog` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "cf5190485c1878dda500fe02fe2c1eee1e5b4a36b85d7cece2017091fe1ed47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5190485c1878dda500fe02fe2c1eee1e5b4a36b85d7cece2017091fe1ed47d", kill_on_drop: false }` [INFO] [stdout] cf5190485c1878dda500fe02fe2c1eee1e5b4a36b85d7cece2017091fe1ed47d