[INFO] cloning repository https://github.com/vagola/key-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vagola/key-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51071739e975b4d047d2827f6f6bc872dfb6752f [INFO] checking vagola/key-clone against master#8317fef20409adedaa7c385fa6e954867bf626fc for pr-154149-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/vagola/key-clone [INFO] finished tweaking git repo https://github.com/vagola/key-clone [INFO] tweaked toml for git repo https://github.com/vagola/key-clone written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vagola/key-clone on toolchain 8317fef20409adedaa7c385fa6e954867bf626fc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vagola/key-clone 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" "+8317fef20409adedaa7c385fa6e954867bf626fc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.10 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded simple_logger v1.7.0 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded colored v1.9.3 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd66d18bfc058321c371dace30d2fafa2b9de20247f7590972330b5df81517aa [INFO] running `Command { std: "docker" "start" "-a" "cd66d18bfc058321c371dace30d2fafa2b9de20247f7590972330b5df81517aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd66d18bfc058321c371dace30d2fafa2b9de20247f7590972330b5df81517aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd66d18bfc058321c371dace30d2fafa2b9de20247f7590972330b5df81517aa", kill_on_drop: false }` [INFO] [stdout] cd66d18bfc058321c371dace30d2fafa2b9de20247f7590972330b5df81517aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+8317fef20409adedaa7c385fa6e954867bf626fc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d6aa842505b0ac8a7f972b8db664dbb5da111725b8cdc7e0a9c0b2070e13bd2 [INFO] running `Command { std: "docker" "start" "-a" "5d6aa842505b0ac8a7f972b8db664dbb5da111725b8cdc7e0a9c0b2070e13bd2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking simple_logger v1.7.0 [INFO] [stderr] Checking key-clone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/hotkey.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{PeekMessageW, RegisterHotKey, UnregisterHotKey, PM_NOREMOVE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/hotkey.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{MSG, PM_REMOVE, WM_HOTKEY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/hotkey.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winuser::{PeekMessageW, RegisterHotKey, UnregisterHotKey, PM_NOREMOVE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/hotkey.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winuser::{MSG, PM_REMOVE, WM_HOTKEY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::{BOOL, LPARAM, LRESULT, TRUE, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::tlhelp32::PROCESSENTRY32W; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::tlhelp32::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::{PostMessageW, KBDLLHOOKSTRUCT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::shared::minwindef::{BOOL, LPARAM, LRESULT, TRUE, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::windef::HWND; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::tlhelp32::PROCESSENTRY32W; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::tlhelp32::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::um::winuser::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `um` in `winapi` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::winuser::{PostMessageW, KBDLLHOOKSTRUCT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | let process_name = OsString::from_wide(&process_name_full[..process_name_length]) [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 149 - let process_name = OsString::from_wide(&process_name_full[..process_name_length]) [INFO] [stdout] 149 + let process_name = OsString::from_iter(&process_name_full[..process_name_length]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | let process_name = OsString::from_wide(&process_name_full[..process_name_length]) [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 149 - let process_name = OsString::from_wide(&process_name_full[..process_name_length]) [INFO] [stdout] 149 + let process_name = OsString::from_iter(&process_name_full[..process_name_length]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | let process_name = &OsString::from_wide(&process_name_full[..process_name_length]); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 181 - let process_name = &OsString::from_wide(&process_name_full[..process_name_length]); [INFO] [stdout] 181 + let process_name = &OsString::from_iter(&process_name_full[..process_name_length]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/main.rs:181:43 [INFO] [stdout] | [INFO] [stdout] 181 | let process_name = &OsString::from_wide(&process_name_full[..process_name_length]); [INFO] [stdout] | ^^^^^^^^^ associated function or constant not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/8317fef20409adedaa7c385fa6e954867bf626fc/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 181 - let process_name = &OsString::from_wide(&process_name_full[..process_name_length]); [INFO] [stdout] 181 + let process_name = &OsString::from_iter(&process_name_full[..process_name_length]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `key-clone` (bin "key-clone" test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `key-clone` (bin "key-clone") due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "5d6aa842505b0ac8a7f972b8db664dbb5da111725b8cdc7e0a9c0b2070e13bd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d6aa842505b0ac8a7f972b8db664dbb5da111725b8cdc7e0a9c0b2070e13bd2", kill_on_drop: false }` [INFO] [stdout] 5d6aa842505b0ac8a7f972b8db664dbb5da111725b8cdc7e0a9c0b2070e13bd2