[INFO] fetching crate nut-client 0.4.2... [INFO] checking nut-client-0.4.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nut-client 0.4.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate nut-client 0.4.2 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 crates.io crate nut-client 0.4.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nut-client 0.4.2 [INFO] tweaked toml for crates.io crate nut-client 0.4.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate nut-client 0.4.2 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] Blocking waiting for file lock on package cache [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] 551f7f2a76b5ea4547e2802c22fc8e94da86cfec4ad87c7db95c06f57e589b0e [INFO] running `Command { std: "docker" "start" "-a" "551f7f2a76b5ea4547e2802c22fc8e94da86cfec4ad87c7db95c06f57e589b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "551f7f2a76b5ea4547e2802c22fc8e94da86cfec4ad87c7db95c06f57e589b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "551f7f2a76b5ea4547e2802c22fc8e94da86cfec4ad87c7db95c06f57e589b0e", kill_on_drop: false }` [INFO] [stdout] 551f7f2a76b5ea4547e2802c22fc8e94da86cfec4ad87c7db95c06f57e589b0e [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] c45456db37377afd05cbb88c7219f931f6bdab0077225fc3146347cf82d1be65 [INFO] running `Command { std: "docker" "start" "-a" "c45456db37377afd05cbb88c7219f931f6bdab0077225fc3146347cf82d1be65", kill_on_drop: false }` [INFO] [stderr] Checking shell-words v1.0.0 [INFO] [stderr] Checking nut-client v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ClientError` [INFO] [stdout] --> src/blocking/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ClientError, Config, Host, NutError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ClientError` [INFO] [stdout] --> src/blocking/mod.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{ClientError, Config, Host, NutError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StartTLS` is never constructed [INFO] [stdout] --> src/cmd.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Command<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | StartTLS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cmd.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | EndList(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 | EndList(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ssl` and `ssl_insecure` are never read [INFO] [stdout] --> src/config.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub(crate) ssl: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 99 | pub(crate) ssl_insecure: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/var.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 268 | fn try_from(value: (A, Vec<&str>)) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | Ok(VariableDefinition( [INFO] [stdout] | ____________^ [INFO] [stdout] 270 | | value.0.to_string(), [INFO] [stdout] 271 | | value [INFO] [stdout] 272 | | .1 [INFO] [stdout] ... | [INFO] [stdout] 275 | | .collect::>>()?, [INFO] [stdout] 276 | | )) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nut-client` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variant `StartTLS` is never constructed [INFO] [stdout] --> src/cmd.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Command<'a> { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | StartTLS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cmd.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | EndList(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Response` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 | EndList(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ssl` and `ssl_insecure` are never read [INFO] [stdout] --> src/config.rs:98:16 [INFO] [stdout] | [INFO] [stdout] 94 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | pub(crate) ssl: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] 99 | pub(crate) ssl_insecure: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [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/var.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 268 | fn try_from(value: (A, Vec<&str>)) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 269 | Ok(VariableDefinition( [INFO] [stdout] | ____________^ [INFO] [stdout] 270 | | value.0.to_string(), [INFO] [stdout] 271 | | value [INFO] [stdout] 272 | | .1 [INFO] [stdout] ... | [INFO] [stdout] 275 | | .collect::>>()?, [INFO] [stdout] 276 | | )) [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nut-client` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c45456db37377afd05cbb88c7219f931f6bdab0077225fc3146347cf82d1be65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45456db37377afd05cbb88c7219f931f6bdab0077225fc3146347cf82d1be65", kill_on_drop: false }` [INFO] [stdout] c45456db37377afd05cbb88c7219f931f6bdab0077225fc3146347cf82d1be65