[INFO] fetching crate sub-batch 2.0.0... [INFO] checking sub-batch-2.0.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate sub-batch 2.0.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate sub-batch 2.0.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] removed /workspace/builds/worker-7-tc2/source/.cargo/config [INFO] started tweaking crates.io crate sub-batch 2.0.0 [INFO] finished tweaking crates.io crate sub-batch 2.0.0 [INFO] tweaked toml for crates.io crate sub-batch 2.0.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate sub-batch 2.0.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] 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] f6468ac89c483fb855cdc6cb0f57e8fdfcb9d57e48f3145e75529300230f7c68 [INFO] running `Command { std: "docker" "start" "-a" "f6468ac89c483fb855cdc6cb0f57e8fdfcb9d57e48f3145e75529300230f7c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6468ac89c483fb855cdc6cb0f57e8fdfcb9d57e48f3145e75529300230f7c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6468ac89c483fb855cdc6cb0f57e8fdfcb9d57e48f3145e75529300230f7c68", kill_on_drop: false }` [INFO] [stdout] f6468ac89c483fb855cdc6cb0f57e8fdfcb9d57e48f3145e75529300230f7c68 [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] 3aed9c91b3ac4fa8784ed264dd61e18bfcc5b7e2875a55d8974109fc20735665 [INFO] running `Command { std: "docker" "start" "-a" "3aed9c91b3ac4fa8784ed264dd61e18bfcc5b7e2875a55d8974109fc20735665", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Checking event-listener v4.0.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling interprocess v1.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking async-task v4.6.0 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Checking nom v2.1.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking combine v2.5.2 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking spinning v0.1.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking chardet v0.2.4 [INFO] [stderr] Checking fd-lock v4.0.1 [INFO] [stderr] Checking to_method v1.1.0 [INFO] [stderr] Checking intmap v0.7.1 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking which v5.0.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking predicates v3.0.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Checking ctrlc v3.4.2 [INFO] [stderr] Checking rustyline v13.0.0 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking vobsub v0.2.3 [INFO] [stderr] Checking subparse v0.7.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking sub-batch v2.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking assert_cmd v2.0.12 [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/config.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 66 | let matches = App::new("sub-batch") [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | let command_config = match subcommand_name { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | if let Some(encoding) = encoding(subcommand_matches) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 222 | | GlobalConfig { [INFO] [stdout] 223 | | path: matches.value_of("path").unwrap().into(), [INFO] [stdout] 224 | | confirm: !matches.is_present("no_confirm"), [INFO] [stdout] ... | [INFO] [stdout] 229 | | command_config, [INFO] [stdout] 230 | | )) [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] | | 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] | | 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] | | 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] | |_________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] = 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/config.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 249 | fn common_match_args(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | / self.arg( [INFO] [stdout] 251 | | Arg::with_name("video_area") [INFO] [stdout] 252 | | .long("videoarea") [INFO] [stdout] 253 | | .short("v") [INFO] [stdout] ... | [INFO] [stdout] 305 | | ), [INFO] [stdout] 306 | | ) [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/config.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 249 | fn common_match_args(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 308 | / Arg::with_name("secondary_ext_never") [INFO] [stdout] 309 | | .long("sec-never") [INFO] [stdout] 310 | | .takes_value(false) [INFO] [stdout] 311 | | .help( [INFO] [stdout] ... | [INFO] [stdout] 321 | | part of the file stem.", [INFO] [stdout] 322 | | ), [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/scanner.rs:13:43 [INFO] [stdout] | [INFO] [stdout] 13 | static NUMBER: Lazy = Lazy::new(|| Regex::new(r"\d+").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] [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/scanner.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | .filter(|p| p.is_file() && NUMBER.is_match(&p.to_string_lossy())) [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/commands/alass.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(global_conf: &'a GlobalConfig, conf: AlassConfig) -> Self { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | line_editor: DefaultEditor::new().ok(), [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/commands/rename.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(global_conf: &'a GlobalConfig, rename_config: MatchFilesConfig) -> Self { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | line_editor: DefaultEditor::new().ok(), [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/commands/time.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | subparse::parse_bytes(format, &content, Some(self.conf.encoding), self.conf.fps) [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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sub-batch` (bin "sub-batch") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3aed9c91b3ac4fa8784ed264dd61e18bfcc5b7e2875a55d8974109fc20735665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aed9c91b3ac4fa8784ed264dd61e18bfcc5b7e2875a55d8974109fc20735665", kill_on_drop: false }` [INFO] [stdout] 3aed9c91b3ac4fa8784ed264dd61e18bfcc5b7e2875a55d8974109fc20735665