[INFO] fetching crate pwndar 0.1.0... [INFO] checking pwndar-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate pwndar 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate pwndar 0.1.0 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 pwndar 0.1.0 [INFO] finished tweaking crates.io crate pwndar 0.1.0 [INFO] tweaked toml for crates.io crate pwndar 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate pwndar 0.1.0 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] b15a3cd4dbb0c6fbbee377bbf884dcb31571f63132d0b09cfc6957d55888c005 [INFO] running `Command { std: "docker" "start" "-a" "b15a3cd4dbb0c6fbbee377bbf884dcb31571f63132d0b09cfc6957d55888c005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b15a3cd4dbb0c6fbbee377bbf884dcb31571f63132d0b09cfc6957d55888c005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15a3cd4dbb0c6fbbee377bbf884dcb31571f63132d0b09cfc6957d55888c005", kill_on_drop: false }` [INFO] [stdout] b15a3cd4dbb0c6fbbee377bbf884dcb31571f63132d0b09cfc6957d55888c005 [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] ee646d9e0360c53e6bf527c7ab9004a6e7598405e303f26f7503ea51eab79d1a [INFO] running `Command { std: "docker" "start" "-a" "ee646d9e0360c53e6bf527c7ab9004a6e7598405e303f26f7503ea51eab79d1a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking rustls v0.20.2 [INFO] [stderr] Checking webpki-roots v0.22.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking ureq v2.3.1 [INFO] [stderr] Checking pwndar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `Id`, `Title`, `Date`, and `EmailCount` are never read [INFO] [stdout] --> src/hibp/mod.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | struct Paste { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 120 | Source: String, [INFO] [stdout] 121 | Id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 122 | Title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | Date: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | EmailCount: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Paste` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/hibp/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | struct Breach { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 130 | Name: String, [INFO] [stdout] 131 | Title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 132 | Domain: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 133 | BreachedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 134 | AddedDate: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | ModifiedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 136 | PwnCount: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 137 | Description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 138 | IsVerified: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | IsFabricated: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 140 | IsSensitive: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 141 | IsRetired: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | IsSpamList: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | LogoPath: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Breach` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hibp/mod.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | write!(f, "\t{}: {}\n", counter, &breach.Name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hibp/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "\t{}: {}\n", counter, &paste.Source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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/hibp/mod.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 68 | let response = match method { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | response.map_or(Err(Error::new(format!("Error sending request"))), |resp| { [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/hibp/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 105 | let response = self.request("get", &breaches_url, verbose); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | self.parse_breaches(response.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/hibp/mod.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 112 | let response = self.request("get", &pastes_url, verbose); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | self.parse_pastes(response.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: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pwndar` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `Id`, `Title`, `Date`, and `EmailCount` are never read [INFO] [stdout] --> src/hibp/mod.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 119 | struct Paste { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 120 | Source: String, [INFO] [stdout] 121 | Id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 122 | Title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | Date: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 124 | EmailCount: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Paste` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/hibp/mod.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | struct Breach { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 130 | Name: String, [INFO] [stdout] 131 | Title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 132 | Domain: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 133 | BreachedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 134 | AddedDate: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 135 | ModifiedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 136 | PwnCount: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 137 | Description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 138 | IsVerified: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | IsFabricated: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 140 | IsSensitive: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 141 | IsRetired: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 142 | IsSpamList: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | LogoPath: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Breach` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hibp/mod.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | write!(f, "\t{}: {}\n", counter, &breach.Name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/hibp/mod.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | write!(f, "\t{}: {}\n", counter, &paste.Source); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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/hibp/mod.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 68 | let response = match method { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | response.map_or(Err(Error::new(format!("Error sending request"))), |resp| { [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/hibp/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 105 | let response = self.request("get", &breaches_url, verbose); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | self.parse_breaches(response.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/hibp/mod.rs:113:31 [INFO] [stdout] | [INFO] [stdout] 112 | let response = self.request("get", &pastes_url, verbose); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | self.parse_pastes(response.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] [stderr] error: could not compile `pwndar` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ee646d9e0360c53e6bf527c7ab9004a6e7598405e303f26f7503ea51eab79d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee646d9e0360c53e6bf527c7ab9004a6e7598405e303f26f7503ea51eab79d1a", kill_on_drop: false }` [INFO] [stdout] ee646d9e0360c53e6bf527c7ab9004a6e7598405e303f26f7503ea51eab79d1a