[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] checking onContentStop/ytapi against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FonContentStop%2Fytapi" "/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/onContentStop/ytapi on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded google-youtube3 v1.0.13+20200402 [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a144c655147d9f11fa29f2c1c2f10c66f538916bf16266d193886579e5230575 [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" "a144c655147d9f11fa29f2c1c2f10c66f538916bf16266d193886579e5230575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a144c655147d9f11fa29f2c1c2f10c66f538916bf16266d193886579e5230575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a144c655147d9f11fa29f2c1c2f10c66f538916bf16266d193886579e5230575", kill_on_drop: false }` [INFO] [stdout] a144c655147d9f11fa29f2c1c2f10c66f538916bf16266d193886579e5230575 [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=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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6433ce5cb040e6636de1235b8f1a944daeb0070a81f80628e5380f8322462958 [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" "6433ce5cb040e6636de1235b8f1a944daeb0070a81f80628e5380f8322462958", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling native-tls v0.2.5 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking futures-core v0.3.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-sink v0.3.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking futures-io v0.3.7 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking zeroize v0.9.3 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.7 [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] Checking form_urlencoded v1.0.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 miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-task v0.3.7 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking dialoguer v0.7.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper-native-tls v0.3.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking pin-project v1.0.1 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-util v0.3.7 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking yup-oauth2 v1.0.12 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking reqwest v0.9.24 [INFO] [stderr] Checking google-youtube3 v1.0.13+20200402 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking oauth2 v3.0.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking 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[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[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:19 [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] = note: required by `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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:19 [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] = note: required by `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: build failed [INFO] running `Command { std: "docker" "inspect" "6433ce5cb040e6636de1235b8f1a944daeb0070a81f80628e5380f8322462958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6433ce5cb040e6636de1235b8f1a944daeb0070a81f80628e5380f8322462958", kill_on_drop: false }` [INFO] [stdout] 6433ce5cb040e6636de1235b8f1a944daeb0070a81f80628e5380f8322462958