[INFO] fetching crate twitch_api 0.7.2... [INFO] testing twitch_api-0.7.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate twitch_api 0.7.2 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate twitch_api 0.7.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded waker-fn v1.1.1 [INFO] [stderr] Downloaded value-bag v1.6.0 [INFO] [stderr] Downloaded typed-builder-macro v0.20.0 [INFO] [stderr] Downloaded const_fn v0.4.9 [INFO] [stderr] Downloaded typed-builder v0.20.0 [INFO] [stderr] Downloaded twitch_types v0.4.8 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded twitch_oauth2 v0.15.2 [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 half v1.8.2 [INFO] [stderr] Downloaded flume v0.9.2 [INFO] [stderr] Downloaded polling v3.3.2 [INFO] [stderr] Downloaded async-std v1.12.0 [INFO] [stderr] Downloaded curl v0.4.44 [INFO] [stderr] Downloaded async-executor v1.8.0 [INFO] [stderr] Downloaded anyhow v1.0.79 [INFO] [stderr] Downloaded async-io v2.3.0 [INFO] [stderr] Downloaded async-task v4.7.0 [INFO] [stderr] Downloaded isahc v0.9.14 [INFO] [stderr] Downloaded rustls v0.23.11 [INFO] [stderr] Downloaded spinning_top v0.2.5 [INFO] [stderr] Downloaded pin-project v1.1.4 [INFO] [stderr] Downloaded async-channel v2.1.1 [INFO] [stderr] Downloaded blocking v1.5.1 [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 sync_wrapper v1.0.0 [INFO] [stderr] Downloaded piper v0.2.1 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c947a7a1a2c3135ffc88baf666bdaeb614738885f85cca0e90e7a4c13f9337e [INFO] running `Command { std: "docker" "start" "-a" "8c947a7a1a2c3135ffc88baf666bdaeb614738885f85cca0e90e7a4c13f9337e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c947a7a1a2c3135ffc88baf666bdaeb614738885f85cca0e90e7a4c13f9337e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c947a7a1a2c3135ffc88baf666bdaeb614738885f85cca0e90e7a4c13f9337e", kill_on_drop: false }` [INFO] [stdout] 8c947a7a1a2c3135ffc88baf666bdaeb614738885f85cca0e90e7a4c13f9337e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 033e5eecbd0acd07e3746d07ec2f318c2afc6534f02ce7149b294aa981bdf25d [INFO] running `Command { std: "docker" "start" "-a" "033e5eecbd0acd07e3746d07ec2f318c2afc6534f02ce7149b294aa981bdf25d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bytes v1.9.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 serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling aliri_braid v0.4.0 [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 16.48s [INFO] running `Command { std: "docker" "inspect" "033e5eecbd0acd07e3746d07ec2f318c2afc6534f02ce7149b294aa981bdf25d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033e5eecbd0acd07e3746d07ec2f318c2afc6534f02ce7149b294aa981bdf25d", kill_on_drop: false }` [INFO] [stdout] 033e5eecbd0acd07e3746d07ec2f318c2afc6534f02ce7149b294aa981bdf25d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f64b1480c5a655b842d5540afa734bc14f0bee4004e7b443ef936069218837 [INFO] running `Command { std: "docker" "start" "-a" "55f64b1480c5a655b842d5540afa734bc14f0bee4004e7b443ef936069218837", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling sync_wrapper v1.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [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 icu_normalizer v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.7.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 mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling twitch_api v0.7.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling native-tls v0.2.11 [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 21.01s [INFO] running `Command { std: "docker" "inspect" "55f64b1480c5a655b842d5540afa734bc14f0bee4004e7b443ef936069218837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f64b1480c5a655b842d5540afa734bc14f0bee4004e7b443ef936069218837", kill_on_drop: false }` [INFO] [stdout] 55f64b1480c5a655b842d5540afa734bc14f0bee4004e7b443ef936069218837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d34fea22f38abda25de03d932c8d7c7bf67dc176f333e1d5abc314baabb03de6 [INFO] running `Command { std: "docker" "start" "-a" "d34fea22f38abda25de03d932c8d7c7bf67dc176f333e1d5abc314baabb03de6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [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 - ReadmeDoctests (line 136) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) - 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 - 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 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 - (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.22s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d34fea22f38abda25de03d932c8d7c7bf67dc176f333e1d5abc314baabb03de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34fea22f38abda25de03d932c8d7c7bf67dc176f333e1d5abc314baabb03de6", kill_on_drop: false }` [INFO] [stdout] d34fea22f38abda25de03d932c8d7c7bf67dc176f333e1d5abc314baabb03de6