[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] testing DanglingPointer/mtorrent/c71150f0942e30350bac847e91f8f99cbaaccd10 against beta-2024-10-19 for beta-1.83-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDanglingPointer%2Fmtorrent" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DanglingPointer/mtorrent on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba39625bac22577564eb1c463df71822fd1f9ca67c64ee98bed64fc94cdb2a8a [INFO] running `Command { std: "docker" "start" "-a" "ba39625bac22577564eb1c463df71822fd1f9ca67c64ee98bed64fc94cdb2a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba39625bac22577564eb1c463df71822fd1f9ca67c64ee98bed64fc94cdb2a8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba39625bac22577564eb1c463df71822fd1f9ca67c64ee98bed64fc94cdb2a8a", kill_on_drop: false }` [INFO] [stdout] ba39625bac22577564eb1c463df71822fd1f9ca67c64ee98bed64fc94cdb2a8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2afa890dcc73a91db2a69a46fc18ffde303d92a294f0ff40cd8af5d66181be [INFO] running `Command { std: "docker" "start" "-a" "1e2afa890dcc73a91db2a69a46fc18ffde303d92a294f0ff40cd8af5d66181be", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling powerfmt v0.2.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 tokio v1.39.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling wildmatch v1.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling attohttpc v0.16.3 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling igd v0.12.1 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling mtorrent v0.2.4 (/opt/rustwide/workdir) [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] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 59.93s [INFO] running `Command { std: "docker" "inspect" "1e2afa890dcc73a91db2a69a46fc18ffde303d92a294f0ff40cd8af5d66181be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2afa890dcc73a91db2a69a46fc18ffde303d92a294f0ff40cd8af5d66181be", kill_on_drop: false }` [INFO] [stdout] 1e2afa890dcc73a91db2a69a46fc18ffde303d92a294f0ff40cd8af5d66181be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a8a43d8d6f0bc5c7876a2cbf7aa01e5f4c38121d04b057cced5b12d5aff1b2 [INFO] running `Command { std: "docker" "start" "-a" "15a8a43d8d6f0bc5c7876a2cbf7aa01e5f4c38121d04b057cced5b12d5aff1b2", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.12 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling igd v0.12.1 [INFO] [stderr] Compiling mtorrent v0.2.4 (/opt/rustwide/workdir) [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] 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] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 56s [INFO] running `Command { std: "docker" "inspect" "15a8a43d8d6f0bc5c7876a2cbf7aa01e5f4c38121d04b057cced5b12d5aff1b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a8a43d8d6f0bc5c7876a2cbf7aa01e5f4c38121d04b057cced5b12d5aff1b2", kill_on_drop: false }` [INFO] [stdout] 15a8a43d8d6f0bc5c7876a2cbf7aa01e5f4c38121d04b057cced5b12d5aff1b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a9f48a6dc83ee19265247d591a7ce4d6b75cba13efb1abc326e6c5456729fec [INFO] running `Command { std: "docker" "start" "-a" "4a9f48a6dc83ee19265247d591a7ce4d6b75cba13efb1abc326e6c5456729fec", kill_on_drop: false }` [INFO] [stderr] warning: method `scrape` is never used [INFO] [stderr] --> src/ops/tracker/http.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 62 | impl Client { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 93 | pub async fn scrape( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `build_scrape` is never used [INFO] [stderr] --> src/ops/tracker/http.rs:188:8 [INFO] [stderr] | [INFO] [stderr] 133 | impl TrackerRequestBuilder { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 188 | fn build_scrape(mut self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `do_scrape_request` is never used [INFO] [stderr] --> src/ops/tracker/udp.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 17 | impl UdpTrackerConnection { [INFO] [stderr] | ------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 74 | pub async fn do_scrape_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/ops/tracker/udp.rs:214:12 [INFO] [stderr] | [INFO] [stderr] 214 | Scrape(ScrapeResponse), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 214 | Scrape(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: method `has_pending_data` is never used [INFO] [stderr] --> src/utils/local_sync/channel.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 85 | impl Receiver { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 86 | pub fn has_pending_data(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `contains`, `remove_if`, and `is_empty` are never used [INFO] [stderr] --> src/utils/sealed.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Queue { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 24 | pub fn contains(&self, item: &T) -> bool [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | pub fn remove_if(&mut self, mut pred: F) -> bool [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/utils/sealed.rs:72:12 [INFO] [stderr] | [INFO] [stderr] 71 | impl Set { [INFO] [stderr] | ------------------------- associated function in this implementation [INFO] [stderr] 72 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `mtorrent` (lib) generated 7 warnings [INFO] [stderr] warning: method `has_pending_data` is never used [INFO] [stderr] --> src/utils/local_sync/channel.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 85 | impl Receiver { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] 86 | pub fn has_pending_data(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mtorrent` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mtorrent-ed99f7f374e21189) [INFO] [stdout] [INFO] [stdout] running 143 tests [INFO] [stdout] test data::block_accountant::tests::test_accountant_block_length_with_one_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_block_length_with_two_blocks ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_has_exact_block_with_one_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_ignore_overlapping_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_merge_into_following_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_merge_into_preceding_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_merge_overlapping_into_following_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_merge_overlapping_into_preceding_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_merge_with_following_and_preceding_blocks ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_merge_with_overlapping_following_and_preceding_blocks ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_remove_exact_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_remove_multiple_nonadjacent_blocks ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_shrink_block_from_head_end ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_shrink_block_from_tail_end ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_submit_one_block ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_split_block_into_two ... ok [INFO] [stdout] test data::piece_info::tests::last_incomplete_piece_is_handled_correctly ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_remove_multiple_nonadjacent_blocks_and_shrink ... ok [INFO] [stdout] test data::block_accountant::tests::test_accountant_replace_overlapping_block ... ok [INFO] [stdout] test data::piece_requests::tests::test_pending_requests_from_multiple_peers ... ok [INFO] [stdout] test data::piece_requests::tests::test_pending_requests_from_single_peer ... ok [INFO] [stdout] test data::piece_tracker::tests::test_dont_leak_empty_owner_count_entries ... ok [INFO] [stdout] test data::piece_tracker::tests::test_process_entire_bitfield_ignoring_forgotten_pieces ... ok [INFO] [stdout] test data::piece_tracker::tests::test_add_records_and_forget_piece ... ok [INFO] [stdout] test data::piece_tracker::tests::test_add_records_and_get_owners ... ok [INFO] [stdout] test data::piece_tracker::tests::test_add_records_and_get_rarest_and_poorest ... ok [INFO] [stdout] test data::piece_tracker::tests::test_dont_leak_empty_piece_count_entries ... ok [INFO] [stdout] test data::piece_tracker::tests::test_add_records_and_forget_peer ... ok [INFO] [stdout] test data::storage::tests::test_async_verify_block ... ok [INFO] [stdout] test data::storage::tests::test_read_piece_within_one_file ... ok [INFO] [stdout] test data::storage::tests::test_write_piece_on_file_boundary ... ok [INFO] [stdout] test data::storage::tests::test_write_piece_within_one_file ... ok [INFO] [stdout] test ops::connections::tests::test_incoming_control_respects_budget ... ok [INFO] [stdout] test ops::connections::tests::test_notify_when_incoming_connection_drops ... ok [INFO] [stdout] test ops::connections::tests::test_notify_when_outgoing_connection_drops ... ok [INFO] [stdout] test ops::connections::tests::test_outgoing_control_respects_uniqueness ... ok [INFO] [stdout] test ops::ctrl::tests::test_reciprocate_to_top_seeders_with_highest_bitrates ... ok [INFO] [stdout] test ops::ctrl::tests::test_deactivate_excessive_leeches ... ok [INFO] [stdout] test ops::ctrl::tests::test_replace_non_seeding_leech_with_a_seeder ... ok [INFO] [stdout] test ops::ctrl::tests::test_upload_to_non_seeders_but_reserve_slots_for_seeders ... ok [INFO] [stdout] test ops::ctrl::tests::test_switch_upload_between_non_seeding_peers ... ok [INFO] [stdout] test data::storage::tests::test_past_the_end_read_fails ... ok [INFO] [stdout] test data::storage::tests::test_read_piece_on_file_boundary ... ok [INFO] [stdout] test ops::ctrl::tests::test_request_rarest_piece_not_already_requested ... ok [INFO] [stdout] test data::storage::tests::test_async_detached_write_then_read_on_file_boundary ... ok [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/mtorrent-ed99f7f374e21189` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "4a9f48a6dc83ee19265247d591a7ce4d6b75cba13efb1abc326e6c5456729fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9f48a6dc83ee19265247d591a7ce4d6b75cba13efb1abc326e6c5456729fec", kill_on_drop: false }` [INFO] [stdout] 4a9f48a6dc83ee19265247d591a7ce4d6b75cba13efb1abc326e6c5456729fec