[INFO] fetching crate twitch_api2 0.6.0-rc.1... [INFO] testing twitch_api2-0.6.0-rc.1 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate twitch_api2 0.6.0-rc.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate twitch_api2 0.6.0-rc.1 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate twitch_api2 0.6.0-rc.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_api2 0.6.0-rc.1 [INFO] tweaked toml for crates.io crate twitch_api2 0.6.0-rc.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate twitch_api2 0.6.0-rc.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563390fb9b23260c3c16a78223b913dbe02c471478baf570a78172c1d5ee7c25 [INFO] running `Command { std: "docker" "start" "-a" "563390fb9b23260c3c16a78223b913dbe02c471478baf570a78172c1d5ee7c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563390fb9b23260c3c16a78223b913dbe02c471478baf570a78172c1d5ee7c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563390fb9b23260c3c16a78223b913dbe02c471478baf570a78172c1d5ee7c25", kill_on_drop: false }` [INFO] [stdout] 563390fb9b23260c3c16a78223b913dbe02c471478baf570a78172c1d5ee7c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c07e05236053a3518ce7ee7ce85fa177b924616f154c7d9109727baebcb1ee79 [INFO] running `Command { std: "docker" "start" "-a" "c07e05236053a3518ce7ee7ce85fa177b924616f154c7d9109727baebcb1ee79", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling twitch_api2 v0.6.0-rc.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling aliri_braid_impl v0.1.9 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling displaydoc v0.2.2 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling aliri_braid v0.1.9 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.37s [INFO] running `Command { std: "docker" "inspect" "c07e05236053a3518ce7ee7ce85fa177b924616f154c7d9109727baebcb1ee79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c07e05236053a3518ce7ee7ce85fa177b924616f154c7d9109727baebcb1ee79", kill_on_drop: false }` [INFO] [stdout] c07e05236053a3518ce7ee7ce85fa177b924616f154c7d9109727baebcb1ee79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a0329f44c13fee2fa8480b2723fd0aacac45efbbea804fab6c3ee18e0a8e8d [INFO] running `Command { std: "docker" "start" "-a" "51a0329f44c13fee2fa8480b2723fd0aacac45efbbea804fab6c3ee18e0a8e8d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling sluice v0.5.4 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling aliri_braid_impl v0.1.9 [INFO] [stderr] Compiling displaydoc v0.2.2 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling aliri_braid v0.1.9 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling twitch_api2 v0.6.0-rc.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling http-client v6.4.1 [INFO] [stderr] Compiling surf v2.2.0 [INFO] [stderr] Compiling hyper v0.14.10 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 23s [INFO] running `Command { std: "docker" "inspect" "51a0329f44c13fee2fa8480b2723fd0aacac45efbbea804fab6c3ee18e0a8e8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a0329f44c13fee2fa8480b2723fd0aacac45efbbea804fab6c3ee18e0a8e8d", kill_on_drop: false }` [INFO] [stdout] 51a0329f44c13fee2fa8480b2723fd0aacac45efbbea804fab6c3ee18e0a8e8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e8951813d7479247939c38db7fabc3b052bc58277ddd92224730d5b07a4113bd [INFO] running `Command { std: "docker" "start" "-a" "e8951813d7479247939c38db7fabc3b052bc58277ddd92224730d5b07a4113bd", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/twitch_api2-6def258d8ba2149b) [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_api2 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 20) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 3 | use twitch_api2::{TwitchClient, helix::channels::GetChannelInformationRequest}; [INFO] [stdout] | ^^^^^ could not find `helix` in `twitch_api2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::client::surf_http_client; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api2::TwitchClient` [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 3 | use twitch_api2::{TwitchClient, helix::channels::GetChannelInformationRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ no `TwitchClient` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::TokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::TokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 9 | let surf_http_client = twitch_oauth2::dummy_http_client; // This is only here to fool doc tests [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 10 | let client_id = twitch_oauth2::ClientId::new("validclientid".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 11 | let client_secret = twitch_oauth2::ClientSecret::new("validclientsecret".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenError` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 15 | Err(TokenError::Request(e)) => panic!("got error: {:?}", e), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenError` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetChannelInformationRequest` [INFO] [stdout] --> src/lib.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 20 | let req = GetChannelInformationRequest::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetChannelInformationRequest` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DummyHttpClient` in crate `twitch_api2` [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 19 | let _: &TwitchClient = &client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `twitch_api2` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 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 49) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 3 | use twitch_api2::{TwitchClient, helix::channels::GetChannelInformationRequest}; [INFO] [stdout] | ^^^^^ could not find `helix` in `twitch_api2` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_api2::TwitchClient` [INFO] [stdout] --> src/lib.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 3 | use twitch_api2::{TwitchClient, helix::channels::GetChannelInformationRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ no `TwitchClient` in the root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::TokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::TokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 7 | let surf_http_client = twitch_oauth2::dummy_http_client; // This is only here to fool doc tests [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 8 | let client_id = twitch_oauth2::ClientId::new("validclientid".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 9 | let client_secret = twitch_oauth2::ClientSecret::new("validclientsecret".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TokenError` [INFO] [stdout] --> src/lib.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 13 | Err(TokenError::Request(e)) => panic!("got error: {:?}", e), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TokenError` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DummyHttpClient` in crate `twitch_api2` [INFO] [stdout] --> src/lib.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 17 | let _: &TwitchClient = &client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `twitch_api2` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 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 20) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e8951813d7479247939c38db7fabc3b052bc58277ddd92224730d5b07a4113bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8951813d7479247939c38db7fabc3b052bc58277ddd92224730d5b07a4113bd", kill_on_drop: false }` [INFO] [stdout] e8951813d7479247939c38db7fabc3b052bc58277ddd92224730d5b07a4113bd