[INFO] fetching crate twitch_oauth2 0.15.2... [INFO] testing twitch_oauth2-0.15.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate twitch_oauth2 0.15.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate twitch_oauth2 0.15.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_oauth2 0.15.2 [INFO] tweaked toml for crates.io crate twitch_oauth2 0.15.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate twitch_oauth2 0.15.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate twitch_oauth2 0.15.2 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09317b54fd34efe3d80fbbbb92aa29a4a32a2321b4a985ac3183c0c215b8149d [INFO] running `Command { std: "docker" "start" "-a" "09317b54fd34efe3d80fbbbb92aa29a4a32a2321b4a985ac3183c0c215b8149d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09317b54fd34efe3d80fbbbb92aa29a4a32a2321b4a985ac3183c0c215b8149d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09317b54fd34efe3d80fbbbb92aa29a4a32a2321b4a985ac3183c0c215b8149d", kill_on_drop: false }` [INFO] [stdout] 09317b54fd34efe3d80fbbbb92aa29a4a32a2321b4a985ac3183c0c215b8149d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ee370c8becacb9f0baaa0263c7f9689eaad61f2c598310a4d815e08b8206b86 [INFO] running `Command { std: "docker" "start" "-a" "1ee370c8becacb9f0baaa0263c7f9689eaad61f2c598310a4d815e08b8206b86", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling aliri_braid v0.4.0 [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 twitch_types v0.4.4 [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.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.96s [INFO] running `Command { std: "docker" "inspect" "1ee370c8becacb9f0baaa0263c7f9689eaad61f2c598310a4d815e08b8206b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee370c8becacb9f0baaa0263c7f9689eaad61f2c598310a4d815e08b8206b86", kill_on_drop: false }` [INFO] [stdout] 1ee370c8becacb9f0baaa0263c7f9689eaad61f2c598310a4d815e08b8206b86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ee260697ba87d8759315b8a33fa2bd295da1f7ebb1c3cc8ec21ff4e8555e67f [INFO] running `Command { std: "docker" "start" "-a" "5ee260697ba87d8759315b8a33fa2bd295da1f7ebb1c3cc8ec21ff4e8555e67f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling value-bag v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.90 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling wasm-bindgen v0.2.90 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling libz-sys v1.1.15 [INFO] [stderr] Compiling libnghttp2-sys v0.1.9+1.58.0 [INFO] [stderr] Compiling curl-sys v0.4.70+curl-8.5.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling rtoolbox v0.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rpassword v7.3.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.90 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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 serde_derive v1.0.196 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.90 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling pin-project v1.1.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.90 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling polling v3.3.2 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling async-io v2.3.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling js-sys v0.3.67 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.12.0 [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 tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling web-sys v0.3.67 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling twitch_types v0.4.4 [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.15.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.2 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 48.29s [INFO] running `Command { std: "docker" "inspect" "5ee260697ba87d8759315b8a33fa2bd295da1f7ebb1c3cc8ec21ff4e8555e67f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ee260697ba87d8759315b8a33fa2bd295da1f7ebb1c3cc8ec21ff4e8555e67f", kill_on_drop: false }` [INFO] [stdout] 5ee260697ba87d8759315b8a33fa2bd295da1f7ebb1c3cc8ec21ff4e8555e67f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f40f299c54a94789a66b25f3d5faa11ec02f585dbd9ed2c200b29ca8f4500a56 [INFO] running `Command { std: "docker" "start" "-a" "f40f299c54a94789a66b25f3d5faa11ec02f585dbd9ed2c200b29ca8f4500a56", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitch_oauth2-a8d74b0a6a4bf603) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test scopes::tests::custom_scope ... ok [INFO] [stdout] test scopes::sorted ... 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 tokens::tests::validated_non_expiring_token ... ok [INFO] [stdout] test scopes::validator::tests::missing ... ok [INFO] [stdout] test scopes::tests::roundabout ... 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] test scopes::tests::no_deprecated ... 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 tokens::tests::validated_token ... ok [INFO] [stderr] Doc-tests twitch_oauth2 [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [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 15) - compile ... 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::missing (line 114) ... ok [INFO] [stdout] test src/tokens.rs - tokens::TwitchToken::token (line 47) - compile ... 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 73) - compile ... FAILED [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::Validator::missing (line 123) ... ok [INFO] [stdout] test src/lib.rs - (line 16) - compile ... FAILED [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 319) ... 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 (line 305) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 452) ... ok [INFO] [stdout] test src/scopes/validator.rs - scopes::validator::validator (line 283) ... 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/tokens/user_token.rs - tokens::user_token::UserTokenBuilder::get_user_token_request (line 599) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 416) ... ok [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::DeviceUserTokenBuilder (line 902) ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 480) ... FAILED [INFO] [stdout] test src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 430) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tokens.rs - tokens::TwitchToken::is_elapsed (line 73) 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:82:16 [INFO] [stdout] | [INFO] [stdout] 11 | 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/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> /opt/rustwide/workdir/src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 59 | 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:26:24 [INFO] [stdout] | [INFO] [stdout] 13 | 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] --> /opt/rustwide/workdir/src/tokens/user_token.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / pub fn new( [INFO] [stdout] 66 | | access_token: AccessToken, [INFO] [stdout] 67 | | refresh_token: Option, [INFO] [stdout] 68 | | validated: ValidatedToken, [INFO] [stdout] 69 | | client_secret: impl Into>, [INFO] [stdout] 70 | | ) -> Result> { [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 225 | / pub fn from_existing_unchecked( [INFO] [stdout] 226 | | access_token: impl Into, [INFO] [stdout] 227 | | refresh_token: impl Into>, [INFO] [stdout] 228 | | client_id: impl Into, [INFO] [stdout] ... | [INFO] [stdout] 233 | | expires_in: Option, [INFO] [stdout] 234 | | ) -> UserToken { [INFO] [stdout] | |__________________^ [INFO] [stdout] ... [INFO] [stdout] 250 | / pub fn from_response( [INFO] [stdout] 251 | | response: crate::id::TwitchTokenResponse, [INFO] [stdout] 252 | | validated: ValidatedToken, [INFO] [stdout] 253 | | client_secret: impl Into>, [INFO] [stdout] 254 | | ) -> Result> { [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] help: there is a method `token` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/tokens.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | 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 902) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `twitch_oauth2` [INFO] [stdout] --> src/tokens/user_token.rs:908:29 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> /opt/rustwide/workdir/src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 59 | 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:914:20 [INFO] [stdout] | [INFO] [stdout] 15 | 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:916:21 [INFO] [stdout] | [INFO] [stdout] 17 | 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/user_token.rs - tokens::user_token::UserTokenBuilder (line 480) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `twitch_oauth2` [INFO] [stdout] --> src/tokens/user_token.rs:491:29 [INFO] [stdout] | [INFO] [stdout] 14 | 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] --> /opt/rustwide/workdir/src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 59 | 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:497:21 [INFO] [stdout] | [INFO] [stdout] 20 | 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] --> /opt/rustwide/workdir/src/tokens/user_token.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | 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 16) [INFO] [stdout] src/tokens.rs - tokens::TwitchToken::is_elapsed (line 73) [INFO] [stdout] src/tokens/user_token.rs - tokens::user_token::DeviceUserTokenBuilder (line 902) [INFO] [stdout] src/tokens/user_token.rs - tokens::user_token::UserTokenBuilder (line 480) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 19 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f40f299c54a94789a66b25f3d5faa11ec02f585dbd9ed2c200b29ca8f4500a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f40f299c54a94789a66b25f3d5faa11ec02f585dbd9ed2c200b29ca8f4500a56", kill_on_drop: false }` [INFO] [stdout] f40f299c54a94789a66b25f3d5faa11ec02f585dbd9ed2c200b29ca8f4500a56