[INFO] fetching crate twitch_api2 0.6.0-rc.3... [INFO] testing twitch_api2-0.6.0-rc.3 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate twitch_api2 0.6.0-rc.3 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate twitch_api2 0.6.0-rc.3 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/source/.cargo/config.toml [INFO] started tweaking crates.io crate twitch_api2 0.6.0-rc.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate twitch_api2 0.6.0-rc.3 [INFO] tweaked toml for crates.io crate twitch_api2 0.6.0-rc.3 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate twitch_api2 0.6.0-rc.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded surf v2.3.1 [INFO] [stderr] Downloaded curl-sys v0.4.48+curl-7.79.1 [INFO] [stderr] Downloaded twitch_oauth2 v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e0fbae6d47bfb478048fa4861808ac48a29b2fd15687aefdfee02bba35028049 [INFO] running `Command { std: "docker" "start" "-a" "e0fbae6d47bfb478048fa4861808ac48a29b2fd15687aefdfee02bba35028049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0fbae6d47bfb478048fa4861808ac48a29b2fd15687aefdfee02bba35028049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0fbae6d47bfb478048fa4861808ac48a29b2fd15687aefdfee02bba35028049", kill_on_drop: false }` [INFO] [stdout] e0fbae6d47bfb478048fa4861808ac48a29b2fd15687aefdfee02bba35028049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18ac5157b303888912761b4c32d276715dadb909deba79ecf8f1013763150ce6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "18ac5157b303888912761b4c32d276715dadb909deba79ecf8f1013763150ce6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling aliri_braid_impl v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling aliri_braid v0.1.9 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling twitch_api2 v0.6.0-rc.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.37s [INFO] running `Command { std: "docker" "inspect" "18ac5157b303888912761b4c32d276715dadb909deba79ecf8f1013763150ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18ac5157b303888912761b4c32d276715dadb909deba79ecf8f1013763150ce6", kill_on_drop: false }` [INFO] [stdout] 18ac5157b303888912761b4c32d276715dadb909deba79ecf8f1013763150ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 480a85d5c5f31602f5b2b14418d007c68ff9c393bb44140324a2762a7aecf010 [INFO] running `Command { std: "docker" "start" "-a" "480a85d5c5f31602f5b2b14418d007c68ff9c393bb44140324a2762a7aecf010", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling bumpalo v3.7.1 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.48+curl-7.79.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tracing-attributes v0.1.16 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling aliri_braid_impl v0.1.9 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling log v0.4.14 [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 async-io v1.6.0 [INFO] [stderr] Compiling aliri_braid v0.1.9 [INFO] [stderr] Compiling js-sys v0.3.55 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling web-sys v0.3.55 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling twitch_api2 v0.6.0-rc.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling http-client v6.5.1 [INFO] [stderr] Compiling surf v2.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3m 30s [INFO] running `Command { std: "docker" "inspect" "480a85d5c5f31602f5b2b14418d007c68ff9c393bb44140324a2762a7aecf010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "480a85d5c5f31602f5b2b14418d007c68ff9c393bb44140324a2762a7aecf010", kill_on_drop: false }` [INFO] [stdout] 480a85d5c5f31602f5b2b14418d007c68ff9c393bb44140324a2762a7aecf010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6ab7391c8f62bc06935d4774241738d09e80dcbcb446be4abb3938ccb76c49da [INFO] running `Command { std: "docker" "start" "-a" "6ab7391c8f62bc06935d4774241738d09e80dcbcb446be4abb3938ccb76c49da", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/twitch_api2-0e765eb440b33085) [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_api2 [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/types.rs - types::EmoteUrlBuilder (line 544) ... ok [INFO] [stdout] test src/lib.rs - (line 48) - compile ... FAILED [INFO] [stdout] test src/types.rs - types::TimestampRef::is_before (line 268) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) - compile ... FAILED [INFO] [stdout] test src/types.rs - types::TimestampRef::normalize (line 240) ... FAILED [INFO] [stdout] test src/types.rs - types::TimestampRef::to_day (line 286) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 48) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:49: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:49: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:50:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ~~~~~~~~~~~ [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] 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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | let client_id = twitch_api2::ClientId::new("validclientid".to_string()); [INFO] [stdout] | ~~~~~~~~~~~ [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] 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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] 10 | let client_secret = twitch_api2::ClientSecret::new("validclientsecret".to_string()); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppAccessTokenError` [INFO] [stdout] --> src/lib.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 14 | Err(AppAccessTokenError::Request(e)) => panic!("got error: {:?}", e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `AppAccessTokenError` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DummyHttpClient` in crate `twitch_api2` [INFO] [stdout] --> src/lib.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 8 | let _:&TwitchClient = &client; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `twitch_api2` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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/types.rs - types::TimestampRef::is_before (line 268) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `chrono` [INFO] [stdout] --> src/types.rs:274:16 [INFO] [stdout] | [INFO] [stdout] 9 | let time_now = chrono::Utc::now(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `chrono` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `helix` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:19: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:19: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:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_oauth2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use twitch_api2::{AppAccessToken, Scope, TwitchToken, tokens::errors::AppAccessTokenError}; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `client` in `twitch_api2` [INFO] [stdout] --> src/lib.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod reqwest {pub type Client = twitch_api2::client::DummyHttpClient;} [INFO] [stdout] | ^^^^^^ could not find `client` 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:25:17 [INFO] [stdout] | [INFO] [stdout] 9 | let client_id = twitch_oauth2::ClientId::new("validclientid"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | let client_id = twitch_api2::ClientId::new("validclientid"); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] --> src/lib.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 10 | let client_secret = twitch_oauth2::ClientSecret::new("validclientsecret"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `twitch_oauth2` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | let client_secret = twitch_api2::ClientSecret::new("validclientsecret"); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GetChannelInformationRequest` [INFO] [stdout] --> src/lib.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 19 | let req = GetChannelInformationRequest::builder() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `GetChannelInformationRequest` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 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/types.rs - types::TimestampRef::normalize (line 240) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Other("normalization for non `Z` timestamps is not enabled without the `chrono` feature enabled for `twitch_api2`")', src/types.rs:11:38 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56181f8e537c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x56181f8e537c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56181f8e537c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x56181f8e537c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x56181f900fec - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x56181f8e23d8 - std::io::Write::write_fmt::h0f87f6c0c21ec48a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x56181f8e6e07 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x56181f8e6e07 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x56181f8e6e07 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x56181f8e6acf - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:314:9 [INFO] [stdout] 10: 0x56181f8e755a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x56181f8e7247 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x56181f8e5844 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x56181f8e6f59 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x56181f8c7303 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x56181f8c7393 - core::result::unwrap_failed::hf9b34e307f812de0 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/result.rs:1749:5 [INFO] [stdout] 16: 0x56181f8c8f56 - core::result::Result::unwrap::h96214344e99a0b51 [INFO] [stdout] 17: 0x56181f8c7c89 - rust_out::main::h940ba7c731c6ef76 [INFO] [stdout] 18: 0x56181f8c7b73 - core::ops::function::FnOnce::call_once::h0f76b491d02b5d6f [INFO] [stdout] 19: 0x56181f8c9389 - std::sys_common::backtrace::__rust_begin_short_backtrace::h6e6af801be12e787 [INFO] [stdout] 20: 0x56181f8c9359 - std::rt::lang_start::{{closure}}::hd6727c319f121475 [INFO] [stdout] 21: 0x56181f8e4a61 - core::ops::function::impls:: for &F>::call_once::h9e134bb161d17658 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x56181f8e4a61 - std::panicking::try::do_call::h7f361d911648db1a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 23: 0x56181f8e4a61 - std::panicking::try::hbe441b12f8ff00e7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 24: 0x56181f8e4a61 - std::panic::catch_unwind::h12066b7ab56d7459 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 25: 0x56181f8e4a61 - std::rt::lang_start_internal::{{closure}}::h901c86e61467dcde [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:48 [INFO] [stdout] 26: 0x56181f8e4a61 - std::panicking::try::do_call::h1817b5f028d90a8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 27: 0x56181f8e4a61 - std::panicking::try::hd5afeaf2f0454960 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 28: 0x56181f8e4a61 - std::panic::catch_unwind::h13348562ae6426ca [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 29: 0x56181f8e4a61 - std::rt::lang_start_internal::hf194c7db73fedcb2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/rt.rs:128:20 [INFO] [stdout] 30: 0x56181f8c9341 - std::rt::lang_start::habdff3dd8e305ff9 [INFO] [stdout] 31: 0x56181f8c95f3 - main [INFO] [stdout] 32: 0x7f2e24ff20b3 - __libc_start_main [INFO] [stdout] 33: 0x56181f8c7a8e - _start [INFO] [stdout] 34: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - (line 48) [INFO] [stdout] src/types.rs - types::TimestampRef::is_before (line 268) [INFO] [stdout] src/types.rs - types::TimestampRef::normalize (line 240) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.20s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6ab7391c8f62bc06935d4774241738d09e80dcbcb446be4abb3938ccb76c49da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab7391c8f62bc06935d4774241738d09e80dcbcb446be4abb3938ccb76c49da", kill_on_drop: false }` [INFO] [stdout] 6ab7391c8f62bc06935d4774241738d09e80dcbcb446be4abb3938ccb76c49da