[INFO] fetching crate twitch_oauth2 0.17.1... [INFO] testing twitch_oauth2-0.17.1 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate twitch_oauth2 0.17.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate twitch_oauth2 0.17.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_oauth2 0.17.1 [INFO] tweaked toml for crates.io crate twitch_oauth2 0.17.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate twitch_oauth2 0.17.1 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate twitch_oauth2 0.17.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body v1.0.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.40 [INFO] [stderr] Downloaded getrandom v0.2.12 [INFO] [stderr] Downloaded aliri_braid_impl v0.4.0 [INFO] [stderr] Downloaded once_cell v1.20.1 [INFO] [stderr] Downloaded serde_json v1.0.112 [INFO] [stderr] Downloaded aliri_braid v0.4.0 [INFO] [stderr] Downloaded ppv-lite86 v0.2.17 [INFO] [stderr] Downloaded dotenv v0.15.0 [INFO] [stderr] Downloaded memchr v2.7.1 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded web-sys v0.3.67 [INFO] [stderr] Downloaded twitch_types v0.4.9 [INFO] [stderr] Downloaded aws-lc-sys v0.39.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e3642164f20d88b4cc870dd40d63f407538db599c4246a6f2d5ff55dec87f60 [INFO] running `Command { std: "docker" "start" "-a" "9e3642164f20d88b4cc870dd40d63f407538db599c4246a6f2d5ff55dec87f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e3642164f20d88b4cc870dd40d63f407538db599c4246a6f2d5ff55dec87f60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3642164f20d88b4cc870dd40d63f407538db599c4246a6f2d5ff55dec87f60", kill_on_drop: false }` [INFO] [stdout] 9e3642164f20d88b4cc870dd40d63f407538db599c4246a6f2d5ff55dec87f60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0484a6a185fe7e51b287e73639a657bb619c2cc7d8b97173da35cadfcf549998 [INFO] running `Command { std: "docker" "start" "-a" "0484a6a185fe7e51b287e73639a657bb619c2cc7d8b97173da35cadfcf549998", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling rand_core v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling chacha20 v0.10.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling twitch_types v0.4.9 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling twitch_oauth2 v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.58s [INFO] running `Command { std: "docker" "inspect" "0484a6a185fe7e51b287e73639a657bb619c2cc7d8b97173da35cadfcf549998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0484a6a185fe7e51b287e73639a657bb619c2cc7d8b97173da35cadfcf549998", kill_on_drop: false }` [INFO] [stdout] 0484a6a185fe7e51b287e73639a657bb619c2cc7d8b97173da35cadfcf549998 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe97d9ea39f722880d51c4847631fdf6cda5d5b9e30f0fd194f686a5095e70d5 [INFO] running `Command { std: "docker" "start" "-a" "fe97d9ea39f722880d51c4847631fdf6cda5d5b9e30f0fd194f686a5095e70d5", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling rand v0.10.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling twitch_oauth2 v0.17.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-sys v0.39.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.19 [INFO] [stderr] Compiling aws-lc-rs v1.16.2 [INFO] [stderr] Compiling rustls-webpki v0.103.10 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 43.97s [INFO] running `Command { std: "docker" "inspect" "fe97d9ea39f722880d51c4847631fdf6cda5d5b9e30f0fd194f686a5095e70d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe97d9ea39f722880d51c4847631fdf6cda5d5b9e30f0fd194f686a5095e70d5", kill_on_drop: false }` [INFO] [stdout] fe97d9ea39f722880d51c4847631fdf6cda5d5b9e30f0fd194f686a5095e70d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a39db0ab25403abb0059eaf742e2b3d9713834bbff57495042885fa487fb32a [INFO] running `Command { std: "docker" "start" "-a" "4a39db0ab25403abb0059eaf742e2b3d9713834bbff57495042885fa487fb32a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitch_oauth2-c270904e4cfc4d3c) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test scopes::tests::custom_scope ... ok [INFO] [stdout] test scopes::tests::no_deprecated ... ok [INFO] [stdout] test scopes::sorted ... ok [INFO] [stdout] test scopes::validator::tests::valid_all ... ok [INFO] [stdout] test scopes::validator::tests::valid_any ... ok [INFO] [stdout] test scopes::validator::tests::display ... ok [INFO] [stdout] test scopes::validator::tests::valid_basic ... ok [INFO] [stdout] test scopes::validator::tests::valid_not ... ok [INFO] [stdout] test scopes::validator::tests::valid_strange ... ok [INFO] [stdout] test scopes::validator::tests::valid_strange_not ... ok [INFO] [stdout] test tokens::tests::validated_error_response ... ok [INFO] [stdout] test scopes::validator::tests::missing ... ok [INFO] [stdout] test scopes::tests::roundabout ... ok [INFO] [stdout] test tokens::tests::validated_non_expiring_token ... ok [INFO] [stdout] test tokens::tests::validated_token ... ok [INFO] [stdout] test tokens::user_token::tests::from_validated_and_token ... ok [INFO] [stdout] test tokens::user_token::tests::generate_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_oauth2 [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 271) - compile ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 370) - compile fail ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 360) - compile fail ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator (line 15) - compile ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 348) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 329) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator::missing (line 134) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 283) ... ok [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::token (line 49) - compile ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 305) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator::matches (line 92) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator::missing (line 123) ... ok [INFO] [stdout] test src/lib.rs - (line 15) - compile ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::DeviceUserTokenBuilder (line 933) ... FAILED [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator::missing (line 114) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 294) ... ok [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::is_elapsed (line 75) - compile ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 461) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 483) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 447) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 319) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 511) ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder::get_user_token_request (line 630) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: cannot find `client` in `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | async {let client = twitch_oauth2::client::DummyClient; stringify!( [INFO] [stdout] | ^^^^^^ could not find `client` in `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 58 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_token` found for struct `twitch_oauth2::UserToken` in the current scope [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let token = UserToken::from_token(&client, token).await?; [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `twitch_oauth2::UserToken` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `twitch_oauth2::UserToken` consider using one of the following associated functions: [INFO] [stdout] twitch_oauth2::UserToken::new [INFO] [stdout] twitch_oauth2::UserToken::from_existing_unchecked [INFO] [stdout] twitch_oauth2::UserToken::from_response [INFO] [stdout] --> src/tokens/user_token.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / pub fn new( [INFO] [stdout] 74 | | access_token: AccessToken, [INFO] [stdout] 75 | | refresh_token: Option, [INFO] [stdout] 76 | | validated: ValidatedToken, [INFO] [stdout] 77 | | client_secret: impl Into>, [INFO] [stdout] 78 | | ) -> Result> { [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 258 | / pub fn from_existing_unchecked( [INFO] [stdout] 259 | | access_token: impl Into, [INFO] [stdout] 260 | | refresh_token: impl Into>, [INFO] [stdout] 261 | | client_id: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 266 | | expires_in: Option, [INFO] [stdout] 267 | | ) -> UserToken { [INFO] [stdout] | |__________________^ [INFO] [stdout] ... [INFO] [stdout] 283 | / pub fn from_response( [INFO] [stdout] 284 | | response: crate::id::TwitchTokenResponse, [INFO] [stdout] 285 | | validated: ValidatedToken, [INFO] [stdout] 286 | | client_secret: impl Into>, [INFO] [stdout] 287 | | ) -> Result> { [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] help: there is a method `token` with a similar name, but with different arguments [INFO] [stdout] --> src/tokens.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | fn token(&self) -> &AccessToken; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tokens/user_token.rs - tokens::user_token::DeviceUserTokenBuilder (line 933) stdout ---- [INFO] [stdout] error[E0433]: cannot find `client` in `twitch_oauth2` [INFO] [stdout] --> src/tokens/user_token.rs:939:29 [INFO] [stdout] | [INFO] [stdout] 939 | let client = twitch_oauth2::client::DummyClient; stringify!( [INFO] [stdout] | ^^^^^^ could not find `client` in `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 58 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `start` found for struct `DeviceUserTokenBuilder` in the current scope [INFO] [stdout] --> src/tokens/user_token.rs:945:20 [INFO] [stdout] | [INFO] [stdout] 945 | let code = builder.start(&client).await?; [INFO] [stdout] | ^^^^^ method not found in `DeviceUserTokenBuilder` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait_for_code` found for struct `DeviceUserTokenBuilder` in the current scope [INFO] [stdout] --> src/tokens/user_token.rs:947:21 [INFO] [stdout] | [INFO] [stdout] 947 | let token = builder.wait_for_code(&client, tokio::time::sleep).await?; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `DeviceUserTokenBuilder` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tokens.rs - tokens::TwitchToken::is_elapsed (line 75) stdout ---- [INFO] [stdout] error[E0599]: no method named `refresh_token` found for struct `twitch_oauth2::UserToken` in the current scope [INFO] [stdout] --> src/tokens.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | user_token.refresh_token(&reqwest::Client::builder().redirect(reqwest::redirect::Policy::none()).build()?).await?; [INFO] [stdout] | ^^^^^^^^^^^^^---------------------------------------------------------------------------------- help: remove the arguments [INFO] [stdout] | | [INFO] [stdout] | field, not a method [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 511) stdout ---- [INFO] [stdout] error[E0433]: cannot find `client` in `twitch_oauth2` [INFO] [stdout] --> src/tokens/user_token.rs:522:29 [INFO] [stdout] | [INFO] [stdout] 522 | let client = twitch_oauth2::client::DummyClient; stringify!( [INFO] [stdout] | ^^^^^^ could not find `client` in `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 58 | pub mod client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_user_token` found for struct `UserTokenBuilder` in the current scope [INFO] [stdout] --> src/tokens/user_token.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | let token = builder.get_user_token(&client, state.as_ref(), code.as_ref()).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `get_user_token_request` with a similar name, but with different arguments [INFO] [stdout] --> src/tokens/user_token.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | pub fn get_user_token_request(&self, code: &str) -> http::Request> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] src/tokens.rs - tokens::TwitchToken::is_elapsed (line 75) [INFO] [stdout] src/tokens/user_token.rs - tokens::user_token::DeviceUserTokenBuilder (line 933) [INFO] [stdout] src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 511) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 19 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.59s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4a39db0ab25403abb0059eaf742e2b3d9713834bbff57495042885fa487fb32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a39db0ab25403abb0059eaf742e2b3d9713834bbff57495042885fa487fb32a", kill_on_drop: false }` [INFO] [stdout] 4a39db0ab25403abb0059eaf742e2b3d9713834bbff57495042885fa487fb32a