[INFO] cloning repository https://github.com/BenMagill/local-drop
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenMagill/local-drop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMagill%2Flocal-drop", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMagill%2Flocal-drop'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 331bcd25e725183a128f2062682093b711b0fe3a
[INFO] building BenMagill/local-drop against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenMagill%2Flocal-drop" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BenMagill/local-drop on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BenMagill/local-drop
[INFO] finished tweaking git repo https://github.com/BenMagill/local-drop
[INFO] tweaked toml for git repo https://github.com/BenMagill/local-drop written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/BenMagill/local-drop 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.186
[INFO] [stderr]   Downloaded zeroconf-macros v0.1.2
[INFO] [stderr]   Downloaded derive_builder v0.9.0
[INFO] [stderr]   Downloaded derive-getters v0.2.1
[INFO] [stderr]   Downloaded winsplit v0.1.0
[INFO] [stderr]   Downloaded avahi-sys v0.10.0
[INFO] [stderr]   Downloaded derive_builder_core v0.9.0
[INFO] [stderr]   Downloaded crossbeam v0.8.2
[INFO] [stderr]   Downloaded unicode-linebreak v0.1.5
[INFO] [stderr]   Downloaded anstyle v1.0.2
[INFO] [stderr]   Downloaded clap_derive v4.4.0
[INFO] [stderr]   Downloaded requestty-ui v0.5.0
[INFO] [stderr]   Downloaded clap v4.4.1
[INFO] [stderr]   Downloaded indicatif v0.17.6
[INFO] [stderr]   Downloaded requestty v0.5.0
[INFO] [stderr]   Downloaded textwrap v0.15.2
[INFO] [stderr]   Downloaded zeroconf v0.11.1
[INFO] [stderr]   Downloaded clap_builder v4.4.1
[INFO] [stderr]   Downloaded nom v5.1.3
[INFO] [stderr]   Downloaded bindgen v0.55.1
[INFO] [stderr]   Downloaded portable-atomic v1.4.3
[INFO] [stderr]   Downloaded aho-corasick v1.0.4
[INFO] [stderr]   Downloaded smawk v0.3.1
[INFO] [stderr]   Downloaded syn v2.0.29
[INFO] [stderr]   Downloaded cexpr v0.4.0
[INFO] [stderr]   Downloaded which v3.1.1
[INFO] [stderr]   Downloaded bonjour-sys v0.1.0
[INFO] [stderr]   Downloaded serde v1.0.186
[INFO] [stderr]   Downloaded shlex v0.1.1
[INFO] [stderr]   Downloaded rustix v0.38.9
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 78e288307c7444336ae95b546aa945b3cbf75ffbc4ed3b989e3c8f086a365c7e
[INFO] running `Command { std: "docker" "start" "-a" "78e288307c7444336ae95b546aa945b3cbf75ffbc4ed3b989e3c8f086a365c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "78e288307c7444336ae95b546aa945b3cbf75ffbc4ed3b989e3c8f086a365c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78e288307c7444336ae95b546aa945b3cbf75ffbc4ed3b989e3c8f086a365c7e", kill_on_drop: false }`
[INFO] [stdout] 78e288307c7444336ae95b546aa945b3cbf75ffbc4ed3b989e3c8f086a365c7e
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 33a922809c022d1fd221c7f031dc40f2d8b0d787c5c2f06dd743b61a265336fd
[INFO] running `Command { std: "docker" "start" "-a" "33a922809c022d1fd221c7f031dc40f2d8b0d787c5c2f06dd743b61a265336fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling unicode-width v0.1.10
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling nom v5.1.3
[INFO] [stderr]    Compiling regex-syntax v0.7.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling clang-sys v1.6.1
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling aho-corasick v1.0.4
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling bindgen v0.55.1
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling strsim v0.9.3
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling syn v2.0.29
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling regex-automata v0.3.6
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling rustix v0.38.9
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling anstyle-parse v0.2.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling serde v1.0.186
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling darling_core v0.10.2
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling anstyle-query v1.0.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling derive_builder v0.9.0
[INFO] [stderr]    Compiling regex v1.9.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.8
[INFO] [stderr]    Compiling anstyle v1.0.2
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling smawk v0.3.1
[INFO] [stderr]    Compiling portable-atomic v1.4.3
[INFO] [stderr]    Compiling textwrap v0.15.2
[INFO] [stderr]    Compiling anstream v0.5.0
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling fastrand v2.0.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling serde_derive v1.0.186
[INFO] [stderr]    Compiling darling_macro v0.10.2
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling clap_lex v0.5.1
[INFO] [stderr]    Compiling darling v0.10.2
[INFO] [stderr]    Compiling clap_derive v4.4.0
[INFO] [stderr]    Compiling derive_builder_core v0.9.0
[INFO] [stderr]    Compiling clap_builder v4.4.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling requestty-ui v0.5.0
[INFO] [stderr]    Compiling derive-getters v0.2.1
[INFO] [stderr]    Compiling tempfile v3.8.0
[INFO] [stderr]    Compiling derive-new v0.5.9
[INFO] [stderr]    Compiling zeroconf-macros v0.1.2
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling console v0.15.7
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling requestty v0.5.0
[INFO] [stderr]    Compiling indicatif v0.17.6
[INFO] [stderr]    Compiling crossbeam v0.8.2
[INFO] [stderr]    Compiling clap v4.4.1
[INFO] [stderr]    Compiling avahi-sys v0.10.0
[INFO] [stderr]    Compiling zeroconf v0.11.1
[INFO] [stderr]    Compiling local-drop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `io::Read` and `net::TcpStream`
[INFO] [stdout]  --> src/comms.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io::Read, net::TcpStream};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io::Read` and `net::TcpStream`
[INFO] [stdout]  --> src/comms.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io::Read, net::TcpStream};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]   --> src/sender.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{env, fs::File, io::Read, thread};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_u8` is never used
[INFO] [stdout]   --> src/comms.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Serialiser {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_u8(&mut self, data: u8) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AskOk`, `AskDeny`, and `DataRecvd` are never constructed
[INFO] [stdout]   --> src/message.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum MessageType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 10 |     Ask = 0b0000_0001,
[INFO] [stdout] 11 |     AskOk = 0b0000_0010,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     AskDeny = 0b000_0011,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     Data = 0b0000_0100,
[INFO] [stdout] 14 |     DataRecvd = 0b0000_0101,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_size` and `file_name` are never read
[INFO] [stdout]   --> src/message.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AskInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 25 |     pub file_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 26 |     pub file_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AskInfo` 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 `0` is never read
[INFO] [stdout]   --> src/message.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Ask(AskInfo),
[INFO] [stdout]    |     --- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[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] 30 |     Ask(()),
[INFO] [stdout]    |         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_ask_ok`, `build_ask_deny`, and `build_data_received` are never used
[INFO] [stdout]    --> src/message.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl Message {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn build_ask_ok() -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn build_ask_deny() -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn build_data_received() -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_first_byte` and `read_amount_closure` are never used
[INFO] [stdout]    --> src/message.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl Stream {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn read_first_byte(&mut self) -> (u32, u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn read_amount_closure<F>(&mut self, amount: u32, clsr: F) -> Vec<u8>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `service_name` is never read
[INFO] [stdout]   --> src/peer.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 12 |     service_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `announce` is never used
[INFO] [stdout]   --> src/peer.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl PeerService {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn announce(name: String, port: u16) -> JoinHandle<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `service_name` is never read
[INFO] [stdout]   --> src/receiver.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 29 |     service_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Context` 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: method `to_bytes` is never used
[INFO] [stdout]   --> src/comms.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait Encoder {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] 22 |     fn to_bytes(&self) -> Vec<u8>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Serialiser` is never constructed
[INFO] [stdout]   --> src/comms.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Serialiser {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_u8`, `add`, and `output` are never used
[INFO] [stdout]   --> src/comms.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Serialiser {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 56 |     pub fn new() -> Serialiser {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_u8(&mut self, data: u8) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn add(&mut self, data: impl Encoder) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn output(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Ask` and `Data` are never constructed
[INFO] [stdout]   --> src/message.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum MessageType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 10 |     Ask = 0b0000_0001,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Data = 0b0000_0100,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_ask` and `build_data` are never used
[INFO] [stdout]    --> src/message.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl Message {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn build_ask(file_name: &str, file_size: u32) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn build_data(data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `address`, `port`, and `name` are never read
[INFO] [stdout]   --> src/peer.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 19 |     pub address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peers` and `stop` are never read
[INFO] [stdout]   --> src/peer.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct PeerService {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 25 |     peers: Arc<Mutex<Peers>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     stop: Arc<Mutex<bool>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_peers`, `start_search`, and `end_search` are never used
[INFO] [stdout]   --> src/peer.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl PeerService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> PeerService {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn get_peers(&self) -> Peers {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn start_search(&self) -> JoinHandle<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn end_search(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "33a922809c022d1fd221c7f031dc40f2d8b0d787c5c2f06dd743b61a265336fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33a922809c022d1fd221c7f031dc40f2d8b0d787c5c2f06dd743b61a265336fd", kill_on_drop: false }`
[INFO] [stdout] 33a922809c022d1fd221c7f031dc40f2d8b0d787c5c2f06dd743b61a265336fd
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc2d1ffaf5c73d2c44c82a4817ed19841bf92756969c1f856791038c4dad7611
[INFO] running `Command { std: "docker" "start" "-a" "cc2d1ffaf5c73d2c44c82a4817ed19841bf92756969c1f856791038c4dad7611", kill_on_drop: false }`
[INFO] [stderr]    Compiling local-drop v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `io::Read` and `net::TcpStream`
[INFO] [stdout]  --> src/comms.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io::Read, net::TcpStream};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io::Read` and `net::TcpStream`
[INFO] [stdout]  --> src/comms.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io::Read, net::TcpStream};
[INFO] [stdout]   |           ^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]   --> src/sender.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::{env, fs::File, io::Read, thread};
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `service_name` is never read
[INFO] [stdout]   --> src/receiver.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 29 |     service_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Context` 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: method `to_bytes` is never used
[INFO] [stdout]   --> src/comms.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub trait Encoder {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] 22 |     fn to_bytes(&self) -> Vec<u8>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Serialiser` is never constructed
[INFO] [stdout]   --> src/comms.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub struct Serialiser {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_u8`, `add`, and `output` are never used
[INFO] [stdout]   --> src/comms.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Serialiser {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 56 |     pub fn new() -> Serialiser {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_u8(&mut self, data: u8) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn add(&mut self, data: impl Encoder) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn output(&self) -> Vec<u8> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Ask` and `Data` are never constructed
[INFO] [stdout]   --> src/message.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum MessageType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 10 |     Ask = 0b0000_0001,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     Data = 0b0000_0100,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_ask` and `build_data` are never used
[INFO] [stdout]    --> src/message.rs:63:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl Message {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 63  |     pub fn build_ask(file_name: &str, file_size: u32) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn build_data(data: &Vec<u8>) -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `address`, `port`, and `name` are never read
[INFO] [stdout]   --> src/peer.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Peer {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 19 |     pub address: String,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 20 |     pub port: u16,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 21 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peers` and `stop` are never read
[INFO] [stdout]   --> src/peer.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct PeerService {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 25 |     peers: Arc<Mutex<Peers>>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 26 |     stop: Arc<Mutex<bool>>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `get_peers`, `start_search`, and `end_search` are never used
[INFO] [stdout]   --> src/peer.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl PeerService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 30 |     pub fn new() -> PeerService {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn get_peers(&self) -> Peers {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn start_search(&self) -> JoinHandle<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn end_search(&self) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_u8` is never used
[INFO] [stdout]   --> src/comms.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Serialiser {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn add_u8(&mut self, data: u8) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `AskOk`, `AskDeny`, and `DataRecvd` are never constructed
[INFO] [stdout]   --> src/message.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub enum MessageType {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 10 |     Ask = 0b0000_0001,
[INFO] [stdout] 11 |     AskOk = 0b0000_0010,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 12 |     AskDeny = 0b000_0011,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 13 |     Data = 0b0000_0100,
[INFO] [stdout] 14 |     DataRecvd = 0b0000_0101,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MessageType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `file_size` and `file_name` are never read
[INFO] [stdout]   --> src/message.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct AskInfo {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 25 |     pub file_size: u32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 26 |     pub file_name: String,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AskInfo` 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 `0` is never read
[INFO] [stdout]   --> src/message.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     Ask(AskInfo),
[INFO] [stdout]    |     --- ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[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] 30 |     Ask(()),
[INFO] [stdout]    |         ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `build_ask_ok`, `build_ask_deny`, and `build_data_received` are never used
[INFO] [stdout]    --> src/message.rs:112:12
[INFO] [stdout]     |
[INFO] [stdout] 37  | impl Message {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     pub fn build_ask_ok() -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn build_ask_deny() -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn build_data_received() -> Vec<u8> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_first_byte` and `read_amount_closure` are never used
[INFO] [stdout]    --> src/message.rs:169:12
[INFO] [stdout]     |
[INFO] [stdout] 151 | impl Stream {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 169 |     pub fn read_first_byte(&mut self) -> (u32, u8) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |     pub fn read_amount_closure<F>(&mut self, amount: u32, clsr: F) -> Vec<u8>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `service_name` is never read
[INFO] [stdout]   --> src/peer.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Context {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 12 |     service_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Context` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `announce` is never used
[INFO] [stdout]   --> src/peer.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl PeerService {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78 |     pub fn announce(name: String, port: u16) -> JoinHandle<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.29s
[INFO] running `Command { std: "docker" "inspect" "cc2d1ffaf5c73d2c44c82a4817ed19841bf92756969c1f856791038c4dad7611", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc2d1ffaf5c73d2c44c82a4817ed19841bf92756969c1f856791038c4dad7611", kill_on_drop: false }`
[INFO] [stdout] cc2d1ffaf5c73d2c44c82a4817ed19841bf92756969c1f856791038c4dad7611
