[INFO] fetching crate icemelter 0.3.2... [INFO] checking icemelter-0.3.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate icemelter 0.3.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate icemelter 0.3.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 icemelter 0.3.2 [INFO] finished tweaking crates.io crate icemelter 0.3.2 [INFO] tweaked toml for crates.io crate icemelter 0.3.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate icemelter 0.3.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5d127d303c94ea075eb01627f6f86224e380f458c624602012a149dd373b595b [INFO] running `Command { std: "docker" "start" "-a" "5d127d303c94ea075eb01627f6f86224e380f458c624602012a149dd373b595b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d127d303c94ea075eb01627f6f86224e380f458c624602012a149dd373b595b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d127d303c94ea075eb01627f6f86224e380f458c624602012a149dd373b595b", kill_on_drop: false }` [INFO] [stdout] 5d127d303c94ea075eb01627f6f86224e380f458c624602012a149dd373b595b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dd84ff2d02592fd1072562acb863e0d0eae77ea80b03474b7daacba432467211 [INFO] running `Command { std: "docker" "start" "-a" "dd84ff2d02592fd1072562acb863e0d0eae77ea80b03474b7daacba432467211", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.94 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking nu-ansi-term v0.48.0 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling tree-sitter v0.20.10 [INFO] [stderr] Compiling tree-sitter-rust v0.20.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Checking is-terminal v0.4.4 [INFO] [stderr] Checking anstream v0.3.0 [INFO] [stderr] Checking clap_builder v4.3.12 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking tree-sitter-traversal v0.1.2 [INFO] [stderr] Checking tree-sitter-edit v0.3.0 [INFO] [stderr] Checking clap v4.3.12 [INFO] [stderr] Checking clap-verbosity-flag v2.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking treereduce v0.3.0 [INFO] [stderr] Checking icemelter v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | Changed(Vec), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 286 | Changed(()), [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/main.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | #[arg(value_name = "CMD", default_values_t = vec![String::from("rustc")], num_args = 1..)] [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/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 170 | let mut parser = tree_sitter::Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | parser.parse(code, None).context("Failed to parse code") [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/main.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 220 | let stderr_regex = match &interesting_stderr { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | let un_stderr_regex = match &uninteresting_stderr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | Ok(CmdCheck::new( [INFO] [stdout] | ________^ [INFO] [stdout] 229 | | cmd, [INFO] [stdout] 230 | | argv.iter().map(|s| s.to_string()).collect(), [INFO] [stdout] 231 | | Vec::new(), // interesting exit codes [INFO] [stdout] ... | [INFO] [stdout] 239 | | Some(timeout), [INFO] [stdout] 240 | | )) [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] | [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icemelter` (bin "icemelter" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | Changed(Vec), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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] 286 | Changed(()), [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/main.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | #[arg(value_name = "CMD", default_values_t = vec![String::from("rustc")], num_args = 1..)] [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/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 170 | let mut parser = tree_sitter::Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | parser.parse(code, None).context("Failed to parse code") [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/main.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 220 | let stderr_regex = match &interesting_stderr { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 224 | let un_stderr_regex = match &uninteresting_stderr { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | Ok(CmdCheck::new( [INFO] [stdout] | ________^ [INFO] [stdout] 229 | | cmd, [INFO] [stdout] 230 | | argv.iter().map(|s| s.to_string()).collect(), [INFO] [stdout] 231 | | Vec::new(), // interesting exit codes [INFO] [stdout] ... | [INFO] [stdout] 239 | | Some(timeout), [INFO] [stdout] 240 | | )) [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] | [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icemelter` (bin "icemelter") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dd84ff2d02592fd1072562acb863e0d0eae77ea80b03474b7daacba432467211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd84ff2d02592fd1072562acb863e0d0eae77ea80b03474b7daacba432467211", kill_on_drop: false }` [INFO] [stdout] dd84ff2d02592fd1072562acb863e0d0eae77ea80b03474b7daacba432467211