[INFO] cloning repository https://github.com/thomas-yasuoka/bin_bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomas-yasuoka/bin_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-yasuoka%2Fbin_bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-yasuoka%2Fbin_bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3cad5bb28c97592737cedbb0e726b8e0009b7d28
[INFO] testing thomas-yasuoka/bin_bot against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomas-yasuoka%2Fbin_bot" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/thomas-yasuoka/bin_bot on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/thomas-yasuoka/bin_bot
[INFO] finished tweaking git repo https://github.com/thomas-yasuoka/bin_bot
[INFO] tweaked toml for git repo https://github.com/thomas-yasuoka/bin_bot written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/thomas-yasuoka/bin_bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8c53e600ef5fc3134f17ac2bd72f091a5da55ac8b37d68218bcd719b1be33bc
[INFO] running `Command { std: "docker" "start" "-a" "a8c53e600ef5fc3134f17ac2bd72f091a5da55ac8b37d68218bcd719b1be33bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8c53e600ef5fc3134f17ac2bd72f091a5da55ac8b37d68218bcd719b1be33bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8c53e600ef5fc3134f17ac2bd72f091a5da55ac8b37d68218bcd719b1be33bc", kill_on_drop: false }`
[INFO] [stdout] a8c53e600ef5fc3134f17ac2bd72f091a5da55ac8b37d68218bcd719b1be33bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 28777ba8abbbc71359ac2822746b2d3bf6c5112bd96e3eac039365afa5b50905
[INFO] running `Command { std: "docker" "start" "-a" "28777ba8abbbc71359ac2822746b2d3bf6c5112bd96e3eac039365afa5b50905", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.85
[INFO] [stderr]    Compiling cc v1.0.72
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling futures-sink v0.3.19
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling native-tls v0.2.8
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling hex-literal v0.3.4
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling rustls-pemfile v0.2.1
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling rustls-native-certs v0.6.1
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling tungstenite v0.17.2
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-rustls v0.23.2
[INFO] [stderr]    Compiling tokio-tungstenite v0.17.1
[INFO] [stderr]    Compiling h2 v0.3.10
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.9
[INFO] [stderr]    Compiling bin_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/endpoints.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> src/endpoints.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Hmac`, `Mac`
[INFO] [stdout]  --> src/endpoints.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `native_tls::TlsConnector`
[INFO] [stdout]  --> src/websockets.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use native_tls::TlsConnector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`
[INFO] [stdout]  --> src/websockets.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/websockets.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{future, StreamExt};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`
[INFO] [stdout]  --> src/websockets.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/websockets.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     loop {
[INFO] [stdout] 12 | |         let message = read.next().await.unwrap()?;
[INFO] [stdout] 13 | |         match message {
[INFO] [stdout] 14 | |             Message::Text(msg) => {println!("{}", msg)}
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         // tokio::time::sleep(core::time::Duration::from_secs(5));
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 28 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/websockets.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (write, mut read) = ws_stream.split();
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bin_bot::endpoints`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bin_bot::endpoints;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bin_bot::websockets`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bin_bot::websockets;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ko` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     type ko = Hmac<Sha256>;
[INFO] [stdout]    |          ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ko`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 56.82s
[INFO] running `Command { std: "docker" "inspect" "28777ba8abbbc71359ac2822746b2d3bf6c5112bd96e3eac039365afa5b50905", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28777ba8abbbc71359ac2822746b2d3bf6c5112bd96e3eac039365afa5b50905", kill_on_drop: false }`
[INFO] [stdout] 28777ba8abbbc71359ac2822746b2d3bf6c5112bd96e3eac039365afa5b50905
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6119688a57029d8b0ee3a2b5587d386012f7e7ade7d948fcd263cbc9fc674b9b
[INFO] running `Command { std: "docker" "start" "-a" "6119688a57029d8b0ee3a2b5587d386012f7e7ade7d948fcd263cbc9fc674b9b", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/endpoints.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> src/endpoints.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Hmac`, `Mac`
[INFO] [stdout]  --> src/endpoints.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `native_tls::TlsConnector`
[INFO] [stdout]  --> src/websockets.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use native_tls::TlsConnector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`
[INFO] [stdout]  --> src/websockets.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/websockets.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{future, StreamExt};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`
[INFO] [stdout]  --> src/websockets.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/websockets.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     loop {
[INFO] [stdout] 12 | |         let message = read.next().await.unwrap()?;
[INFO] [stdout] 13 | |         match message {
[INFO] [stdout] 14 | |             Message::Text(msg) => {println!("{}", msg)}
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         // tokio::time::sleep(core::time::Duration::from_secs(5));
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 28 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling bin_bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/websockets.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (write, mut read) = ws_stream.split();
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bin_bot::endpoints`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bin_bot::endpoints;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bin_bot::websockets`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use bin_bot::websockets;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `ko` should have an upper camel case name
[INFO] [stdout]   --> src/main.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |     type ko = Hmac<Sha256>;
[INFO] [stdout]    |          ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ko`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/endpoints.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Sha256`
[INFO] [stdout]  --> src/endpoints.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Hmac`, `Mac`
[INFO] [stdout]  --> src/endpoints.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hmac::{Hmac, Mac};
[INFO] [stdout]   |            ^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `native_tls::TlsConnector`
[INFO] [stdout]  --> src/websockets.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use native_tls::TlsConnector;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `Write`
[INFO] [stdout]  --> src/websockets.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{Read, Write};
[INFO] [stdout]   |               ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `future`
[INFO] [stdout]  --> src/websockets.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use futures_util::{future, StreamExt};
[INFO] [stdout]   |                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`
[INFO] [stdout]  --> src/websockets.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/websockets.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     loop {
[INFO] [stdout] 12 | |         let message = read.next().await.unwrap()?;
[INFO] [stdout] 13 | |         match message {
[INFO] [stdout] 14 | |             Message::Text(msg) => {println!("{}", msg)}
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         // tokio::time::sleep(core::time::Duration::from_secs(5));
[INFO] [stdout] 27 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 28 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `write`
[INFO] [stdout]   --> src/websockets.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (write, mut read) = ws_stream.split();
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 2.61s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/bin_bot-78976709a57a9b70)
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/bin_bot-abb429531e13b360)
[INFO] running `Command { std: "docker" "inspect" "6119688a57029d8b0ee3a2b5587d386012f7e7ade7d948fcd263cbc9fc674b9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6119688a57029d8b0ee3a2b5587d386012f7e7ade7d948fcd263cbc9fc674b9b", kill_on_drop: false }`
[INFO] [stdout] 6119688a57029d8b0ee3a2b5587d386012f7e7ade7d948fcd263cbc9fc674b9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e2885daf301e8d6fa715856ac8416bf87559b25638f99f768d292de5e970d850
[INFO] running `Command { std: "docker" "start" "-a" "e2885daf301e8d6fa715856ac8416bf87559b25638f99f768d292de5e970d850", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::env`
[INFO] [stderr]  --> src/endpoints.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::env;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sha2::Sha256`
[INFO] [stderr]  --> src/endpoints.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use sha2::Sha256;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Hmac`, `Mac`
[INFO] [stderr]  --> src/endpoints.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | use hmac::{Hmac, Mac};
[INFO] [stderr]   |            ^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `native_tls::TlsConnector`
[INFO] [stderr]  --> src/websockets.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use native_tls::TlsConnector;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Read`, `Write`
[INFO] [stderr]  --> src/websockets.rs:3:15
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::{Read, Write};
[INFO] [stderr]   |               ^^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `future`
[INFO] [stderr]  --> src/websockets.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 | use futures_util::{future, StreamExt};
[INFO] [stderr]   |                    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncReadExt`, `AsyncWriteExt`
[INFO] [stderr]  --> src/websockets.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tokio::io::{AsyncReadExt, AsyncWriteExt};
[INFO] [stderr]   |                 ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]   --> src/websockets.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | /     loop {
[INFO] [stderr] 12 | |         let message = read.next().await.unwrap()?;
[INFO] [stderr] 13 | |         match message {
[INFO] [stderr] 14 | |             Message::Text(msg) => {println!("{}", msg)}
[INFO] [stderr] ...  |
[INFO] [stderr] 26 | |         // tokio::time::sleep(core::time::Duration::from_secs(5));
[INFO] [stderr] 27 | |     }
[INFO] [stderr]    | |_____- any code following this expression is unreachable
[INFO] [stderr] 28 |       Ok(())
[INFO] [stderr]    |       ^^^^^^ unreachable expression
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `write`
[INFO] [stderr]   --> src/websockets.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 |     let (write, mut read) = ws_stream.split();
[INFO] [stderr]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_write`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `bin_bot` (lib) generated 9 warnings
[INFO] [stderr] warning: `bin_bot` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr] warning: unused import: `bin_bot::endpoints`
[INFO] [stderr]  --> src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use bin_bot::endpoints;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `bin_bot::websockets`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use bin_bot::websockets;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `ko` should have an upper camel case name
[INFO] [stderr]   --> src/main.rs:23:10
[INFO] [stderr]    |
[INFO] [stderr] 23 |     type ko = Hmac<Sha256>;
[INFO] [stderr]    |          ^^ help: convert the identifier to upper camel case (notice the capitalization): `Ko`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `bin_bot` (bin "bin_bot" test) generated 3 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.47s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bin_bot-78976709a57a9b70)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bin_bot-abb429531e13b360)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests bin_bot
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e2885daf301e8d6fa715856ac8416bf87559b25638f99f768d292de5e970d850", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2885daf301e8d6fa715856ac8416bf87559b25638f99f768d292de5e970d850", kill_on_drop: false }`
[INFO] [stdout] e2885daf301e8d6fa715856ac8416bf87559b25638f99f768d292de5e970d850
