[INFO] fetching crate twitch_api2 0.5.0... [INFO] testing twitch_api2-0.5.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate twitch_api2 0.5.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate twitch_api2 0.5.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate twitch_api2 0.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_api2 0.5.0 [INFO] tweaked toml for crates.io crate twitch_api2 0.5.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate crates.io crate twitch_api2 0.5.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f88aba7e55032b3e5a30acdce72d0936f6c2cb2a803148d04b86f3bb0a7ad62 [INFO] running `Command { std: "docker" "start" "-a" "3f88aba7e55032b3e5a30acdce72d0936f6c2cb2a803148d04b86f3bb0a7ad62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f88aba7e55032b3e5a30acdce72d0936f6c2cb2a803148d04b86f3bb0a7ad62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f88aba7e55032b3e5a30acdce72d0936f6c2cb2a803148d04b86f3bb0a7ad62", kill_on_drop: false }` [INFO] [stdout] 3f88aba7e55032b3e5a30acdce72d0936f6c2cb2a803148d04b86f3bb0a7ad62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f44e82d4ae505af07adad5dcdbb2a1ccc9295bbe84993185611d8f73195d3b28 [INFO] running `Command { std: "docker" "start" "-a" "f44e82d4ae505af07adad5dcdbb2a1ccc9295bbe84993185611d8f73195d3b28", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling twitch_api2 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.60s [INFO] running `Command { std: "docker" "inspect" "f44e82d4ae505af07adad5dcdbb2a1ccc9295bbe84993185611d8f73195d3b28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f44e82d4ae505af07adad5dcdbb2a1ccc9295bbe84993185611d8f73195d3b28", kill_on_drop: false }` [INFO] [stdout] f44e82d4ae505af07adad5dcdbb2a1ccc9295bbe84993185611d8f73195d3b28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3692bf9134c4c91da10d5c003f59ede437d22b73a81186e8aba5c74a1f23b71e [INFO] running `Command { std: "docker" "start" "-a" "3692bf9134c4c91da10d5c003f59ede437d22b73a81186e8aba5c74a1f23b71e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling curl v0.4.36 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling cpufeatures v0.1.1 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling http-types v2.11.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling syn v1.0.72 [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 digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling sluice v0.5.4 [INFO] [stderr] Compiling spinning_top v0.2.3 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.4 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling curl-sys v0.4.42+curl-7.76.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling twitch_api2 v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-client v6.3.5 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling surf v2.2.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "3692bf9134c4c91da10d5c003f59ede437d22b73a81186e8aba5c74a1f23b71e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3692bf9134c4c91da10d5c003f59ede437d22b73a81186e8aba5c74a1f23b71e", kill_on_drop: false }` [INFO] [stdout] 3692bf9134c4c91da10d5c003f59ede437d22b73a81186e8aba5c74a1f23b71e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0c9427b3475f17008a9ca5c866c6715d6f4d679bb7aacee3fbe787e9662c36a [INFO] running `Command { std: "docker" "start" "-a" "d0c9427b3475f17008a9ca5c866c6715d6f4d679bb7aacee3fbe787e9662c36a", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/twitch_api2-52087bcd14bf7c40) [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 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 50) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:22: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:23: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:22: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:24: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:24: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:28: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:29: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:30: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:34: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:39: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:38: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 50) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:51: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:51: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:52: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:52: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:56:24 [INFO] [stdout] | [INFO] [stdout] 8 | 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:57:17 [INFO] [stdout] | [INFO] [stdout] 9 | 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:58:21 [INFO] [stdout] | [INFO] [stdout] 10 | 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:62:11 [INFO] [stdout] | [INFO] [stdout] 14 | 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:66:35 [INFO] [stdout] | [INFO] [stdout] 18 | 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 21) [INFO] [stdout] src/lib.rs - (line 50) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d0c9427b3475f17008a9ca5c866c6715d6f4d679bb7aacee3fbe787e9662c36a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0c9427b3475f17008a9ca5c866c6715d6f4d679bb7aacee3fbe787e9662c36a", kill_on_drop: false }` [INFO] [stdout] d0c9427b3475f17008a9ca5c866c6715d6f4d679bb7aacee3fbe787e9662c36a