[INFO] cloning repository https://github.com/mzhou/game_stream_start_menu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mzhou/game_stream_start_menu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzhou%2Fgame_stream_start_menu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzhou%2Fgame_stream_start_menu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7165617fc0e4f7c2a098e02162de9b1e166f5bf [INFO] checking mzhou/game_stream_start_menu against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzhou%2Fgame_stream_start_menu" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mzhou/game_stream_start_menu on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mzhou/game_stream_start_menu [INFO] finished tweaking git repo https://github.com/mzhou/game_stream_start_menu [INFO] tweaked toml for git repo https://github.com/mzhou/game_stream_start_menu written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/mzhou/game_stream_start_menu already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4abc4a9c6d5ce0b7394f69f32e00286bbb52cd6d8a44604a35127a1657064910 [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" "4abc4a9c6d5ce0b7394f69f32e00286bbb52cd6d8a44604a35127a1657064910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4abc4a9c6d5ce0b7394f69f32e00286bbb52cd6d8a44604a35127a1657064910", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4abc4a9c6d5ce0b7394f69f32e00286bbb52cd6d8a44604a35127a1657064910", kill_on_drop: false }` [INFO] [stdout] 4abc4a9c6d5ce0b7394f69f32e00286bbb52cd6d8a44604a35127a1657064910 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c2093be19c3374675cc7de6d72afd14705ee191e406463a50b10f59746baa80 [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" "8c2093be19c3374675cc7de6d72afd14705ee191e406463a50b10f59746baa80", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking game_stream_start_menu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPARAM, WORD, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | const HOTKEY_VK: WORD = winuser::VK_F8 as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | const HOTKEY_VK: WORD = winuser::VK_F8 as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | const SIMULATE_VK: WORD = winuser::VK_LWIN as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | const SIMULATE_VK: WORD = winuser::VK_LWIN as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn keyboard_input(vk: WORD, up: bool) -> winuser::INPUT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | dwFlags: ((up as DWORD) * winuser::KEYEVENTF_KEYUP), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | || msg.lParam != (HOTKEY_VK as LPARAM) << 16 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | || msg.wParam != hotkey_id as WPARAM [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/main.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | extern "C" fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dea899c54966188d.rlib [INFO] [stdout] = note: second definition in the local crate (`game_stream_start_menu`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | fn panic_handler(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `winapi` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.rlib [INFO] [stdout] = note: second definition in the local crate (`game_stream_start_menu`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game_stream_start_menu` [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] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPARAM, WORD, WPARAM}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::ctypes::c_int; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | const HOTKEY_VK: WORD = winuser::VK_F8 as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:12:43 [INFO] [stdout] | [INFO] [stdout] 12 | const HOTKEY_VK: WORD = winuser::VK_F8 as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | const SIMULATE_VK: WORD = winuser::VK_LWIN as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | const SIMULATE_VK: WORD = winuser::VK_LWIN as WORD; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WORD` in this scope [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn keyboard_input(vk: WORD, up: bool) -> winuser::INPUT { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | dwFlags: ((up as DWORD) * winuser::KEYEVENTF_KEYUP), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope [INFO] [stdout] --> src/main.rs:52:48 [INFO] [stdout] | [INFO] [stdout] 52 | || msg.lParam != (HOTKEY_VK as LPARAM) << 16 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WPARAM` in this scope [INFO] [stdout] --> src/main.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | || msg.wParam != hotkey_id as WPARAM [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/main.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | extern "C" fn eh_personality() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_unwind` (which `std` depends on) [INFO] [stdout] = note: first definition in `panic_unwind` loaded from /opt/rustwide/rustup-home/toolchains/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dea899c54966188d.rlib [INFO] [stdout] = note: second definition in the local crate (`game_stream_start_menu`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | fn panic_handler(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e3026a7ea720d3a3.rlib [INFO] [stdout] = note: second definition in the local crate (`game_stream_start_menu`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8c2093be19c3374675cc7de6d72afd14705ee191e406463a50b10f59746baa80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c2093be19c3374675cc7de6d72afd14705ee191e406463a50b10f59746baa80", kill_on_drop: false }` [INFO] [stdout] 8c2093be19c3374675cc7de6d72afd14705ee191e406463a50b10f59746baa80