[INFO] cloning repository https://github.com/crux-bphc/crux-torrent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/crux-bphc/crux-torrent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9ce4c7068655820374773d29f71c8fe9fdedf9d [INFO] checking crux-bphc/crux-torrent against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcrux-bphc%2Fcrux-torrent" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/crux-bphc/crux-torrent on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/crux-bphc/crux-torrent [INFO] finished tweaking git repo https://github.com/crux-bphc/crux-torrent [INFO] tweaked toml for git repo https://github.com/crux-bphc/crux-torrent written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/crux-bphc/crux-torrent 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_str_ops v0.1.2 [INFO] [stderr] Downloaded bumpalo v3.15.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b720c5b780d339cd8d725d9959e8d65f6fce288866e5eb1eff8b1972dde7dda1 [INFO] running `Command { std: "docker" "start" "-a" "b720c5b780d339cd8d725d9959e8d65f6fce288866e5eb1eff8b1972dde7dda1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b720c5b780d339cd8d725d9959e8d65f6fce288866e5eb1eff8b1972dde7dda1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b720c5b780d339cd8d725d9959e8d65f6fce288866e5eb1eff8b1972dde7dda1", kill_on_drop: false }` [INFO] [stdout] b720c5b780d339cd8d725d9959e8d65f6fce288866e5eb1eff8b1972dde7dda1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5178f2d1d0277f56fc21c9b60755e5dde14d6a48f75eb774bf54646876a9389f [INFO] running `Command { std: "docker" "start" "-a" "5178f2d1d0277f56fc21c9b60755e5dde14d6a48f75eb774bf54646876a9389f", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.86 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling openssl-sys v0.9.100 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling gensym v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking static_str_ops v0.1.2 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_bencode v0.2.4 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking crux-torrent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/cli/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{self, Parser}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_bencode` is imported redundantly [INFO] [stdout] --> src/metainfo/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_bencode; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `serde_bencode` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `urlencoding` is imported redundantly [INFO] [stdout] --> src/tracker/request.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use urlencoding; [INFO] [stdout] | ^^^^^^^^^^^ the item `urlencoding` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/cli/mod.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::{self, Parser}; [INFO] [stdout] | ^^^^ the item `clap` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_bencode` is imported redundantly [INFO] [stdout] --> src/metainfo/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_bencode; [INFO] [stdout] | ^^^^^^^^^^^^^ the item `serde_bencode` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `urlencoding` is imported redundantly [INFO] [stdout] --> src/tracker/request.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use urlencoding; [INFO] [stdout] | ^^^^^^^^^^^ the item `urlencoding` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/tracker/mod.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | async fn announce(self, request: &TrackerRequest) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/tracker/mod.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | async fn announce(self, request: &TrackerRequest) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udp_url` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | TrackerUrl::UDP(udp_url) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read [INFO] [stdout] --> src/metainfo/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Metainfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub announce_list: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub creation_date: Option, // seconds since unix epoch [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub created_by: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metainfo` 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: fields `client` and `announce_url` are never read [INFO] [stdout] --> src/tracker/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UdpTracker<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | client: &'a UdpSocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | announce_url: UdpUrl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tracker/peers.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PeerAddresses(Vec); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PeerAddresses` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PeerAddresses(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_interval_seconds` and `peer_addreses` are never read [INFO] [stdout] --> src/tracker/response.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrackerResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | #[serde(rename = "interval")] [INFO] [stdout] 7 | pub request_interval_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub peer_addreses: PeerAddresses, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udp_url` [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | TrackerUrl::UDP(udp_url) => todo!(), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce_list`, `creation_date`, `created_by`, `comment`, and `encoding` are never read [INFO] [stdout] --> src/metainfo/mod.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Metainfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub announce_list: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub creation_date: Option, // seconds since unix epoch [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub created_by: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub encoding: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metainfo` 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: fields `client` and `announce_url` are never read [INFO] [stdout] --> src/tracker/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct UdpTracker<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | client: &'a UdpSocket, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | announce_url: UdpUrl, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/tracker/peers.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PeerAddresses(Vec); [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `PeerAddresses` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PeerAddresses(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request_interval_seconds` and `peer_addreses` are never read [INFO] [stdout] --> src/tracker/response.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TrackerResponse { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | #[serde(rename = "interval")] [INFO] [stdout] 7 | pub request_interval_seconds: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub peer_addreses: PeerAddresses, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackerResponse` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.23s [INFO] running `Command { std: "docker" "inspect" "5178f2d1d0277f56fc21c9b60755e5dde14d6a48f75eb774bf54646876a9389f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5178f2d1d0277f56fc21c9b60755e5dde14d6a48f75eb774bf54646876a9389f", kill_on_drop: false }` [INFO] [stdout] 5178f2d1d0277f56fc21c9b60755e5dde14d6a48f75eb774bf54646876a9389f