[INFO] cloning repository https://github.com/loorr/mio-ws-client
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loorr/mio-ws-client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floorr%2Fmio-ws-client", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floorr%2Fmio-ws-client'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0a3eb05cb8feaaf7958f722e5cc3d2eba124b7a0
[INFO] checking loorr/mio-ws-client/0a3eb05cb8feaaf7958f722e5cc3d2eba124b7a0 against 1af98b7cdf86932b76182a387f52f1be6f0c1be0 for pr-159706
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floorr%2Fmio-ws-client" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/loorr/mio-ws-client
[INFO] finished tweaking git repo https://github.com/loorr/mio-ws-client
[INFO] tweaked toml for git repo https://github.com/loorr/mio-ws-client written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/loorr/mio-ws-client on toolchain 1af98b7cdf86932b76182a387f52f1be6f0c1be0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/loorr/mio-ws-client 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" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tungstenite v0.27.0
[INFO] [stderr]   Downloaded home v0.5.11
[INFO] [stderr]   Downloaded cfg-if v1.0.1
[INFO] [stderr]   Downloaded jobserver v0.1.33
[INFO] [stderr]   Downloaded errno v0.3.13
[INFO] [stderr]   Downloaded humantime v2.2.0
[INFO] [stderr]   Downloaded slab v0.4.10
[INFO] [stderr]   Downloaded cmake v0.1.54
[INFO] [stderr]   Downloaded rustversion v1.0.21
[INFO] [stderr]   Downloaded bitflags v2.9.1
[INFO] [stderr]   Downloaded libloading v0.8.8
[INFO] [stderr]   Downloaded tempfile v3.20.0
[INFO] [stderr]   Downloaded env_logger v0.9.3
[INFO] [stderr]   Downloaded rustls-pki-types v1.12.0
[INFO] [stderr]   Downloaded prettyplease v0.2.35
[INFO] [stderr]   Downloaded openssl-sys v0.9.109
[INFO] [stderr]   Downloaded rustls-webpki v0.103.3
[INFO] [stderr]   Downloaded anyhow v1.0.98
[INFO] [stderr]   Downloaded rand v0.9.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded cc v1.2.29
[INFO] [stderr]   Downloaded webpki-roots v1.0.1
[INFO] [stderr]   Downloaded aws-lc-rs v1.13.1
[INFO] [stderr]   Downloaded bindgen v0.69.5
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] [stderr]   Downloaded syn v2.0.104
[INFO] [stderr]   Downloaded openssl v0.10.73
[INFO] [stderr]   Downloaded rustls v0.23.28
[INFO] [stderr]   Downloaded rustix v1.0.7
[INFO] [stderr]   Downloaded libc v0.2.174
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.4
[INFO] [stderr]   Downloaded aws-lc-sys v0.29.0
[INFO] [stderr]   Downloaded openssl-src v300.5.1+3.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac
[INFO] running `Command { std: "docker" "start" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac", 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" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac", 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" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling aws-lc-rs v1.13.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling rustls v0.23.28
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling cc v1.2.29
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking webpki-roots v1.0.1
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling openssl-src v300.5.1+3.5.1
[INFO] [stderr]    Compiling aws-lc-sys v0.29.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_logger v0.9.3
[INFO] [stderr]     Checking tungstenite v0.27.0
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]     Checking mio-ws v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::{Buf, BytesMut};
[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: `bounded`
[INFO] [stdout]  --> src/main.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crossbeam_channel::{TryRecvError, bounded, unbounded};
[INFO] [stdout]   |                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slab::Slab`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use slab::Slab;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:297:17
[INFO] [stdout]     |
[INFO] [stdout] 222 | /                 loop {
[INFO] [stdout] 223 | |                     count += 1;
[INFO] [stdout] 224 | |                     if count % 100 == 0 {
[INFO] [stdout] 225 | |                         info!("cost time: {:?} ms, messages: {}", start.elapsed().as_millis(), messages);
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |                 }
[INFO] [stdout]     | |_________________- any code following this expression is unreachable
[INFO] [stdout] 297 |                   info!("工作线程 {} 结束", index);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     for i in 0..100 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Buf`
[INFO] [stdout]  --> src/main.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use bytes::{Buf, BytesMut};
[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: `bounded`
[INFO] [stdout]  --> src/main.rs:2:39
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crossbeam_channel::{TryRecvError, bounded, unbounded};
[INFO] [stdout]   |                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `slab::Slab`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use slab::Slab;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:345:111
[INFO] [stdout]     |
[INFO] [stdout] 345 | ...                   let mut ws_client = WsClient::new(Token(client_id), maybe_tls_stream, host_info, |s| {
[INFO] [stdout]     |                                                                                                         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 let s = Instant::now();
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/main.rs:297:17
[INFO] [stdout]     |
[INFO] [stdout] 222 | /                 loop {
[INFO] [stdout] 223 | |                     count += 1;
[INFO] [stdout] 224 | |                     if count % 100 == 0 {
[INFO] [stdout] 225 | |                         info!("cost time: {:?} ms, messages: {}", start.elapsed().as_millis(), messages);
[INFO] [stdout] ...   |
[INFO] [stdout] 296 | |                 }
[INFO] [stdout]     | |_________________- any code following this expression is unreachable
[INFO] [stdout] 297 |                   info!("工作线程 {} 结束", index);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `HandshakeState` is more private than the item `WsClient::handshake_state`
[INFO] [stdout]   --> src/main.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub handshake_state: HandshakeState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WsClient::handshake_state` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `HandshakeState` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum HandshakeState {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Failed` is never constructed
[INFO] [stdout]   --> src/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum HandshakeState {
[INFO] [stdout]    |      -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Failed
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     for i in 0..100 {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:345:111
[INFO] [stdout]     |
[INFO] [stdout] 345 | ...                   let mut ws_client = WsClient::new(Token(client_id), maybe_tls_stream, host_info, |s| {
[INFO] [stdout]     |                                                                                                         ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> src/main.rs:360:21
[INFO] [stdout]     |
[INFO] [stdout] 360 |                 let s = Instant::now();
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `HandshakeState` is more private than the item `WsClient::handshake_state`
[INFO] [stdout]   --> src/main.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub handshake_state: HandshakeState,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `WsClient::handshake_state` is reachable at visibility `pub`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `HandshakeState` is only usable at visibility `pub(crate)`
[INFO] [stdout]   --> src/main.rs:50:1
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum HandshakeState {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Failed` is never constructed
[INFO] [stdout]   --> src/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | enum HandshakeState {
[INFO] [stdout]    |      -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 54 |     Failed
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 27s
[INFO] running `Command { std: "docker" "inspect" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac", kill_on_drop: false }`
[INFO] [stdout] f225fd05adacc91662cd0a913020149737c1cfb1cdb9d2eede9fac7c56165eac
