[INFO] cloning repository https://github.com/crux-bphc/crux-torrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crux-bphc/crux-torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9cc62ab1260213202a94c13c40f72d1587d98ca6 [INFO] checking crux-bphc/crux-torrent/9cc62ab1260213202a94c13c40f72d1587d98ca6 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%2Fcrux-bphc%2Fcrux-torrent" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crux-bphc/crux-torrent 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/crux-bphc/crux-torrent [INFO] finished tweaking git repo https://github.com/crux-bphc/crux-torrent [INFO] tweaked toml for git repo https://github.com/crux-bphc/crux-torrent written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/crux-bphc/crux-torrent 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] d4533356fa3b4aa45951a62ba3f0355acb9d05dc0803be309c2c93f17bd1ba79 [INFO] running `Command { std: "docker" "start" "-a" "d4533356fa3b4aa45951a62ba3f0355acb9d05dc0803be309c2c93f17bd1ba79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4533356fa3b4aa45951a62ba3f0355acb9d05dc0803be309c2c93f17bd1ba79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4533356fa3b4aa45951a62ba3f0355acb9d05dc0803be309c2c93f17bd1ba79", kill_on_drop: false }` [INFO] [stdout] d4533356fa3b4aa45951a62ba3f0355acb9d05dc0803be309c2c93f17bd1ba79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8215c8d844c8ac7777a28a294a74d3db63067cbee132abbfa8071b1396cee051 [INFO] running `Command { std: "docker" "start" "-a" "8215c8d844c8ac7777a28a294a74d3db63067cbee132abbfa8071b1396cee051", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling rstest_macros v0.20.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling gensym v0.1.1 [INFO] [stderr] Checking static_str_ops v0.1.2 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.20.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bencode v0.2.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking crux-torrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/tracker/mod.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | async fn announce(self, request: &TrackerRequest) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/tracker/mod.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | async fn announce(self, request: &TrackerRequest) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udp_url` [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | TrackerUrl::Udp(udp_url) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_addr`, `bitfield`, and `commands_tx` are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct PeerSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 32 | peer_addr: std::net::SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | bitfield: Bitfield, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | commands_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read [INFO] [stdout] --> src/metainfo/metainfo.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Metainfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub announce_list: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub creation_date: Option, // seconds since unix epoch [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub created_by: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metainfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotInterested` and `Shutdown` are never constructed [INFO] [stdout] --> src/peers/comms.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum PeerCommands { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 27 | NotInterested, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | DownloadPiece(PieceRequestInfo), [INFO] [stdout] 29 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerCommands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_addr` and `has_piece` are never read [INFO] [stdout] --> src/peers/comms.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | UpdateBitfield { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 40 | peer_addr: std::net::SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | has_piece: PieceIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `piece` is never read [INFO] [stdout] --> src/peers/comms.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | DonePiece { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 44 | piece_index: PieceIndex, [INFO] [stdout] 45 | piece: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer_id` is never read [INFO] [stdout] --> src/peers/descriptor.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) struct WorkerStateDescriptor { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 16 | pub peer_addr: SocketAddrV4, [INFO] [stdout] 17 | pub peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerStateDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `announce_url` are never read [INFO] [stdout] --> src/tracker/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UdpTracker<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | client: &'a UdpSocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | announce_url: UdpUrl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpTracker` has derived impls for the traits `Clone` and `Debug`, but these are 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/peer_protocol/codec.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 102 | let mut frame = match self.inner_codec.decode(src)? { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Some(frame) => frame, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let msg = match tag { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(Some(msg)) [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] | 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] | 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udp_url` [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | TrackerUrl::Udp(udp_url) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_addr`, `bitfield`, and `commands_tx` are never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct PeerSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 32 | peer_addr: std::net::SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 33 | bitfield: Bitfield, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | commands_tx: mpsc::Sender, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read [INFO] [stdout] --> src/metainfo/metainfo.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Metainfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub announce_list: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub creation_date: Option, // seconds since unix epoch [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub created_by: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metainfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotInterested` and `Shutdown` are never constructed [INFO] [stdout] --> src/peers/comms.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum PeerCommands { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 27 | NotInterested, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | DownloadPiece(PieceRequestInfo), [INFO] [stdout] 29 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerCommands` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `peer_addr` and `has_piece` are never read [INFO] [stdout] --> src/peers/comms.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | UpdateBitfield { [INFO] [stdout] | -------------- fields in this variant [INFO] [stdout] 40 | peer_addr: std::net::SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 41 | has_piece: PieceIndex, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `piece` is never read [INFO] [stdout] --> src/peers/comms.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 43 | DonePiece { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 44 | piece_index: PieceIndex, [INFO] [stdout] 45 | piece: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerAlerts` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `peer_id` is never read [INFO] [stdout] --> src/peers/descriptor.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) struct WorkerStateDescriptor { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 16 | pub peer_addr: SocketAddrV4, [INFO] [stdout] 17 | pub peer_id: PeerId, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WorkerStateDescriptor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client` and `announce_url` are never read [INFO] [stdout] --> src/tracker/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UdpTracker<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | client: &'a UdpSocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | announce_url: UdpUrl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpTracker` has derived impls for the traits `Clone` and `Debug`, but these are 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/peer_protocol/codec.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 102 | let mut frame = match self.inner_codec.decode(src)? { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | Some(frame) => frame, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | let msg = match tag { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(Some(msg)) [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] | 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] | 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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crux-torrent` (bin "crux-torrent") due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crux-torrent` (bin "crux-torrent" test) due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8215c8d844c8ac7777a28a294a74d3db63067cbee132abbfa8071b1396cee051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8215c8d844c8ac7777a28a294a74d3db63067cbee132abbfa8071b1396cee051", kill_on_drop: false }` [INFO] [stdout] 8215c8d844c8ac7777a28a294a74d3db63067cbee132abbfa8071b1396cee051