[INFO] cloning repository https://github.com/DanglingPointer/mtorrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DanglingPointer/mtorrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanglingPointer%2Fmtorrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanglingPointer%2Fmtorrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c71150f0942e30350bac847e91f8f99cbaaccd10 [INFO] checking DanglingPointer/mtorrent/c71150f0942e30350bac847e91f8f99cbaaccd10 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanglingPointer%2Fmtorrent" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanglingPointer/mtorrent on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/DanglingPointer/mtorrent [INFO] finished tweaking git repo https://github.com/DanglingPointer/mtorrent [INFO] tweaked toml for git repo https://github.com/DanglingPointer/mtorrent written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DanglingPointer/mtorrent 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f18f6ffee3316b5ec817ef6039884833819fa7b13b8d04d0c0cb9daeb85410e [INFO] running `Command { std: "docker" "start" "-a" "4f18f6ffee3316b5ec817ef6039884833819fa7b13b8d04d0c0cb9daeb85410e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f18f6ffee3316b5ec817ef6039884833819fa7b13b8d04d0c0cb9daeb85410e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f18f6ffee3316b5ec817ef6039884833819fa7b13b8d04d0c0cb9daeb85410e", kill_on_drop: false }` [INFO] [stdout] 4f18f6ffee3316b5ec817ef6039884833819fa7b13b8d04d0c0cb9daeb85410e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 573474a4068e42d58ed2ccde3f6e30ae1c0fac56e8be5833f397a98791665178 [INFO] running `Command { std: "docker" "start" "-a" "573474a4068e42d58ed2ccde3f6e30ae1c0fac56e8be5833f397a98791665178", kill_on_drop: false }` [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking xml-rs v0.8.20 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking wildmatch v1.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking attohttpc v0.16.3 [INFO] [stderr] Checking simple_logger v5.0.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.5 [INFO] [stderr] Checking igd v0.12.1 [INFO] [stderr] Checking mtorrent v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/main.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 256 | let on_incoming_connection = move |stream: TcpStream, peer_ip: SocketAddr| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | if let Some(permit) = incoming_ctrl.issue_permit() { [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: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/main.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 159 | let on_incoming_connection = move |stream: TcpStream, peer_ip: SocketAddr| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | if let Some(permit) = incoming_ctrl.issue_permit() { [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: this value of type `download::IdlePeer` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 41 | mut peer: download::Peer, [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | remote_ip: SocketAddr, [INFO] [stdout] 43 | mut ctx_handle: MainHandle, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | download::Peer::Idle(idling_peer) => { [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn activate(peer: IdlePeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn get_pieces(peer: SeedingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let mut inner = peer.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | / try_join!( [INFO] [stdout] 205 | | async { [INFO] [stdout] 206 | | select! { [INFO] [stdout] 207 | | biased; [INFO] [stdout] ... | [INFO] [stdout] 233 | | ) [INFO] [stdout] 234 | | )?; [INFO] [stdout] | |_____- these local bindings with significant drop implementation may 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: this value of type `Stopwatch` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 291 | mut handle: CtxHandle, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | mut block_received_signal: local_sync::condvar::Receiver, [INFO] [stdout] | ------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let _sw = trace_stopwatch!("Requesting pieces from {}", tx.remote_ip()); [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub async fn deactivate(peer: SeedingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let mut inner = peer.0; [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: this value of type `upload::IdlePeer` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 79 | mut peer: upload::Peer, [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | remote_ip: SocketAddr, [INFO] [stdout] 81 | mut ctx_handle: MainHandle, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | upload::Peer::Idle(idling_peer) => { [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn activate(peer: IdlePeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub async fn linger(peer: IdlePeer, timeout: Duration) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub async fn serve_pieces(peer: LeechingPeer, min_duration: Duration) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | let mut inner = peer.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | let result = try_join!(collect_requests, process_requests); [INFO] [stdout] | --------------------------------------------- these local bindings with significant drop implementation may 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: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/main.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 256 | let on_incoming_connection = move |stream: TcpStream, peer_ip: SocketAddr| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | if let Some(permit) = incoming_ctrl.issue_permit() { [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub async fn deactivate(peer: LeechingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | let mut inner = peer.0; [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: this value of type `Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/app/main.rs:160:31 [INFO] [stdout] | [INFO] [stdout] 159 | let on_incoming_connection = move |stream: TcpStream, peer_ip: SocketAddr| { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | if let Some(permit) = incoming_ctrl.issue_permit() { [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: this value of type `download::IdlePeer` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 41 | mut peer: download::Peer, [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | remote_ip: SocketAddr, [INFO] [stdout] 43 | mut ctx_handle: MainHandle, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | download::Peer::Idle(idling_peer) => { [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 126 | pub async fn activate(peer: IdlePeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 191 | pub async fn get_pieces(peer: SeedingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 192 | let mut inner = peer.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | / try_join!( [INFO] [stdout] 205 | | async { [INFO] [stdout] 206 | | select! { [INFO] [stdout] 207 | | biased; [INFO] [stdout] ... | [INFO] [stdout] 233 | | ) [INFO] [stdout] 234 | | )?; [INFO] [stdout] | |_____- these local bindings with significant drop implementation may 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: this value of type `Stopwatch` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 291 | mut handle: CtxHandle, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 294 | mut block_received_signal: local_sync::condvar::Receiver, [INFO] [stdout] | ------------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 299 | let _sw = trace_stopwatch!("Requesting pieces from {}", tx.remote_ip()); [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/download.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 157 | pub async fn deactivate(peer: SeedingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | let mut inner = peer.0; [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: this value of type `upload::IdlePeer` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 79 | mut peer: upload::Peer, [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | remote_ip: SocketAddr, [INFO] [stdout] 81 | mut ctx_handle: MainHandle, [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | upload::Peer::Idle(idling_peer) => { [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 162 | pub async fn activate(peer: IdlePeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 163 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 192 | pub async fn linger(peer: IdlePeer, timeout: Duration) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | pub async fn serve_pieces(peer: LeechingPeer, min_duration: Duration) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 225 | let mut inner = peer.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 302 | let result = try_join!(collect_requests, process_requests); [INFO] [stdout] | --------------------------------------------- these local bindings with significant drop implementation may 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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/upload.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 183 | pub async fn deactivate(peer: LeechingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 184 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/metadata.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub async fn download_metadata(peer: UploadingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | let mut inner = peer.0; [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/metadata.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 243 | pub async fn download_metadata(peer: UploadingPeer) -> io::Result { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 244 | let mut inner = peer.0; [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: this value of type `channels::DownloadChannels` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/tests.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut download_chans, mut upload_chans, extended_chans) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | join!(download_fut, upload_fut, meta_fut); [INFO] [stdout] | ----------------------------------------- these local bindings with significant drop implementation may 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: this value of type `message::ExtendedMessage` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ops/peer/tests.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 54 | let pwp::ExtendedChannels(mut tx, mut rx) = extended_chans; [INFO] [stdout] | ------ ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let received = rx.receive_message().await.unwrap(); [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let received = rx.receive_message().await.unwrap(); [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | let received = rx.receive_message().await.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: method `scrape` is never used [INFO] [stdout] --> src/ops/tracker/http.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 62 | impl Client { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn scrape( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build_scrape` is never used [INFO] [stdout] --> src/ops/tracker/http.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 133 | impl TrackerRequestBuilder { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | fn build_scrape(mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `do_scrape_request` is never used [INFO] [stdout] --> src/ops/tracker/udp.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 17 | impl UdpTrackerConnection { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub async fn do_scrape_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/ops/tracker/udp.rs:214:12 [INFO] [stdout] | [INFO] [stdout] 214 | Scrape(ScrapeResponse), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 214 | Scrape(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_pending_data` is never used [INFO] [stdout] --> src/utils/local_sync/channel.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Receiver { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 86 | pub fn has_pending_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `remove_if`, and `is_empty` are never used [INFO] [stdout] --> src/utils/sealed.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Queue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn contains(&self, item: &T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn remove_if(&mut self, mut pred: F) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/sealed.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Set { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mtorrent` (lib) due to 14 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::collections::HashSet<&std::net::SocketAddr>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/piece_tracker.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 257 | let mut pa = PieceTracker::new(4); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 307 | assert_eq!(HashSet::from([&ip(6001), &ip(6002)]), richest.collect()); [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: this value of type `impl Iterator + '_` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/data/piece_tracker.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 367 | let mut pa = PieceTracker::new(4); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 412 | let mut rarest = pa.missing_pieces_rarest_first(); [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: this value of type `tokio_test::task::Spawn>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pwp/channels.rs:916:17 [INFO] [stdout] | [INFO] [stdout] 896 | let (mut download, _upload, _, runner) = setup_channels( [INFO] [stdout] | ------------ ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | let mut runner_fut = spawn(runner); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 916 | let mut send_fut = spawn(download.0.send_message(DownloaderMessage::NotInterested)); [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: this value of type `tokio_test::task::Spawn>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pwp/channels.rs:958:17 [INFO] [stdout] | [INFO] [stdout] 938 | let (_download, mut upload, _, runner) = setup_channels( [INFO] [stdout] | --------- ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 945 | let mut runner_fut = spawn(runner); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 958 | let mut send_fut = spawn(upload.0.send_message(UploaderMessage::Unchoke)); [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: this value of type `tokio_test::task::Spawn>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pwp/channels.rs:1007:17 [INFO] [stdout] | [INFO] [stdout] 985 | let (_download, _upload, extended, runner) = setup_channels( [INFO] [stdout] | --------- ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 991 | let mut extended = extended.unwrap(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 992 | [INFO] [stdout] 993 | let mut runner_fut = spawn(runner); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1007 | let mut send_fut = [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: method `has_pending_data` is never used [INFO] [stdout] --> src/utils/local_sync/channel.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl Receiver { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 86 | pub fn has_pending_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `remove_if`, and `is_empty` are never used [INFO] [stdout] --> src/utils/sealed.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Queue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn contains(&self, item: &T) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn remove_if(&mut self, mut pred: F) -> bool [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/utils/sealed.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Set { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mtorrent` (lib test) due to 21 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "573474a4068e42d58ed2ccde3f6e30ae1c0fac56e8be5833f397a98791665178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "573474a4068e42d58ed2ccde3f6e30ae1c0fac56e8be5833f397a98791665178", kill_on_drop: false }` [INFO] [stdout] 573474a4068e42d58ed2ccde3f6e30ae1c0fac56e8be5833f397a98791665178