[INFO] cloning repository https://github.com/biluohc/ayo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/biluohc/ayo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiluohc%2Fayo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiluohc%2Fayo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da818e5c603084d96287b3dc7f843397ceb1410b [INFO] checking biluohc/ayo/da818e5c603084d96287b3dc7f843397ceb1410b 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%2Fbiluohc%2Fayo" "/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/biluohc/ayo 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/biluohc/ayo [INFO] finished tweaking git repo https://github.com/biluohc/ayo [INFO] tweaked toml for git repo https://github.com/biluohc/ayo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/biluohc/ayo 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] d1da91de5c9f15e550d7d358fccf0eb90e6f9b487f81dad8cf50375acd6b33fa [INFO] running `Command { std: "docker" "start" "-a" "d1da91de5c9f15e550d7d358fccf0eb90e6f9b487f81dad8cf50375acd6b33fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1da91de5c9f15e550d7d358fccf0eb90e6f9b487f81dad8cf50375acd6b33fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1da91de5c9f15e550d7d358fccf0eb90e6f9b487f81dad8cf50375acd6b33fa", kill_on_drop: false }` [INFO] [stdout] d1da91de5c9f15e550d7d358fccf0eb90e6f9b487f81dad8cf50375acd6b33fa [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] 4e5876d302e70334f9e9caff2fdf1077b23b77ad217750fab6a08510f2bada9f [INFO] running `Command { std: "docker" "start" "-a" "4e5876d302e70334f9e9caff2fdf1077b23b77ad217750fab6a08510f2bada9f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.32 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking stderr v0.8.0 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Checking mio v0.6.10 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking pretty_env_logger v0.1.1 [INFO] [stderr] Checking ayo v0.0.0 (/opt/rustwide/workdir) [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/loops.rs:209:42 [INFO] [stdout] | [INFO] [stdout] 209 | ... .map(|x| x.read().is_err()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(mp: Sender, id: usize, join_handle: JoinHandle<()>) -> Self { [INFO] [stdout] | ---------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Worker { [INFO] [stdout] 39 | mp: StaticMut::new(mp), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(mp: Sender, id: usize, join_handle: JoinHandle<()>) -> Self { [INFO] [stdout] | ---------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | live: Arc::from(()), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn send(&self, sender: net::TcpStream) -> Result<(), SendError> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | self.mp.as_ref().send((sender, Arc::clone(&self.live))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 76 | let mut loops = Vec::with_capacity(*cpus); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Pool { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | workers: loops, [INFO] [stdout] 87 | | count: StaticMut::new(0usize), [INFO] [stdout] 88 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn send(sender: net::TcpStream) -> Result<(), SendError> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | / Self::as_ref() [INFO] [stdout] 92 | | .workers [INFO] [stdout] 93 | | .as_slice() [INFO] [stdout] 94 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 107 | | }) [INFO] [stdout] 108 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn send(sender: net::TcpStream) -> Result<(), SendError> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | w.send(sender).map(|_| { [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 `ayo` (bin "ayo") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/loops.rs:209:42 [INFO] [stdout] | [INFO] [stdout] 209 | ... .map(|x| x.read().is_err()) [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] [stderr] error: could not compile `ayo` (bin "ayo" test) due to 8 previous errors [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/pool.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(mp: Sender, id: usize, join_handle: JoinHandle<()>) -> Self { [INFO] [stdout] | ---------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Worker { [INFO] [stdout] 39 | mp: StaticMut::new(mp), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(mp: Sender, id: usize, join_handle: JoinHandle<()>) -> Self { [INFO] [stdout] | ---------------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | live: Arc::from(()), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 46 | fn send(&self, sender: net::TcpStream) -> Result<(), SendError> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | self.mp.as_ref().send((sender, Arc::clone(&self.live))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 76 | let mut loops = Vec::with_capacity(*cpus); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 85 | Ok(Pool { [INFO] [stdout] | ____________^ [INFO] [stdout] 86 | | workers: loops, [INFO] [stdout] 87 | | count: StaticMut::new(0usize), [INFO] [stdout] 88 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn send(sender: net::TcpStream) -> Result<(), SendError> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | / Self::as_ref() [INFO] [stdout] 92 | | .workers [INFO] [stdout] 93 | | .as_slice() [INFO] [stdout] 94 | | .iter() [INFO] [stdout] ... | [INFO] [stdout] 107 | | }) [INFO] [stdout] 108 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pool.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn send(sender: net::TcpStream) -> Result<(), SendError> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | w.send(sender).map(|_| { [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] running `Command { std: "docker" "inspect" "4e5876d302e70334f9e9caff2fdf1077b23b77ad217750fab6a08510f2bada9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5876d302e70334f9e9caff2fdf1077b23b77ad217750fab6a08510f2bada9f", kill_on_drop: false }` [INFO] [stdout] 4e5876d302e70334f9e9caff2fdf1077b23b77ad217750fab6a08510f2bada9f