[INFO] cloning repository https://github.com/davystrong/filo-clipboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davystrong/filo-clipboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavystrong%2Ffilo-clipboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavystrong%2Ffilo-clipboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e58e4e680b11853c30dfe1dd550ade8b862bdaa [INFO] testing davystrong/filo-clipboard against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavystrong%2Ffilo-clipboard" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davystrong/filo-clipboard on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davystrong/filo-clipboard [INFO] finished tweaking git repo https://github.com/davystrong/filo-clipboard [INFO] tweaked toml for git repo https://github.com/davystrong/filo-clipboard written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/davystrong/filo-clipboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a362c497e3698b5da7cac2c6357468cb7d3a6a627c60a091377d989a5957189 [INFO] running `Command { std: "docker" "start" "-a" "8a362c497e3698b5da7cac2c6357468cb7d3a6a627c60a091377d989a5957189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a362c497e3698b5da7cac2c6357468cb7d3a6a627c60a091377d989a5957189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a362c497e3698b5da7cac2c6357468cb7d3a6a627c60a091377d989a5957189", kill_on_drop: false }` [INFO] [stdout] 8a362c497e3698b5da7cac2c6357468cb7d3a6a627c60a091377d989a5957189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 883d230c83448618160b01c6cc41e1184ebf6a34beaf121944995c0250cb4098 [INFO] running `Command { std: "docker" "start" "-a" "883d230c83448618160b01c6cc41e1184ebf6a34beaf121944995c0250cb4098", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling os_str_bytes v3.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling str-buf v1.0.5 [INFO] [stderr] Compiling clipboard-win v4.2.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling error-code v2.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.4 [INFO] [stderr] Compiling clap v3.0.0-beta.4 [INFO] [stderr] Compiling filo-clipboard v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard_extras.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::SetClipboardData; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::empty`, `clipboard_win::SysResult` [INFO] [stdout] --> src/clipboard_extras.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use clipboard_win::{empty, SysResult}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `SysResult` in the root [INFO] [stdout] | | [INFO] [stdout] | no `empty` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/clipboard_extras.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/key_utils.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/winapi_functions.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/window.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `clipboard_win::formats`, `clipboard_win::Clipboard`, `clipboard_win::EnumFormats`, `clipboard_win::Getter` [INFO] [stdout] --> src/window.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | use clipboard_win::{formats, Clipboard, EnumFormats, Getter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ no `Getter` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `EnumFormats` in the root [INFO] [stdout] | | no `Clipboard` in the root [INFO] [stdout] | no `formats` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> src/clipboard_extras.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | const GHND: winapi::ctypes::c_uint = 0x42; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard_extras.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | winapi::um::winbase::GlobalUnlock(data); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard_extras.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | winapi::um::winbase::GlobalFree(data); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard_extras.rs:60:31 [INFO] [stdout] | [INFO] [stdout] 60 | let mem = winapi::um::winbase::GlobalAlloc(GHND, size as _); [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/clipboard_extras.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | let ptr = unsafe { winapi::um::winbase::GlobalLock(self.get()) }; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | h_wnd_parent: &'a mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | h_menu: Option<&'a mut winapi::shared::windef::HMENU__>, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | h_instance: Option<&'a mut winapi::shared::minwindef::HINSTANCE__>, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:28:29 [INFO] [stdout] | [INFO] [stdout] 28 | ) -> Result<&'a mut winapi::shared::windef::HWND__, error_code::ErrorCode> [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | h_wnd: &mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | h_wnd: &mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | h_wnd: &mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | h_wnd: &mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/winapi_functions.rs:141:25 [INFO] [stdout] | [INFO] [stdout] 141 | h_wnd: &mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/window.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | h_wnd: &'a mut winapi::shared::windef::HWND__, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetClipboardData` in this scope [INFO] [stdout] --> src/clipboard_extras.rs:120:26 [INFO] [stdout] | [INFO] [stdout] 120 | if unsafe { !SetClipboardData(format, mem.get()).is_null() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/clipboard_extras.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | Self(Scope(mem as _, free_rust_mem)) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `filo-clipboard` due to 25 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "883d230c83448618160b01c6cc41e1184ebf6a34beaf121944995c0250cb4098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883d230c83448618160b01c6cc41e1184ebf6a34beaf121944995c0250cb4098", kill_on_drop: false }` [INFO] [stdout] 883d230c83448618160b01c6cc41e1184ebf6a34beaf121944995c0250cb4098