[INFO] fetching crate twitchalerts 0.1.5...
[INFO] testing twitchalerts-0.1.5 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate twitchalerts 0.1.5 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate twitchalerts 0.1.5
[INFO] finished tweaking crates.io crate twitchalerts 0.1.5
[INFO] tweaked toml for crates.io crate twitchalerts 0.1.5 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate twitchalerts 0.1.5 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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" "+33835004928d3bf65db4d4712e1330766263b0bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 184 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.3)
[INFO] [stderr]       Adding toml v0.8.23 (available: v1.1.2+spec-1.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc634bd255e0d0ea236c4d86705fbff15baecdecff1b3fbf78c56cab88615d7b
[INFO] running `Command { std: "docker" "start" "-a" "cc634bd255e0d0ea236c4d86705fbff15baecdecff1b3fbf78c56cab88615d7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc634bd255e0d0ea236c4d86705fbff15baecdecff1b3fbf78c56cab88615d7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc634bd255e0d0ea236c4d86705fbff15baecdecff1b3fbf78c56cab88615d7b", kill_on_drop: false }`
[INFO] [stdout] cc634bd255e0d0ea236c4d86705fbff15baecdecff1b3fbf78c56cab88615d7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 797cf51c2774bb4e0e0c728f570288557b419d62b59b799a996b1241cc728c49
[INFO] running `Command { std: "docker" "start" "-a" "797cf51c2774bb4e0e0c728f570288557b419d62b59b799a996b1241cc728c49", kill_on_drop: false }`
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.79
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling winnow v0.7.15
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling ipnet v2.12.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling twitchalerts v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let mut local_client: Client = self.clone();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `currently_streaming` is never read
[INFO] [stdout]   --> src/client.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct Client {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     currently_streaming: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:259:32
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   if C_STREAMING.contains(&info.user_id) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/client.rs:263:29
[INFO] [stdout]     |
[INFO] [stdout] 263 | ...                   C_STREAMING.push(info.user_id.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:282:36
[INFO] [stdout]     |
[INFO] [stdout] 282 | ...                   if C_STREAMING.contains(&streamer) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/client.rs:283:37
[INFO] [stdout]     |
[INFO] [stdout] 283 | ...                   C_STREAMING.retain(|x | x.to_string() != streamer)
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/config.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let _ = file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 31s
[INFO] running `Command { std: "docker" "inspect" "797cf51c2774bb4e0e0c728f570288557b419d62b59b799a996b1241cc728c49", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "797cf51c2774bb4e0e0c728f570288557b419d62b59b799a996b1241cc728c49", kill_on_drop: false }`
[INFO] [stdout] 797cf51c2774bb4e0e0c728f570288557b419d62b59b799a996b1241cc728c49
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 028dd8b53382a28e3405fb3c58b1664ef25fcefb8145ae01ebf9d431357cbc4c
[INFO] running `Command { std: "docker" "start" "-a" "028dd8b53382a28e3405fb3c58b1664ef25fcefb8145ae01ebf9d431357cbc4c", kill_on_drop: false }`
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let mut local_client: Client = self.clone();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `currently_streaming` is never read
[INFO] [stdout]   --> src/client.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct Client {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     currently_streaming: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:259:32
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   if C_STREAMING.contains(&info.user_id) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/client.rs:263:29
[INFO] [stdout]     |
[INFO] [stdout] 263 | ...                   C_STREAMING.push(info.user_id.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:282:36
[INFO] [stdout]     |
[INFO] [stdout] 282 | ...                   if C_STREAMING.contains(&streamer) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/client.rs:283:37
[INFO] [stdout]     |
[INFO] [stdout] 283 | ...                   C_STREAMING.retain(|x | x.to_string() != streamer)
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/config.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let _ = file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling twitchalerts v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:212:17
[INFO] [stdout]     |
[INFO] [stdout] 212 |             let mut local_client: Client = self.clone();
[INFO] [stdout]     |                 ----^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `currently_streaming` is never read
[INFO] [stdout]   --> src/client.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub struct Client {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 93 |     currently_streaming: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:259:32
[INFO] [stdout]     |
[INFO] [stdout] 259 | ...                   if C_STREAMING.contains(&info.user_id) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/client.rs:263:29
[INFO] [stdout]     |
[INFO] [stdout] 263 | ...                   C_STREAMING.push(info.user_id.clone());
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/client.rs:282:36
[INFO] [stdout]     |
[INFO] [stdout] 282 | ...                   if C_STREAMING.contains(&streamer) {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/client.rs:283:37
[INFO] [stdout]     |
[INFO] [stdout] 283 | ...                   C_STREAMING.retain(|x | x.to_string() != streamer)
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/config.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let _ = file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s
[INFO] running `Command { std: "docker" "inspect" "028dd8b53382a28e3405fb3c58b1664ef25fcefb8145ae01ebf9d431357cbc4c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "028dd8b53382a28e3405fb3c58b1664ef25fcefb8145ae01ebf9d431357cbc4c", kill_on_drop: false }`
[INFO] [stdout] 028dd8b53382a28e3405fb3c58b1664ef25fcefb8145ae01ebf9d431357cbc4c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 59c0d2bcc51c33055b4db3e11835b0d578b69c20c6ee521d3e02637b0e5bd346
[INFO] running `Command { std: "docker" "start" "-a" "59c0d2bcc51c33055b4db3e11835b0d578b69c20c6ee521d3e02637b0e5bd346", kill_on_drop: false }`
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/client.rs:212:17
[INFO] [stderr]     |
[INFO] [stderr] 212 |             let mut local_client: Client = self.clone();
[INFO] [stderr]     |                 ----^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `currently_streaming` is never read
[INFO] [stderr]   --> src/client.rs:93:5
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub struct Client {
[INFO] [stderr]    |            ------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 93 |     currently_streaming: Vec<String>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/client.rs:259:32
[INFO] [stderr]     |
[INFO] [stderr] 259 | ...                   if C_STREAMING.contains(&info.user_id) {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/client.rs:263:29
[INFO] [stderr]     |
[INFO] [stderr] 263 | ...                   C_STREAMING.push(info.user_id.clone());
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/client.rs:282:36
[INFO] [stderr]     |
[INFO] [stderr] 282 | ...                   if C_STREAMING.contains(&streamer) {
[INFO] [stderr]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/client.rs:283:37
[INFO] [stderr]     |
[INFO] [stderr] 283 | ...                   C_STREAMING.retain(|x | x.to_string() != streamer)
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/config.rs:36:5
[INFO] [stderr]    |
[INFO] [stderr] 36 |     file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 36 |     let _ = file.unwrap().read_to_string(&mut c_string).await;
[INFO] [stderr]    |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `twitchalerts` (lib) generated 7 warnings (run `cargo fix --lib -p twitchalerts` to apply 1 suggestion)
[INFO] [stderr] warning: `twitchalerts` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitchalerts-6410e0f5b6c75942)
[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 twitchalerts
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/error.rs - error::Error (line 25) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::EventHandler (line 12) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::event_handler (line 145) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::new (line 106) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::run (line 177) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/error.rs - error::Error (line 25) stdout ----
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> src/error.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub async fn main() -> Result<(), Error> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0752`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/traits.rs - traits::EventHandler (line 12) stdout ----
[INFO] [stdout] error[E0053]: method `on_stream` has an incompatible type for trait
[INFO] [stdout]   --> src/traits.rs:22:41
[INFO] [stdout]    |
[INFO] [stdout] 22 |     async fn on_stream(&self, streamer: &Streamer, stream: &StreamData) {
[INFO] [stdout]    |                                         ^^^^^^^^^ expected `String`, found `Streamer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&'life0 Handler, &'life1 String, &'life2 StreamData) -> Pin<_>`
[INFO] [stdout]               found signature `fn(&'life0 Handler, &'life1 Streamer, &'life2 StreamData) -> Pin<_>`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 22 -     async fn on_stream(&self, streamer: &Streamer, stream: &StreamData) {
[INFO] [stdout] 22 +     async fn on_stream(&self, streamer: &'life1 String, stream: &StreamData) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `on_error` has an incompatible type for trait
[INFO] [stdout]   --> src/traits.rs:26:37
[INFO] [stdout]    |
[INFO] [stdout] 26 |     async fn on_error(&self, error: String) {
[INFO] [stdout]    |                                     ^^^^^^ expected `twitchalerts::error::Error`, found `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected signature `fn(&'life0 Handler, twitchalerts::error::Error) -> Pin<_>`
[INFO] [stdout]               found signature `fn(&'life0 Handler, String) -> Pin<_>`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]    |
[INFO] [stdout] 26 -     async fn on_error(&self, error: String) {
[INFO] [stdout] 26 +     async fn on_error(&self, error: twitchalerts::error::Error) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0053`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::event_handler (line 145) stdout ----
[INFO] [stdout] error[E0053]: method `on_stream` has an incompatible type for trait
[INFO] [stdout]    --> src/client.rs:155:41
[INFO] [stdout]     |
[INFO] [stdout] 155 |     async fn on_stream(&self, streamer: &Streamer, stream: &StreamData) {
[INFO] [stdout]     |                                         ^^^^^^^^^ expected `String`, found `Streamer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&'life0 Handler, &'life1 String, &'life2 StreamData) -> Pin<_>`
[INFO] [stdout]                found signature `fn(&'life0 Handler, &'life1 Streamer, &'life2 StreamData) -> Pin<_>`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]     |
[INFO] [stdout] 155 -     async fn on_stream(&self, streamer: &Streamer, stream: &StreamData) {
[INFO] [stdout] 155 +     async fn on_stream(&self, streamer: &'life1 String, stream: &StreamData) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `on_error` has an incompatible type for trait
[INFO] [stdout]    --> src/client.rs:159:37
[INFO] [stdout]     |
[INFO] [stdout] 159 |     async fn on_error(&self, error: String) {
[INFO] [stdout]     |                                     ^^^^^^ expected `twitchalerts::error::Error`, found `String`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&'life0 Handler, twitchalerts::error::Error) -> Pin<_>`
[INFO] [stdout]                found signature `fn(&'life0 Handler, String) -> Pin<_>`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]     |
[INFO] [stdout] 159 -     async fn on_error(&self, error: String) {
[INFO] [stdout] 159 +     async fn on_error(&self, error: twitchalerts::error::Error) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `event_handler` found for opaque type `impl Future<Output = Client>` in the current scope
[INFO] [stdout]    --> src/client.rs:164:36
[INFO] [stdout]     |
[INFO] [stdout] 164 | let client: Client = Client::new().event_handler(Handler);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^ method not found in `impl Future<Output = Client>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 164 | let client: Client = Client::new().await.event_handler(Handler);
[INFO] [stdout]     |                                    ++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::new (line 106) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/client.rs:110:22
[INFO] [stdout]     |
[INFO] [stdout] 110 | let client: Client = Client::new();
[INFO] [stdout]     |             ------   ^^^^^^^^^^^^^ expected `Client`, found future
[INFO] [stdout]     |             |
[INFO] [stdout]     |             expected due to this
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/client.rs - client::Client::run (line 177) stdout ----
[INFO] [stdout] error[E0053]: method `on_stream` has an incompatible type for trait
[INFO] [stdout]    --> src/client.rs:188:41
[INFO] [stdout]     |
[INFO] [stdout] 188 |     async fn on_stream(&self, streamer: &Streamer, stream: &StreamData) {
[INFO] [stdout]     |                                         ^^^^^^^^^ expected `String`, found `Streamer`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&'life0 Handler, &'life1 String, &'life2 StreamData) -> Pin<_>`
[INFO] [stdout]                found signature `fn(&'life0 Handler, &'life1 Streamer, &'life2 StreamData) -> Pin<_>`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]     |
[INFO] [stdout] 188 -     async fn on_stream(&self, streamer: &Streamer, stream: &StreamData) {
[INFO] [stdout] 188 +     async fn on_stream(&self, streamer: &'life1 String, stream: &StreamData) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `on_error` has an incompatible type for trait
[INFO] [stdout]    --> src/client.rs:192:37
[INFO] [stdout]     |
[INFO] [stdout] 192 |     async fn on_error(&self, error: String) {
[INFO] [stdout]     |                                     ^^^^^^ expected `twitchalerts::error::Error`, found `String`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected signature `fn(&'life0 Handler, twitchalerts::error::Error) -> Pin<_>`
[INFO] [stdout]                found signature `fn(&'life0 Handler, String) -> Pin<_>`
[INFO] [stdout] help: change the parameter type to match the trait
[INFO] [stdout]     |
[INFO] [stdout] 192 -     async fn on_error(&self, error: String) {
[INFO] [stdout] 192 +     async fn on_error(&self, error: twitchalerts::error::Error) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `event_handler` found for opaque type `impl Future<Output = Client>` in the current scope
[INFO] [stdout]    --> src/client.rs:198:24
[INFO] [stdout]     |
[INFO] [stdout] 198 |      _ = Client::new().event_handler(Handler).run().await?;
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ method not found in `impl Future<Output = Client>`
[INFO] [stdout]     |
[INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output`
[INFO] [stdout]     |
[INFO] [stdout] 198 |      _ = Client::new().await.event_handler(Handler).run().await?;
[INFO] [stdout]     |                        ++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> src/client.rs:197:1
[INFO] [stdout]     |
[INFO] [stdout] 197 | async fn main() -> Result<(), ()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0053, E0599, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0053`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/client.rs - client::Client::event_handler (line 145)
[INFO] [stdout]     src/client.rs - client::Client::new (line 106)
[INFO] [stdout]     src/client.rs - client::Client::run (line 177)
[INFO] [stdout]     src/error.rs - error::Error (line 25)
[INFO] [stdout]     src/traits.rs - traits::EventHandler (line 12)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.44s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "59c0d2bcc51c33055b4db3e11835b0d578b69c20c6ee521d3e02637b0e5bd346", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59c0d2bcc51c33055b4db3e11835b0d578b69c20c6ee521d3e02637b0e5bd346", kill_on_drop: false }`
[INFO] [stdout] 59c0d2bcc51c33055b4db3e11835b0d578b69c20c6ee521d3e02637b0e5bd346
