[INFO] cloning repository https://github.com/Fattouche/HolePuncher
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fattouche/HolePuncher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFattouche%2FHolePuncher", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFattouche%2FHolePuncher'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] db548855de835e484b4abc965df243d06e7d9ecb
[INFO] checking Fattouche/HolePuncher against try#09eeb2bacb9b40b2ed1d47f03177442c0632cda1 for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFattouche%2FHolePuncher" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Fattouche/HolePuncher
[INFO] finished tweaking git repo https://github.com/Fattouche/HolePuncher
[INFO] tweaked toml for git repo https://github.com/Fattouche/HolePuncher written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Fattouche/HolePuncher on toolchain 09eeb2bacb9b40b2ed1d47f03177442c0632cda1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Fattouche/HolePuncher 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" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30
[INFO] running `Command { std: "docker" "start" "8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30" "/opt/rustwide/cargo-home/bin/cargo" "+09eeb2bacb9b40b2ed1d47f03177442c0632cda1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling build_const v0.2.1
[INFO] [stderr]    Compiling log v0.4.7
[INFO] [stderr]     Checking rand_jitter v0.1.4
[INFO] [stderr]     Checking smallvec v0.6.10
[INFO] [stderr]     Checking crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking crossbeam-channel v0.3.8
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking iovec v0.1.2
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking mio v0.6.19
[INFO] [stderr]     Checking laminar v0.3.0
[INFO] [stderr]     Checking Holepuncher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Write};
[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: `Socket`
[INFO] [stdout]  --> src/connect.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use laminar::{Packet, Socket, SocketEvent};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/connect.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Err(e) => {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:56:50
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn recieve_file(reciever: Receiver<SocketEvent>, addr: SocketAddr) -> Result<()> {
[INFO] [stdout]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/main.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 let file = File::create(&location).unwrap();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout_event`
[INFO] [stdout]   --> src/main.rs:82:38
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 SocketEvent::Timeout(timeout_event) => {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `location` is never read
[INFO] [stdout]   --> src/main.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut location = String::from("uninitialized");
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |                 location = format!("{}-new", str::from_utf8(&filename).unwrap());
[INFO] [stdout]    |                 -------- `location` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/main.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufRead, BufReader, Read, Write};
[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: `Socket`
[INFO] [stdout]  --> src/connect.rs:2:23
[INFO] [stdout]   |
[INFO] [stdout] 2 | use laminar::{Packet, Socket, SocketEvent};
[INFO] [stdout]   |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/connect.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Err(e) => {
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `addr`
[INFO] [stdout]   --> src/main.rs:56:50
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn recieve_file(reciever: Receiver<SocketEvent>, addr: SocketAddr) -> Result<()> {
[INFO] [stdout]    |                                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_addr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file`
[INFO] [stdout]   --> src/main.rs:64:21
[INFO] [stdout]    |
[INFO] [stdout] 64 |                 let file = File::create(&location).unwrap();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timeout_event`
[INFO] [stdout]   --> src/main.rs:82:38
[INFO] [stdout]    |
[INFO] [stdout] 82 |                 SocketEvent::Timeout(timeout_event) => {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_event`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `location` is never read
[INFO] [stdout]   --> src/main.rs:58:24
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let mut location = String::from("uninitialized");
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 63 |                 location = format!("{}-new", str::from_utf8(&filename).unwrap());
[INFO] [stdout]    |                 -------- `location` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.57s
[INFO] running `Command { std: "docker" "inspect" "8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30", kill_on_drop: false }`
[INFO] [stdout] 8216189545aac74883a1d4de38aad50030588047f1d74987f41b7cdb8a89af30
