[INFO] cloning repository https://github.com/ghulq/rustcord [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ghulq/rustcord" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghulq%2Frustcord", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghulq%2Frustcord'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2aa14187125dd4ed29a09048b46a35d03c06425a [INFO] checking ghulq/rustcord against try#4e55a504843955c97eb06907c71f6f3e99208021 for pr-146978 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fghulq%2Frustcord" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ghulq/rustcord [INFO] finished tweaking git repo https://github.com/ghulq/rustcord [INFO] tweaked toml for git repo https://github.com/ghulq/rustcord written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ghulq/rustcord on toolchain 4e55a504843955c97eb06907c71f6f3e99208021 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "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" "+4e55a504843955c97eb06907c71f6f3e99208021" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 210 packages to latest Rust 1.92.0-nightly compatible versions [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding pyo3 v0.18.3 (available: v0.27.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-tungstenite v0.18.0 (available: v0.28.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-macros v0.18.3 [INFO] [stderr] Downloaded pyo3-build-config v0.18.3 [INFO] [stderr] Downloaded pyo3-macros-backend v0.18.3 [INFO] [stderr] Downloaded pyo3-ffi v0.18.3 [INFO] [stderr] Downloaded pyo3 v0.18.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ee8d4a27d1d28497515beda5a94117a39c4c4a77b0f4b8e57aba56914cf58f9 [INFO] running `Command { std: "docker" "start" "-a" "4ee8d4a27d1d28497515beda5a94117a39c4c4a77b0f4b8e57aba56914cf58f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ee8d4a27d1d28497515beda5a94117a39c4c4a77b0f4b8e57aba56914cf58f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee8d4a27d1d28497515beda5a94117a39c4c4a77b0f4b8e57aba56914cf58f9", kill_on_drop: false }` [INFO] [stdout] 4ee8d4a27d1d28497515beda5a94117a39c4c4a77b0f4b8e57aba56914cf58f9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4e55a504843955c97eb06907c71f6f3e99208021" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2020ceeea96ce848c4bf9ccaad3e0af5b8d80c9fb5f5472f95965dd0f42f2a3 [INFO] running `Command { std: "docker" "start" "-a" "a2020ceeea96ce848c4bf9ccaad3e0af5b8d80c9fb5f5472f95965dd0f42f2a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling pyo3-build-config v0.18.3 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling pyo3-ffi v0.18.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling pyo3 v0.18.3 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking pkg-config v0.3.32 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.18.3 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling pyo3-macros v0.18.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tungstenite v0.18.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-tungstenite v0.18.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rustcord v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Instant`, `Mutex as StdMutex`, and `collections::HashMap` [INFO] [stdout] --> src/discord/gateway.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | sync::{Arc, Mutex as StdMutex}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | time::{Duration, Instant, SystemTime}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `std::marker::Copy` cannot be implemented for this type [INFO] [stdout] --> src/discord/models.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Copy, Deserialize)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub token: String, [INFO] [stdout] | ----------------- this field does not implement `std::marker::Copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Instant`, `Mutex as StdMutex`, and `collections::HashMap` [INFO] [stdout] --> src/discord/gateway.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | sync::{Arc, Mutex as StdMutex}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | time::{Duration, Instant, SystemTime}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discord/gateway.rs:391:40 [INFO] [stdout] | [INFO] [stdout] 391 | ... if let Ok(callbacks) = shared.event_callbacks.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------------------- this expression has type `impl Future>>>` [INFO] [stdout] | | [INFO] [stdout] | expected future, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future>>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustcord-2b301eaefb1c8682.long-type-13362144804190939430.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discord/gateway.rs:411:57 [INFO] [stdout] | [INFO] [stdout] 411 | ... if let Err(e) = callback.call1(py, (py_data,)) { [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0204]: the trait `std::marker::Copy` cannot be implemented for this type [INFO] [stdout] --> src/discord/models.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Clone, Copy, Deserialize)] [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub token: String, [INFO] [stdout] | ----------------- this field does not implement `std::marker::Copy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future>>>` in the current scope [INFO] [stdout] --> src/discord/gateway.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 98 | let mut callbacks = self [INFO] [stdout] | _____________________________- [INFO] [stdout] 99 | | .shared [INFO] [stdout] 100 | | .event_callbacks [INFO] [stdout] 101 | | .lock() [INFO] [stdout] 102 | | .map_err(|e| DiscordError::MutexError(e.to_string()).to_pyerr())?; [INFO] [stdout] | | -^^^^^^^ method not found in `impl Future>>>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustcord-2b301eaefb1c8682.long-type-3703327919860208711.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discord/gateway.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|e| DiscordError::MutexError(e.to_string()).to_pyerr())?; [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] 102 | .map_err(|e: /* Type */| DiscordError::MutexError(e.to_string()).to_pyerr())?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/discord/gateway.rs:391:40 [INFO] [stdout] | [INFO] [stdout] 391 | ... if let Ok(callbacks) = shared.event_callbacks.lock() { [INFO] [stdout] | ^^^^^^^^^^^^^ ----------------------------- this expression has type `impl Future>>>` [INFO] [stdout] | | [INFO] [stdout] | expected future, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl futures::Future>>>` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustcord-1a951c853c352d40.long-type-17945273467411837477.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discord/gateway.rs:411:57 [INFO] [stdout] | [INFO] [stdout] 411 | ... if let Err(e) = callback.call1(py, (py_data,)) { [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err` found for opaque type `impl Future>>>` in the current scope [INFO] [stdout] --> src/discord/gateway.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 98 | let mut callbacks = self [INFO] [stdout] | _____________________________- [INFO] [stdout] 99 | | .shared [INFO] [stdout] 100 | | .event_callbacks [INFO] [stdout] 101 | | .lock() [INFO] [stdout] 102 | | .map_err(|e| DiscordError::MutexError(e.to_string()).to_pyerr())?; [INFO] [stdout] | | -^^^^^^^ method not found in `impl Future>>>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rustcord-1a951c853c352d40.long-type-10268753424217826307.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/discord/gateway.rs:102:23 [INFO] [stdout] | [INFO] [stdout] 102 | .map_err(|e| DiscordError::MutexError(e.to_string()).to_pyerr())?; [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] 102 | .map_err(|e: /* Type */| DiscordError::MutexError(e.to_string()).to_pyerr())?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0204, E0282, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcord` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0204, E0282, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0204`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustcord` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a2020ceeea96ce848c4bf9ccaad3e0af5b8d80c9fb5f5472f95965dd0f42f2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2020ceeea96ce848c4bf9ccaad3e0af5b8d80c9fb5f5472f95965dd0f42f2a3", kill_on_drop: false }` [INFO] [stdout] a2020ceeea96ce848c4bf9ccaad3e0af5b8d80c9fb5f5472f95965dd0f42f2a3