[INFO] fetching crate youtube-api 0.1.2... [INFO] testing youtube-api-0.1.2 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate youtube-api 0.1.2 into /workspace/builds/worker-104/source [INFO] validating manifest of crates.io crate youtube-api 0.1.2 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] 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-104/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-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 pin-project v0.4.17 [INFO] [stderr] Downloaded async-trait v0.1.31 [INFO] [stderr] Downloaded oauth2 v3.0.0-alpha.9 [INFO] [stderr] Downloaded pin-project-internal v0.4.17 [INFO] [stderr] Downloaded unicode-normalization v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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] [stdout] 0588d7b09cb5bc63a3afd1bf953e1a0ed3636cb67397d067b6578c32b2411c07 [INFO] running `Command { std: "docker" "start" "-a" "0588d7b09cb5bc63a3afd1bf953e1a0ed3636cb67397d067b6578c32b2411c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0588d7b09cb5bc63a3afd1bf953e1a0ed3636cb67397d067b6578c32b2411c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0588d7b09cb5bc63a3afd1bf953e1a0ed3636cb67397d067b6578c32b2411c07", kill_on_drop: false }` [INFO] [stdout] 0588d7b09cb5bc63a3afd1bf953e1a0ed3636cb67397d067b6578c32b2411c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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] ea832c212de6cd69ae06279e739e0a1a322a9cc11a4a24c6b672c8ccdc233fde [INFO] running `Command { std: "docker" "start" "-a" "ea832c212de6cd69ae06279e739e0a1a322a9cc11a4a24c6b672c8ccdc233fde", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling http v0.2.1 [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 indexmap v1.3.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling sha2 v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [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 32.42s [INFO] running `Command { std: "docker" "inspect" "ea832c212de6cd69ae06279e739e0a1a322a9cc11a4a24c6b672c8ccdc233fde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea832c212de6cd69ae06279e739e0a1a322a9cc11a4a24c6b672c8ccdc233fde", kill_on_drop: false }` [INFO] [stdout] ea832c212de6cd69ae06279e739e0a1a322a9cc11a4a24c6b672c8ccdc233fde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-104/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] [stdout] 109b12974e0f9dda1e8913e612509242aef4e63e62ff7a3d75e604ae0bfe7753 [INFO] running `Command { std: "docker" "start" "-a" "109b12974e0f9dda1e8913e612509242aef4e63e62ff7a3d75e604ae0bfe7753", 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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "109b12974e0f9dda1e8913e612509242aef4e63e62ff7a3d75e604ae0bfe7753", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "109b12974e0f9dda1e8913e612509242aef4e63e62ff7a3d75e604ae0bfe7753", kill_on_drop: false }` [INFO] [stdout] 109b12974e0f9dda1e8913e612509242aef4e63e62ff7a3d75e604ae0bfe7753