[INFO] cloning repository https://github.com/Herbstein/torrant [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Herbstein/torrant" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Ftorrant", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Ftorrant'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 910d6eb964ae7abfcdc19db9982eb331a282ae57 [INFO] building Herbstein/torrant against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Ftorrant" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Herbstein/torrant [INFO] finished tweaking git repo https://github.com/Herbstein/torrant [INFO] tweaked toml for git repo https://github.com/Herbstein/torrant written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Herbstein/torrant on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Herbstein/torrant 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a8644a91661f845d8f3cb2ad2e39681b1c35990dc41816b06f4b126fbb4dd13 [INFO] running `Command { std: "docker" "start" "-a" "9a8644a91661f845d8f3cb2ad2e39681b1c35990dc41816b06f4b126fbb4dd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a8644a91661f845d8f3cb2ad2e39681b1c35990dc41816b06f4b126fbb4dd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8644a91661f845d8f3cb2ad2e39681b1c35990dc41816b06f4b126fbb4dd13", kill_on_drop: false }` [INFO] [stdout] 9a8644a91661f845d8f3cb2ad2e39681b1c35990dc41816b06f4b126fbb4dd13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 201bb1e0898787c2cb55d9642c14ef9bd2ccc2908657210ab2e26f2256bda72c [INFO] running `Command { std: "docker" "start" "-a" "201bb1e0898787c2cb55d9642c14ef9bd2ccc2908657210ab2e26f2256bda72c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.12 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling cc v1.0.82 [INFO] [stderr] Compiling openssl v0.10.56 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ipnet v2.8.0 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.91 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling url v2.4.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v1.31.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling bendy v0.3.3 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.20 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.18 [INFO] [stderr] Compiling torrant v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `net::Ipv4Addr` and `time::Duration` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::Ipv4Addr, time::Duration}; [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 variable: `info_hash_formencoded` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let info_hash_formencoded = form_encode(&info_hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_hash_formencoded` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id_formencoded` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let peer_id_formencoded = form_encode(&peer_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id_formencoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let left = torrent.info.length(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompactTrackerResponse` is never constructed [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct CompactTrackerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce` and `announce_list` are never read [INFO] [stdout] --> src/info.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Torrent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | announce: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | #[serde(rename = "announce-list")] [INFO] [stdout] 12 | announce_list: Vec>, [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] [stdout] warning: method `announce` is never used [INFO] [stdout] --> src/info.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Torrent { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 17 | pub fn announce(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.18s [INFO] running `Command { std: "docker" "inspect" "201bb1e0898787c2cb55d9642c14ef9bd2ccc2908657210ab2e26f2256bda72c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "201bb1e0898787c2cb55d9642c14ef9bd2ccc2908657210ab2e26f2256bda72c", kill_on_drop: false }` [INFO] [stdout] 201bb1e0898787c2cb55d9642c14ef9bd2ccc2908657210ab2e26f2256bda72c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a3784dc7508f0910bf49a8aa4a6972f281cdabd0aad2801eda1c35eec71e83 [INFO] running `Command { std: "docker" "start" "-a" "15a3784dc7508f0910bf49a8aa4a6972f281cdabd0aad2801eda1c35eec71e83", kill_on_drop: false }` [INFO] [stderr] Compiling torrant v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `net::Ipv4Addr` and `time::Duration` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{net::Ipv4Addr, time::Duration}; [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 variable: `info_hash_formencoded` [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let info_hash_formencoded = form_encode(&info_hash); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_info_hash_formencoded` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `peer_id_formencoded` [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let peer_id_formencoded = form_encode(&peer_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_peer_id_formencoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let left = torrent.info.length(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let client = Client::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CompactTrackerResponse` is never constructed [INFO] [stdout] --> src/main.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | struct CompactTrackerResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce` and `announce_list` are never read [INFO] [stdout] --> src/info.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Torrent { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | announce: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 11 | #[serde(rename = "announce-list")] [INFO] [stdout] 12 | announce_list: Vec>, [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] [stdout] warning: method `announce` is never used [INFO] [stdout] --> src/info.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Torrent { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 17 | pub fn announce(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s [INFO] running `Command { std: "docker" "inspect" "15a3784dc7508f0910bf49a8aa4a6972f281cdabd0aad2801eda1c35eec71e83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a3784dc7508f0910bf49a8aa4a6972f281cdabd0aad2801eda1c35eec71e83", kill_on_drop: false }` [INFO] [stdout] 15a3784dc7508f0910bf49a8aa4a6972f281cdabd0aad2801eda1c35eec71e83