[INFO] cloning repository https://github.com/HLennart/clipboard-ocr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HLennart/clipboard-ocr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHLennart%2Fclipboard-ocr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHLennart%2Fclipboard-ocr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f785191105da5b407157b6e2ce5a1395e8dfb086 [INFO] checking HLennart/clipboard-ocr against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHLennart%2Fclipboard-ocr" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HLennart/clipboard-ocr 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] removed /workspace/builds/worker-4/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/HLennart/clipboard-ocr [INFO] finished tweaking git repo https://github.com/HLennart/clipboard-ocr [INFO] tweaked toml for git repo https://github.com/HLennart/clipboard-ocr written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/HLennart/clipboard-ocr 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] dedcae4c23c581a73bdddd08657f76c758785bd728029b7d7ba16b79357027a6 [INFO] running `Command { std: "docker" "start" "-a" "dedcae4c23c581a73bdddd08657f76c758785bd728029b7d7ba16b79357027a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dedcae4c23c581a73bdddd08657f76c758785bd728029b7d7ba16b79357027a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dedcae4c23c581a73bdddd08657f76c758785bd728029b7d7ba16b79357027a6", kill_on_drop: false }` [INFO] [stdout] dedcae4c23c581a73bdddd08657f76c758785bd728029b7d7ba16b79357027a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] d30dd53c4b11d5080b65402fc1f3cf4d692fedfe62c32fafe8fe90bc92700bc3 [INFO] running `Command { std: "docker" "start" "-a" "d30dd53c4b11d5080b65402fc1f3cf4d692fedfe62c32fafe8fe90bc92700bc3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking str-buf v1.0.5 [INFO] [stderr] Compiling clipboard-ocr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling clang-sys v1.1.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking error-code v2.0.2 [INFO] [stderr] Checking clipboard-win v4.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Compiling leptonica-sys v0.3.4 [INFO] [stderr] Compiling tesseract-sys v0.5.5 [INFO] [stderr] Checking leptess v0.11.0 [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::formats`, `clipboard_win::get_clipboard`, `clipboard_win::set_clipboard` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::{formats, get_clipboard, set_clipboard}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `set_clipboard` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `get_clipboard` in the root [INFO] [stdout] | no `formats` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::formats`, `clipboard_win::get_clipboard`, `clipboard_win::set_clipboard` [INFO] [stdout] --> src/main.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::{formats, get_clipboard, set_clipboard}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `set_clipboard` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `get_clipboard` in the root [INFO] [stdout] | no `formats` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clipboard-ocr` due to 5 previous errors [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let result = match get_clipboard(formats::Bitmap) { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(v) => v, [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(v) => v, [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let result = match get_clipboard(formats::Bitmap) { [INFO] [stdout] | ^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(v) => v, [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(v) => v, [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required by `Ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d30dd53c4b11d5080b65402fc1f3cf4d692fedfe62c32fafe8fe90bc92700bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d30dd53c4b11d5080b65402fc1f3cf4d692fedfe62c32fafe8fe90bc92700bc3", kill_on_drop: false }` [INFO] [stdout] d30dd53c4b11d5080b65402fc1f3cf4d692fedfe62c32fafe8fe90bc92700bc3