[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] 7998364234c5ec657f91107e01d29149dac70aee [INFO] testing Emilgardis/twitch_utils against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilgardis%2Ftwitch_utils" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Emilgardis/twitch_utils on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-12/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" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a01e8008301d5011ab27604c6c55359442ff4c9a3221bf0a9d3b5a3b0a7d09c7 [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" "a01e8008301d5011ab27604c6c55359442ff4c9a3221bf0a9d3b5a3b0a7d09c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a01e8008301d5011ab27604c6c55359442ff4c9a3221bf0a9d3b5a3b0a7d09c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01e8008301d5011ab27604c6c55359442ff4c9a3221bf0a9d3b5a3b0a7d09c7", kill_on_drop: false }` [INFO] [stdout] a01e8008301d5011ab27604c6c55359442ff4c9a3221bf0a9d3b5a3b0a7d09c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e9fd099e028b241f6cb29e1aaf70c21b98b074204c533a9373f60d24d30336b [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" "9e9fd099e028b241f6cb29e1aaf70c21b98b074204c533a9373f60d24d30336b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling twitch_api2 v0.5.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.64s [INFO] running `Command { std: "docker" "inspect" "9e9fd099e028b241f6cb29e1aaf70c21b98b074204c533a9373f60d24d30336b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e9fd099e028b241f6cb29e1aaf70c21b98b074204c533a9373f60d24d30336b", kill_on_drop: false }` [INFO] [stdout] 9e9fd099e028b241f6cb29e1aaf70c21b98b074204c533a9373f60d24d30336b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8397c9da2ca6e77d3b313b182602d80adf0b45808633300aaa1a12f6c9df0302 [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" "8397c9da2ca6e77d3b313b182602d80adf0b45808633300aaa1a12f6c9df0302", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling pin-project v1.0.3 [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 22.93s [INFO] running `Command { std: "docker" "inspect" "8397c9da2ca6e77d3b313b182602d80adf0b45808633300aaa1a12f6c9df0302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8397c9da2ca6e77d3b313b182602d80adf0b45808633300aaa1a12f6c9df0302", kill_on_drop: false }` [INFO] [stdout] 8397c9da2ca6e77d3b313b182602d80adf0b45808633300aaa1a12f6c9df0302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce0871cfd62b3216cccc06407fc2dc0eb89c40a7f7e7cb5fc53fb06e0a9cd0ac [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" "ce0871cfd62b3216cccc06407fc2dc0eb89c40a7f7e7cb5fc53fb06e0a9cd0ac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/twitch_api2-4964e880ff1547df [INFO] [stdout] [INFO] [stderr] Doc-tests twitch_api2 [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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" "ce0871cfd62b3216cccc06407fc2dc0eb89c40a7f7e7cb5fc53fb06e0a9cd0ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce0871cfd62b3216cccc06407fc2dc0eb89c40a7f7e7cb5fc53fb06e0a9cd0ac", kill_on_drop: false }` [INFO] [stdout] ce0871cfd62b3216cccc06407fc2dc0eb89c40a7f7e7cb5fc53fb06e0a9cd0ac