[INFO] fetching crate interact_prompt 0.3.6... [INFO] checking interact_prompt-0.3.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate interact_prompt 0.3.6 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate interact_prompt 0.3.6 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 interact_prompt 0.3.6 [INFO] finished tweaking crates.io crate interact_prompt 0.3.6 [INFO] tweaked toml for crates.io crate interact_prompt 0.3.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate interact_prompt 0.3.6 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] fb674c3b97f8ac40e3f391bec12b75eca6c11cd56b9a84e3b18fd5bd2a43b6c0 [INFO] running `Command { std: "docker" "start" "-a" "fb674c3b97f8ac40e3f391bec12b75eca6c11cd56b9a84e3b18fd5bd2a43b6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb674c3b97f8ac40e3f391bec12b75eca6c11cd56b9a84e3b18fd5bd2a43b6c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb674c3b97f8ac40e3f391bec12b75eca6c11cd56b9a84e3b18fd5bd2a43b6c0", kill_on_drop: false }` [INFO] [stdout] fb674c3b97f8ac40e3f391bec12b75eca6c11cd56b9a84e3b18fd5bd2a43b6c0 [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] 6b359a07aefa2e107840cb24700026825f5ed49b5835838ce850e08650d66e63 [INFO] running `Command { std: "docker" "start" "-a" "6b359a07aefa2e107840cb24700026825f5ed49b5835838ce850e08650d66e63", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Checking rustyline v6.1.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling interact_derive v0.3.6 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking ron v0.4.2 [INFO] [stderr] Checking interact v0.3.6 [INFO] [stderr] Checking interact_prompt v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | struct InteractPromptHelper<'a, H>((), &'a H) [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | registry::with_root(|root| root.probe(line).1) [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/lib.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 207 | let mut handlers = BTreeMap::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | def_handler: Box::new(Access) as Box, [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/lib.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn spawn(settings: Settings, handler: H) -> std::thread::JoinHandle<()> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | thread::spawn(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 476 | | let _ = direct(settings, handler); [INFO] [stdout] 477 | | }) [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/registry.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn with_root(f: F) -> R [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | LOCAL_REGISTRY.with(|local_reg| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 68 | | SendRegistry::with_root(|send_reg| { [INFO] [stdout] 69 | | let mut local_reg = local_reg.borrow_mut(); [INFO] [stdout] 70 | | let mut root = Root { [INFO] [stdout] ... | [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | }) [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/registry.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn with_root(f: F) -> R [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | SendRegistry::with_root(|send_reg| { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 69 | | let mut local_reg = local_reg.borrow_mut(); [INFO] [stdout] 70 | | let mut root = Root { [INFO] [stdout] 71 | | send: Some(send_reg), [INFO] [stdout] ... | [INFO] [stdout] 74 | | f(&mut root) [INFO] [stdout] 75 | | }) [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 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interact_prompt` (lib) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | struct InteractPromptHelper<'a, H>((), &'a H) [INFO] [stdout] | -------------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lib.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | registry::with_root(|root| root.probe(line).1) [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/lib.rs:220:26 [INFO] [stdout] | [INFO] [stdout] 207 | let mut handlers = BTreeMap::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | def_handler: Box::new(Access) as Box, [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/lib.rs:475:19 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn spawn(settings: Settings, handler: H) -> std::thread::JoinHandle<()> [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 475 | thread::spawn(move || { [INFO] [stdout] | ___________________^ [INFO] [stdout] 476 | | let _ = direct(settings, handler); [INFO] [stdout] 477 | | }) [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/registry.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn with_root(f: F) -> R [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | LOCAL_REGISTRY.with(|local_reg| { [INFO] [stdout] | _________________________^ [INFO] [stdout] 68 | | SendRegistry::with_root(|send_reg| { [INFO] [stdout] 69 | | let mut local_reg = local_reg.borrow_mut(); [INFO] [stdout] 70 | | let mut root = Root { [INFO] [stdout] ... | [INFO] [stdout] 75 | | }) [INFO] [stdout] 76 | | }) [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/registry.rs:68:33 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn with_root(f: F) -> R [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | SendRegistry::with_root(|send_reg| { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 69 | | let mut local_reg = local_reg.borrow_mut(); [INFO] [stdout] 70 | | let mut root = Root { [INFO] [stdout] 71 | | send: Some(send_reg), [INFO] [stdout] ... | [INFO] [stdout] 74 | | f(&mut root) [INFO] [stdout] 75 | | }) [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 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interact_prompt` (lib test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6b359a07aefa2e107840cb24700026825f5ed49b5835838ce850e08650d66e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b359a07aefa2e107840cb24700026825f5ed49b5835838ce850e08650d66e63", kill_on_drop: false }` [INFO] [stdout] 6b359a07aefa2e107840cb24700026825f5ed49b5835838ce850e08650d66e63