[INFO] cloning repository https://github.com/abdelrahmanomar1515/gossip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abdelrahmanomar1515/gossip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdelrahmanomar1515%2Fgossip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdelrahmanomar1515%2Fgossip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb80dce7a40e0c6ecaeaa3bf6584ac0d823acc94 [INFO] checking abdelrahmanomar1515/gossip/cb80dce7a40e0c6ecaeaa3bf6584ac0d823acc94 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%2Fabdelrahmanomar1515%2Fgossip" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abdelrahmanomar1515/gossip 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/abdelrahmanomar1515/gossip [INFO] finished tweaking git repo https://github.com/abdelrahmanomar1515/gossip [INFO] tweaked toml for git repo https://github.com/abdelrahmanomar1515/gossip written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abdelrahmanomar1515/gossip 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 24cbe7e222cdb661cae6a220e602b93f90807085f28d2e0b3829a0946d67d85c [INFO] running `Command { std: "docker" "start" "-a" "24cbe7e222cdb661cae6a220e602b93f90807085f28d2e0b3829a0946d67d85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24cbe7e222cdb661cae6a220e602b93f90807085f28d2e0b3829a0946d67d85c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24cbe7e222cdb661cae6a220e602b93f90807085f28d2e0b3829a0946d67d85c", kill_on_drop: false }` [INFO] [stdout] 24cbe7e222cdb661cae6a220e602b93f90807085f28d2e0b3829a0946d67d85c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 16d3d923796bd0dcdc13d2553fd4060ceb1d878602d98993aba2f4c6dbd18339 [INFO] running `Command { std: "docker" "start" "-a" "16d3d923796bd0dcdc13d2553fd4060ceb1d878602d98993aba2f4c6dbd18339", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking gossip v0.1.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/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(src: String, dest: String, payload: T) -> Message { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | body: Body { [INFO] [stdout] | ___________________^ [INFO] [stdout] 18 | | msg_id: None, [INFO] [stdout] 19 | | in_reply_to: None, [INFO] [stdout] 20 | | payload, [INFO] [stdout] 21 | | }, [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/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn reply(&self, payload: Payload) -> Message { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | body: Body { [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | msg_id: self.body.msg_id.map(|id| id + 1), [INFO] [stdout] 31 | | in_reply_to: self.body.msg_id, [INFO] [stdout] 32 | | payload, [INFO] [stdout] 33 | | }, [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/lib.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | let stdin = std::io::stdin().lock(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | serde_json::Deserializer::from_reader(stdin).into_iter::>() [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/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(src: String, dest: String, payload: T) -> Message { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 17 | body: Body { [INFO] [stdout] | ___________________^ [INFO] [stdout] 18 | | msg_id: None, [INFO] [stdout] 19 | | in_reply_to: None, [INFO] [stdout] 20 | | payload, [INFO] [stdout] 21 | | }, [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/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn reply(&self, payload: Payload) -> Message { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | body: Body { [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | msg_id: self.body.msg_id.map(|id| id + 1), [INFO] [stdout] 31 | | in_reply_to: self.body.msg_id, [INFO] [stdout] 32 | | payload, [INFO] [stdout] 33 | | }, [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/lib.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | let stdin = std::io::stdin().lock(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | serde_json::Deserializer::from_reader(stdin).into_iter::>() [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] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gossip` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gossip` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "16d3d923796bd0dcdc13d2553fd4060ceb1d878602d98993aba2f4c6dbd18339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d3d923796bd0dcdc13d2553fd4060ceb1d878602d98993aba2f4c6dbd18339", kill_on_drop: false }` [INFO] [stdout] 16d3d923796bd0dcdc13d2553fd4060ceb1d878602d98993aba2f4c6dbd18339