[INFO] cloning repository https://github.com/NattapongSiri/permutator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NattapongSiri/permutator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNattapongSiri%2Fpermutator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNattapongSiri%2Fpermutator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85a83956f6e36bcf033867a735d9c8c18a0d8827 [INFO] checking NattapongSiri/permutator/85a83956f6e36bcf033867a735d9c8c18a0d8827 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNattapongSiri%2Fpermutator" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NattapongSiri/permutator 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 git repo https://github.com/NattapongSiri/permutator [INFO] finished tweaking git repo https://github.com/NattapongSiri/permutator [INFO] tweaked toml for git repo https://github.com/NattapongSiri/permutator written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NattapongSiri/permutator 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 50141eb573a35712036a5fc06a4b23c5f2a2b7fbb89eda3fa36641d44fd26523 [INFO] running `Command { std: "docker" "start" "-a" "50141eb573a35712036a5fc06a4b23c5f2a2b7fbb89eda3fa36641d44fd26523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50141eb573a35712036a5fc06a4b23c5f2a2b7fbb89eda3fa36641d44fd26523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50141eb573a35712036a5fc06a4b23c5f2a2b7fbb89eda3fa36641d44fd26523", kill_on_drop: false }` [INFO] [stdout] 50141eb573a35712036a5fc06a4b23c5f2a2b7fbb89eda3fa36641d44fd26523 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 29757a328894fa721cb0e757df774091c7410969c2ffbd04b8fa93ddfadf5e87 [INFO] running `Command { std: "docker" "start" "-a" "29757a328894fa721cb0e757df774091c7410969c2ffbd04b8fa93ddfadf5e87", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking num v0.2.0 [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:5082:62 [INFO] [stdout] | [INFO] [stdout] 5071 | impl<'a, F, T> XPermutationIterator<'a, F, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 5082 | 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:6157:80 [INFO] [stdout] | [INFO] [stdout] 6152 | impl<'a, T> Permutation<'a> for [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6157 | 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:6175:80 [INFO] [stdout] | [INFO] [stdout] 6170 | impl<'a, T> Permutation<'a> for Vec where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6175 | 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:6193:76 [INFO] [stdout] | [INFO] [stdout] 6188 | impl<'a, T> Permutation<'a> for Rc> where T :'a { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6193 | 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:6222:75 [INFO] [stdout] | [INFO] [stdout] 6217 | impl<'a, T> Permutation<'a> for *mut [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6222 | 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:5082:62 [INFO] [stdout] | [INFO] [stdout] 5071 | impl<'a, F, T> XPermutationIterator<'a, F, T> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 5082 | 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:6157:80 [INFO] [stdout] | [INFO] [stdout] 6152 | impl<'a, T> Permutation<'a> for [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6157 | 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:6175:80 [INFO] [stdout] | [INFO] [stdout] 6170 | impl<'a, T> Permutation<'a> for Vec where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6175 | 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:6193:76 [INFO] [stdout] | [INFO] [stdout] 6188 | impl<'a, T> Permutation<'a> for Rc> where T :'a { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6193 | 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:6222:75 [INFO] [stdout] | [INFO] [stdout] 6217 | impl<'a, T> Permutation<'a> for *mut [T] where T : 'a + Clone { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 6222 | 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:4433:26 [INFO] [stdout] | [INFO] [stdout] 4423 | mut combinator : T, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4424 | permutator : &'a mut Option, [INFO] [stdout] 4425 | permuted : X, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4426 | 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] 4433 | 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:4433:26 [INFO] [stdout] | [INFO] [stdout] 4423 | mut combinator : T, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4424 | permutator : &'a mut Option, [INFO] [stdout] 4425 | permuted : X, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4426 | 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] 4433 | 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" "29757a328894fa721cb0e757df774091c7410969c2ffbd04b8fa93ddfadf5e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29757a328894fa721cb0e757df774091c7410969c2ffbd04b8fa93ddfadf5e87", kill_on_drop: false }` [INFO] [stdout] 29757a328894fa721cb0e757df774091c7410969c2ffbd04b8fa93ddfadf5e87