[INFO] cloning repository https://github.com/AnthonyHewins/one-time-pad-socket
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnthonyHewins/one-time-pad-socket" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnthonyHewins%2Fone-time-pad-socket", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnthonyHewins%2Fone-time-pad-socket'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7da72f0db12efb4f862c1b40e6cd2af07ad7f6b8
[INFO] checking AnthonyHewins/one-time-pad-socket against master#029c9e18dd1f4668e1d42bb187c1c263dfe20093 for pr-157562
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnthonyHewins%2Fone-time-pad-socket" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AnthonyHewins/one-time-pad-socket
[INFO] finished tweaking git repo https://github.com/AnthonyHewins/one-time-pad-socket
[INFO] tweaked toml for git repo https://github.com/AnthonyHewins/one-time-pad-socket written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AnthonyHewins/one-time-pad-socket on toolchain 029c9e18dd1f4668e1d42bb187c1c263dfe20093
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AnthonyHewins/one-time-pad-socket 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" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.about
[INFO] [stderr] warning: `onetimepad` (manifest) generated 1 warning
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-segmentation v1.3.0
[INFO] [stderr]   Downloaded getrandom v0.1.10
[INFO] [stderr]   Downloaded syn v0.15.40
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09
[INFO] running `Command { std: "docker" "start" "a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09", 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" "a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09", 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" "a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09" "/opt/rustwide/cargo-home/bin/cargo" "+029c9e18dd1f4668e1d42bb187c1c263dfe20093" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: package.about
[INFO] [stderr] warning: `onetimepad` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.60
[INFO] [stderr]    Compiling getrandom v0.1.10
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]    Compiling bitflags v1.1.0
[INFO] [stderr]    Compiling syn v0.15.40
[INFO] [stderr]    Compiling unicode-segmentation v1.3.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]     Checking util v0.1.0 (/opt/rustwide/workdir/util)
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> util/src/fs.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         f.write_all(&bytes);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let _ = f.write_all(&bytes);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling structopt-derive v0.2.18
[INFO] [stderr]     Checking structopt v0.2.18
[INFO] [stderr]     Checking onetimepad v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Ipv4Addr` and `ToSocketAddrs`
[INFO] [stdout]  --> src/main.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{SocketAddr, Ipv4Addr, ToSocketAddrs};
[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: `BufWriter`
[INFO] [stdout]  --> src/keygen.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdout, Write, BufWriter};
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/keygen.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     if (kb_size > 100) {
[INFO] [stdout]   |        ^             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 9 -     if (kb_size > 100) {
[INFO] [stdout] 9 +     if kb_size > 100  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr` and `ToSocketAddrs`
[INFO] [stdout]  --> src/main.rs:2:28
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::{SocketAddr, Ipv4Addr, ToSocketAddrs};
[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: `BufWriter`
[INFO] [stdout]  --> src/keygen.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::{stdout, Write, BufWriter};
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/keygen.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 |     if (kb_size > 100) {
[INFO] [stdout]   |        ^             ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 9 -     if (kb_size > 100) {
[INFO] [stdout] 9 +     if kb_size > 100  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `rand::rngs::OsRng::new`: replace OsRng::new().unwrap() with just OsRng
[INFO] [stdout]  --> src/keygen.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut rng = OsRng::new().unwrap();
[INFO] [stdout]   |                          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `file` is never read
[INFO] [stdout]   --> src/socket/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Socket {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     file: PathBuf,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `drain_key` is never used
[INFO] [stdout]   --> src/socket/internals.rs:45:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Socket {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub(super) fn drain_key(&mut self, len: usize) {
[INFO] [stdout]    |                   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         keygen::to_stdout(args.keygen.unwrap());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = keygen::to_stdout(args.keygen.unwrap());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ftp.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     socket.read(&mut buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _ = socket.read(&mut buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ftp.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file.read(buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let _ = file.read(buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `rand::rngs::OsRng::new`: replace OsRng::new().unwrap() with just OsRng
[INFO] [stdout]  --> src/keygen.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let mut rng = OsRng::new().unwrap();
[INFO] [stdout]   |                          ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]   --> src/listener/mod.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let client = TcpStream::connect(addr).unwrap();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `server`
[INFO] [stdout]   --> src/listener/mod.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |         let server = server_thread.join();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         keygen::to_stdout(args.keygen.unwrap());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = keygen::to_stdout(args.keygen.unwrap());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ftp.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     socket.read(&mut buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let _ = socket.read(&mut buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ftp.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     file.read(buf);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let _ = file.read(buf);
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.63s
[INFO] running `Command { std: "docker" "inspect" "a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09", kill_on_drop: false }`
[INFO] [stdout] a7ef39ca03c61af1c5ac43910ea6d34342d7bc78f290cf46bac0919df5146c09
