[INFO] fetching crate twitch_api 0.7.2... [INFO] testing twitch_api-0.7.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate twitch_api 0.7.2 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate twitch_api 0.7.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52816bfd5b0f9760b7372af4fdc12307b42dd92ea88b1038b0e92b94a68e70e2 [INFO] running `Command { std: "docker" "start" "-a" "52816bfd5b0f9760b7372af4fdc12307b42dd92ea88b1038b0e92b94a68e70e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52816bfd5b0f9760b7372af4fdc12307b42dd92ea88b1038b0e92b94a68e70e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52816bfd5b0f9760b7372af4fdc12307b42dd92ea88b1038b0e92b94a68e70e2", kill_on_drop: false }` [INFO] [stdout] 52816bfd5b0f9760b7372af4fdc12307b42dd92ea88b1038b0e92b94a68e70e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 489b539274e7884d9c793c69659f7dc9a71ddd7edcb4989fedd946df1cbe43d4 [INFO] running `Command { std: "docker" "start" "-a" "489b539274e7884d9c793c69659f7dc9a71ddd7edcb4989fedd946df1cbe43d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling quote v1.0.35 [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 aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [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 icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling twitch_types v0.4.8 [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 21.07s [INFO] running `Command { std: "docker" "inspect" "489b539274e7884d9c793c69659f7dc9a71ddd7edcb4989fedd946df1cbe43d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "489b539274e7884d9c793c69659f7dc9a71ddd7edcb4989fedd946df1cbe43d4", kill_on_drop: false }` [INFO] [stdout] 489b539274e7884d9c793c69659f7dc9a71ddd7edcb4989fedd946df1cbe43d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 691734bef7083ed10170781a091b49c50298e656adcb902f257a981992226bca [INFO] running `Command { std: "docker" "start" "-a" "691734bef7083ed10170781a091b49c50298e656adcb902f257a981992226bca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [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 rustls-pki-types v1.8.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.105 [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 27.26s [INFO] running `Command { std: "docker" "inspect" "691734bef7083ed10170781a091b49c50298e656adcb902f257a981992226bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "691734bef7083ed10170781a091b49c50298e656adcb902f257a981992226bca", kill_on_drop: false }` [INFO] [stdout] 691734bef7083ed10170781a091b49c50298e656adcb902f257a981992226bca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb7f01666b8fe017ebe81328c806dd23397ad847acc49c1aa416fe16d21e3f0e [INFO] running `Command { std: "docker" "start" "-a" "bb7f01666b8fe017ebe81328c806dd23397ad847acc49c1aa416fe16d21e3f0e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/twitch_api-d9ddac9f121e53f3) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_api [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [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] test src/lib.rs - (line 22) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.28s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bb7f01666b8fe017ebe81328c806dd23397ad847acc49c1aa416fe16d21e3f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7f01666b8fe017ebe81328c806dd23397ad847acc49c1aa416fe16d21e3f0e", kill_on_drop: false }` [INFO] [stdout] bb7f01666b8fe017ebe81328c806dd23397ad847acc49c1aa416fe16d21e3f0e