[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaurabhGoyal%2Ftorrentrs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SaurabhGoyal/torrentrs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bendy v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01787860b3a3576deb74027d64936c16b858552caa40ae5251d040835da4ebb6 [INFO] running `Command { std: "docker" "start" "-a" "01787860b3a3576deb74027d64936c16b858552caa40ae5251d040835da4ebb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01787860b3a3576deb74027d64936c16b858552caa40ae5251d040835da4ebb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01787860b3a3576deb74027d64936c16b858552caa40ae5251d040835da4ebb6", kill_on_drop: false }` [INFO] [stdout] 01787860b3a3576deb74027d64936c16b858552caa40ae5251d040835da4ebb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ea4211ab44d4186287c91333bd5bc7dd7ea446ce73ff86dff6b13509e27d0d4 [INFO] running `Command { std: "docker" "start" "-a" "5ea4211ab44d4186287c91333bd5bc7dd7ea446ce73ff86dff6b13509e27d0d4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling backtrace v0.3.73 [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 tower-layer v0.3.2 [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 urlencoding v2.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling openssl v0.10.64 [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 native-tls v0.2.12 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.120 [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 40.72s [INFO] running `Command { std: "docker" "inspect" "5ea4211ab44d4186287c91333bd5bc7dd7ea446ce73ff86dff6b13509e27d0d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ea4211ab44d4186287c91333bd5bc7dd7ea446ce73ff86dff6b13509e27d0d4", kill_on_drop: false }` [INFO] [stdout] 5ea4211ab44d4186287c91333bd5bc7dd7ea446ce73ff86dff6b13509e27d0d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f19dc772f46bfd77fd137022a745653e11dbf07926357fa912393495fcf0d55b [INFO] running `Command { std: "docker" "start" "-a" "f19dc772f46bfd77fd137022a745653e11dbf07926357fa912393495fcf0d55b", 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.71s [INFO] running `Command { std: "docker" "inspect" "f19dc772f46bfd77fd137022a745653e11dbf07926357fa912393495fcf0d55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f19dc772f46bfd77fd137022a745653e11dbf07926357fa912393495fcf0d55b", kill_on_drop: false }` [INFO] [stdout] f19dc772f46bfd77fd137022a745653e11dbf07926357fa912393495fcf0d55b