[INFO] fetching crate rpresence 0.0.1...
[INFO] testing rpresence-0.0.1 against beta-2025-10-28 for beta-1.92-2
[INFO] extracting crate rpresence 0.0.1 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate rpresence 0.0.1
[INFO] finished tweaking crates.io crate rpresence 0.0.1
[INFO] tweaked toml for crates.io crate rpresence 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rpresence 0.0.1 on toolchain beta-2025-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rpresence 0.0.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4bc37b793a9bcc8bf97b70c636eb8b6a6798f1294c470dc1e3bffafcb678c215
[INFO] running `Command { std: "docker" "start" "-a" "4bc37b793a9bcc8bf97b70c636eb8b6a6798f1294c470dc1e3bffafcb678c215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bc37b793a9bcc8bf97b70c636eb8b6a6798f1294c470dc1e3bffafcb678c215", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bc37b793a9bcc8bf97b70c636eb8b6a6798f1294c470dc1e3bffafcb678c215", kill_on_drop: false }`
[INFO] [stdout] 4bc37b793a9bcc8bf97b70c636eb8b6a6798f1294c470dc1e3bffafcb678c215
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83811cc7b595340072d6b23f42d64e2127d34d3fcfc7d3a5679bd6d7bf5822ee
[INFO] running `Command { std: "docker" "start" "-a" "83811cc7b595340072d6b23f42d64e2127d34d3fcfc7d3a5679bd6d7bf5822ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling rpresence v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(pattern)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ipc::utils`
[INFO] [stdout]  --> src/ipc/platform/unix_connection.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::ipc::utils;
[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: `crate::rpc::packet::Packet`
[INFO] [stdout]  --> src/ipc/platform/unix_connection.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::rpc::packet::Packet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `JoinHandle`
[INFO] [stdout]   --> src/lib.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |     thread::{self, JoinHandle},
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&std::sync::RwLock<Option<UnixStream>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/ipc/client.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 |         self.pipe.as_ref().as_ref().map_or(
[INFO] [stdout]    |                            ^^^^^^ method cannot be called on `&std::sync::RwLock<Option<UnixStream>>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::sync::RwLock<Option<UnixStream>>: AsRef<_>`
[INFO] [stdout]            which is required by `&std::sync::RwLock<Option<UnixStream>>: AsRef<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/ipc/client.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 |             |mut pipe| {
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |                 pipe.write_all(&payload)
[INFO] [stdout]    |                 ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 15 |             |mut pipe: /* Type */| {
[INFO] [stdout]    |                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Arc<std::sync::RwLock<Option<UnixStream>>>: From<Option<UnixStream>>` is not satisfied
[INFO] [stdout]   --> src/ipc/platform/unix_connection.rs:28:48
[INFO] [stdout]    |
[INFO] [stdout] 28 |                         self.pipe = Some(pipe).into();
[INFO] [stdout]    |                                                ^^^^ the trait `From<Option<UnixStream>>` is not implemented for `Arc<std::sync::RwLock<Option<UnixStream>>>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              `Arc<B>` implements `From<Cow<'_, B>>`
[INFO] [stdout]              `Arc<ByteStr>` implements `From<Arc<[u8]>>`
[INFO] [stdout]              `Arc<CStr>` implements `From<&CStr>`
[INFO] [stdout]              `Arc<CStr>` implements `From<&mut CStr>`
[INFO] [stdout]              `Arc<CStr>` implements `From<CString>`
[INFO] [stdout]              `Arc<OsStr>` implements `From<&OsStr>`
[INFO] [stdout]              `Arc<OsStr>` implements `From<&mut OsStr>`
[INFO] [stdout]              `Arc<OsStr>` implements `From<OsString>`
[INFO] [stdout]            and 14 others
[INFO] [stdout]    = note: required for `Option<UnixStream>` to implement `Into<Arc<std::sync::RwLock<Option<UnixStream>>>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: the method `as_ref` exists for reference `&std::sync::RwLock<Option<UnixStream>>`, but its trait bounds were not satisfied
[INFO] [stdout]   --> src/ipc/platform/unix_connection.rs:50:48
[INFO] [stdout]    |
[INFO] [stdout] 50 |         if let Some(pipe) = self.pipe.as_ref().as_ref().as_mut().take() {
[INFO] [stdout]    |                                                ^^^^^^ method cannot be called on `&std::sync::RwLock<Option<UnixStream>>` due to unsatisfied trait bounds
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `std::sync::RwLock<Option<UnixStream>>: AsRef<_>`
[INFO] [stdout]            which is required by `&std::sync::RwLock<Option<UnixStream>>: AsRef<_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/ipc/platform/unix_connection.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let _ = pipe.shutdown(std::net::Shutdown::Both);
[INFO] [stdout]    |                     ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ipc/platform/unix_connection.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 61 |         RichClient::_write(
[INFO] [stdout]    |         ------------------ arguments to this function are incorrect
[INFO] [stdout] 62 |             pipe,
[INFO] [stdout]    |             ^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut Option<_>`
[INFO] [stdout]                       found reference `&Option<_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/ipc/client.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |       pub(crate) fn _write(
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout] 39 |           #[cfg(target_os = "windows")] pipe: &Option<std::fs::File>,
[INFO] [stdout] 40 | /         #[cfg(not(target_os = "windows"))] pipe: &mut Option<
[INFO] [stdout] 41 | |             std::os::unix::net::UnixStream,
[INFO] [stdout] 42 | |         >,
[INFO] [stdout]    | |_________-
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `RichClient<'a>` has no field named `handle`
[INFO] [stdout]   --> src/lib.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             handle: None,
[INFO] [stdout]    |             ^^^^^^ `RichClient<'a>` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: all struct fields are already assigned
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handle` on type `&mut RichClient<'a>`
[INFO] [stdout]    --> src/lib.rs:149:14
[INFO] [stdout]     |
[INFO] [stdout] 149 |         self.handle = Some(thread::spawn(move || {
[INFO] [stdout]     |              ^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `client_id`, `pid`, `connection_state`, `on_ready`, `on_disconnect` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:153:57
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 let (op, data) = match RichClient::read(&pipe) {
[INFO] [stdout]     |                                        ---------------- ^^^^^ expected `&Option<UnixStream>`, found `&Arc<RwLock<Option<UnixStream>>>`
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<UnixStream>`
[INFO] [stdout]                found reference `&Arc<std::sync::RwLock<Option<UnixStream>>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ipc/client.rs:64:19
[INFO] [stdout]     |
[INFO] [stdout]  64 |       pub(crate) fn read(
[INFO] [stdout]     |                     ^^^^
[INFO] [stdout]  65 |           #[cfg(target_os = "windows")] pipe: &Option<std::fs::File>,
[INFO] [stdout]  66 | /         #[cfg(not(target_os = "windows"))] pipe: &Option<
[INFO] [stdout]  67 | |             std::os::unix::net::UnixStream,
[INFO] [stdout]  68 | |         >,
[INFO] [stdout]     | |_________-
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:203:56
[INFO] [stdout]     |
[INFO] [stdout] 203 | ...                   let _ = RichClient::_close(&pipe, client_id);
[INFO] [stdout]     |                               ------------------ ^^^^^ expected `&Option<UnixStream>`, found `&Arc<RwLock<Option<UnixStream>>>`
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Option<UnixStream>`
[INFO] [stdout]                found reference `&Arc<std::sync::RwLock<Option<UnixStream>>>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/ipc/client.rs:87:8
[INFO] [stdout]     |
[INFO] [stdout]  87 |     fn _close(
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout]  88 |         #[cfg(target_os = "windows")] pipe: &Option<std::fs::File>,
[INFO] [stdout]  89 |         #[cfg(not(target_os = "windows"))] pipe: &Option<
[INFO] [stdout]     |                                            ----
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `handle` on type `&mut RichClient<'a>`
[INFO] [stdout]    --> src/lib.rs:220:36
[INFO] [stdout]     |
[INFO] [stdout] 220 |         if let Some(handle) = self.handle.take() {
[INFO] [stdout]     |                                    ^^^^^^ unknown field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `client_id`, `pid`, `connection_state`, `on_ready`, `on_disconnect` ... and 4 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:221:16
[INFO] [stdout]     |
[INFO] [stdout] 221 |             if handle.is_finished() {
[INFO] [stdout]     |                ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/ipc/platform/unix_connection.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308, E0554, E0560, E0599, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rpresence` (lib) due to 13 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "83811cc7b595340072d6b23f42d64e2127d34d3fcfc7d3a5679bd6d7bf5822ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83811cc7b595340072d6b23f42d64e2127d34d3fcfc7d3a5679bd6d7bf5822ee", kill_on_drop: false }`
[INFO] [stdout] 83811cc7b595340072d6b23f42d64e2127d34d3fcfc7d3a5679bd6d7bf5822ee
