[INFO] fetching crate twitchalerts 0.1.5...
[INFO] testing twitchalerts-0.1.5 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate twitchalerts 0.1.5 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate twitchalerts 0.1.5 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 175 packages to latest compatible versions
[INFO] [stderr]       Adding reqwest v0.11.27 (available: v0.13.1)
[INFO] [stderr]       Adding toml v0.8.23 (available: v0.9.10+spec-1.1.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd60e4d74e0108292094cdb6d8b3ed7763b382ecce97e9383c42fa1d99733918
[INFO] running `Command { std: "docker" "start" "-a" "fd60e4d74e0108292094cdb6d8b3ed7763b382ecce97e9383c42fa1d99733918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd60e4d74e0108292094cdb6d8b3ed7763b382ecce97e9383c42fa1d99733918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd60e4d74e0108292094cdb6d8b3ed7763b382ecce97e9383c42fa1d99733918", kill_on_drop: false }`
[INFO] [stdout] fd60e4d74e0108292094cdb6d8b3ed7763b382ecce97e9383c42fa1d99733918
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ae1bf719190ed88991dfa201152cc5ac57d0aa0cde751a319d0fbb3b4895071
[INFO] running `Command { std: "docker" "start" "-a" "7ae1bf719190ed88991dfa201152cc5ac57d0aa0cde751a319d0fbb3b4895071", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling bitflags v2.10.0
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling winnow v0.7.14
[INFO] [stderr]    Compiling toml_write v0.1.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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 37.27s
[INFO] running `Command { std: "docker" "inspect" "7ae1bf719190ed88991dfa201152cc5ac57d0aa0cde751a319d0fbb3b4895071", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ae1bf719190ed88991dfa201152cc5ac57d0aa0cde751a319d0fbb3b4895071", kill_on_drop: false }`
[INFO] [stdout] 7ae1bf719190ed88991dfa201152cc5ac57d0aa0cde751a319d0fbb3b4895071
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c7045a46993c41295456e799bd74a5f3bb97ad49364202f6118eb12fcc72c19
[INFO] running `Command { std: "docker" "start" "-a" "1c7045a46993c41295456e799bd74a5f3bb97ad49364202f6118eb12fcc72c19", 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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.23s
[INFO] running `Command { std: "docker" "inspect" "1c7045a46993c41295456e799bd74a5f3bb97ad49364202f6118eb12fcc72c19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c7045a46993c41295456e799bd74a5f3bb97ad49364202f6118eb12fcc72c19", kill_on_drop: false }`
[INFO] [stdout] 1c7045a46993c41295456e799bd74a5f3bb97ad49364202f6118eb12fcc72c19
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1c3ff806445960014a0ed2b0489cb68868ab341cc96c94d42ea54b579dda2ac0
[INFO] running `Command { std: "docker" "start" "-a" "1c3ff806445960014a0ed2b0489cb68868ab341cc96c94d42ea54b579dda2ac0", 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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] 
[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.18s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitchalerts-a3659854f114f287)
[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/client.rs - client::Client::new (line 106) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::run (line 177) ... FAILED
[INFO] [stdout] test src/client.rs - client::Client::event_handler (line 145) ... FAILED
[INFO] [stdout] test src/traits.rs - traits::EventHandler (line 12) ... 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/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] ---- 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/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] 
[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.52s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1c3ff806445960014a0ed2b0489cb68868ab341cc96c94d42ea54b579dda2ac0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c3ff806445960014a0ed2b0489cb68868ab341cc96c94d42ea54b579dda2ac0", kill_on_drop: false }`
[INFO] [stdout] 1c3ff806445960014a0ed2b0489cb68868ab341cc96c94d42ea54b579dda2ac0
