[INFO] fetching crate portable-network-archive 0.17.0... [INFO] checking portable-network-archive-0.17.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate portable-network-archive 0.17.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate portable-network-archive 0.17.0 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 portable-network-archive 0.17.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate portable-network-archive 0.17.0 [INFO] tweaked toml for crates.io crate portable-network-archive 0.17.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate portable-network-archive 0.17.0 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 512da0c62abd92ddd7a71343341c93bd4d4846324d617a87aa75f14e099bf352 [INFO] running `Command { std: "docker" "start" "-a" "512da0c62abd92ddd7a71343341c93bd4d4846324d617a87aa75f14e099bf352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "512da0c62abd92ddd7a71343341c93bd4d4846324d617a87aa75f14e099bf352", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512da0c62abd92ddd7a71343341c93bd4d4846324d617a87aa75f14e099bf352", kill_on_drop: false }` [INFO] [stdout] 512da0c62abd92ddd7a71343341c93bd4d4846324d617a87aa75f14e099bf352 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 66106148f60d2c8f3aed888d09337486043c1847dc94b608d23e112d776fa435 [INFO] running `Command { std: "docker" "start" "-a" "66106148f60d2c8f3aed888d09337486043c1847dc94b608d23e112d776fa435", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking bytecount v0.6.7 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking camellia v0.1.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking normalize-path v0.2.1 [INFO] [stderr] Compiling assert_cmd v2.0.16 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling zstd-sys v2.0.11+zstd.1.5.6 [INFO] [stderr] Compiling liblzma-sys v0.3.7 [INFO] [stderr] Checking ansitok v0.2.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking ansi-str v0.8.0 [INFO] [stderr] Checking papergrid v0.12.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking liblzma v0.3.4 [INFO] [stderr] Checking tabled v0.16.0 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Checking clap_complete v4.5.16 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking libpna v0.17.0 [INFO] [stderr] Checking pna v0.17.0 [INFO] [stderr] Checking portable-network-archive v0.17.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/command/commons.rs:525:30 [INFO] [stdout] | [INFO] [stdout] 525 | |n| fs::File::create(get_part_path(archive, n)), [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/command/extract.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 371 | let user = if let Some(uid) = owner_options.uid { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | let group = if let Some(gid) = owner_options.gid { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Some((p, user, group)) [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/command/list.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 190 | .map(|r| io::read_to_string(r).unwrap_or_else(|_| "-".to_string())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/command/stdio.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | || Ok(stdout().lock()), [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/utils/fs.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | let file = fs::File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let reader = io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | reader.lines().collect::>>() [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] [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/utils/globs.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 6 | patterns: I, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 9 | / patterns [INFO] [stdout] 10 | | .into_iter() [INFO] [stdout] 11 | | .map(|pattern| glob::Pattern::new(pattern.as_ref())) [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/command/commons.rs:525:30 [INFO] [stdout] | [INFO] [stdout] 525 | |n| fs::File::create(get_part_path(archive, n)), [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/command/extract.rs:387:10 [INFO] [stdout] | [INFO] [stdout] 371 | let user = if let Some(uid) = owner_options.uid { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | let group = if let Some(gid) = owner_options.gid { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | Some((p, user, group)) [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/command/list.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 190 | .map(|r| io::read_to_string(r).unwrap_or_else(|_| "-".to_string())) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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/command/stdio.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | || Ok(stdout().lock()), [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/utils/fs.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | let file = fs::File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | let reader = io::BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | reader.lines().collect::>>() [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] [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/utils/globs.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 6 | patterns: I, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 9 | / patterns [INFO] [stdout] 10 | | .into_iter() [INFO] [stdout] 11 | | .map(|pattern| glob::Pattern::new(pattern.as_ref())) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `portable-network-archive` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `portable-network-archive` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "66106148f60d2c8f3aed888d09337486043c1847dc94b608d23e112d776fa435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66106148f60d2c8f3aed888d09337486043c1847dc94b608d23e112d776fa435", kill_on_drop: false }` [INFO] [stdout] 66106148f60d2c8f3aed888d09337486043c1847dc94b608d23e112d776fa435