[INFO] fetching crate kraken-btc 0.1.0... [INFO] checking kraken-btc-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kraken-btc 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate kraken-btc 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 kraken-btc 0.1.0 [INFO] finished tweaking crates.io crate kraken-btc 0.1.0 [INFO] tweaked toml for crates.io crate kraken-btc 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate kraken-btc 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6adb785abcf775b3f4369fe86084a70ee65d47b9e4e1c7d3d331ad120608ee8f [INFO] running `Command { std: "docker" "start" "-a" "6adb785abcf775b3f4369fe86084a70ee65d47b9e4e1c7d3d331ad120608ee8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6adb785abcf775b3f4369fe86084a70ee65d47b9e4e1c7d3d331ad120608ee8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adb785abcf775b3f4369fe86084a70ee65d47b9e4e1c7d3d331ad120608ee8f", kill_on_drop: false }` [INFO] [stdout] 6adb785abcf775b3f4369fe86084a70ee65d47b9e4e1c7d3d331ad120608ee8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f06e39c8b72e9ad6adbd347f3b3e636751ca89ba21e76fa7ad29f6da028060d7 [INFO] running `Command { std: "docker" "start" "-a" "f06e39c8b72e9ad6adbd347f3b3e636751ca89ba21e76fa7ad29f6da028060d7", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ring v0.16.17 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking terminal_size v0.1.15 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking chunked_transfer v1.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking cookie_store v0.12.0 [INFO] [stderr] Checking ureq v1.5.2 [INFO] [stderr] Checking kraken-btc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/networking/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/networking/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use response::Response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/private.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TradeInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub ordertxid: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub pair: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub price: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub cost: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub vol: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeInfo` 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: fields `status` and `trades` are never read [INFO] [stdout] --> src/api/private.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OrderInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub trades: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/api/private.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OrderCancellation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 37 | pub count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderCancellation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `altname` is never read [INFO] [stdout] --> src/api/public.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AssetPair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub altname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ask` is never read [INFO] [stdout] --> src/api/public.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Ticker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | #[serde(rename = "a")] [INFO] [stdout] 15 | pub ask: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/networking/http.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 18 | let mut request = ureq::post(url); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let response = request.send_form(data); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | match response.into_json() { [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/networking/response.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | match serde_json::from_value::(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: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kraken-btc` (lib test) due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/api/private.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TradeInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub ordertxid: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | pub pair: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub time: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | pub price: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | pub cost: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub fee: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub vol: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TradeInfo` 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: fields `status` and `trades` are never read [INFO] [stdout] --> src/api/private.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct OrderInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 20 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub trades: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> src/api/private.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct OrderCancellation { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 37 | pub count: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderCancellation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `altname` is never read [INFO] [stdout] --> src/api/public.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AssetPair { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 7 | pub altname: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssetPair` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ask` is never read [INFO] [stdout] --> src/api/public.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Ticker { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 14 | #[serde(rename = "a")] [INFO] [stdout] 15 | pub ask: Vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ticker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/networking/http.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 18 | let mut request = ureq::post(url); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | let response = request.send_form(data); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | match response.into_json() { [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/networking/response.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | match serde_json::from_value::(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: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kraken-btc` (lib) due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f06e39c8b72e9ad6adbd347f3b3e636751ca89ba21e76fa7ad29f6da028060d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06e39c8b72e9ad6adbd347f3b3e636751ca89ba21e76fa7ad29f6da028060d7", kill_on_drop: false }` [INFO] [stdout] f06e39c8b72e9ad6adbd347f3b3e636751ca89ba21e76fa7ad29f6da028060d7