[INFO] fetching crate uu_hashsum 0.0.27... [INFO] checking uu_hashsum-0.0.27 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate uu_hashsum 0.0.27 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate uu_hashsum 0.0.27 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 uu_hashsum 0.0.27 [INFO] finished tweaking crates.io crate uu_hashsum 0.0.27 [INFO] tweaked toml for crates.io crate uu_hashsum 0.0.27 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate uu_hashsum 0.0.27 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6aa06c47c569427d7def661897fc4dabaa094d2acf1eafbace5c2d5ac62c09f2 [INFO] running `Command { std: "docker" "start" "-a" "6aa06c47c569427d7def661897fc4dabaa094d2acf1eafbace5c2d5ac62c09f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa06c47c569427d7def661897fc4dabaa094d2acf1eafbace5c2d5ac62c09f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa06c47c569427d7def661897fc4dabaa094d2acf1eafbace5c2d5ac62c09f2", kill_on_drop: false }` [INFO] [stdout] 6aa06c47c569427d7def661897fc4dabaa094d2acf1eafbace5c2d5ac62c09f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 9e071e3564abb638b3d5c1e78aa3fa9cfcf068e7b39abf9f1a57c0f16c3b70a0 [INFO] running `Command { std: "docker" "start" "-a" "9e071e3564abb638b3d5c1e78aa3fa9cfcf068e7b39abf9f1a57c0f16c3b70a0", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v0.37.26 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling uuhelp_parser v0.0.27 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking keccak v0.1.4 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking os_display v0.1.3 [INFO] [stderr] Checking blake2b_simd v1.0.2 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking wild v2.2.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking aho-corasick v1.0.4 [INFO] [stderr] Compiling uucore_procs v0.0.27 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sm3 v0.4.2 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking uucore v0.0.27 [INFO] [stderr] Checking uu_hashsum v0.0.27 (/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/hashsum.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 64 | let mut alg: Option = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(alg.unwrap()) [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/hashsum.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 396 | fn uu_app_opt_length(command: Command) -> Command { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | command.arg( [INFO] [stdout] 398 | / Arg::new(options::LENGTH) [INFO] [stdout] 399 | | .long(options::LENGTH) [INFO] [stdout] 400 | | .value_parser(value_parser!(usize)) [INFO] [stdout] 401 | | .short('l') [INFO] [stdout] ... | [INFO] [stdout] 406 | | .overrides_with(options::LENGTH) [INFO] [stdout] 407 | | .action(ArgAction::Set), [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/hashsum.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 415 | fn uu_app_b3sum_opts(command: Command) -> Command { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 416 | command.arg( [INFO] [stdout] 417 | / Arg::new("no-names") [INFO] [stdout] 418 | | .long("no-names") [INFO] [stdout] 419 | | .help("Omits filenames in the output (option not present in GNU/Coreutils)") [INFO] [stdout] 420 | | .action(ArgAction::SetTrue), [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/hashsum.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | fn uu_app_opt_bits(command: Command) -> Command { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | / Arg::new("bits") [INFO] [stdout] 432 | | .long("bits") [INFO] [stdout] 433 | | .help("set the size of the output (only for SHAKE)") [INFO] [stdout] 434 | | .value_name("BITS") [INFO] [stdout] 435 | | // XXX: should we actually use validators? they're not particularly efficient [INFO] [stdout] 436 | | .value_parser(parse_bit_num), [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uu_hashsum` (lib test) due to 5 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/hashsum.rs:155:8 [INFO] [stdout] | [INFO] [stdout] 64 | let mut alg: Option = None; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 155 | Ok(alg.unwrap()) [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/hashsum.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 396 | fn uu_app_opt_length(command: Command) -> Command { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 397 | command.arg( [INFO] [stdout] 398 | / Arg::new(options::LENGTH) [INFO] [stdout] 399 | | .long(options::LENGTH) [INFO] [stdout] 400 | | .value_parser(value_parser!(usize)) [INFO] [stdout] 401 | | .short('l') [INFO] [stdout] ... | [INFO] [stdout] 406 | | .overrides_with(options::LENGTH) [INFO] [stdout] 407 | | .action(ArgAction::Set), [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/hashsum.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 415 | fn uu_app_b3sum_opts(command: Command) -> Command { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 416 | command.arg( [INFO] [stdout] 417 | / Arg::new("no-names") [INFO] [stdout] 418 | | .long("no-names") [INFO] [stdout] 419 | | .help("Omits filenames in the output (option not present in GNU/Coreutils)") [INFO] [stdout] 420 | | .action(ArgAction::SetTrue), [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/hashsum.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | fn uu_app_opt_bits(command: Command) -> Command { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 431 | / Arg::new("bits") [INFO] [stdout] 432 | | .long("bits") [INFO] [stdout] 433 | | .help("set the size of the output (only for SHAKE)") [INFO] [stdout] 434 | | .value_name("BITS") [INFO] [stdout] 435 | | // XXX: should we actually use validators? they're not particularly efficient [INFO] [stdout] 436 | | .value_parser(parse_bit_num), [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uu_hashsum` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9e071e3564abb638b3d5c1e78aa3fa9cfcf068e7b39abf9f1a57c0f16c3b70a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e071e3564abb638b3d5c1e78aa3fa9cfcf068e7b39abf9f1a57c0f16c3b70a0", kill_on_drop: false }` [INFO] [stdout] 9e071e3564abb638b3d5c1e78aa3fa9cfcf068e7b39abf9f1a57c0f16c3b70a0