[INFO] cloning repository https://github.com/onContentStop/ytapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onContentStop/ytapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fytapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fytapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3b17c0355597766bb166ba610cf843c22200479 [INFO] testing onContentStop/ytapi against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fytapi" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/onContentStop/ytapi on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/onContentStop/ytapi [INFO] finished tweaking git repo https://github.com/onContentStop/ytapi [INFO] tweaked toml for git repo https://github.com/onContentStop/ytapi written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/onContentStop/ytapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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 zeroize v0.9.3 [INFO] [stderr] Downloaded hyper-native-tls v0.3.0 [INFO] [stderr] Downloaded dialoguer v0.7.1 [INFO] [stderr] Downloaded native-tls v0.2.5 [INFO] [stderr] Downloaded yup-oauth2 v1.0.12 [INFO] [stderr] Downloaded google-youtube3 v1.0.13+20200402 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.59.0" "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] b140c18041aaece452d640faa7e301369f8faa5e64e29e63ca6e06d5b58f116e [INFO] running `Command { std: "docker" "start" "-a" "b140c18041aaece452d640faa7e301369f8faa5e64e29e63ca6e06d5b58f116e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b140c18041aaece452d640faa7e301369f8faa5e64e29e63ca6e06d5b58f116e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b140c18041aaece452d640faa7e301369f8faa5e64e29e63ca6e06d5b58f116e", kill_on_drop: false }` [INFO] [stdout] b140c18041aaece452d640faa7e301369f8faa5e64e29e63ca6e06d5b58f116e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.59.0" "build" "--frozen" "--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] 277ab7fa21ba5af99d9f51657d5a485980677eaff88db501985f8232706f16ec [INFO] running `Command { std: "docker" "start" "-a" "277ab7fa21ba5af99d9f51657d5a485980677eaff88db501985f8232706f16ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling cc v1.0.62 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling zeroize v0.9.3 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling terminal_size v0.1.13 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.54 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling dialoguer v0.7.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling yup-oauth2 v1.0.12 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling google-youtube3 v1.0.13+20200402 [INFO] [stderr] Compiling oauth2 v3.0.0 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling ytapi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, found macro `dbg` [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | dbg(secret); [INFO] [stdout] | ^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 30 | dbg!(secret); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `auth` in this scope [INFO] [stdout] --> src/main.rs:31:60 [INFO] [stdout] | [INFO] [stdout] 31 | let mut hub = yt::YouTube::new(reqwest::Client::new(), auth); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `google_youtube3 as yt` [INFO] [stdout] --> src/api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use google_youtube3 as yt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | serde_json::from_str(std::fs::read("client_secret.json").unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `reqwest::Client: BorrowMut` is not satisfied [INFO] [stdout] --> src/main.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | let mut hub = yt::YouTube::new(reqwest::Client::new(), auth); [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `BorrowMut` is not implemented for `reqwest::Client` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `YouTube::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/google-youtube3-1.0.13+20200402/src/lib.rs:439:15 [INFO] [stdout] | [INFO] [stdout] 439 | where C: BorrowMut, A: oauth2::GetToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `YouTube::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0423, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ytapi` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "277ab7fa21ba5af99d9f51657d5a485980677eaff88db501985f8232706f16ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277ab7fa21ba5af99d9f51657d5a485980677eaff88db501985f8232706f16ec", kill_on_drop: false }` [INFO] [stdout] 277ab7fa21ba5af99d9f51657d5a485980677eaff88db501985f8232706f16ec