[INFO] fetching crate spacemod 0.1.1... [INFO] checking spacemod-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate spacemod 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate spacemod 0.1.1 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 spacemod 0.1.1 [INFO] finished tweaking crates.io crate spacemod 0.1.1 [INFO] tweaked toml for crates.io crate spacemod 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate spacemod 0.1.1 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] d26c9c49c063d4644d06853142c287b2d4d6242d3f2be11bd02fb1a046cad753 [INFO] running `Command { std: "docker" "start" "-a" "d26c9c49c063d4644d06853142c287b2d4d6242d3f2be11bd02fb1a046cad753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d26c9c49c063d4644d06853142c287b2d4d6242d3f2be11bd02fb1a046cad753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d26c9c49c063d4644d06853142c287b2d4d6242d3f2be11bd02fb1a046cad753", kill_on_drop: false }` [INFO] [stdout] d26c9c49c063d4644d06853142c287b2d4d6242d3f2be11bd02fb1a046cad753 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 4cf9d095e77c1c093216ffcaf125bac4dfee095b8a03f5994cb654cc023f5f1d [INFO] running `Command { std: "docker" "start" "-a" "4cf9d095e77c1c093216ffcaf125bac4dfee095b8a03f5994cb654cc023f5f1d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking bstr v0.2.14 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling blake3 v1.4.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking console v0.15.5 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking constant_time_eq v0.2.6 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking spacemod v0.1.1 (/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/main.rs:177:26 [INFO] [stdout] | [INFO] [stdout] 176 | let sender = sender.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 177 | Box::new(move |entry_result| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 178 | | let entry = match entry_result { [INFO] [stdout] 179 | | Ok(x) => x, [INFO] [stdout] 180 | | Err(e) => { [INFO] [stdout] ... | [INFO] [stdout] 201 | | WalkState::Continue [INFO] [stdout] 202 | | }) [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/expr.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 201 | let regex = RegexBuilder::new(®ex_string) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | let pairs_re = RegexBuilder::new(&format!( [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 217 | Ok(Replacer { [INFO] [stdout] | ____________^ [INFO] [stdout] 218 | | expr: self, [INFO] [stdout] 219 | | regex, [INFO] [stdout] 220 | | pairs, [INFO] [stdout] 221 | | reverse_pairs, [INFO] [stdout] 222 | | pairs_re, [INFO] [stdout] 223 | | }) [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] | [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `spacemod` (bin "spacemod") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4cf9d095e77c1c093216ffcaf125bac4dfee095b8a03f5994cb654cc023f5f1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cf9d095e77c1c093216ffcaf125bac4dfee095b8a03f5994cb654cc023f5f1d", kill_on_drop: false }` [INFO] [stdout] 4cf9d095e77c1c093216ffcaf125bac4dfee095b8a03f5994cb654cc023f5f1d