[INFO] cloning repository https://github.com/V119/ssh-collection-pool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/V119/ssh-collection-pool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FV119%2Fssh-collection-pool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FV119%2Fssh-collection-pool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10ac2edf65c1274e9102f353aa8136dd119ec0bf
[INFO] checking V119/ssh-collection-pool against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FV119%2Fssh-collection-pool" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/V119/ssh-collection-pool
[INFO] finished tweaking git repo https://github.com/V119/ssh-collection-pool
[INFO] tweaked toml for git repo https://github.com/V119/ssh-collection-pool written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/V119/ssh-collection-pool on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/V119/ssh-collection-pool 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ssh2 v0.9.4
[INFO] [stderr]   Downloaded tokio-macros v2.0.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.84
[INFO] [stderr]   Downloaded libssh2-sys v0.3.0
[INFO] [stderr]   Downloaded tokio v1.27.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7d41369edbd00ce1c2c276f9069f37c30626a7d37559d7035a0d1859725f992f
[INFO] running `Command { std: "docker" "start" "-a" "7d41369edbd00ce1c2c276f9069f37c30626a7d37559d7035a0d1859725f992f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7d41369edbd00ce1c2c276f9069f37c30626a7d37559d7035a0d1859725f992f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7d41369edbd00ce1c2c276f9069f37c30626a7d37559d7035a0d1859725f992f", kill_on_drop: false }`
[INFO] [stdout] 7d41369edbd00ce1c2c276f9069f37c30626a7d37559d7035a0d1859725f992f
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 14fd07dd06a4c35f338cfd838d05059a93926dd48c195cb19a17d09190446477
[INFO] running `Command { std: "docker" "start" "-a" "14fd07dd06a4c35f338cfd838d05059a93926dd48c195cb19a17d09190446477", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.141
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling tokio v1.27.0
[INFO] [stderr]    Compiling syn v2.0.13
[INFO] [stderr]    Compiling openssl-sys v0.9.84
[INFO] [stderr]    Compiling libz-sys v1.1.8
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]    Compiling tokio-macros v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]     Checking ssh2 v0.9.4
[INFO] [stderr]     Checking ssh-collection-pool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Receiver`, `result`, and `self`
[INFO] [stdout]  --> src/ssh_connection_pool.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     result,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     sync::{
[INFO] [stdout] 7 |         mpsc::{self, Receiver, Sender},
[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 imports: `Receiver`, `result`, and `self`
[INFO] [stdout]  --> src/ssh_connection_pool.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     result,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 6 |     sync::{
[INFO] [stdout] 7 |         mpsc::{self, Receiver, Sender},
[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 variable: `result_sender`
[INFO] [stdout]   --> src/thread_pool.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (result_sender, result_receiver) = mpsc::channel::<CallBackJob<T>>();
[INFO] [stdout]    |              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_sender`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_receiver`
[INFO] [stdout]   --> src/thread_pool.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (result_sender, result_receiver) = mpsc::channel::<CallBackJob<T>>();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `MAX_CONNECTIONS` is never used
[INFO] [stdout]   --> src/ssh_connection_pool.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | static MAX_CONNECTIONS: usize = 10;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TIMEOUT` is never used
[INFO] [stdout]   --> src/ssh_connection_pool.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 22 | static TIMEOUT: u32 = 5_000;
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SSH_HOST` is never used
[INFO] [stdout]   --> src/ssh_connection_pool.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | static SSH_HOST: &str = "10.32.11.177:22";
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_sender`
[INFO] [stdout]   --> src/thread_pool.rs:29:14
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (result_sender, result_receiver) = mpsc::channel::<CallBackJob<T>>();
[INFO] [stdout]    |              ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_sender`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `USER_NAME` is never used
[INFO] [stdout]   --> src/ssh_connection_pool.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | static USER_NAME: &str = "dev";
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `PASSWORD` is never used
[INFO] [stdout]   --> src/ssh_connection_pool.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | static PASSWORD: &str = "LinUx%3412";
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/ssh_connection_pool.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | type Result<T> = std::result::Result<T, Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SSHConnection` is never constructed
[INFO] [stdout]   --> src/ssh_connection_pool.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct SSHConnection {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `ssh`, `scp`, `ssh_stream`, and `authenticated` are never used
[INFO] [stdout]    --> src/ssh_connection_pool.rs:51:12
[INFO] [stdout]     |
[INFO] [stdout]  50 | impl SSHConnection {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout]  51 |     pub fn new() -> Option<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  80 |     pub fn ssh(&self, command: &String) -> Result<String> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn scp(&self, content: &String, dest_path: &String) -> Result<String> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn ssh_stream(&self, command: String, sender: Sender<String>) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 145 |     pub fn authenticated(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SSHConnectionPool` is never constructed
[INFO] [stdout]    --> src/ssh_connection_pool.rs:150:12
[INFO] [stdout]     |
[INFO] [stdout] 150 | pub struct SSHConnectionPool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/ssh_connection_pool.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl SSHConnectionPool {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] 155 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     fn thread_pool(&self) -> &ThreadPool<Result<String>> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn ssh<C>(&self, command: String, callback: C)
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn try_ssh<C>(&self, command: String, callback: C) -> bool
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 204 |     pub fn scp<C>(&self, content: String, dest_path: String, callback: C)
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn try_scp<C>(&self, content: String, dest_path: String, callback: C) -> bool
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 269 |     fn get_connection() -> SSHConnection {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     fn try_get_connection() -> Option<SSHConnection> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     fn return_connection(connection: SSHConnection) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/thread_pool.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ThreadPool<T>
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/thread_pool.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<T: Send + Debug + 'static> ThreadPool<T> {
[INFO] [stdout]    | --------------------------------------------- associated items in this implementation
[INFO] [stdout] 14 |     pub fn new(size: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn execute<F, C>(&self, f: F, c: C)
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/thread_pool.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | type Job<T> = Box<dyn FnOnce() -> T + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Callback` is never used
[INFO] [stdout]   --> src/thread_pool.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | type Callback<T> = Box<dyn Fn(T) + Send + 'static>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CallBackJob` is never used
[INFO] [stdout]   --> src/thread_pool.rs:37:6
[INFO] [stdout]    |
[INFO] [stdout] 37 | type CallBackJob<T> = (Job<T>, Callback<T>);
[INFO] [stdout]    |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/thread_pool.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Worker {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/thread_pool.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 45 |     fn new<T>(id: usize, receiver: Arc<Mutex<mpsc::Receiver<CallBackJob<T>>>>) -> Self
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result_receiver`
[INFO] [stdout]   --> src/thread_pool.rs:29:29
[INFO] [stdout]    |
[INFO] [stdout] 29 |         let (result_sender, result_receiver) = mpsc::channel::<CallBackJob<T>>();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result_receiver`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result1`
[INFO] [stdout]   --> src/thread_pool.rs:71:17
[INFO] [stdout]    |
[INFO] [stdout] 71 |             let result1 = pool.execute(
[INFO] [stdout]    |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_result1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ssh_stream` is never used
[INFO] [stdout]    --> src/ssh_connection_pool.rs:115:12
[INFO] [stdout]     |
[INFO] [stdout]  50 | impl SSHConnection {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 115 |     pub fn ssh_stream(&self, command: String, sender: Sender<String>) -> Result<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `try_ssh`, `try_scp`, and `try_get_connection` are never used
[INFO] [stdout]    --> src/ssh_connection_pool.rs:184:12
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl SSHConnectionPool {
[INFO] [stdout]     | ---------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 184 |     pub fn try_ssh<C>(&self, command: String, callback: C) -> bool
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 227 |     pub fn try_scp<C>(&self, content: String, dest_path: String, callback: C) -> bool
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 294 |     fn try_get_connection() -> Option<SSHConnection> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `workers` is never read
[INFO] [stdout]  --> src/thread_pool.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct ThreadPool<T>
[INFO] [stdout]   |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     workers: Vec<Worker>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `join_handle` are never read
[INFO] [stdout]   --> src/thread_pool.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Worker {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 40 |     id: usize,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 41 |     join_handle: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.25s
[INFO] running `Command { std: "docker" "inspect" "14fd07dd06a4c35f338cfd838d05059a93926dd48c195cb19a17d09190446477", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14fd07dd06a4c35f338cfd838d05059a93926dd48c195cb19a17d09190446477", kill_on_drop: false }`
[INFO] [stdout] 14fd07dd06a4c35f338cfd838d05059a93926dd48c195cb19a17d09190446477
