[INFO] fetching crate gosh-dl 0.3.2... [INFO] testing gosh-dl-0.3.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate gosh-dl 0.3.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gosh-dl 0.3.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate gosh-dl 0.3.2 [INFO] tweaked toml for crates.io crate gosh-dl 0.3.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gosh-dl 0.3.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gosh-dl 0.3.2 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_cpus v1.17.0 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded nonzero_ext v0.3.0 [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] [stderr] Downloaded quanta v0.12.6 [INFO] [stderr] Downloaded spinning_top v0.3.0 [INFO] [stderr] Downloaded flume v0.12.0 [INFO] [stderr] Downloaded raw-cpuid v11.6.0 [INFO] [stderr] Downloaded async-compression v0.4.39 [INFO] [stderr] Downloaded governor v0.10.4 [INFO] [stderr] Downloaded zerocopy-derive v0.8.39 [INFO] [stderr] Downloaded cc v1.2.56 [INFO] [stderr] Downloaded portable-atomic v1.13.1 [INFO] [stderr] Downloaded aws-lc-rs v1.15.4 [INFO] [stderr] Downloaded webpki-roots v1.0.6 [INFO] [stderr] Downloaded syn v2.0.115 [INFO] [stderr] Downloaded security-framework v3.6.0 [INFO] [stderr] Downloaded zerocopy v0.8.39 [INFO] [stderr] Downloaded curve25519-dalek v5.0.0-pre.5 [INFO] [stderr] Downloaded mainline v6.1.1 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded uuid v1.21.0 [INFO] [stderr] Downloaded ed25519 v3.0.0-rc.4 [INFO] [stderr] Downloaded getrandom v0.4.1 [INFO] [stderr] Downloaded wiremock v0.6.5 [INFO] [stderr] Downloaded digest v0.11.0-rc.9 [INFO] [stderr] Downloaded sha2 v0.11.0-rc.4 [INFO] [stderr] Downloaded security-framework-sys v2.16.0 [INFO] [stderr] Downloaded compression-codecs v0.4.36 [INFO] [stderr] Downloaded fiat-crypto v0.3.0 [INFO] [stderr] Downloaded tempfile v3.25.0 [INFO] [stderr] Downloaded data-encoding v2.10.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded signature v3.0.0-rc.10 [INFO] [stderr] Downloaded hybrid-array v0.4.7 [INFO] [stderr] Downloaded lru v0.16.3 [INFO] [stderr] Downloaded libc v0.2.182 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded serde_bencode v0.2.4 [INFO] [stderr] Downloaded utf-8 v0.7.6 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded crc v3.4.0 [INFO] [stderr] Downloaded block-buffer v0.11.0 [INFO] [stderr] Downloaded crypto-common v0.2.0 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded unicode-ident v1.0.23 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded aws-lc-sys v0.37.1 [INFO] [stderr] Downloaded ed25519-dalek v3.0.0-pre.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 568e3fb652ef1f08fb45eb2e33eed32de2cc510a4f0b8b542f65bc331bfea7ca [INFO] running `Command { std: "docker" "start" "-a" "568e3fb652ef1f08fb45eb2e33eed32de2cc510a4f0b8b542f65bc331bfea7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "568e3fb652ef1f08fb45eb2e33eed32de2cc510a4f0b8b542f65bc331bfea7ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568e3fb652ef1f08fb45eb2e33eed32de2cc510a4f0b8b542f65bc331bfea7ca", kill_on_drop: false }` [INFO] [stdout] 568e3fb652ef1f08fb45eb2e33eed32de2cc510a4f0b8b542f65bc331bfea7ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 973fcd9e5b18813cf774c79e5baa0953e7e58965427a4caf6fe118b0be9accdd [INFO] running `Command { std: "docker" "start" "-a" "973fcd9e5b18813cf774c79e5baa0953e7e58965427a4caf6fe118b0be9accdd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling hybrid-array v0.4.7 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling block-buffer v0.11.0 [INFO] [stderr] Compiling crypto-common v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.5 [INFO] [stderr] Compiling digest v0.11.0-rc.9 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling libsqlite3-sys v0.36.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling signature v3.0.0-rc.10 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling ed25519 v3.0.0-rc.4 [INFO] [stderr] Compiling sha2 v0.11.0-rc.4 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling compression-codecs v0.4.36 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling ed25519-dalek v3.0.0-pre.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling async-compression v0.4.39 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling serde_bencode v0.2.4 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling flume v0.12.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling hashlink v0.11.0 [INFO] [stderr] Compiling spinning_top v0.3.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling lru v0.16.3 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling governor v0.10.4 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling mainline v6.1.1 [INFO] [stderr] Compiling rusqlite v0.38.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid v1.21.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling gosh-dl v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `congestion::LedbatController` [INFO] [stdout] --> src/torrent/utp/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use congestion::LedbatController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_PACKET_SIZE`, `MAX_PAYLOAD_SIZE`, `PacketType`, `Packet`, and `SelectiveAck` [INFO] [stdout] --> src/torrent/utp/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub use packet::{Packet, PacketType, SelectiveAck, MAX_PACKET_SIZE, MAX_PAYLOAD_SIZE}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UtpSocketInner` [INFO] [stdout] --> src/torrent/utp/mod.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub use socket::{UtpConfig, UtpSocket, UtpSocketInner}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionState`, `ConnectionStats`, and `PendingPacket` [INFO] [stdout] --> src/torrent/utp/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub use state::{ConnectionState, ConnectionStats, PendingPacket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BandwidthLimits`, `ChecksumAlgorithm`, `DownloadPriority`, `ExpectedChecksum`, and `ScheduleRule` [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BandwidthLimits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | // Checksum types [INFO] [stdout] 11 | ChecksumAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | DownloadPriority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ExpectedChecksum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | ScheduleRule, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_retry` is never used [INFO] [stdout] --> src/http/connection.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | pub async fn with_retry( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_range_support` is never used [INFO] [stdout] --> src/http/resume.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn verify_range_support(client: &Client, url: &str, user_agent: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_range_header` is never used [INFO] [stdout] --> src/http/resume.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn calculate_range_header(start: u64, end: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_restart` is never used [INFO] [stdout] --> src/http/resume.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | pub async fn should_restart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_SEGMENT_SIZE` is never used [INFO] [stdout] --> src/http/segment.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const MIN_SEGMENT_SIZE: u64 = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONNECTIONS` is never used [INFO] [stdout] --> src/http/segment.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DEFAULT_CONNECTIONS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BOOTSTRAP_NODES` is never used [INFO] [stdout] --> src/torrent/dht.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const DEFAULT_BOOTSTRAP_NODES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_metadata_extension_handshake` is never used [INFO] [stdout] --> src/torrent/metadata.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn build_metadata_extension_handshake( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata_size` is never used [INFO] [stdout] --> src/torrent/metadata.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn parse_metadata_size(handshake_data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata_extension_id` is never used [INFO] [stdout] --> src/torrent/metadata.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn parse_metadata_extension_id(handshake_data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/torrent/mse.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | Plaintext(TcpStream, Vec), [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] 361 - Plaintext(TcpStream, Vec), [INFO] [stdout] 361 + Plaintext(TcpStream, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `supports_fast` is never used [INFO] [stdout] --> src/torrent/peer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ReservedBytes { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn supports_fast(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peer_id_to_client` is never used [INFO] [stdout] --> src/torrent/peer.rs:1199:8 [INFO] [stdout] | [INFO] [stdout] 1199 | pub fn peer_id_to_client(peer_id: &[u8; 20]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREFERS_ENCRYPTION` is never used [INFO] [stdout] --> src/torrent/pex.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PREFERS_ENCRYPTION: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IS_SEEDER` is never used [INFO] [stdout] --> src/torrent/pex.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const IS_SEEDER: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTS_UTP` is never used [INFO] [stdout] --> src/torrent/pex.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub const SUPPORTS_UTP: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTS_HOLEPUNCH` is never used [INFO] [stdout] --> src/torrent/pex.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SUPPORTS_HOLEPUNCH: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IS_OUTGOING` is never used [INFO] [stdout] --> src/torrent/pex.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub const IS_OUTGOING: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 32s [INFO] running `Command { std: "docker" "inspect" "973fcd9e5b18813cf774c79e5baa0953e7e58965427a4caf6fe118b0be9accdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973fcd9e5b18813cf774c79e5baa0953e7e58965427a4caf6fe118b0be9accdd", kill_on_drop: false }` [INFO] [stdout] 973fcd9e5b18813cf774c79e5baa0953e7e58965427a4caf6fe118b0be9accdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c412db5f12c6adf5dcd0ce5ab0ad2b142d0bcca4fbd5356144899514e346d4a [INFO] running `Command { std: "docker" "start" "-a" "4c412db5f12c6adf5dcd0ce5ab0ad2b142d0bcca4fbd5356144899514e346d4a", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling mainline v6.1.1 [INFO] [stderr] Compiling rusqlite v0.38.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling quanta v0.12.6 [INFO] [stderr] Compiling governor v0.10.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling async-compression v0.4.39 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling deadpool v0.12.3 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-test v0.4.5 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling wiremock v0.6.5 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling gosh-dl v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `congestion::LedbatController` [INFO] [stdout] --> src/torrent/utp/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use congestion::LedbatController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_PACKET_SIZE`, `MAX_PAYLOAD_SIZE`, `PacketType`, `Packet`, and `SelectiveAck` [INFO] [stdout] --> src/torrent/utp/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub use packet::{Packet, PacketType, SelectiveAck, MAX_PACKET_SIZE, MAX_PAYLOAD_SIZE}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UtpSocketInner` [INFO] [stdout] --> src/torrent/utp/mod.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub use socket::{UtpConfig, UtpSocket, UtpSocketInner}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionState`, `ConnectionStats`, and `PendingPacket` [INFO] [stdout] --> src/torrent/utp/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub use state::{ConnectionState, ConnectionStats, PendingPacket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BandwidthLimits`, `ChecksumAlgorithm`, `DownloadPriority`, `ExpectedChecksum`, and `ScheduleRule` [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BandwidthLimits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | // Checksum types [INFO] [stdout] 11 | ChecksumAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | DownloadPriority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ExpectedChecksum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | ScheduleRule, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `congestion::LedbatController` [INFO] [stdout] --> src/torrent/utp/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub use congestion::LedbatController; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_PACKET_SIZE`, `MAX_PAYLOAD_SIZE`, `PacketType`, `Packet`, and `SelectiveAck` [INFO] [stdout] --> src/torrent/utp/mod.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | pub use packet::{Packet, PacketType, SelectiveAck, MAX_PACKET_SIZE, MAX_PAYLOAD_SIZE}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UtpSocketInner` [INFO] [stdout] --> src/torrent/utp/mod.rs:45:40 [INFO] [stdout] | [INFO] [stdout] 45 | pub use socket::{UtpConfig, UtpSocket, UtpSocketInner}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionState`, `ConnectionStats`, and `PendingPacket` [INFO] [stdout] --> src/torrent/utp/mod.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | pub use state::{ConnectionState, ConnectionStats, PendingPacket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BandwidthLimits`, `ChecksumAlgorithm`, `DownloadPriority`, `ExpectedChecksum`, and `ScheduleRule` [INFO] [stdout] --> src/types.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BandwidthLimits, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | // Checksum types [INFO] [stdout] 11 | ChecksumAlgorithm, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | DownloadPriority, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | ExpectedChecksum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | ScheduleRule, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_retry` is never used [INFO] [stdout] --> src/http/connection.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | pub async fn with_retry( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_range_support` is never used [INFO] [stdout] --> src/http/resume.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn verify_range_support(client: &Client, url: &str, user_agent: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_range_header` is never used [INFO] [stdout] --> src/http/resume.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn calculate_range_header(start: u64, end: Option) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_restart` is never used [INFO] [stdout] --> src/http/resume.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | pub async fn should_restart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_SEGMENT_SIZE` is never used [INFO] [stdout] --> src/http/segment.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const MIN_SEGMENT_SIZE: u64 = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONNECTIONS` is never used [INFO] [stdout] --> src/http/segment.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DEFAULT_CONNECTIONS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BOOTSTRAP_NODES` is never used [INFO] [stdout] --> src/torrent/dht.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const DEFAULT_BOOTSTRAP_NODES: &[&str] = &[ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_metadata_extension_handshake` is never used [INFO] [stdout] --> src/torrent/metadata.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn build_metadata_extension_handshake( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata_size` is never used [INFO] [stdout] --> src/torrent/metadata.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn parse_metadata_size(handshake_data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_metadata_extension_id` is never used [INFO] [stdout] --> src/torrent/metadata.rs:444:8 [INFO] [stdout] | [INFO] [stdout] 444 | pub fn parse_metadata_extension_id(handshake_data: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/torrent/mse.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | Plaintext(TcpStream, Vec), [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] 361 - Plaintext(TcpStream, Vec), [INFO] [stdout] 361 + Plaintext(TcpStream, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `supports_fast` is never used [INFO] [stdout] --> src/torrent/peer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ReservedBytes { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn supports_fast(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `peer_id_to_client` is never used [INFO] [stdout] --> src/torrent/peer.rs:1199:8 [INFO] [stdout] | [INFO] [stdout] 1199 | pub fn peer_id_to_client(peer_id: &[u8; 20]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREFERS_ENCRYPTION` is never used [INFO] [stdout] --> src/torrent/pex.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PREFERS_ENCRYPTION: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IS_SEEDER` is never used [INFO] [stdout] --> src/torrent/pex.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const IS_SEEDER: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTS_UTP` is never used [INFO] [stdout] --> src/torrent/pex.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub const SUPPORTS_UTP: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTS_HOLEPUNCH` is never used [INFO] [stdout] --> src/torrent/pex.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SUPPORTS_HOLEPUNCH: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IS_OUTGOING` is never used [INFO] [stdout] --> src/torrent/pex.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub const IS_OUTGOING: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `with_retry` is never used [INFO] [stdout] --> src/http/connection.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | pub async fn with_retry( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_range_support` is never used [INFO] [stdout] --> src/http/resume.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn verify_range_support(client: &Client, url: &str, user_agent: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_restart` is never used [INFO] [stdout] --> src/http/resume.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 314 | pub async fn should_restart( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MIN_SEGMENT_SIZE` is never used [INFO] [stdout] --> src/http/segment.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const MIN_SEGMENT_SIZE: u64 = 1024 * 1024; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONNECTIONS` is never used [INFO] [stdout] --> src/http/segment.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DEFAULT_CONNECTIONS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_metadata_extension_handshake` is never used [INFO] [stdout] --> src/torrent/metadata.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn build_metadata_extension_handshake( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/torrent/mse.rs:361:26 [INFO] [stdout] | [INFO] [stdout] 361 | Plaintext(TcpStream, Vec), [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] 361 - Plaintext(TcpStream, Vec), [INFO] [stdout] 361 + Plaintext(TcpStream, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `supports_fast` is never used [INFO] [stdout] --> src/torrent/peer.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl ReservedBytes { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn supports_fast(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PREFERS_ENCRYPTION` is never used [INFO] [stdout] --> src/torrent/pex.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PREFERS_ENCRYPTION: u8 = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IS_SEEDER` is never used [INFO] [stdout] --> src/torrent/pex.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | pub const IS_SEEDER: u8 = 0x02; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTS_UTP` is never used [INFO] [stdout] --> src/torrent/pex.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub const SUPPORTS_UTP: u8 = 0x04; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SUPPORTS_HOLEPUNCH` is never used [INFO] [stdout] --> src/torrent/pex.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub const SUPPORTS_HOLEPUNCH: u8 = 0x08; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IS_OUTGOING` is never used [INFO] [stdout] --> src/torrent/pex.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub const IS_OUTGOING: u8 = 0x10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `piece_index` is never read [INFO] [stdout] --> tests/mock_peer.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 347 | Have { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 348 | piece_index: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bitfield` is never read [INFO] [stdout] --> tests/mock_peer.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 350 | Bitfield { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 351 | bitfield: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `index`, `begin`, and `block` are never read [INFO] [stdout] --> tests/mock_peer.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 358 | Piece { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 359 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 360 | begin: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 361 | block: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `index`, `begin`, and `length` are never read [INFO] [stdout] --> tests/mock_peer.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 363 | Cancel { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 364 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 365 | begin: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 366 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `id` and `payload` are never read [INFO] [stdout] --> tests/mock_peer.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 372 | Unknown { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 373 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 374 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_all_pieces` and `with_metadata` are never used [INFO] [stdout] --> tests/mock_peer.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl MockPeerConfig { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn with_all_pieces(mut self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn with_metadata(mut self, metadata: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `accept_one` is never used [INFO] [stdout] --> tests/mock_peer.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 84 | impl MockPeer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn accept_one(&self) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `piece_index` is never read [INFO] [stdout] --> tests/mock_peer.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 347 | Have { [INFO] [stdout] | ---- field in this variant [INFO] [stdout] 348 | piece_index: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `bitfield` is never read [INFO] [stdout] --> tests/mock_peer.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 350 | Bitfield { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 351 | bitfield: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `index`, `begin`, and `block` are never read [INFO] [stdout] --> tests/mock_peer.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 358 | Piece { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 359 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 360 | begin: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 361 | block: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `index`, `begin`, and `length` are never read [INFO] [stdout] --> tests/mock_peer.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 363 | Cancel { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 364 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 365 | begin: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 366 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` 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 `id` and `payload` are never read [INFO] [stdout] --> tests/mock_peer.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 372 | Unknown { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 373 | id: u8, [INFO] [stdout] | ^^ [INFO] [stdout] 374 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeerMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_info_hash` is never used [INFO] [stdout] --> tests/test_helpers.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn calculate_info_hash(torrent_data: &[u8]) -> Option<[u8; 20]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_temp_download_dir` is never used [INFO] [stdout] --> tests/test_helpers.rs:273:8 [INFO] [stdout] | [INFO] [stdout] 273 | pub fn create_temp_download_dir() -> tempfile::TempDir { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for` is never used [INFO] [stdout] --> tests/test_helpers.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn wait_for(timeout_ms: u64, mut condition: F) -> bool [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_async` is never used [INFO] [stdout] --> tests/test_helpers.rs:296:14 [INFO] [stdout] | [INFO] [stdout] 296 | pub async fn wait_for_async(timeout_ms: u64, mut condition: F) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gosh-dl` (lib test); 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/562dee4820c458d823175268e41601d4c060588a/bin/rustc --crate-name gosh_dl --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="http"' --cfg 'feature="storage"' --cfg 'feature="torrent"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "full", "http", "io-uring", "storage", "torrent"))' -C metadata=a88f509dcfef4c97 -C extra-filename=-b638319dd8e03207 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-6ecb06945f18f36b.so --extern base64=/opt/rustwide/target/debug/deps/libbase64-2a03de3babadded3.rlib --extern bitvec=/opt/rustwide/target/debug/deps/libbitvec-7b6d799c6dcd1507.rlib --extern bytes=/opt/rustwide/target/debug/deps/libbytes-ff5aca13e3e348ea.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-4a3f9d670f902057.rlib --extern dirs=/opt/rustwide/target/debug/deps/libdirs-b4515b351c008019.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-7e54a355d584d2a6.rlib --extern governor=/opt/rustwide/target/debug/deps/libgovernor-11a1d4460eb7faa0.rlib --extern hex=/opt/rustwide/target/debug/deps/libhex-28742b4ca144387c.rlib --extern mainline=/opt/rustwide/target/debug/deps/libmainline-55bbe6378d3fcb0b.rlib --extern md5=/opt/rustwide/target/debug/deps/libmd5-a12a48c8be4f0409.rlib --extern num_bigint=/opt/rustwide/target/debug/deps/libnum_bigint-cf9a0e60559c6f38.rlib --extern num_integer=/opt/rustwide/target/debug/deps/libnum_integer-5b6ac14ce642ff72.rlib --extern num_traits=/opt/rustwide/target/debug/deps/libnum_traits-8434f84c7e6b85f7.rlib --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-34ed877ef4436992.rlib --extern rand=/opt/rustwide/target/debug/deps/librand-582729969514b1bd.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-2b23e4be9bd2b538.rlib --extern rusqlite=/opt/rustwide/target/debug/deps/librusqlite-c041315e72fa4bc3.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-8984946bd3d29f18.rlib --extern serde_bencode=/opt/rustwide/target/debug/deps/libserde_bencode-1fcfac524689ef03.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-f250c5e6f4d48e97.rlib --extern sha1=/opt/rustwide/target/debug/deps/libsha1-f3277115c11d1774.rlib --extern sha2=/opt/rustwide/target/debug/deps/libsha2-8641d51e1c3b7100.rlib --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a9e11c9a999805a7.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-fd57cbe7284dd362.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-bfefe909c24c1ac2.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-f7ace0a6fc77568d.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-6d385ed7d893d223.rlib --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-5f1272378f4d0358.rlib --extern tokio_util=/opt/rustwide/target/debug/deps/libtokio_util-f5b66853cf490043.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-11d32d2f89456a15.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-9fcaf09869315b9f.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-5f07a04840ca0984.rlib --extern urlencoding=/opt/rustwide/target/debug/deps/liburlencoding-2e57689ab08a86e0.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-f83c62f42898ab68.rlib --extern wiremock=/opt/rustwide/target/debug/deps/libwiremock-3c6302129bfebd05.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/aws-lc-sys-32494ec25b37efbd/out -L native=/opt/rustwide/target/debug/build/libsqlite3-sys-20838b76445be8a2/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4c412db5f12c6adf5dcd0ce5ab0ad2b142d0bcca4fbd5356144899514e346d4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c412db5f12c6adf5dcd0ce5ab0ad2b142d0bcca4fbd5356144899514e346d4a", kill_on_drop: false }` [INFO] [stdout] 4c412db5f12c6adf5dcd0ce5ab0ad2b142d0bcca4fbd5356144899514e346d4a