[INFO] fetching crate permutator 0.4.3... [INFO] checking permutator-0.4.3 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate permutator 0.4.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate permutator 0.4.3 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 permutator 0.4.3 [INFO] finished tweaking crates.io crate permutator 0.4.3 [INFO] tweaked toml for crates.io crate permutator 0.4.3 written to /workspace/builds/worker-6-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 8 packages to latest compatible versions [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.2.6 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.2.4 (available: v0.4.2) [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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d1c718167a67340c2ccf0a9c8435a24d1d54ab83c436aa60173e86ee220a33bb [INFO] running `Command { std: "docker" "start" "-a" "d1c718167a67340c2ccf0a9c8435a24d1d54ab83c436aa60173e86ee220a33bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1c718167a67340c2ccf0a9c8435a24d1d54ab83c436aa60173e86ee220a33bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c718167a67340c2ccf0a9c8435a24d1d54ab83c436aa60173e86ee220a33bb", kill_on_drop: false }` [INFO] [stdout] d1c718167a67340c2ccf0a9c8435a24d1d54ab83c436aa60173e86ee220a33bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] f87673070fe1b747a3316610afbcc221059e80f89cc55bdc7530c6bdfa6299ef [INFO] running `Command { std: "docker" "start" "-a" "f87673070fe1b747a3316610afbcc221059e80f89cc55bdc7530c6bdfa6299ef", kill_on_drop: false }` [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking permutator v0.4.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/copy/mod.rs:4245:62 [INFO] [stdout] | [INFO] [stdout] 4234 | impl<'a, F, T> XPermutationIterator<'a, F, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 4245 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { [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/copy/mod.rs:4973:80 [INFO] [stdout] | [INFO] [stdout] 4968 | impl<'a, T> Permutation<'a> for Vec where T : 'a + Copy { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 4973 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/copy/mod.rs:4991:76 [INFO] [stdout] | [INFO] [stdout] 4986 | impl<'a, T> Permutation<'a> for Rc> where T :'a + Copy { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 4991 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/copy/mod.rs:5020:75 [INFO] [stdout] | [INFO] [stdout] 5015 | impl<'a, T> Permutation<'a> for *mut [T] where T : 'a + Copy { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 5020 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:5077:62 [INFO] [stdout] | [INFO] [stdout] 5066 | impl<'a, F, T> XPermutationIterator<'a, F, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 5077 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6148:80 [INFO] [stdout] | [INFO] [stdout] 6143 | impl<'a, T> Permutation<'a> for [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6148 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6166:80 [INFO] [stdout] | [INFO] [stdout] 6161 | impl<'a, T> Permutation<'a> for Vec where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6166 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6184:76 [INFO] [stdout] | [INFO] [stdout] 6179 | impl<'a, T> Permutation<'a> for Rc> where T :'a { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6184 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6213:75 [INFO] [stdout] | [INFO] [stdout] 6208 | impl<'a, T> Permutation<'a> for *mut [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6213 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/copy/mod.rs:4245:62 [INFO] [stdout] | [INFO] [stdout] 4234 | impl<'a, F, T> XPermutationIterator<'a, F, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 4245 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { [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/copy/mod.rs:4973:80 [INFO] [stdout] | [INFO] [stdout] 4968 | impl<'a, T> Permutation<'a> for Vec where T : 'a + Copy { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 4973 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/copy/mod.rs:4991:76 [INFO] [stdout] | [INFO] [stdout] 4986 | impl<'a, T> Permutation<'a> for Rc> where T :'a + Copy { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 4991 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/copy/mod.rs:5020:75 [INFO] [stdout] | [INFO] [stdout] 5015 | impl<'a, T> Permutation<'a> for *mut [T] where T : 'a + Copy { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 5020 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:5077:62 [INFO] [stdout] | [INFO] [stdout] 5066 | impl<'a, F, T> XPermutationIterator<'a, F, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 5077 | pub fn new(data : &'a [T], t : F) -> XPermutationIterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6148:80 [INFO] [stdout] | [INFO] [stdout] 6143 | impl<'a, T> Permutation<'a> for [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6148 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6166:80 [INFO] [stdout] | [INFO] [stdout] 6161 | impl<'a, T> Permutation<'a> for Vec where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6166 | fn permutation(&'a mut self) -> Chain>, HeapPermutationIterator> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6184:76 [INFO] [stdout] | [INFO] [stdout] 6179 | impl<'a, T> Permutation<'a> for Rc> where T :'a { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6184 | fn permutation(&'a mut self) -> Chain, HeapPermutationCellIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:6213:75 [INFO] [stdout] | [INFO] [stdout] 6208 | impl<'a, T> Permutation<'a> for *mut [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6213 | fn permutation(&'a mut self) -> Chain, HeapPermutationRefIter> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:4428:26 [INFO] [stdout] | [INFO] [stdout] 4418 | mut combinator : T, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4419 | permutator : &'a mut Option, [INFO] [stdout] 4420 | permuted : X, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4421 | new_permutator_fn : impl FnOnce(&'a mut Option, X, V) [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4428 | if let Some(v) = combinator.next() { [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `permutator` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:4428:26 [INFO] [stdout] | [INFO] [stdout] 4418 | mut combinator : T, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4419 | permutator : &'a mut Option, [INFO] [stdout] 4420 | permuted : X, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4421 | new_permutator_fn : impl FnOnce(&'a mut Option, X, V) [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4428 | if let Some(v) = combinator.next() { [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `permutator` (lib test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f87673070fe1b747a3316610afbcc221059e80f89cc55bdc7530c6bdfa6299ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f87673070fe1b747a3316610afbcc221059e80f89cc55bdc7530c6bdfa6299ef", kill_on_drop: false }` [INFO] [stdout] f87673070fe1b747a3316610afbcc221059e80f89cc55bdc7530c6bdfa6299ef