[INFO] cloning repository https://github.com/Tak-Iwamoto/yjt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tak-Iwamoto/yjt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTak-Iwamoto%2Fyjt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTak-Iwamoto%2Fyjt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9828e3eae1b0899b89bd3f10822d0cc8c9ddbec [INFO] checking Tak-Iwamoto/yjt/a9828e3eae1b0899b89bd3f10822d0cc8c9ddbec 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%2FTak-Iwamoto%2Fyjt" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tak-Iwamoto/yjt 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/Tak-Iwamoto/yjt [INFO] finished tweaking git repo https://github.com/Tak-Iwamoto/yjt [INFO] tweaked toml for git repo https://github.com/Tak-Iwamoto/yjt written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Tak-Iwamoto/yjt 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] 93833de0e86d86cbfea3c585e5a2867eca3348ff5176ca2caddca3c6df5f23dc [INFO] running `Command { std: "docker" "start" "-a" "93833de0e86d86cbfea3c585e5a2867eca3348ff5176ca2caddca3c6df5f23dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93833de0e86d86cbfea3c585e5a2867eca3348ff5176ca2caddca3c6df5f23dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93833de0e86d86cbfea3c585e5a2867eca3348ff5176ca2caddca3c6df5f23dc", kill_on_drop: false }` [INFO] [stdout] 93833de0e86d86cbfea3c585e5a2867eca3348ff5176ca2caddca3c6df5f23dc [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] b0a7d64f6ada5521fafc0b583b21267f0ba3e676c0ce4316992969a0a32504c6 [INFO] running `Command { std: "docker" "start" "-a" "b0a7d64f6ada5521fafc0b583b21267f0ba3e676c0ce4316992969a0a32504c6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v3.1.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking serde_yaml v0.8.18 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Checking clap v3.0.0-beta.4 [INFO] [stderr] Checking yjt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/event.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Events` is never constructed [INFO] [stdout] --> src/event.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/event.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Events` is never constructed [INFO] [stdout] --> src/event.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Events { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TICK_RATE` is never used [INFO] [stdout] --> src/event.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TICK_RATE: Duration = Duration::from_millis(250); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/event.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Events { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | /// Constructs an new instance of `Events` with the default config. [INFO] [stdout] 21 | pub fn new() -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn next(&self) -> Result, mpsc::RecvError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_last_properties` is never used [INFO] [stdout] --> src/query.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait QueryTrait { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 6 | fn get_properties(&self) -> Vec<&str>; [INFO] [stdout] 7 | fn get_last_properties(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/query.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Query { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(value: String) -> Query { [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/data/data.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn from(array: Array) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Data::Array(Box::new(array)) [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/data/data.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn from(object: Object) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Data::Object(Box::new(object)) [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/data/json.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Data::from(&json)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/toml.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Data::from(&parsed)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/yaml.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | let yaml: serde_yaml::Value = serde_yaml::from_str(yaml_str)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(Data::from(&yaml)) [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] warning: constant `TICK_RATE` is never used [INFO] [stdout] --> src/event.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const TICK_RATE: Duration = Duration::from_millis(250); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `next` are never used [INFO] [stdout] --> src/event.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Events { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | /// Constructs an new instance of `Events` with the default config. [INFO] [stdout] 21 | pub fn new() -> Events { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn next(&self) -> Result, mpsc::RecvError> { [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/data/data.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn from(array: Array) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | Data::Array(Box::new(array)) [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/data/data.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 56 | fn from(object: Object) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Data::Object(Box::new(object)) [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/data/json.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | Ok(Data::from(&json)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/toml.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | Ok(Data::from(&parsed)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/yaml.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 42 | let yaml: serde_yaml::Value = serde_yaml::from_str(yaml_str)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(Data::from(&yaml)) [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 5 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yjt` (bin "yjt" test) due to 6 previous errors; 4 warnings emitted [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yjt` (bin "yjt") due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b0a7d64f6ada5521fafc0b583b21267f0ba3e676c0ce4316992969a0a32504c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0a7d64f6ada5521fafc0b583b21267f0ba3e676c0ce4316992969a0a32504c6", kill_on_drop: false }` [INFO] [stdout] b0a7d64f6ada5521fafc0b583b21267f0ba3e676c0ce4316992969a0a32504c6