[INFO] updating cached repository https://github.com/ingSlonik/wuake [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 948c5ef48736f6115694192b0ebdf342e9aaecaf [INFO] checking ingSlonik/wuake against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FingSlonik%2Fwuake" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ingSlonik/wuake on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ingSlonik/wuake [INFO] finished tweaking git repo https://github.com/ingSlonik/wuake [INFO] tweaked toml for git repo https://github.com/ingSlonik/wuake written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ingSlonik/wuake already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dda5502f254515c14da6e61fafce2417a9dbf244bd6d504ead0e5af453b8c7e6 [INFO] running `"docker" "start" "-a" "dda5502f254515c14da6e61fafce2417a9dbf244bd6d504ead0e5af453b8c7e6"` [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking wuake v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::winapi::HWND` [INFO] [stderr] --> src/window.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use self::winapi::HWND; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `HWND` in the root [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | pressed: user32::GetAsyncKeyState(key) != 0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:27:35 [INFO] [stderr] | [INFO] [stderr] 27 | pressed = user32::GetAsyncKeyState(self.key) != 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:58:21 [INFO] [stderr] | [INFO] [stderr] 58 | user32::GetAsyncKeyState(key); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | if user32::GetAsyncKeyState(key) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in crate `user32` [INFO] [stderr] --> src/window.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | window_handle = user32::FindWindowA(null_mut(), cstring_title.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in crate `user32` [INFO] [stderr] --> src/window.rs:42:36 [INFO] [stderr] | [INFO] [stderr] 42 | let screen_width = user32::GetSystemMetrics(16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in crate `user32` [INFO] [stderr] --> src/window.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | let screen_height = user32::GetSystemMetrics(17); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stderr] --> src/window.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | user32::ShowWindow(main_window, 1); [INFO] [stderr] | ^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in crate `user32` [INFO] [stderr] --> src/window.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | user32::MoveWindow(main_window, left, top, width, height, 1); [INFO] [stderr] | ^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in crate `user32` [INFO] [stderr] --> src/window.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | user32::CloseWindow(main_window); [INFO] [stderr] | ^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in crate `user32` [INFO] [stderr] --> src/main.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | if user32::IsWindow(cmd_window) == 0 { [INFO] [stderr] | ^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `self::winapi::HWND` [INFO] [stderr] --> src/window.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use self::winapi::HWND; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ no `HWND` in the root [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | pressed: user32::GetAsyncKeyState(key) != 0, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:27:35 [INFO] [stderr] | [INFO] [stderr] 27 | pressed = user32::GetAsyncKeyState(self.key) != 0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:58:21 [INFO] [stderr] | [INFO] [stderr] 58 | user32::GetAsyncKeyState(key); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetAsyncKeyState` in crate `user32` [INFO] [stderr] --> src/key_events.rs:66:28 [INFO] [stderr] | [INFO] [stderr] 66 | if user32::GetAsyncKeyState(key) != 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `FindWindowA` in crate `user32` [INFO] [stderr] --> src/window.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | window_handle = user32::FindWindowA(null_mut(), cstring_title.as_ptr()); [INFO] [stderr] | ^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in crate `user32` [INFO] [stderr] --> src/window.rs:42:36 [INFO] [stderr] | [INFO] [stderr] 42 | let screen_width = user32::GetSystemMetrics(16); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetSystemMetrics` in crate `user32` [INFO] [stderr] --> src/window.rs:43:37 [INFO] [stderr] | [INFO] [stderr] 43 | let screen_height = user32::GetSystemMetrics(17); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ShowWindow` in crate `user32` [INFO] [stderr] --> src/window.rs:50:17 [INFO] [stderr] | [INFO] [stderr] 50 | user32::ShowWindow(main_window, 1); [INFO] [stderr] | ^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MoveWindow` in crate `user32` [INFO] [stderr] --> src/window.rs:51:17 [INFO] [stderr] | [INFO] [stderr] 51 | user32::MoveWindow(main_window, left, top, width, height, 1); [INFO] [stderr] | ^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CloseWindow` in crate `user32` [INFO] [stderr] --> src/window.rs:57:17 [INFO] [stderr] | [INFO] [stderr] 57 | user32::CloseWindow(main_window); [INFO] [stderr] | ^^^^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `IsWindow` in crate `user32` [INFO] [stderr] --> src/main.rs:42:24 [INFO] [stderr] | [INFO] [stderr] 42 | if user32::IsWindow(cmd_window) == 0 { [INFO] [stderr] | ^^^^^^^^ not found in `user32` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/window.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | let left = (screen_width as f32 * 0.2) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/window.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | let width = (screen_width as f32 * 0.6) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/window.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | let height = (screen_height as f32 * 0.5) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `wuake`. [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] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/window.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | let left = (screen_width as f32 * 0.2) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/window.rs:47:21 [INFO] [stderr] | [INFO] [stderr] 47 | let width = (screen_width as f32 * 0.6) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `i32` is invalid [INFO] [stderr] --> src/window.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | let height = (screen_height as f32 * 0.5) as i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `wuake`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dda5502f254515c14da6e61fafce2417a9dbf244bd6d504ead0e5af453b8c7e6"` [INFO] running `"docker" "rm" "-f" "dda5502f254515c14da6e61fafce2417a9dbf244bd6d504ead0e5af453b8c7e6"` [INFO] [stdout] dda5502f254515c14da6e61fafce2417a9dbf244bd6d504ead0e5af453b8c7e6