[INFO] cloning repository https://github.com/WataNekko/mailr-nal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WataNekko/mailr-nal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWataNekko%2Fmailr-nal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWataNekko%2Fmailr-nal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 641ea3cbd8910d12b8652a6d2f4b0d4a4031c2b2 [INFO] checking WataNekko/mailr-nal/641ea3cbd8910d12b8652a6d2f4b0d4a4031c2b2 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%2FWataNekko%2Fmailr-nal" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WataNekko/mailr-nal 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/WataNekko/mailr-nal [INFO] finished tweaking git repo https://github.com/WataNekko/mailr-nal [INFO] tweaked toml for git repo https://github.com/WataNekko/mailr-nal written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WataNekko/mailr-nal 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 97ad6b76d029e5aa4c3ba51e79aa687aa73a181919453cf3e605bb67c5d8dab6 [INFO] running `Command { std: "docker" "start" "-a" "97ad6b76d029e5aa4c3ba51e79aa687aa73a181919453cf3e605bb67c5d8dab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97ad6b76d029e5aa4c3ba51e79aa687aa73a181919453cf3e605bb67c5d8dab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97ad6b76d029e5aa4c3ba51e79aa687aa73a181919453cf3e605bb67c5d8dab6", kill_on_drop: false }` [INFO] [stdout] 97ad6b76d029e5aa4c3ba51e79aa687aa73a181919453cf3e605bb67c5d8dab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] bc08153d88dc5862979e1046b813bc7cabf723fad4367e3b2a6dcbb95d92e4b3 [INFO] running `Command { std: "docker" "start" "-a" "bc08153d88dc5862979e1046b813bc7cabf723fad4367e3b2a6dcbb95d92e4b3", kill_on_drop: false }` [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking embedded-nal v0.8.0 [INFO] [stderr] Checking std-embedded-nal v0.3.0 [INFO] [stderr] Checking mailr-nal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/smtp/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | auth, [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `buf` are never read [INFO] [stdout] --> src/smtp/mod.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct SmtpClientSession<'a, T> [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 130 | stream: TcpStream<'a, T>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | buf: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/smtp/response.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct ReplyLine<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 86 | code: &'a [u8], [INFO] [stdout] 87 | text: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_to_buffer`, and `write` are never used [INFO] [stdout] --> src/io/write.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl<'a, W> BufWriter<'a, W> [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | W: Write, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn new(writer: &'a mut W, buffer: &'a mut [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn write_to_buffer(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn write(&mut self, data: &[u8]) -> Result<(), W::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/io/stream.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, T> TcpStream<'a, T> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: TcpClientStack + 'a, [INFO] [stdout] | |___________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn close(self) -> Result<(), T::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll` and `block` are never used [INFO] [stdout] --> src/nb_fut.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait NbFuture { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn poll(&mut self) -> nb::Result; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn block(mut self) -> Result [INFO] [stdout] | ^^^^^ [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/smtp/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 46 | remote: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut stream = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(SmtpClientSession { stream, buf }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/smtp/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 72 | let addr = block!(dns.get_host_by_name(hostname, AddrType::Either)) [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(self.connect((addr, port))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/io/stream.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | let mut socket = stack.socket()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | stack, [INFO] [stdout] 26 | | socket: ManuallyDrop::new(socket), [INFO] [stdout] 27 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mailr-nal` (lib) due to 4 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `auth` [INFO] [stdout] --> src/smtp/mod.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | auth, [INFO] [stdout] | ^^^^ help: try ignoring the field: `auth: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `buf` are never read [INFO] [stdout] --> src/smtp/mod.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct SmtpClientSession<'a, T> [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 130 | stream: TcpStream<'a, T>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 131 | buf: &'a [u8], [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text` is never read [INFO] [stdout] --> src/smtp/response.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 85 | struct ReplyLine<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 86 | code: &'a [u8], [INFO] [stdout] 87 | text: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_to_buffer`, and `write` are never used [INFO] [stdout] --> src/io/write.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl<'a, W> BufWriter<'a, W> [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | W: Write, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn new(writer: &'a mut W, buffer: &'a mut [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn write_to_buffer(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn write(&mut self, data: &[u8]) -> Result<(), W::Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `close` is never used [INFO] [stdout] --> src/io/stream.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 15 | / impl<'a, T> TcpStream<'a, T> [INFO] [stdout] 16 | | where [INFO] [stdout] 17 | | T: TcpClientStack + 'a, [INFO] [stdout] | |___________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn close(self) -> Result<(), T::Error> { [INFO] [stdout] | ^^^^^ [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/smtp/mod.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 46 | remote: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut stream = [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(SmtpClientSession { stream, buf }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/smtp/mod.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 72 | let addr = block!(dns.get_host_by_name(hostname, AddrType::Either)) [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | Ok(self.connect((addr, port))?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/io/stream.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | let mut socket = stack.socket()?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 25 | | stack, [INFO] [stdout] 26 | | socket: ManuallyDrop::new(socket), [INFO] [stdout] 27 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mailr-nal` (lib test) due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc08153d88dc5862979e1046b813bc7cabf723fad4367e3b2a6dcbb95d92e4b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc08153d88dc5862979e1046b813bc7cabf723fad4367e3b2a6dcbb95d92e4b3", kill_on_drop: false }` [INFO] [stdout] bc08153d88dc5862979e1046b813bc7cabf723fad4367e3b2a6dcbb95d92e4b3