[INFO] cloning repository https://github.com/C0ffeeCode/redox-ssh
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/C0ffeeCode/redox-ssh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC0ffeeCode%2Fredox-ssh", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC0ffeeCode%2Fredox-ssh'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9d47981fbf1758bc841c148d2525745413caa8d
[INFO] building C0ffeeCode/redox-ssh against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FC0ffeeCode%2Fredox-ssh" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/C0ffeeCode/redox-ssh 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/C0ffeeCode/redox-ssh
[INFO] finished tweaking git repo https://github.com/C0ffeeCode/redox-ssh
[INFO] tweaked toml for git repo https://github.com/C0ffeeCode/redox-ssh written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/C0ffeeCode/redox-ssh 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]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 12772eebb9a2d3d593bcb46629aebc94d832f51ad5ec7c97e059ac33a2d5bcee
[INFO] running `Command { std: "docker" "start" "-a" "12772eebb9a2d3d593bcb46629aebc94d832f51ad5ec7c97e059ac33a2d5bcee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "12772eebb9a2d3d593bcb46629aebc94d832f51ad5ec7c97e059ac33a2d5bcee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12772eebb9a2d3d593bcb46629aebc94d832f51ad5ec7c97e059ac33a2d5bcee", kill_on_drop: false }`
[INFO] [stdout] 12772eebb9a2d3d593bcb46629aebc94d832f51ad5ec7c97e059ac33a2d5bcee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 53a585c8334e3032c1e857108a006485cb4f8a8c05582ce2c2db934159d27b78
[INFO] running `Command { std: "docker" "start" "-a" "53a585c8334e3032c1e857108a006485cb4f8a8c05582ce2c2db934159d27b78", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling inout v0.1.3
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling redox-ssh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/channel/pty.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{Read, Write},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdin`
[INFO] [stdout]  --> src/channel/shell.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{stdin, BufReader},
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/channel/pty.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             term,
[INFO] [stdout]    |             ^^^^ help: try ignoring the field: `term: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modes`
[INFO] [stdout]   --> src/channel/pty.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             modes,
[INFO] [stdout]    |             ^^^^^ help: try ignoring the field: `modes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/connection.rs:228:43
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn generate_key(&mut self, id: &[u8], len: usize) -> Result<Vec<u8>> {
[INFO] [stdout]     |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet`
[INFO] [stdout]    --> src/connection.rs:262:28
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn new_keys(&mut self, packet: Packet) -> Result<Option<Packet>> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_type`
[INFO] [stdout]    --> src/connection.rs:331:13
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let channel_type = reader.read_utf8()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chan`
[INFO] [stdout]    --> src/connection.rs:336:35
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let id = if let Some((id, chan)) = self.channels.iter().next_back() {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_chan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enc_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |             let enc_algos_c2s =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mac_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |             let mac_algos_c2s = reader.read_enum_list::<MacAlgorithm>()?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `comp_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:432:17
[INFO] [stdout]     |
[INFO] [stdout] 432 |             let comp_algos_c2s =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/key_exchange/curve25519.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     ConnectionType::Server(config) => config.clone(),
[INFO] [stdout]    |                     ------------------------------ matches all the relevant values
[INFO] [stdout] 60 |                     _ => return KexResult::Error,
[INFO] [stdout]    |                     ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `process`, and `peer_window_size` are never read
[INFO] [stdout]   --> src/channel.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Channel {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 19 |     id: ChannelId,
[INFO] [stdout] 20 |     peer_id: ChannelId,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     process: Option<process::Child>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     peer_window_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Channel` 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: variant `Ok` is never constructed
[INFO] [stdout]   --> src/key_exchange/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum KexResult {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 11 |     Ok(Packet),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_mpint` and `read_name_list` are never used
[INFO] [stdout]    --> src/packet.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub trait ReadPacketExt: ReadBytesExt {
[INFO] [stdout]     |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn read_mpint(&mut self) -> Result<BigInt> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn read_name_list(&mut self) -> Result<Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_msg_type` is never used
[INFO] [stdout]    --> src/packet.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub trait WritePacketExt: WriteBytesExt {
[INFO] [stdout]     |           -------------- method in this trait
[INFO] [stdout] 197 |     fn write_msg_type(&mut self, msg_type: MessageType) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.36s
[INFO] running `Command { std: "docker" "inspect" "53a585c8334e3032c1e857108a006485cb4f8a8c05582ce2c2db934159d27b78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53a585c8334e3032c1e857108a006485cb4f8a8c05582ce2c2db934159d27b78", kill_on_drop: false }`
[INFO] [stdout] 53a585c8334e3032c1e857108a006485cb4f8a8c05582ce2c2db934159d27b78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d25a7b2ed3f834abaff7b5653e15f1de021800dbe8942a187d9746d6b4158432
[INFO] running `Command { std: "docker" "start" "-a" "d25a7b2ed3f834abaff7b5653e15f1de021800dbe8942a187d9746d6b4158432", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/channel/pty.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{Read, Write},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdin`
[INFO] [stdout]  --> src/channel/shell.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{stdin, BufReader},
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/channel/pty.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             term,
[INFO] [stdout]    |             ^^^^ help: try ignoring the field: `term: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modes`
[INFO] [stdout]   --> src/channel/pty.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             modes,
[INFO] [stdout]    |             ^^^^^ help: try ignoring the field: `modes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/connection.rs:228:43
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn generate_key(&mut self, id: &[u8], len: usize) -> Result<Vec<u8>> {
[INFO] [stdout]     |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet`
[INFO] [stdout]    --> src/connection.rs:262:28
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn new_keys(&mut self, packet: Packet) -> Result<Option<Packet>> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_type`
[INFO] [stdout]    --> src/connection.rs:331:13
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let channel_type = reader.read_utf8()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chan`
[INFO] [stdout]    --> src/connection.rs:336:35
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let id = if let Some((id, chan)) = self.channels.iter().next_back() {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_chan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enc_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |             let enc_algos_c2s =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mac_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |             let mac_algos_c2s = reader.read_enum_list::<MacAlgorithm>()?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `comp_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:432:17
[INFO] [stdout]     |
[INFO] [stdout] 432 |             let comp_algos_c2s =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/key_exchange/curve25519.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     ConnectionType::Server(config) => config.clone(),
[INFO] [stdout]    |                     ------------------------------ matches all the relevant values
[INFO] [stdout] 60 |                     _ => return KexResult::Error,
[INFO] [stdout]    |                     ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `process`, and `peer_window_size` are never read
[INFO] [stdout]   --> src/channel.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Channel {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 19 |     id: ChannelId,
[INFO] [stdout] 20 |     peer_id: ChannelId,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     process: Option<process::Child>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     peer_window_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Channel` 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: variant `Ok` is never constructed
[INFO] [stdout]   --> src/key_exchange/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum KexResult {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 11 |     Ok(Packet),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_mpint` and `read_name_list` are never used
[INFO] [stdout]    --> src/packet.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub trait ReadPacketExt: ReadBytesExt {
[INFO] [stdout]     |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn read_mpint(&mut self) -> Result<BigInt> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn read_name_list(&mut self) -> Result<Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_msg_type` is never used
[INFO] [stdout]    --> src/packet.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub trait WritePacketExt: WriteBytesExt {
[INFO] [stdout]     |           -------------- method in this trait
[INFO] [stdout] 197 |     fn write_msg_type(&mut self, msg_type: MessageType) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling redox-ssh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/channel/pty.rs:3:16
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{Read, Write},
[INFO] [stdout]   |                ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `stdin`
[INFO] [stdout]  --> src/channel/shell.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 |     io::{stdin, BufReader},
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `term`
[INFO] [stdout]   --> src/channel/pty.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |             term,
[INFO] [stdout]    |             ^^^^ help: try ignoring the field: `term: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `modes`
[INFO] [stdout]   --> src/channel/pty.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             modes,
[INFO] [stdout]    |             ^^^^^ help: try ignoring the field: `modes: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]    --> src/connection.rs:228:43
[INFO] [stdout]     |
[INFO] [stdout] 228 |     fn generate_key(&mut self, id: &[u8], len: usize) -> Result<Vec<u8>> {
[INFO] [stdout]     |                                           ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `packet`
[INFO] [stdout]    --> src/connection.rs:262:28
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn new_keys(&mut self, packet: Packet) -> Result<Option<Packet>> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channel_type`
[INFO] [stdout]    --> src/connection.rs:331:13
[INFO] [stdout]     |
[INFO] [stdout] 331 |         let channel_type = reader.read_utf8()?;
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chan`
[INFO] [stdout]    --> src/connection.rs:336:35
[INFO] [stdout]     |
[INFO] [stdout] 336 |         let id = if let Some((id, chan)) = self.channels.iter().next_back() {
[INFO] [stdout]     |                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_chan`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `enc_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:424:17
[INFO] [stdout]     |
[INFO] [stdout] 424 |             let enc_algos_c2s =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mac_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:429:17
[INFO] [stdout]     |
[INFO] [stdout] 429 |             let mac_algos_c2s = reader.read_enum_list::<MacAlgorithm>()?;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mac_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `comp_algos_c2s`
[INFO] [stdout]    --> src/connection.rs:432:17
[INFO] [stdout]     |
[INFO] [stdout] 432 |             let comp_algos_c2s =
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_comp_algos_c2s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/key_exchange/curve25519.rs:60:21
[INFO] [stdout]    |
[INFO] [stdout] 59 |                     ConnectionType::Server(config) => config.clone(),
[INFO] [stdout]    |                     ------------------------------ matches all the relevant values
[INFO] [stdout] 60 |                     _ => return KexResult::Error,
[INFO] [stdout]    |                     ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `peer_id`, `process`, and `peer_window_size` are never read
[INFO] [stdout]   --> src/channel.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Channel {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 19 |     id: ChannelId,
[INFO] [stdout] 20 |     peer_id: ChannelId,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 21 |     process: Option<process::Child>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     peer_window_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Channel` 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: variant `Ok` is never constructed
[INFO] [stdout]   --> src/key_exchange/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum KexResult {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] 11 |     Ok(Packet),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `read_mpint` and `read_name_list` are never used
[INFO] [stdout]    --> src/packet.rs:152:8
[INFO] [stdout]     |
[INFO] [stdout] 146 | pub trait ReadPacketExt: ReadBytesExt {
[INFO] [stdout]     |           ------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn read_mpint(&mut self) -> Result<BigInt> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 188 |     fn read_name_list(&mut self) -> Result<Vec<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write_msg_type` is never used
[INFO] [stdout]    --> src/packet.rs:197:8
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub trait WritePacketExt: WriteBytesExt {
[INFO] [stdout]     |           -------------- method in this trait
[INFO] [stdout] 197 |     fn write_msg_type(&mut self, msg_type: MessageType) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s
[INFO] running `Command { std: "docker" "inspect" "d25a7b2ed3f834abaff7b5653e15f1de021800dbe8942a187d9746d6b4158432", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d25a7b2ed3f834abaff7b5653e15f1de021800dbe8942a187d9746d6b4158432", kill_on_drop: false }`
[INFO] [stdout] d25a7b2ed3f834abaff7b5653e15f1de021800dbe8942a187d9746d6b4158432
