[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36ff1db94af27f2b0670c4e4ebfe0d7b883d8f4c [INFO] testing auyer/screenshot-scaledown against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fauyer%2Fscreenshot-scaledown" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/auyer/screenshot-scaledown on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-10/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66156b116bf81dce6445a6341dc6faf398fa125db54967ef8fe427a7b1a6e156 [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" "66156b116bf81dce6445a6341dc6faf398fa125db54967ef8fe427a7b1a6e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66156b116bf81dce6445a6341dc6faf398fa125db54967ef8fe427a7b1a6e156", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66156b116bf81dce6445a6341dc6faf398fa125db54967ef8fe427a7b1a6e156", kill_on_drop: false }` [INFO] [stdout] 66156b116bf81dce6445a6341dc6faf398fa125db54967ef8fe427a7b1a6e156 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 755f43288c31e4f26322fb96f1be2625e378aad2d47ee2ab580ebdf9b82da77b [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" "755f43288c31e4f26322fb96f1be2625e378aad2d47ee2ab580ebdf9b82da77b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling bitflags v0.2.1 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling tiff v0.5.0 [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 x11-dl v2.18.5 [INFO] [stderr] Compiling xlib v0.1.0 (https://github.com/servo/rust-xlib#38ce24e6) [INFO] [stderr] Compiling rayon-core v1.7.0 [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 rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling x11rb v0.5.0 [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 type 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 type or module `thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 ` std::option::Option<(usize, usize, std::vec::Vec)> {print_action} as std::ops::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 `std::option::Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(usize, usize, std::vec::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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "755f43288c31e4f26322fb96f1be2625e378aad2d47ee2ab580ebdf9b82da77b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755f43288c31e4f26322fb96f1be2625e378aad2d47ee2ab580ebdf9b82da77b", kill_on_drop: false }` [INFO] [stdout] 755f43288c31e4f26322fb96f1be2625e378aad2d47ee2ab580ebdf9b82da77b