[INFO] updating cached repository jinyeow/imgscrpr [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jinyeow/imgscrpr [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jinyeow/imgscrpr" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/jinyeow/imgscrpr"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/jinyeow/imgscrpr'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jinyeow/imgscrpr" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/jinyeow/imgscrpr"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/jinyeow/imgscrpr'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ed412483dc1d21133e0ea5bde557cceb16aa9bcc [INFO] sha for GitHub repo jinyeow/imgscrpr: ed412483dc1d21133e0ea5bde557cceb16aa9bcc [INFO] validating manifest of jinyeow/imgscrpr on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jinyeow/imgscrpr on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jinyeow/imgscrpr [INFO] finished frobbing jinyeow/imgscrpr [INFO] frobbed toml for jinyeow/imgscrpr written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/jinyeow/imgscrpr/Cargo.toml [INFO] started frobbing jinyeow/imgscrpr [INFO] finished frobbing jinyeow/imgscrpr [INFO] frobbed toml for jinyeow/imgscrpr written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/jinyeow/imgscrpr/Cargo.toml [INFO] crate jinyeow/imgscrpr already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/jinyeow/imgscrpr/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on the registry index [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jinyeow/imgscrpr against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-2/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/jinyeow/imgscrpr:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8b65b4d7d81a90e6b8abbf6e7e383617dcc43bf5c281638368e0d322ccf955e0 [INFO] running `"docker" "start" "-a" "8b65b4d7d81a90e6b8abbf6e7e383617dcc43bf5c281638368e0d322ccf955e0"` [INFO] [stderr] Compiling syn v0.15.32 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Compiling selectors v0.21.0 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Checking hyper v0.12.27 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling cssparser v0.25.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling cssparser-macros v0.3.5 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] Checking cookie_store v0.5.1 [INFO] [stderr] Checking reqwest v0.9.15 [INFO] [stderr] Checking scraper v0.10.0 [INFO] [stderr] Checking imgscrpr v0.3.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `reqwest::header::Authorization` [INFO] [stderr] --> src/provider/imgur.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use reqwest::header::Authorization; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Authorization` in `header` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/lib.rs:292:16 [INFO] [stderr] | [INFO] [stderr] 292 | let home = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/lib.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | let home = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/lib.rs:312:16 [INFO] [stderr] | [INFO] [stderr] 312 | let home = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `reqwest::header::Authorization` [INFO] [stderr] --> src/provider/imgur.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use reqwest::header::Authorization; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Authorization` in `header` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/lib.rs:292:16 [INFO] [stderr] | [INFO] [stderr] 292 | let home = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/lib.rs:302:16 [INFO] [stderr] | [INFO] [stderr] 302 | let home = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/lib.rs:312:16 [INFO] [stderr] | [INFO] [stderr] 312 | let home = env::home_dir().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/provider/imgur.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | .header(Authorization(format!("Client-ID {}", CLIENT_ID))) [INFO] [stderr] | ^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error[E0277]: `?` couldn't convert the error to `()` [INFO] [stderr] --> src/provider/gfycat.rs:20:38 [INFO] [stderr] | [INFO] [stderr] 20 | let s = Selector::parse(selector)?; [INFO] [stderr] | ^ the trait `std::convert::From>>` is not implemented for `()` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 1 parameter was supplied [INFO] [stderr] --> src/provider/imgur.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | .header(Authorization(format!("Client-ID {}", CLIENT_ID))) [INFO] [stderr] | ^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error[E0277]: `?` couldn't convert the error to `()` [INFO] [stderr] --> src/provider/gfycat.rs:20:38 [INFO] [stderr] | [INFO] [stderr] 20 | let s = Selector::parse(selector)?; [INFO] [stderr] | ^ the trait `std::convert::From>>` is not implemented for `()` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::convert::From::from` [INFO] [stderr] [INFO] [stderr] error: Could not compile `imgscrpr`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0277, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: Could not compile `imgscrpr`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8b65b4d7d81a90e6b8abbf6e7e383617dcc43bf5c281638368e0d322ccf955e0"` [INFO] running `"docker" "rm" "-f" "8b65b4d7d81a90e6b8abbf6e7e383617dcc43bf5c281638368e0d322ccf955e0"` [INFO] [stdout] 8b65b4d7d81a90e6b8abbf6e7e383617dcc43bf5c281638368e0d322ccf955e0