[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] testing auyer/screenshot-scaledown against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fauyer%2Fscreenshot-scaledown" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/auyer/screenshot-scaledown on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-75/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" "+722e1797249a965b6335aebd65d777f917e498f1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.16.4 [INFO] [stderr] Downloaded stdweb v0.3.0 [INFO] [stderr] Downloaded image v0.23.5 [INFO] [stderr] Downloaded x11rb v0.5.0 [INFO] [stderr] Downloaded clipboard-win v3.1.0 [INFO] [stderr] Downloaded livesplit-hotkey v0.5.0 [INFO] [stderr] Downloaded promising-future v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de05dd75fdda408c00b840904618656f5c2967c6be3d9f8e02f18a58fb5f432a [INFO] running `Command { std: "docker" "start" "-a" "de05dd75fdda408c00b840904618656f5c2967c6be3d9f8e02f18a58fb5f432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de05dd75fdda408c00b840904618656f5c2967c6be3d9f8e02f18a58fb5f432a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de05dd75fdda408c00b840904618656f5c2967c6be3d9f8e02f18a58fb5f432a", kill_on_drop: false }` [INFO] [stdout] de05dd75fdda408c00b840904618656f5c2967c6be3d9f8e02f18a58fb5f432a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70a81277d9e66b8ae610e1014d2335a3a022aea144a3c1f59bb84a3f75b2059f [INFO] running `Command { std: "docker" "start" "-a" "70a81277d9e66b8ae610e1014d2335a3a022aea144a3c1f59bb84a3f75b2059f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v0.2.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [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-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling xlib v0.1.0 (https://github.com/servo/rust-xlib#38ce24e6) [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling promising-future v0.2.4 [INFO] [stderr] Compiling x11rb v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.5 [INFO] [stderr] Compiling livesplit-hotkey v0.5.0 [INFO] [stderr] Compiling 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] 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: 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] [stderr] error: could not compile `screenshot-scaledown` due to 4 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70a81277d9e66b8ae610e1014d2335a3a022aea144a3c1f59bb84a3f75b2059f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70a81277d9e66b8ae610e1014d2335a3a022aea144a3c1f59bb84a3f75b2059f", kill_on_drop: false }` [INFO] [stdout] 70a81277d9e66b8ae610e1014d2335a3a022aea144a3c1f59bb84a3f75b2059f