[INFO] cloning repository https://github.com/SaurabhGoyal/torrentrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SaurabhGoyal/torrentrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurabhGoyal%2Ftorrentrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurabhGoyal%2Ftorrentrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5acf3e5c700d35f384d413129b37f4970b5a9100 [INFO] building SaurabhGoyal/torrentrs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurabhGoyal%2Ftorrentrs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SaurabhGoyal/torrentrs [INFO] finished tweaking git repo https://github.com/SaurabhGoyal/torrentrs [INFO] tweaked toml for git repo https://github.com/SaurabhGoyal/torrentrs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SaurabhGoyal/torrentrs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SaurabhGoyal/torrentrs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bendy v0.3.3 [INFO] [stderr] Downloaded hyper-util v0.1.6 [INFO] [stderr] Downloaded rustls-webpki v0.102.5 [INFO] [stderr] Downloaded hyper v1.4.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b560ad6b6534395a7e99b9db6d47f3325b4e806e7cbdb9d54b03c4aefc14069 [INFO] running `Command { std: "docker" "start" "-a" "1b560ad6b6534395a7e99b9db6d47f3325b4e806e7cbdb9d54b03c4aefc14069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b560ad6b6534395a7e99b9db6d47f3325b4e806e7cbdb9d54b03c4aefc14069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b560ad6b6534395a7e99b9db6d47f3325b4e806e7cbdb9d54b03c4aefc14069", kill_on_drop: false }` [INFO] [stdout] 1b560ad6b6534395a7e99b9db6d47f3325b4e806e7cbdb9d54b03c4aefc14069 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b00df4679f7e7a5b6acda95710da1fb5cc741d6d7689c5618db4b8b7e68d74b [INFO] running `Command { std: "docker" "start" "-a" "8b00df4679f7e7a5b6acda95710da1fb5cc741d6d7689c5618db4b8b7e68d74b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling object v0.36.1 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling bendy v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.120 [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 hyper v1.4.0 [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 torrentrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng as _` [INFO] [stdout] --> src/client.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng as _, RngCore}; [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 import: `tracker::TrackerManager` [INFO] [stdout] --> src/torrent/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tracker::TrackerManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TorrentStatus` is never used [INFO] [stdout] --> src/client.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum TorrentStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/torrent/models.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) struct Piece { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(super) index: usize, [INFO] [stdout] 25 | pub(super) length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` 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 `directory` is never read [INFO] [stdout] --> src/torrent/models.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub(super) struct Torrent { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub(super) directory: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Torrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.18s [INFO] running `Command { std: "docker" "inspect" "8b00df4679f7e7a5b6acda95710da1fb5cc741d6d7689c5618db4b8b7e68d74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b00df4679f7e7a5b6acda95710da1fb5cc741d6d7689c5618db4b8b7e68d74b", kill_on_drop: false }` [INFO] [stdout] 8b00df4679f7e7a5b6acda95710da1fb5cc741d6d7689c5618db4b8b7e68d74b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1608148561f1324bacdbf67e4e2171c3b221d2b4258fa03f2fc6072b98e54fe4 [INFO] running `Command { std: "docker" "start" "-a" "1608148561f1324bacdbf67e4e2171c3b221d2b4258fa03f2fc6072b98e54fe4", kill_on_drop: false }` [INFO] [stderr] Compiling torrentrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng as _` [INFO] [stdout] --> src/client.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{Rng as _, RngCore}; [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 import: `tracker::TrackerManager` [INFO] [stdout] --> src/torrent/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use tracker::TrackerManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TorrentStatus` is never used [INFO] [stdout] --> src/client.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum TorrentStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `length` is never read [INFO] [stdout] --> src/torrent/models.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub(super) struct Piece { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 24 | pub(super) index: usize, [INFO] [stdout] 25 | pub(super) length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` 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 `directory` is never read [INFO] [stdout] --> src/torrent/models.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 59 | pub(super) struct Torrent { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub(super) directory: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Torrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "1608148561f1324bacdbf67e4e2171c3b221d2b4258fa03f2fc6072b98e54fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1608148561f1324bacdbf67e4e2171c3b221d2b4258fa03f2fc6072b98e54fe4", kill_on_drop: false }` [INFO] [stdout] 1608148561f1324bacdbf67e4e2171c3b221d2b4258fa03f2fc6072b98e54fe4