[INFO] fetching crate twitch_api 0.7.2... [INFO] testing twitch_api-0.7.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate twitch_api 0.7.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate twitch_api 0.7.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_api 0.7.2 [INFO] tweaked toml for crates.io crate twitch_api 0.7.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate twitch_api 0.7.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate twitch_api 0.7.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded typed-builder-macro v0.20.0 [INFO] [stderr] Downloaded typed-builder v0.20.0 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded value-bag v1.6.0 [INFO] [stderr] Downloaded serde_ignored v0.1.10 [INFO] [stderr] Downloaded pin-project-internal v1.1.4 [INFO] [stderr] Downloaded futures-lite v2.2.0 [INFO] [stderr] Downloaded spinning_top v0.2.5 [INFO] [stderr] Downloaded pin-project v1.1.4 [INFO] [stderr] Downloaded curl v0.4.44 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded polling v3.3.2 [INFO] [stderr] Downloaded ureq v2.10.1 [INFO] [stderr] Downloaded serde_json v1.0.112 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded async-io v2.3.0 [INFO] [stderr] Downloaded rustls v0.23.11 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.40 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] [stderr] Downloaded universal-hash v0.4.0 [INFO] [stderr] Downloaded surf v2.3.2 [INFO] [stderr] Downloaded twitch_oauth2 v0.15.2 [INFO] [stderr] Downloaded serde_path_to_error v0.1.15 [INFO] [stderr] Downloaded aliri_braid_impl v0.4.0 [INFO] [stderr] Downloaded aliri_braid v0.4.0 [INFO] [stderr] Downloaded async-trait v0.1.77 [INFO] [stderr] Downloaded pkg-config v0.3.29 [INFO] [stderr] Downloaded async-channel v2.1.1 [INFO] [stderr] Downloaded twitch_types v0.4.8 [INFO] [stderr] Downloaded web-sys v0.3.67 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.9+1.58.0 [INFO] [stderr] Downloaded curl-sys v0.4.70+curl-8.5.0 [INFO] [stderr] Downloaded libz-sys v1.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58c1623358895a32ba293d0905796049420eadc06153c4ac85b0150206869b1f [INFO] running `Command { std: "docker" "start" "-a" "58c1623358895a32ba293d0905796049420eadc06153c4ac85b0150206869b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58c1623358895a32ba293d0905796049420eadc06153c4ac85b0150206869b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c1623358895a32ba293d0905796049420eadc06153c4ac85b0150206869b1f", kill_on_drop: false }` [INFO] [stdout] 58c1623358895a32ba293d0905796049420eadc06153c4ac85b0150206869b1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50a124e85a6b910292cb920bfb4b040831e9305d0ebb7beaaa1e52c4b76b5787 [INFO] running `Command { std: "docker" "start" "-a" "50a124e85a6b910292cb920bfb4b040831e9305d0ebb7beaaa1e52c4b76b5787", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling syn v2.0.96 [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 v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [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 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.8 [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_api v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.32s [INFO] running `Command { std: "docker" "inspect" "50a124e85a6b910292cb920bfb4b040831e9305d0ebb7beaaa1e52c4b76b5787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a124e85a6b910292cb920bfb4b040831e9305d0ebb7beaaa1e52c4b76b5787", kill_on_drop: false }` [INFO] [stdout] 50a124e85a6b910292cb920bfb4b040831e9305d0ebb7beaaa1e52c4b76b5787 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5fa7b089a18a96e7ca583629e149f7824827e27e192332f965ddfe11eb4e442 [INFO] running `Command { std: "docker" "start" "-a" "b5fa7b089a18a96e7ca583629e149f7824827e27e192332f965ddfe11eb4e442", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling sync_wrapper v1.0.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling twitch_api v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.36s [INFO] running `Command { std: "docker" "inspect" "b5fa7b089a18a96e7ca583629e149f7824827e27e192332f965ddfe11eb4e442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fa7b089a18a96e7ca583629e149f7824827e27e192332f965ddfe11eb4e442", kill_on_drop: false }` [INFO] [stdout] b5fa7b089a18a96e7ca583629e149f7824827e27e192332f965ddfe11eb4e442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0722e6253c13096aa0c15d4389aa549119ef8405c4eca536160f256691f9654b [INFO] running `Command { std: "docker" "start" "-a" "0722e6253c13096aa0c15d4389aa549119ef8405c4eca536160f256691f9654b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitch_api-d9ddac9f121e53f3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_api [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 22) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ReadmeDoctests (line 136) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 73) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 22) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `twitch_api::helix` [INFO] [stdout] --> src/lib.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api::helix::HelixClient; [INFO] [stdout] | ^^^^^ could not find `helix` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(feature = "helix")] [INFO] [stdout] | ----------------- the item is gated behind the `helix` feature [INFO] [stdout] 125 | pub mod helix; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api::twitch_oauth2` [INFO] [stdout] --> src/lib.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 5 | use twitch_api::twitch_oauth2::{AccessToken, UserToken}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(any(feature = "twitch_oauth2", all(feature = "helix", feature = "client")))] [INFO] [stdout] | ----------------------------------------------------------------------- the item is gated here [INFO] [stdout] 145 | #[doc(no_inline)] [INFO] [stdout] 146 | pub use twitch_oauth2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] --> src/lib.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api::twitch_oauth2::{ [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(any(feature = "twitch_oauth2", all(feature = "helix", feature = "client")))] [INFO] [stdout] | ----------------------------------------------------------------------- the item is gated here [INFO] [stdout] 145 | #[doc(no_inline)] [INFO] [stdout] 146 | pub use twitch_oauth2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api` [INFO] [stdout] --> src/lib.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 7 | use twitch_api::{helix::channels::GetChannelInformationRequest, TwitchClient}; [INFO] [stdout] | ^^^^^ could not find `helix` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(feature = "helix")] [INFO] [stdout] | ----------------- the item is gated behind the `helix` feature [INFO] [stdout] 125 | pub mod helix; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api::twitch_oauth2` [INFO] [stdout] --> src/lib.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api::twitch_oauth2::{ [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(any(feature = "twitch_oauth2", all(feature = "helix", feature = "client")))] [INFO] [stdout] | ----------------------------------------------------------------------- the item is gated here [INFO] [stdout] 145 | #[doc(no_inline)] [INFO] [stdout] 146 | pub use twitch_oauth2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api::TwitchClient` [INFO] [stdout] --> src/lib.rs:51:65 [INFO] [stdout] | [INFO] [stdout] 7 | use twitch_api::{helix::channels::GetChannelInformationRequest, TwitchClient}; [INFO] [stdout] | ^^^^^^^^^^^^ no `TwitchClient` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg(all(feature = "client", feature = "helix"))] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] ... [INFO] [stdout] 218 | pub struct TwitchClient<'a, C> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ReadmeDoctests (line 136) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `twitch_api::helix` [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api::helix::HelixClient; [INFO] [stdout] | ^^^^^ could not find `helix` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(feature = "helix")] [INFO] [stdout] | ----------------- the item is gated behind the `helix` feature [INFO] [stdout] 125 | pub mod helix; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api::twitch_oauth2` [INFO] [stdout] --> src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 5 | use twitch_api::twitch_oauth2::{AccessToken, UserToken}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(any(feature = "twitch_oauth2", all(feature = "helix", feature = "client")))] [INFO] [stdout] | ----------------------------------------------------------------------- the item is gated here [INFO] [stdout] 145 | #[doc(no_inline)] [INFO] [stdout] 146 | pub use twitch_oauth2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 73) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api` [INFO] [stdout] --> src/lib.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api::{TwitchClient, helix::channels::GetChannelInformationRequest}; [INFO] [stdout] | ^^^^^ could not find `helix` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 124 | #[cfg(feature = "helix")] [INFO] [stdout] | ----------------- the item is gated behind the `helix` feature [INFO] [stdout] 125 | pub mod helix; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api::TwitchClient` [INFO] [stdout] --> src/lib.rs:75:18 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api::{TwitchClient, helix::channels::GetChannelInformationRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ no `TwitchClient` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg(all(feature = "client", feature = "helix"))] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] ... [INFO] [stdout] 218 | pub struct TwitchClient<'a, C> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 5 | use twitch_api::twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(any(feature = "twitch_oauth2", all(feature = "helix", feature = "client")))] [INFO] [stdout] | ----------------------------------------------------------------------- the item is gated here [INFO] [stdout] 145 | #[doc(no_inline)] [INFO] [stdout] 146 | pub use twitch_oauth2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api::twitch_oauth2` [INFO] [stdout] --> src/lib.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 5 | use twitch_api::twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `twitch_oauth2` in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 144 | #[cfg(any(feature = "twitch_oauth2", all(feature = "helix", feature = "client")))] [INFO] [stdout] | ----------------------------------------------------------------------- the item is gated here [INFO] [stdout] 145 | #[doc(no_inline)] [INFO] [stdout] 146 | pub use twitch_oauth2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 10 | let client_id = twitch_oauth2::ClientId::new("validclientid".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `twitch_oauth2`, use `cargo add twitch_oauth2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 11 | let client_secret = twitch_oauth2::ClientSecret::new("validclientsecret".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `twitch_oauth2`, use `cargo add twitch_oauth2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DummyHttpClient` in crate `twitch_api` [INFO] [stdout] --> src/lib.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 9 | let _:&TwitchClient = &client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `twitch_api` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(feature = "client")] [INFO] [stdout] | ------------------ the item is gated behind the `client` feature [INFO] [stdout] 155 | pub use client::DummyHttpClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 22) [INFO] [stdout] src/lib.rs - (line 46) [INFO] [stdout] src/lib.rs - (line 73) [INFO] [stdout] src/lib.rs - ReadmeDoctests (line 136) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0722e6253c13096aa0c15d4389aa549119ef8405c4eca536160f256691f9654b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0722e6253c13096aa0c15d4389aa549119ef8405c4eca536160f256691f9654b", kill_on_drop: false }` [INFO] [stdout] 0722e6253c13096aa0c15d4389aa549119ef8405c4eca536160f256691f9654b