[INFO] fetching crate speedrun-api 1.3.0... [INFO] testing speedrun-api-1.3.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate speedrun-api 1.3.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate speedrun-api 1.3.0 [INFO] finished tweaking crates.io crate speedrun-api 1.3.0 [INFO] tweaked toml for crates.io crate speedrun-api 1.3.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate speedrun-api 1.3.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate speedrun-api 1.3.0 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-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eebf02536050c89345ccfa5b3fcd3f38c34a485b2ed48c1904f71ef6c747fffc [INFO] running `Command { std: "docker" "start" "-a" "eebf02536050c89345ccfa5b3fcd3f38c34a485b2ed48c1904f71ef6c747fffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eebf02536050c89345ccfa5b3fcd3f38c34a485b2ed48c1904f71ef6c747fffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebf02536050c89345ccfa5b3fcd3f38c34a485b2ed48c1904f71ef6c747fffc", kill_on_drop: false }` [INFO] [stdout] eebf02536050c89345ccfa5b3fcd3f38c34a485b2ed48c1904f71ef6c747fffc [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2173fbcc4150f97bbb9b356faab36221d41d8f0b49abb7a44f0b0af678f30ee [INFO] running `Command { std: "docker" "start" "-a" "f2173fbcc4150f97bbb9b356faab36221d41d8f0b49abb7a44f0b0af678f30ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling futures-io v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling darling_core v0.14.2 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.24 [INFO] [stderr] Compiling futures v0.3.24 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling speedrun-api v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Notification` is never constructed [INFO] [stdout] --> src/types/notifications.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Notification { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/types/notifications.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadStatus` is never used [INFO] [stdout] --> src/types/notifications.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ReadStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/pagination.rs:214:59 [INFO] [stdout] | [INFO] [stdout] 214 | fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 - fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stdout] 214 + fn stream(&'a self, client: &'a C) -> BoxStream<'a, Result>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.18s [INFO] running `Command { std: "docker" "inspect" "f2173fbcc4150f97bbb9b356faab36221d41d8f0b49abb7a44f0b0af678f30ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2173fbcc4150f97bbb9b356faab36221d41d8f0b49abb7a44f0b0af678f30ee", kill_on_drop: false }` [INFO] [stdout] f2173fbcc4150f97bbb9b356faab36221d41d8f0b49abb7a44f0b0af678f30ee [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0b5a339c7704a24af6d98faa55884d42c1fea899f686e0d86727cccb2c1787a [INFO] running `Command { std: "docker" "start" "-a" "f0b5a339c7704a24af6d98faa55884d42c1fea899f686e0d86727cccb2c1787a", kill_on_drop: false }` [INFO] [stderr] Compiling io-lifetimes v1.0.4 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stdout] warning: struct `Notification` is never constructed [INFO] [stdout] --> src/types/notifications.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Notification { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/types/notifications.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadStatus` is never used [INFO] [stdout] --> src/types/notifications.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ReadStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/pagination.rs:214:59 [INFO] [stdout] | [INFO] [stdout] 214 | fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 - fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stdout] 214 + fn stream(&'a self, client: &'a C) -> BoxStream<'a, Result>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling is-terminal v0.4.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling speedrun-api v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `id`, `abbreviation`, and `weblink` are never read [INFO] [stdout] --> examples/series.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | struct BulkGame { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 80 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 81 | names: types::Names, [INFO] [stdout] 82 | abbreviation: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 83 | weblink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BulkGame` has a derived impl for the trait `Debug`, 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: struct `Notification` is never constructed [INFO] [stdout] --> src/types/notifications.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Notification { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Item` is never used [INFO] [stdout] --> src/types/notifications.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReadStatus` is never used [INFO] [stdout] --> src/types/notifications.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ReadStatus { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/api/pagination.rs:214:59 [INFO] [stdout] | [INFO] [stdout] 214 | fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 214 - fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stdout] 214 + fn stream(&'a self, client: &'a C) -> BoxStream<'a, Result>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.66s [INFO] running `Command { std: "docker" "inspect" "f0b5a339c7704a24af6d98faa55884d42c1fea899f686e0d86727cccb2c1787a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b5a339c7704a24af6d98faa55884d42c1fea899f686e0d86727cccb2c1787a", kill_on_drop: false }` [INFO] [stdout] f0b5a339c7704a24af6d98faa55884d42c1fea899f686e0d86727cccb2c1787a [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 346947c9b7f5efc26f58267b0f04f2f6e772f0835c647ac96490e9034bc7c770 [INFO] running `Command { std: "docker" "start" "-a" "346947c9b7f5efc26f58267b0f04f2f6e772f0835c647ac96490e9034bc7c770", kill_on_drop: false }` [INFO] [stderr] warning: struct `Notification` is never constructed [INFO] [stderr] --> src/types/notifications.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Notification { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | unused, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stderr] [INFO] [stderr] warning: enum `Item` is never used [INFO] [stderr] --> src/types/notifications.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | pub enum Item { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `ReadStatus` is never used [INFO] [stderr] --> src/types/notifications.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | pub enum ReadStatus { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/api/pagination.rs:214:59 [INFO] [stderr] | [INFO] [stderr] 214 | fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stderr] | -- -- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 214 - fn stream(&'a self, client: &'a C) -> BoxStream<'_, Result>> [INFO] [stderr] 214 + fn stream(&'a self, client: &'a C) -> BoxStream<'a, Result>> [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `speedrun-api` (lib) generated 4 warnings (run `cargo fix --lib -p speedrun-api` to apply 1 suggestion) [INFO] [stderr] warning: fields `id`, `abbreviation`, and `weblink` are never read [INFO] [stderr] --> examples/series.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 79 | struct BulkGame { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 80 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 81 | names: types::Names, [INFO] [stderr] 82 | abbreviation: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 83 | weblink: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BulkGame` has a derived impl for the trait `Debug`, 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: `speedrun-api` (example "series") generated 1 warning [INFO] [stderr] warning: `speedrun-api` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/speedrun_api-cf3929901145bc1b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test api::query_params::test::extend_from ... ok [INFO] [stdout] test api::query_params::test::extend_from_empty ... ok [INFO] [stdout] test api::query_params::test::empty_query_params ... ok [INFO] [stderr] Doc-tests speedrun_api [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/api.rs - api (line 7) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api.rs - api (line 7) stdout ---- [INFO] [stdout] error[E0599]: the method `max` exists for struct `SinglePageBuilder<'_, Games<'_>>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/api.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 43 | let single_page_endpoint = paginated_endpoint [INFO] [stdout] | ________________________________- [INFO] [stdout] 44 | | .single_page() [INFO] [stdout] 45 | | .offset(100) [INFO] [stdout] 46 | | .max(100) [INFO] [stdout] | | -^^^ private field, not a method [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/api/pagination.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct SinglePageBuilder<'a, E> { [INFO] [stdout] | ----------------------------------- doesn't satisfy `SinglePageBuilder<'_, Games<'_>>: Iterator` or `SinglePageBuilder<'_, Games<'_>>: Ord` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `SinglePageBuilder<'_, Games<'_>>: Ord` [INFO] [stdout] which is required by `&SinglePageBuilder<'_, Games<'_>>: Ord` [INFO] [stdout] `SinglePageBuilder<'_, Games<'_>>: Ord` [INFO] [stdout] which is required by `&mut SinglePageBuilder<'_, Games<'_>>: Ord` [INFO] [stdout] `SinglePageBuilder<'_, Games<'_>>: Iterator` [INFO] [stdout] which is required by `&mut SinglePageBuilder<'_, Games<'_>>: Iterator` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 28 | let client = SpeedrunApiBuilder::new().build_async()?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] ... [INFO] [stdout] 51 | let games: Vec = single_page_endpoint.query_async(&client).await?; [INFO] [stdout] | - this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api.rs:38:57 [INFO] [stdout] | [INFO] [stdout] 33 | let game: Game = endpoint.query_async(&client).await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] ... [INFO] [stdout] 51 | let games: Vec = single_page_endpoint.query_async(&client).await?; [INFO] [stdout] | - this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api.rs:45:86 [INFO] [stdout] | [INFO] [stdout] 40 | let games: Vec = async_stream.stream(&client).take(200).try_collect().await?; [INFO] [stdout] | ^ cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] ... [INFO] [stdout] 51 | let games: Vec = single_page_endpoint.query_async(&client).await?; [INFO] [stdout] | - this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async block that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api.rs:56:75 [INFO] [stdout] | [INFO] [stdout] 51 | let games: Vec = single_page_endpoint.query_async(&client).await?; [INFO] [stdout] | ^- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | | [INFO] [stdout] | cannot use the `?` operator in an async block that returns `()` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/api.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn main() -> SpeedrunApiResult<()> { [INFO] [stdout] | --------------------- expected `Result<(), SpeedrunApiError>` because of return type [INFO] [stdout] ... [INFO] [stdout] 51 | let games: Vec = single_page_endpoint.query_async(&client).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), SpeedrunApiError>`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), SpeedrunApiError>` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: try adding an expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 51 ~ let games: Vec = single_page_endpoint.query_async(&client).await?;; [INFO] [stdout] 52 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api.rs - api (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "346947c9b7f5efc26f58267b0f04f2f6e772f0835c647ac96490e9034bc7c770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346947c9b7f5efc26f58267b0f04f2f6e772f0835c647ac96490e9034bc7c770", kill_on_drop: false }` [INFO] [stdout] 346947c9b7f5efc26f58267b0f04f2f6e772f0835c647ac96490e9034bc7c770