[INFO] fetching crate pusher-rs 0.1.2...
[INFO] building pusher-rs-0.1.2 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] extracting crate pusher-rs 0.1.2 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate pusher-rs 0.1.2
[INFO] finished tweaking crates.io crate pusher-rs 0.1.2
[INFO] tweaked toml for crates.io crate pusher-rs 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate pusher-rs 0.1.2 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 236 packages to latest compatible versions
[INFO] [stderr]       Adding md5 v0.7.0 (available: v0.8.0)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] [stderr]       Adding tokio-tungstenite v0.23.1 (available: v0.28.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f86fcb6f38dfa8cdc7c579630b000900a3cc57ddc3b088b93a271baf24120339
[INFO] running `Command { std: "docker" "start" "-a" "f86fcb6f38dfa8cdc7c579630b000900a3cc57ddc3b088b93a271baf24120339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f86fcb6f38dfa8cdc7c579630b000900a3cc57ddc3b088b93a271baf24120339", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f86fcb6f38dfa8cdc7c579630b000900a3cc57ddc3b088b93a271baf24120339", kill_on_drop: false }`
[INFO] [stdout] f86fcb6f38dfa8cdc7c579630b000900a3cc57ddc3b088b93a271baf24120339
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f71fc458a22ace111ab6ceaea8a2d13534b90bf7cb6382a25262822bee5f0b8c
[INFO] running `Command { std: "docker" "start" "-a" "f71fc458a22ace111ab6ceaea8a2d13534b90bf7cb6382a25262822bee5f0b8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling hashbrown v0.16.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling indexmap v2.11.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling block-padding v0.3.3
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling jiff v0.2.15
[INFO] [stderr]    Compiling regex-automata v0.4.11
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling cbc v0.1.2
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling regex v1.11.3
[INFO] [stderr]    Compiling env_filter v0.1.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling env_logger v0.11.8
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling tungstenite v0.23.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.23.1
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling pusher-rs v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/websocket.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use log::{debug, error, info, warn};
[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: `std::pin::Pin`
[INFO] [stdout]   --> src/websocket.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemEvent`
[INFO] [stdout]   --> src/websocket.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{Event, SystemEvent, ConnectionState};
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/lib.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use serde_json::{json, Value};
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/lib.rs:458:20
[INFO] [stdout]     |
[INFO] [stdout] 458 |         Ok(base64::encode(result))
[INFO] [stdout]     |                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/lib.rs:477:31
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let decoded = base64::decode(encrypted_data)
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `handle_event` and `decrypt_data` are never used
[INFO] [stdout]    --> src/lib.rs:406:14
[INFO] [stdout]     |
[INFO] [stdout]  63 | impl PusherClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 406 |     async fn handle_event(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 476 |     fn decrypt_data(&self, encrypted_data: &str, shared_secret: &[u8]) -> PusherResult<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: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/auth.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChannelList` is never constructed
[INFO] [stdout]   --> src/channels.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct ChannelList {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/channels.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl ChannelList {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  99 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn add(&mut self, channel: Channel) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn remove(&mut self, channel_name: &str) -> Option<Channel> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get(&self, channel_name: &str) -> Option<&Channel> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_mut(&mut self, channel_name: &str) -> Option<&mut Channel> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn contains(&self, channel_name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn iter(&self) -> impl Iterator<Item = &Channel> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Channel> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_error` is never used
[INFO] [stdout]   --> src/error.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn auth_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `event_error` is never used
[INFO] [stdout]   --> src/error.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn event_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connection_error` is never used
[INFO] [stdout]   --> src/error.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn connection_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `config_error` is never used
[INFO] [stdout]   --> src/error.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn config_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rate_limit_error` is never used
[INFO] [stdout]    --> src/error.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn rate_limit_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encryption_error` is never used
[INFO] [stdout]    --> src/error.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn encryption_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decryption_error` is never used
[INFO] [stdout]    --> src/error.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn decryption_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `presence_data_error` is never used
[INFO] [stdout]    --> src/error.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn presence_data_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_error` is never used
[INFO] [stdout]    --> src/error.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn api_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timeout_error` is never used
[INFO] [stdout]    --> src/error.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn timeout_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] running `Command { std: "docker" "inspect" "f71fc458a22ace111ab6ceaea8a2d13534b90bf7cb6382a25262822bee5f0b8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f71fc458a22ace111ab6ceaea8a2d13534b90bf7cb6382a25262822bee5f0b8c", kill_on_drop: false }`
[INFO] [stdout] f71fc458a22ace111ab6ceaea8a2d13534b90bf7cb6382a25262822bee5f0b8c
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d491f2859c0ea5beb8450bfe3a014c4c53466ee3c54bc43af0ac388aad53348
[INFO] running `Command { std: "docker" "start" "-a" "0d491f2859c0ea5beb8450bfe3a014c4c53466ee3c54bc43af0ac388aad53348", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-tungstenite v0.23.1
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper-util v0.1.17
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.23
[INFO] [stderr]    Compiling pusher-rs v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/websocket.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use log::{debug, error, info, warn};
[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: `std::pin::Pin`
[INFO] [stdout]   --> src/websocket.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemEvent`
[INFO] [stdout]   --> src/websocket.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{Event, SystemEvent, ConnectionState};
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/lib.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use serde_json::{json, Value};
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/lib.rs:458:20
[INFO] [stdout]     |
[INFO] [stdout] 458 |         Ok(base64::encode(result))
[INFO] [stdout]     |                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/lib.rs:477:31
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let decoded = base64::decode(encrypted_data)
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `handle_event` and `decrypt_data` are never used
[INFO] [stdout]    --> src/lib.rs:406:14
[INFO] [stdout]     |
[INFO] [stdout]  63 | impl PusherClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 406 |     async fn handle_event(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 476 |     fn decrypt_data(&self, encrypted_data: &str, shared_secret: &[u8]) -> PusherResult<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: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/auth.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChannelList` is never constructed
[INFO] [stdout]   --> src/channels.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct ChannelList {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/channels.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl ChannelList {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  99 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn add(&mut self, channel: Channel) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn remove(&mut self, channel_name: &str) -> Option<Channel> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get(&self, channel_name: &str) -> Option<&Channel> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_mut(&mut self, channel_name: &str) -> Option<&mut Channel> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn contains(&self, channel_name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn iter(&self) -> impl Iterator<Item = &Channel> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Channel> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `auth_error` is never used
[INFO] [stdout]   --> src/error.rs:80:8
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub fn auth_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `event_error` is never used
[INFO] [stdout]   --> src/error.rs:88:8
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn event_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connection_error` is never used
[INFO] [stdout]   --> src/error.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn connection_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `config_error` is never used
[INFO] [stdout]   --> src/error.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn config_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rate_limit_error` is never used
[INFO] [stdout]    --> src/error.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn rate_limit_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encryption_error` is never used
[INFO] [stdout]    --> src/error.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn encryption_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decryption_error` is never used
[INFO] [stdout]    --> src/error.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn decryption_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `presence_data_error` is never used
[INFO] [stdout]    --> src/error.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn presence_data_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_error` is never used
[INFO] [stdout]    --> src/error.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn api_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timeout_error` is never used
[INFO] [stdout]    --> src/error.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn timeout_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]   --> src/websocket.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 | use log::{debug, error, info, warn};
[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: `std::pin::Pin`
[INFO] [stdout]   --> src/websocket.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::pin::Pin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SystemEvent`
[INFO] [stdout]   --> src/websocket.rs:17:20
[INFO] [stdout]    |
[INFO] [stdout] 17 | use crate::{Event, SystemEvent, ConnectionState};
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value`
[INFO] [stdout]   --> src/lib.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 | use serde_json::{json, Value};
[INFO] [stdout]    |                        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/lib.rs:458:20
[INFO] [stdout]     |
[INFO] [stdout] 458 |         Ok(base64::encode(result))
[INFO] [stdout]     |                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/lib.rs:477:31
[INFO] [stdout]     |
[INFO] [stdout] 477 |         let decoded = base64::decode(encrypted_data)
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `handle_event` and `decrypt_data` are never used
[INFO] [stdout]    --> src/lib.rs:406:14
[INFO] [stdout]     |
[INFO] [stdout]  63 | impl PusherClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 406 |     async fn handle_event(
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 476 |     fn decrypt_data(&self, encrypted_data: &str, shared_secret: &[u8]) -> PusherResult<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: type alias `HmacSha256` is never used
[INFO] [stdout]   --> src/auth.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | type HmacSha256 = Hmac<Sha256>;
[INFO] [stdout]    |      ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChannelList` is never constructed
[INFO] [stdout]   --> src/channels.rs:94:12
[INFO] [stdout]    |
[INFO] [stdout] 94 | pub struct ChannelList {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/channels.rs:99:12
[INFO] [stdout]     |
[INFO] [stdout]  98 | impl ChannelList {
[INFO] [stdout]     | ---------------- associated items in this implementation
[INFO] [stdout]  99 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn add(&mut self, channel: Channel) {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn remove(&mut self, channel_name: &str) -> Option<Channel> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 113 |     pub fn get(&self, channel_name: &str) -> Option<&Channel> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn get_mut(&mut self, channel_name: &str) -> Option<&mut Channel> {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn contains(&self, channel_name: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 125 |     pub fn iter(&self) -> impl Iterator<Item = &Channel> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub fn iter_mut(&mut self) -> impl Iterator<Item = &mut Channel> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `connection_error` is never used
[INFO] [stdout]   --> src/error.rs:92:8
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub fn connection_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `config_error` is never used
[INFO] [stdout]   --> src/error.rs:96:8
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub fn config_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `rate_limit_error` is never used
[INFO] [stdout]    --> src/error.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn rate_limit_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encryption_error` is never used
[INFO] [stdout]    --> src/error.rs:104:8
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub fn encryption_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decryption_error` is never used
[INFO] [stdout]    --> src/error.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn decryption_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `presence_data_error` is never used
[INFO] [stdout]    --> src/error.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn presence_data_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `api_error` is never used
[INFO] [stdout]    --> src/error.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn api_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `timeout_error` is never used
[INFO] [stdout]    --> src/error.rs:120:8
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub fn timeout_error(message: impl Into<String>) -> PusherError {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 34.32s
[INFO] running `Command { std: "docker" "inspect" "0d491f2859c0ea5beb8450bfe3a014c4c53466ee3c54bc43af0ac388aad53348", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d491f2859c0ea5beb8450bfe3a014c4c53466ee3c54bc43af0ac388aad53348", kill_on_drop: false }`
[INFO] [stdout] 0d491f2859c0ea5beb8450bfe3a014c4c53466ee3c54bc43af0ac388aad53348
