[INFO] cloning repository https://github.com/da-x/foldity [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/da-x/foldity" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-x%2Ffoldity", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-x%2Ffoldity'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f81ff1d6fe441b8d6c8a45262c73f79e53cecd83 [INFO] checking da-x/foldity/f81ff1d6fe441b8d6c8a45262c73f79e53cecd83 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fda-x%2Ffoldity" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/da-x/foldity 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 git repo https://github.com/da-x/foldity [INFO] finished tweaking git repo https://github.com/da-x/foldity [INFO] tweaked toml for git repo https://github.com/da-x/foldity written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/da-x/foldity 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7fbcb92395fb5754ab6f6584e36873e413684b1180afbdda57ed55ef5bf7e2d8 [INFO] running `Command { std: "docker" "start" "-a" "7fbcb92395fb5754ab6f6584e36873e413684b1180afbdda57ed55ef5bf7e2d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fbcb92395fb5754ab6f6584e36873e413684b1180afbdda57ed55ef5bf7e2d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fbcb92395fb5754ab6f6584e36873e413684b1180afbdda57ed55ef5bf7e2d8", kill_on_drop: false }` [INFO] [stdout] 7fbcb92395fb5754ab6f6584e36873e413684b1180afbdda57ed55ef5bf7e2d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a2d07f379398fc465a98a63cef94b76f09bb6e68426a59bdfb5d407442be9214 [INFO] running `Command { std: "docker" "start" "-a" "a2d07f379398fc465a98a63cef94b76f09bb6e68426a59bdfb5d407442be9214", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Checking async-std v1.7.0 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking async-ctrlc v1.2.0 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking futures-executor v0.3.7 [INFO] [stderr] Checking futures v0.3.7 [INFO] [stderr] Checking foldity v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/program.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/program.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `child` is never read [INFO] [stdout] --> src/program.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub child: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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/main.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 95 | let (broker_sender, broker_receiver) = mpsc::unbounded(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | programs: Slab::new(), [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/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 95 | let (broker_sender, broker_receiver) = mpsc::unbounded(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | sender: Some(broker_sender), [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:105:24 [INFO] [stdout] | [INFO] [stdout] 95 | let (broker_sender, broker_receiver) = mpsc::unbounded(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | regex_set: RegexSet::new(a).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] warning: field `child` is never read [INFO] [stdout] --> src/program.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub child: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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/main.rs:101:23 [INFO] [stdout] | [INFO] [stdout] 95 | let (broker_sender, broker_receiver) = mpsc::unbounded(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | programs: Slab::new(), [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/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 95 | let (broker_sender, broker_receiver) = mpsc::unbounded(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | sender: Some(broker_sender), [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:105:24 [INFO] [stdout] | [INFO] [stdout] 95 | let (broker_sender, broker_receiver) = mpsc::unbounded(); [INFO] [stdout] | ------------- --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 105 | regex_set: RegexSet::new(a).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/program.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(desc: String, shutdowns: Vec>) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | child: None, [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/program.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn with_child(self, child: Child) -> Self { [INFO] [stdout] | ---- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Self { [INFO] [stdout] 41 | child: Some(child), [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/program.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(desc: String, shutdowns: Vec>) -> Self { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | child: None, [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/program.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn with_child(self, child: Child) -> Self { [INFO] [stdout] | ---- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | Self { [INFO] [stdout] 41 | child: Some(child), [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `foldity` (bin "foldity" test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `foldity` (bin "foldity") due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a2d07f379398fc465a98a63cef94b76f09bb6e68426a59bdfb5d407442be9214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d07f379398fc465a98a63cef94b76f09bb6e68426a59bdfb5d407442be9214", kill_on_drop: false }` [INFO] [stdout] a2d07f379398fc465a98a63cef94b76f09bb6e68426a59bdfb5d407442be9214