[INFO] cloning repository https://github.com/auyer/screenshot-scaledown [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/auyer/screenshot-scaledown" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fauyer%2Fscreenshot-scaledown", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fauyer%2Fscreenshot-scaledown'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36ff1db94af27f2b0670c4e4ebfe0d7b883d8f4c [INFO] checking auyer/screenshot-scaledown against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fauyer%2Fscreenshot-scaledown" "/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/auyer/screenshot-scaledown on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/auyer/screenshot-scaledown [INFO] finished tweaking git repo https://github.com/auyer/screenshot-scaledown [INFO] tweaked toml for git repo https://github.com/auyer/screenshot-scaledown written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/auyer/screenshot-scaledown already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", 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] 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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c3b6d09c17679de01df0a28909134ec90211b687e3e81767f1ab2f8e014d991 [INFO] running `Command { std: "docker" "start" "-a" "8c3b6d09c17679de01df0a28909134ec90211b687e3e81767f1ab2f8e014d991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c3b6d09c17679de01df0a28909134ec90211b687e3e81767f1ab2f8e014d991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c3b6d09c17679de01df0a28909134ec90211b687e3e81767f1ab2f8e014d991", kill_on_drop: false }` [INFO] [stdout] 8c3b6d09c17679de01df0a28909134ec90211b687e3e81767f1ab2f8e014d991 [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4117da0bf3a97c662b8bdad56fff8c7c99fe1517b368ecea4f3b231ab6b827ef [INFO] running `Command { std: "docker" "start" "-a" "4117da0bf3a97c662b8bdad56fff8c7c99fe1517b368ecea4f3b231ab6b827ef", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking bitflags v0.2.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking png v0.16.4 [INFO] [stderr] Checking crossbeam-queue v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking xlib v0.1.0 (https://github.com/servo/rust-xlib#38ce24e6) [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking promising-future v0.2.4 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking x11rb v0.5.0 [INFO] [stderr] Checking image v0.23.5 [INFO] [stderr] Checking livesplit-hotkey v0.5.0 [INFO] [stderr] Checking screenshot-scaledown v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | thread::sleep(time::Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | thread::sleep(time::Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thread` [INFO] [stdout] --> src/main.rs:83:3 [INFO] [stdout] | [INFO] [stdout] 83 | thread::sleep(time::Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scopeguard::defer` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use scopeguard::defer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `time` [INFO] [stdout] --> src/main.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | thread::sleep(time::Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scopeguard::defer` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use scopeguard::defer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::io::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` Option<(usize, usize, Vec)> {print_action} as FnOnce<()>>::Output == ()` [INFO] [stdout] --> src/main.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | hook.register(livesplit_hotkey::KeyCode::Print, print_action) [INFO] [stdout] | ^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(usize, usize, Vec)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving ` Option<(usize, usize, Vec)> {print_action} as FnOnce<()>>::Output == ()` [INFO] [stdout] --> src/main.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | hook.register(livesplit_hotkey::KeyCode::Print, print_action) [INFO] [stdout] | ^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(usize, usize, Vec)>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `screenshot-scaledown` due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4117da0bf3a97c662b8bdad56fff8c7c99fe1517b368ecea4f3b231ab6b827ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4117da0bf3a97c662b8bdad56fff8c7c99fe1517b368ecea4f3b231ab6b827ef", kill_on_drop: false }` [INFO] [stdout] 4117da0bf3a97c662b8bdad56fff8c7c99fe1517b368ecea4f3b231ab6b827ef