[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] 827f55cdc8b3e5d1087987a5489d868ae4f9edf4 [INFO] checking nasso/screensnap against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasso%2Fscreensnap" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nasso/screensnap on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e705f9811e7bd4ea27ad45dca554e9f7b8c9fb2b0036706ef2f5a8941b02f09 [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" "1e705f9811e7bd4ea27ad45dca554e9f7b8c9fb2b0036706ef2f5a8941b02f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e705f9811e7bd4ea27ad45dca554e9f7b8c9fb2b0036706ef2f5a8941b02f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e705f9811e7bd4ea27ad45dca554e9f7b8c9fb2b0036706ef2f5a8941b02f09", kill_on_drop: false }` [INFO] [stdout] 1e705f9811e7bd4ea27ad45dca554e9f7b8c9fb2b0036706ef2f5a8941b02f09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 157a0ac76fc0924bedd40ee266827f4994689a367ff57b3e3ced6b55b0d6faa5 [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" "157a0ac76fc0924bedd40ee266827f4994689a367ff57b3e3ced6b55b0d6faa5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.40 [INFO] [stderr] Checking takeable-option v0.4.0 [INFO] [stderr] Checking custom_error v1.6.0 [INFO] [stderr] Checking x11-dl v2.18.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking easer v0.2.1 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling glium v0.25.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking backtrace v0.3.33 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking glutin_glx_sys v0.1.5 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking wayland-client v0.21.13 [INFO] [stderr] Checking wayland-protocols 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" [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" [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" [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" [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" [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" [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" [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" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `os::focus_current_window` [INFO] [stdout] --> src/focuser/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use os::focus_current_window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `focus_current_window` in `focuser::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `os::register` [INFO] [stdout] --> src/hotkey/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use os::register; [INFO] [stdout] | ^^^^^^^^^^^^ no `register` in `hotkey::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `os::error` [INFO] [stdout] --> src/msgbox/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use os::error; [INFO] [stdout] | ^^^^^^^^^ no `error` in `msgbox::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `os::focus_current_window` [INFO] [stdout] --> src/focuser/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use os::focus_current_window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `focus_current_window` in `focuser::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `os::register` [INFO] [stdout] --> src/hotkey/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use os::register; [INFO] [stdout] | ^^^^^^^^^^^^ no `register` in `hotkey::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `os::error` [INFO] [stdout] --> src/msgbox/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use os::error; [INFO] [stdout] | ^^^^^^^^^ no `error` in `msgbox::os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | winapi::um::shellscalingapi::SetProcessDpiAwareness( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | winapi::um::shellscalingapi::PROCESS_DPI_UNAWARE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OsScreenshot` in module `os` [INFO] [stdout] --> src/screengrab/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | os: os::OsScreenshot, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | winapi::um::shellscalingapi::SetProcessDpiAwareness( [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | winapi::um::shellscalingapi::PROCESS_DPI_UNAWARE, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OsScreenshot` in module `os` [INFO] [stdout] --> src/screengrab/mod.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | os: os::OsScreenshot, [INFO] [stdout] | ^^^^^^^^^^^^ not found in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `take` found for struct `Screenshot` in the current scope [INFO] [stdout] --> src/main.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | match cropper.apply(Screenshot::take()) { [INFO] [stdout] | ^^^^ function or associated item not found in `Screenshot` [INFO] [stdout] | [INFO] [stdout] ::: src/screengrab/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Screenshot { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `take` not found for this [INFO] [stdout] | doesn't satisfy `Screenshot: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `take` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Screenshot: Iterator` [INFO] [stdout] which is required by `&mut Screenshot: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `take`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `take` found for struct `Screenshot` in the current scope [INFO] [stdout] --> src/main.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | match cropper.apply(Screenshot::take()) { [INFO] [stdout] | ^^^^ function or associated item not found in `Screenshot` [INFO] [stdout] | [INFO] [stdout] ::: src/screengrab/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Screenshot { [INFO] [stdout] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | function or associated item `take` not found for this [INFO] [stdout] | doesn't satisfy `Screenshot: Iterator` [INFO] [stdout] | [INFO] [stdout] = note: the method `take` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Screenshot: Iterator` [INFO] [stdout] which is required by `&mut Screenshot: Iterator` [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `take`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `screensnap` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "157a0ac76fc0924bedd40ee266827f4994689a367ff57b3e3ced6b55b0d6faa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157a0ac76fc0924bedd40ee266827f4994689a367ff57b3e3ced6b55b0d6faa5", kill_on_drop: false }` [INFO] [stdout] 157a0ac76fc0924bedd40ee266827f4994689a367ff57b3e3ced6b55b0d6faa5