[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvagola%2Fkey-clone" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vagola/key-clone on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded chrono v0.4.15 [INFO] [stderr] Downloaded libc v0.2.76 [INFO] [stderr] Downloaded simple_logger v1.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b78db1beffb2517b0c8aa98bfa703e7b6e68775377e3b993b3575e636e8c7aa3 [INFO] running `Command { std: "docker" "start" "-a" "b78db1beffb2517b0c8aa98bfa703e7b6e68775377e3b993b3575e636e8c7aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b78db1beffb2517b0c8aa98bfa703e7b6e68775377e3b993b3575e636e8c7aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78db1beffb2517b0c8aa98bfa703e7b6e68775377e3b993b3575e636e8c7aa3", kill_on_drop: false }` [INFO] [stdout] b78db1beffb2517b0c8aa98bfa703e7b6e68775377e3b993b3575e636e8c7aa3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d685c759cb0955c22e67b37e40d668d6a8ed9b7a4bb17b6a794f25da571f817 [INFO] running `Command { std: "docker" "start" "-a" "1d685c759cb0955c22e67b37e40d668d6a8ed9b7a4bb17b6a794f25da571f817", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling winapi v0.3.9 [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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:53:9 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/mod.rs:100:9 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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]: failed to resolve: could not 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[E0433]: failed to resolve: could not 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]: failed to resolve: could not 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[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]: failed to resolve: could not 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]: failed to resolve: could not 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 function or associated item 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] | ^^^^^^^^^ function or associated item 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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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 function or associated item 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] | ^^^^^^^^^ function or associated item 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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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 function or associated item 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] | ^^^^^^^^^ function or associated item 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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [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 function or associated item 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] | ^^^^^^^^^ function or associated item 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/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/ffi/os_str.rs:143:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 181 | let process_name = &OsString::from_iter(&process_name_full[..process_name_length]); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [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] error: aborting due to 13 previous errors [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] [stderr] error: could not compile `key-clone` (bin "key-clone") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `key-clone` (bin "key-clone" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "1d685c759cb0955c22e67b37e40d668d6a8ed9b7a4bb17b6a794f25da571f817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d685c759cb0955c22e67b37e40d668d6a8ed9b7a4bb17b6a794f25da571f817", kill_on_drop: false }` [INFO] [stdout] 1d685c759cb0955c22e67b37e40d668d6a8ed9b7a4bb17b6a794f25da571f817