[INFO] cloning repository https://github.com/erwindy/rust_torrent_client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erwindy/rust_torrent_client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwindy%2Frust_torrent_client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwindy%2Frust_torrent_client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e068e06946a64b6fe2b3be999744ccef482849f9 [INFO] testing erwindy/rust_torrent_client against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferwindy%2Frust_torrent_client" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erwindy/rust_torrent_client on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erwindy/rust_torrent_client [INFO] finished tweaking git repo https://github.com/erwindy/rust_torrent_client [INFO] tweaked toml for git repo https://github.com/erwindy/rust_torrent_client written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erwindy/rust_torrent_client 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" "+1.84.0" "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] [stderr] Downloaded serde_json v1.0.80 [INFO] [stderr] Downloaded lava_torrent v0.7.0 [INFO] [stderr] Downloaded tokio v1.18.0 [INFO] [stderr] Downloaded bt_bencode v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c724c801fca4d1c41a222e8c9edbc4b47a4cf9a048de644b08e65b1724644a2d [INFO] running `Command { std: "docker" "start" "-a" "c724c801fca4d1c41a222e8c9edbc4b47a4cf9a048de644b08e65b1724644a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c724c801fca4d1c41a222e8c9edbc4b47a4cf9a048de644b08e65b1724644a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c724c801fca4d1c41a222e8c9edbc4b47a4cf9a048de644b08e65b1724644a2d", kill_on_drop: false }` [INFO] [stdout] c724c801fca4d1c41a222e8c9edbc4b47a4cf9a048de644b08e65b1724644a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53795864731c7f7cbfa1a87d1123854b18c8555930646dd36a61b252db6bbd92 [INFO] running `Command { std: "docker" "start" "-a" "53795864731c7f7cbfa1a87d1123854b18c8555930646dd36a61b252db6bbd92", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling serde_json v1.0.80 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_bytes v0.11.6 [INFO] [stderr] Compiling bt_bencode v0.6.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling bendy v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling lava_torrent v0.7.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling torrent_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `torrent` is never read [INFO] [stdout] --> src/torrent_file/torrent_file.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CustomTorrent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | pub torrent: Torrent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomTorrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interval` is never read [INFO] [stdout] --> src/torrent_file/tracker.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BencodeTrackerResp { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 9 | pub interval: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BencodeTrackerResp` 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 `name` is never read [INFO] [stdout] --> src/p2p/p2p.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct P2pTorrent { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `P2pTorrent` 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 `hash` is never read [INFO] [stdout] --> src/p2p/p2p.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct PieceWork { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | index: usize, [INFO] [stdout] 22 | hash: [u8; 20], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PieceWork` 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 `peer`, `info_hash`, and `peer_id` are never read [INFO] [stdout] --> src/client/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CustomClient<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | peer: &'a Peer, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | info_hash: &'a [u8; 20], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | peer_id: [u8; 20], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `peerId` should have a snake case name [INFO] [stdout] --> src/p2p/p2p.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | peerId: [u8; 20], [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `peer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `infoHash` should have a snake case name [INFO] [stdout] --> src/p2p/p2p.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | infoHash: [u8; 20], [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `info_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.82s [INFO] running `Command { std: "docker" "inspect" "53795864731c7f7cbfa1a87d1123854b18c8555930646dd36a61b252db6bbd92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53795864731c7f7cbfa1a87d1123854b18c8555930646dd36a61b252db6bbd92", kill_on_drop: false }` [INFO] [stdout] 53795864731c7f7cbfa1a87d1123854b18c8555930646dd36a61b252db6bbd92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a187ed584b0810fd3d5e1445ddc1ea72e4847009613b0ed857d86e227692811 [INFO] running `Command { std: "docker" "start" "-a" "3a187ed584b0810fd3d5e1445ddc1ea72e4847009613b0ed857d86e227692811", kill_on_drop: false }` [INFO] [stderr] Compiling torrent_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `torrent` is never read [INFO] [stdout] --> src/torrent_file/torrent_file.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CustomTorrent { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 20 | pub torrent: Torrent, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CustomTorrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `interval` is never read [INFO] [stdout] --> src/torrent_file/tracker.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct BencodeTrackerResp { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 9 | pub interval: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BencodeTrackerResp` 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 `name` is never read [INFO] [stdout] --> src/p2p/p2p.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct P2pTorrent { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `P2pTorrent` 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 `hash` is never read [INFO] [stdout] --> src/p2p/p2p.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct PieceWork { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 21 | index: usize, [INFO] [stdout] 22 | hash: [u8; 20], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PieceWork` 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 `peer`, `info_hash`, and `peer_id` are never read [INFO] [stdout] --> src/client/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct CustomClient<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | peer: &'a Peer, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | info_hash: &'a [u8; 20], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | peer_id: [u8; 20], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `peerId` should have a snake case name [INFO] [stdout] --> src/p2p/p2p.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | peerId: [u8; 20], [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `peer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `infoHash` should have a snake case name [INFO] [stdout] --> src/p2p/p2p.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | infoHash: [u8; 20], [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `info_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "3a187ed584b0810fd3d5e1445ddc1ea72e4847009613b0ed857d86e227692811", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a187ed584b0810fd3d5e1445ddc1ea72e4847009613b0ed857d86e227692811", kill_on_drop: false }` [INFO] [stdout] 3a187ed584b0810fd3d5e1445ddc1ea72e4847009613b0ed857d86e227692811 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c8f3f358d8b0665a3efd0d2b2eda2cfec41f134805c2f3d54b29009f83107379 [INFO] running `Command { std: "docker" "start" "-a" "c8f3f358d8b0665a3efd0d2b2eda2cfec41f134805c2f3d54b29009f83107379", kill_on_drop: false }` [INFO] [stderr] warning: field `torrent` is never read [INFO] [stderr] --> src/torrent_file/torrent_file.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct CustomTorrent { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 20 | pub torrent: Torrent, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CustomTorrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `interval` is never read [INFO] [stderr] --> src/torrent_file/tracker.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct BencodeTrackerResp { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 9 | pub interval: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BencodeTrackerResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/p2p/p2p.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct P2pTorrent { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 16 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `P2pTorrent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `hash` is never read [INFO] [stderr] --> src/p2p/p2p.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | struct PieceWork { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 21 | index: usize, [INFO] [stderr] 22 | hash: [u8; 20], [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PieceWork` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `peer`, `info_hash`, and `peer_id` are never read [INFO] [stderr] --> src/client/client.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct CustomClient<'a> { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | peer: &'a Peer, [INFO] [stderr] | ^^^^ [INFO] [stderr] 10 | info_hash: &'a [u8; 20], [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 11 | peer_id: [u8; 20], [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `peerId` should have a snake case name [INFO] [stderr] --> src/p2p/p2p.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | peerId: [u8; 20], [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `peer_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `infoHash` should have a snake case name [INFO] [stderr] --> src/p2p/p2p.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | infoHash: [u8; 20], [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `info_hash` [INFO] [stderr] [INFO] [stderr] warning: `torrent_client` (bin "torrent_client" test) generated 7 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/torrent_client-2bfa14ce3eea2721) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c8f3f358d8b0665a3efd0d2b2eda2cfec41f134805c2f3d54b29009f83107379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8f3f358d8b0665a3efd0d2b2eda2cfec41f134805c2f3d54b29009f83107379", kill_on_drop: false }` [INFO] [stdout] c8f3f358d8b0665a3efd0d2b2eda2cfec41f134805c2f3d54b29009f83107379