[INFO] cloning repository https://github.com/nasso/screensnap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nasso/screensnap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasso%2Fscreensnap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasso%2Fscreensnap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4408c6cada6a197c0e70e532034b86c35899e386 [INFO] checking nasso/screensnap against try#f17e3a389e192f83fe27a581774a9d1dbb8e565b for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasso%2Fscreensnap" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nasso/screensnap on toolchain f17e3a389e192f83fe27a581774a9d1dbb8e565b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nasso/screensnap [INFO] finished tweaking git repo https://github.com/nasso/screensnap [INFO] tweaked toml for git repo https://github.com/nasso/screensnap written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nasso/screensnap already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.21.0 [INFO] [stderr] Downloaded easer v0.2.1 [INFO] [stderr] Downloaded custom_error v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7380b2e45f2b988bbca3354729ae54574b439ee6a48bbd7cf4291cc72b2e809b [INFO] running `Command { std: "docker" "start" "-a" "7380b2e45f2b988bbca3354729ae54574b439ee6a48bbd7cf4291cc72b2e809b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7380b2e45f2b988bbca3354729ae54574b439ee6a48bbd7cf4291cc72b2e809b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7380b2e45f2b988bbca3354729ae54574b439ee6a48bbd7cf4291cc72b2e809b", kill_on_drop: false }` [INFO] [stdout] 7380b2e45f2b988bbca3354729ae54574b439ee6a48bbd7cf4291cc72b2e809b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f17e3a389e192f83fe27a581774a9d1dbb8e565b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 423b239825187eee7eba7cd17e96be592a572956787017590ecd46ef01785a3a [INFO] running `Command { std: "docker" "start" "-a" "423b239825187eee7eba7cd17e96be592a572956787017590ecd46ef01785a3a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking downcast-rs v1.0.4 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling syn v0.15.40 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Checking rustc-demangle v0.1.15 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking backtrace v0.3.33 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Checking easer v0.2.1 [INFO] [stderr] Checking custom_error v1.6.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.1 [INFO] [stderr] Checking glutin v0.21.0 [INFO] [stderr] Checking screensnap v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/focuser/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/focuser/os.rs" or "src/focuser/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/hotkey/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/hotkey/os.rs" or "src/hotkey/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/msgbox/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/msgbox/os.rs" or "src/msgbox/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/screengrab/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/screengrab/os.rs" or "src/screengrab/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/focuser/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/focuser/os.rs" or "src/focuser/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/hotkey/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/hotkey/os.rs" or "src/hotkey/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/msgbox/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/msgbox/os.rs" or "src/msgbox/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `os` [INFO] [stdout] --> src/screengrab/mod.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod os; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `os`, create file "src/screengrab/os.rs" or "src/screengrab/os/mod.rs" [INFO] [stdout] = note: if there is a `mod os` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | winapi::um::shellscalingapi::SetProcessDpiAwareness( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | winapi::um::shellscalingapi::PROCESS_DPI_UNAWARE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | winapi::um::shellscalingapi::SetProcessDpiAwareness( [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `winapi` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | winapi::um::shellscalingapi::PROCESS_DPI_UNAWARE, [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winapi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winapi`, use `cargo add winapi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_to_clipboard` found for struct `Screenshot` in the current scope [INFO] [stdout] --> src/cropper.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | context.snap.copy_to_clipboard(Rectangle { [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^ method not found in `Screenshot` [INFO] [stdout] | [INFO] [stdout] ::: src/screengrab/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Screenshot { [INFO] [stdout] | --------------------- method `copy_to_clipboard` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `copy_to_clipboard` found for struct `Screenshot` in the current scope [INFO] [stdout] --> src/cropper.rs:300:26 [INFO] [stdout] | [INFO] [stdout] 300 | context.snap.copy_to_clipboard(Rectangle { [INFO] [stdout] | -------------^^^^^^^^^^^^^^^^^ method not found in `Screenshot` [INFO] [stdout] | [INFO] [stdout] ::: src/screengrab/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Screenshot { [INFO] [stdout] | --------------------- method `copy_to_clipboard` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Screenshot` is not an iterator [INFO] [stdout] --> src/main.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | match cropper.apply(Screenshot::take()) { [INFO] [stdout] | ^^^^ `Screenshot` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/screengrab/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Screenshot { [INFO] [stdout] | --------------------- function or associated item `take` not found for this struct because it doesn't satisfy `Screenshot: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Screenshot: Iterator` [INFO] [stdout] which is required by `&mut Screenshot: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `take`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Screenshot` is not an iterator [INFO] [stdout] --> src/main.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | match cropper.apply(Screenshot::take()) { [INFO] [stdout] | ^^^^ `Screenshot` is not an iterator [INFO] [stdout] | [INFO] [stdout] ::: src/screengrab/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Screenshot { [INFO] [stdout] | --------------------- function or associated item `take` not found for this struct because it doesn't satisfy `Screenshot: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Screenshot: Iterator` [INFO] [stdout] which is required by `&mut Screenshot: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/f17e3a389e192f83fe27a581774a9d1dbb8e565b/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `take`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `std::io::Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `screensnap` (bin "screensnap" test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `screensnap` (bin "screensnap") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "423b239825187eee7eba7cd17e96be592a572956787017590ecd46ef01785a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "423b239825187eee7eba7cd17e96be592a572956787017590ecd46ef01785a3a", kill_on_drop: false }` [INFO] [stdout] 423b239825187eee7eba7cd17e96be592a572956787017590ecd46ef01785a3a