[INFO] fetching crate youtube-api 0.1.2... [INFO] testing youtube-api-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate youtube-api 0.1.2 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate youtube-api 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate youtube-api 0.1.2 [INFO] finished tweaking crates.io crate youtube-api 0.1.2 [INFO] tweaked toml for crates.io crate youtube-api 0.1.2 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate crates.io crate youtube-api 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d267b6c7c3393a596cab38093267d4edd65c143b20549dad4a5282607135a1c [INFO] running `Command { std: "docker" "start" "-a" "1d267b6c7c3393a596cab38093267d4edd65c143b20549dad4a5282607135a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d267b6c7c3393a596cab38093267d4edd65c143b20549dad4a5282607135a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d267b6c7c3393a596cab38093267d4edd65c143b20549dad4a5282607135a1c", kill_on_drop: false }` [INFO] [stdout] 1d267b6c7c3393a596cab38093267d4edd65c143b20549dad4a5282607135a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86ac6c46c0974077f9be365bcbe60a037d31ba848408dbd5439eedaad4060d12 [INFO] running `Command { std: "docker" "start" "-a" "86ac6c46c0974077f9be365bcbe60a037d31ba848408dbd5439eedaad4060d12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling oauth2 v3.0.0-alpha.9 [INFO] [stderr] Compiling youtube-api v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/api/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) client_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `YoutubeOAuth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_secret` [INFO] [stdout] --> src/api/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) client_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `YoutubeOAuth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.23s [INFO] running `Command { std: "docker" "inspect" "86ac6c46c0974077f9be365bcbe60a037d31ba848408dbd5439eedaad4060d12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86ac6c46c0974077f9be365bcbe60a037d31ba848408dbd5439eedaad4060d12", kill_on_drop: false }` [INFO] [stdout] 86ac6c46c0974077f9be365bcbe60a037d31ba848408dbd5439eedaad4060d12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51c909d9dc8d7bdd5ab924f40b898804d27d70fbe75de84cc9c2c3bbca2799d7 [INFO] running `Command { std: "docker" "start" "-a" "51c909d9dc8d7bdd5ab924f40b898804d27d70fbe75de84cc9c2c3bbca2799d7", kill_on_drop: false }` [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/api/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) client_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `YoutubeOAuth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling youtube-api v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `client_secret` [INFO] [stdout] --> src/api/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) client_secret: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `YoutubeOAuth` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/api/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `YOUTUBE_API_KEY` not defined [INFO] [stdout] --> src/api/mod.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | YoutubeApi::new(env!("YOUTUBE_API_KEY")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `youtube` [INFO] [stdout] --> examples/metadata.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use youtube::{YoutubeApi}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `youtube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `youtube-api` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `youtube-api` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "51c909d9dc8d7bdd5ab924f40b898804d27d70fbe75de84cc9c2c3bbca2799d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51c909d9dc8d7bdd5ab924f40b898804d27d70fbe75de84cc9c2c3bbca2799d7", kill_on_drop: false }` [INFO] [stdout] 51c909d9dc8d7bdd5ab924f40b898804d27d70fbe75de84cc9c2c3bbca2799d7