[INFO] cloning repository https://github.com/jinyeow/imgscrpr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jinyeow/imgscrpr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinyeow%2Fimgscrpr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinyeow%2Fimgscrpr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed412483dc1d21133e0ea5bde557cceb16aa9bcc
[INFO] testing jinyeow/imgscrpr against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinyeow%2Fimgscrpr" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jinyeow/imgscrpr on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jinyeow/imgscrpr
[INFO] finished tweaking git repo https://github.com/jinyeow/imgscrpr
[INFO] tweaked toml for git repo https://github.com/jinyeow/imgscrpr written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/jinyeow/imgscrpr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-1/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" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b7d0a2ecec9914a7d475f411129574633629a757b3a40174a92efc42d4f638ee
[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" "b7d0a2ecec9914a7d475f411129574633629a757b3a40174a92efc42d4f638ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7d0a2ecec9914a7d475f411129574633629a757b3a40174a92efc42d4f638ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7d0a2ecec9914a7d475f411129574633629a757b3a40174a92efc42d4f638ee", kill_on_drop: false }`
[INFO] [stdout] b7d0a2ecec9914a7d475f411129574633629a757b3a40174a92efc42d4f638ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7e284f9542bf29ebecda8af502d615d649a066779bfd52a29d0fb9813c9bc61
[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" "c7e284f9542bf29ebecda8af502d615d649a066779bfd52a29d0fb9813c9bc61", 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] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling futures-task v0.3.6
[INFO] [stderr]    Compiling httpdate v0.3.2
[INFO] [stderr]    Compiling ipnet v2.3.0
[INFO] [stderr]    Compiling futures-channel v0.3.6
[INFO] [stderr]    Compiling dtoa-short v0.3.2
[INFO] [stderr]    Compiling servo_arc v0.1.1
[INFO] [stderr]    Compiling string_cache v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.21
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling string_cache_codegen v0.5.1
[INFO] [stderr]    Compiling selectors v0.22.0
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling phf_macros v0.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling cssparser v0.27.2
[INFO] [stderr]    Compiling cssparser-macros v0.6.0
[INFO] [stderr]    Compiling html5ever v0.25.1
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling pin-project v0.4.27
[INFO] [stderr]    Compiling futures-util v0.3.6
[INFO] [stderr]    Compiling markup5ever v0.10.0
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling scraper v0.12.0
[INFO] [stderr]    Compiling hyper v0.13.8
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling reqwest v0.10.8
[INFO] [stderr]    Compiling imgscrpr v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `reqwest::header::Authorization`
[INFO] [stdout]  --> src/provider/imgur.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use reqwest::header::Authorization;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Authorization` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/provider/imgur.rs:32:52
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn scrape_data(url: &str) -> Result<Value, Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/provider/gfycat.rs:31:52
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn scrape_data(url: &str) -> Result<Value, Box<Error>> {
[INFO] [stdout]    |                                                    ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:105:45
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub fn run(opts: Options) -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                             ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:269:58
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn scrape(img: &Value, filename: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                                          ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:280:48
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn mk_cd_dir(location: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                                ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:291:38
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn mkdir_default() -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                      ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:301:46
[INFO] [stdout]     |
[INFO] [stdout] 301 | fn mkdir_custom(dir: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                              ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:311:74
[INFO] [stdout]     |
[INFO] [stdout] 311 | fn mkdir_custom_with_sub_dir(dir: &str, sub_dir: &str) -> Result<(), Box<Error>> {
[INFO] [stdout]     |                                                                          ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/lib.rs:292:16
[INFO] [stdout]     |
[INFO] [stdout] 292 |     let home = env::home_dir().unwrap();
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/lib.rs:302:16
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let home = env::home_dir().unwrap();
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/lib.rs:312:16
[INFO] [stdout]     |
[INFO] [stdout] 312 |     let home = env::home_dir().unwrap();
[INFO] [stdout]     |                ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]    --> src/lib.rs:271:20
[INFO] [stdout]     |
[INFO] [stdout] 271 |     let mut data = reqwest::get(url)?;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `impl Future`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Try` is not implemented for `impl Future`
[INFO] [stdout]     = note: required by `into_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> src/provider/imgur.rs:23:10
[INFO] [stdout]    |
[INFO] [stdout] 23 |         .header(Authorization(format!("Client-ID {}", CLIENT_ID)))
[INFO] [stdout]    |          ^^^^^^ ------------------------------------------------- supplied 1 argument
[INFO] [stdout]    |          |
[INFO] [stdout]    |          expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/provider/imgur.rs:22:5
[INFO] [stdout]     |
[INFO] [stdout] 13  |   fn get_data(id: &str, collection: bool) -> Result<Response, reqwest::Error> {
[INFO] [stdout]     |                                              -------------------------------- expected `std::result::Result<Response, reqwest::Error>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 22  | /     client.get(&api_url)
[INFO] [stdout] 23  | |         .header(Authorization(format!("Client-ID {}", CLIENT_ID)))
[INFO] [stdout] 24  | |         .send()
[INFO] [stdout]     | |_______________^ expected enum `std::result::Result`, found opaque type
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/reqwest-0.10.8/src/async_impl/request.rs:408:26
[INFO] [stdout]     |
[INFO] [stdout] 408 |       pub fn send(self) -> impl Future<Output = Result<Response, crate::Error>> {
[INFO] [stdout]     |                            ---------------------------------------------------- the found opaque type
[INFO] [stdout]     |
[INFO] [stdout]     = note:     expected enum `std::result::Result<Response, reqwest::Error>`
[INFO] [stdout]             found opaque type `impl Future`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try`
[INFO] [stdout]   --> src/provider/imgur.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Ok(mut d) => d.text()?,
[INFO] [stdout]    |                      ^^^^^^^^^ the `?` operator cannot be applied to type `impl Future`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `impl Future`
[INFO] [stdout]    = note: required by `into_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/provider/imgur.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let body = match get_data(id, c) {
[INFO] [stdout]    |         ^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/provider/imgur.rs:42:22
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Ok(mut d) => d.text()?,
[INFO] [stdout]    |                      ^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout]    = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]   --> src/provider/imgur.rs:42:30
[INFO] [stdout]    |
[INFO] [stdout] 42 |         Ok(mut d) => d.text()?,
[INFO] [stdout]    |                              ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]    = note: required by `Err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `()`
[INFO] [stdout]   --> src/provider/gfycat.rs:20:38
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn get_value(fragment: &Html, selector: &str, attr: &str) -> Result<String, ()> {
[INFO] [stdout]    |                                                              ------------------ expected `()` because of this
[INFO] [stdout] 20 |     let s = Selector::parse(selector)?;
[INFO] [stdout]    |                                      ^ the trait `From<cssparser::parser::ParseError<'_, selectors::parser::SelectorParseErrorKind<'_>>>` is not implemented for `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = note: required by `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `unwrap` found for opaque type `impl Future` in the current scope
[INFO] [stdout]   --> src/provider/gfycat.rs:37:37
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut res = reqwest::get(url).unwrap();
[INFO] [stdout]    |                                     ^^^^^^ method not found in `impl Future`
[INFO] [stdout]    |
[INFO] [stdout] help: consider awaiting before this method call
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut res = reqwest::get(url).await.unwrap();
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `imgscrpr`
[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] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "c7e284f9542bf29ebecda8af502d615d649a066779bfd52a29d0fb9813c9bc61", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7e284f9542bf29ebecda8af502d615d649a066779bfd52a29d0fb9813c9bc61", kill_on_drop: false }`
[INFO] [stdout] c7e284f9542bf29ebecda8af502d615d649a066779bfd52a29d0fb9813c9bc61
