[INFO] cloning repository https://github.com/Emilgardis/twitch_utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Emilgardis/twitch_utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a469f4c1f1326a380d7dea9da8238f0080450d7 [INFO] testing Emilgardis/twitch_utils against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_utils" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emilgardis/twitch_utils on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Emilgardis/twitch_utils [INFO] removed 0 missing examples [INFO] removed path dependency twitch_oauth2 from git repo https://github.com/Emilgardis/twitch_utils [INFO] finished tweaking git repo https://github.com/Emilgardis/twitch_utils [INFO] tweaked toml for git repo https://github.com/Emilgardis/twitch_utils written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Emilgardis/twitch_utils already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e1345218ca2aea44e7b008d2d43faf40ad2cb7f7d9282bdab68d7abfc827d6 [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" "20e1345218ca2aea44e7b008d2d43faf40ad2cb7f7d9282bdab68d7abfc827d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e1345218ca2aea44e7b008d2d43faf40ad2cb7f7d9282bdab68d7abfc827d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e1345218ca2aea44e7b008d2d43faf40ad2cb7f7d9282bdab68d7abfc827d6", kill_on_drop: false }` [INFO] [stdout] 20e1345218ca2aea44e7b008d2d43faf40ad2cb7f7d9282bdab68d7abfc827d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e191eb587f7b7fda93af1b64abe8a73f2508ab86bffde9fd061fcd0498c1c7d1 [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" "e191eb587f7b7fda93af1b64abe8a73f2508ab86bffde9fd061fcd0498c1c7d1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling twitch_api2 v0.5.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 51.19s [INFO] running `Command { std: "docker" "inspect" "e191eb587f7b7fda93af1b64abe8a73f2508ab86bffde9fd061fcd0498c1c7d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e191eb587f7b7fda93af1b64abe8a73f2508ab86bffde9fd061fcd0498c1c7d1", kill_on_drop: false }` [INFO] [stdout] e191eb587f7b7fda93af1b64abe8a73f2508ab86bffde9fd061fcd0498c1c7d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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] 0cc6cec5350aa3b25ccf2915a964390f4aed49a18329bb7c40763fe8a278078a [INFO] running `Command { std: "docker" "start" "-a" "0cc6cec5350aa3b25ccf2915a964390f4aed49a18329bb7c40763fe8a278078a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling twitch_api2 v0.5.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 25.91s [INFO] running `Command { std: "docker" "inspect" "0cc6cec5350aa3b25ccf2915a964390f4aed49a18329bb7c40763fe8a278078a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cc6cec5350aa3b25ccf2915a964390f4aed49a18329bb7c40763fe8a278078a", kill_on_drop: false }` [INFO] [stdout] 0cc6cec5350aa3b25ccf2915a964390f4aed49a18329bb7c40763fe8a278078a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bf0fa67569850143c518c12add1b3b32b379478e340c79ba51bebecfdcf20ce7 [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" "bf0fa67569850143c518c12add1b3b32b379478e340c79ba51bebecfdcf20ce7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.74s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/twitch_api2-ba96696c5f0bc81f [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 [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_api2 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 20) ... 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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "bf0fa67569850143c518c12add1b3b32b379478e340c79ba51bebecfdcf20ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0fa67569850143c518c12add1b3b32b379478e340c79ba51bebecfdcf20ce7", kill_on_drop: false }` [INFO] [stdout] bf0fa67569850143c518c12add1b3b32b379478e340c79ba51bebecfdcf20ce7