[INFO] cloning repository https://github.com/CroxxN/torain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CroxxN/torain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCroxxN%2Ftorain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCroxxN%2Ftorain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad29eb03098c0d62469641008eb66c6a374153cc [INFO] checking CroxxN/torain against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCroxxN%2Ftorain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/CroxxN/torain [INFO] finished tweaking git repo https://github.com/CroxxN/torain [INFO] tweaked toml for git repo https://github.com/CroxxN/torain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/CroxxN/torain on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e5c4b711c50b3e4eb542ac0028c951b23fe6a69005d4f71c330faa028bfbffe [INFO] running `Command { std: "docker" "start" "-a" "9e5c4b711c50b3e4eb542ac0028c951b23fe6a69005d4f71c330faa028bfbffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e5c4b711c50b3e4eb542ac0028c951b23fe6a69005d4f71c330faa028bfbffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e5c4b711c50b3e4eb542ac0028c951b23fe6a69005d4f71c330faa028bfbffe", kill_on_drop: false }` [INFO] [stdout] 9e5c4b711c50b3e4eb542ac0028c951b23fe6a69005d4f71c330faa028bfbffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29aadc3c309d9541bb31b5da6c2d892df5d5fb6fe60802fe12caad11c9d1edac [INFO] running `Command { std: "docker" "start" "-a" "29aadc3c309d9541bb31b5da6c2d892df5d5fb6fe60802fe12caad11c9d1edac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking crypto v0.1.0 (/opt/rustwide/workdir/crypto) [INFO] [stderr] Checking torain v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking uttd v0.1.0 (/opt/rustwide/workdir/uttd) [INFO] [stdout] warning: constant `ST_DATA` is never used [INFO] [stdout] --> uttd/src/utp.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const ST_DATA: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_FIN` is never used [INFO] [stdout] --> uttd/src/utp.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const ST_FIN: u8 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_STATE` is never used [INFO] [stdout] --> uttd/src/utp.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ST_STATE: u8 = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_RESET` is never used [INFO] [stdout] --> uttd/src/utp.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ST_RESET: u8 = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bencode v0.1.0 (/opt/rustwide/workdir/bencode) [INFO] [stderr] Checking d2h2 v0.1.0 (/opt/rustwide/workdir/d2h2) [INFO] [stderr] Checking torrent v0.1.0 (/opt/rustwide/workdir/torrent) [INFO] [stdout] warning: unused variable: `info_hash` [INFO] [stdout] --> d2h2/src/lib.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_peers(&self, info_hash: &[u8; 20]) -> Result, D2H2ClientError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `find_peers` are never used [INFO] [stdout] --> d2h2/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl D2H2Client { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(preffered: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn find_peers(&self, info_hash: &[u8; 20]) -> Result, D2H2ClientError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `D2H2ClientError` is never used [INFO] [stdout] --> d2h2/src/error.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum D2H2ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Query` is never used [INFO] [stdout] --> d2h2/src/request.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestBucket` is never constructed [INFO] [stdout] --> d2h2/src/request.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RequestBucket<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_request`, and `get_request` are never used [INFO] [stdout] --> d2h2/src/request.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> RequestBucket<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add_request(&mut self, transaction_id: &'a str, query: Query) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_request(&mut self, transaction_id: &'a str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_bucket` is never used [INFO] [stdout] --> d2h2/src/request.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn check_bucket() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_DATA` is never used [INFO] [stdout] --> uttd/src/utp.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const ST_DATA: u8 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_FIN` is never used [INFO] [stdout] --> uttd/src/utp.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const ST_FIN: u8 = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_STATE` is never used [INFO] [stdout] --> uttd/src/utp.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const ST_STATE: u8 = 2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ST_RESET` is never used [INFO] [stdout] --> uttd/src/utp.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ST_RESET: u8 = 3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info_hash` [INFO] [stdout] --> d2h2/src/lib.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn find_peers(&self, info_hash: &[u8; 20]) -> Result, D2H2ClientError> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_hash` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `find_peers` are never used [INFO] [stdout] --> d2h2/src/lib.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl D2H2Client { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new(preffered: Option) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn find_peers(&self, info_hash: &[u8; 20]) -> Result, D2H2ClientError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `D2H2ClientError` is never used [INFO] [stdout] --> d2h2/src/error.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | pub enum D2H2ClientError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Query` is never used [INFO] [stdout] --> d2h2/src/request.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Query { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestBucket` is never constructed [INFO] [stdout] --> d2h2/src/request.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RequestBucket<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_request`, and `get_request` are never used [INFO] [stdout] --> d2h2/src/request.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> RequestBucket<'a> { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn add_request(&mut self, transaction_id: &'a str, query: Query) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_request(&mut self, transaction_id: &'a str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.52s [INFO] running `Command { std: "docker" "inspect" "29aadc3c309d9541bb31b5da6c2d892df5d5fb6fe60802fe12caad11c9d1edac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29aadc3c309d9541bb31b5da6c2d892df5d5fb6fe60802fe12caad11c9d1edac", kill_on_drop: false }` [INFO] [stdout] 29aadc3c309d9541bb31b5da6c2d892df5d5fb6fe60802fe12caad11c9d1edac