[INFO] updating cached repository https://github.com/brad-alexander/phantom-pane [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] 64febbf018f6568d751d206feb8e88236aa97a0e [INFO] checking brad-alexander/phantom-pane against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrad-alexander%2Fphantom-pane" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brad-alexander/phantom-pane 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/brad-alexander/phantom-pane [INFO] finished tweaking git repo https://github.com/brad-alexander/phantom-pane [INFO] tweaked toml for git repo https://github.com/brad-alexander/phantom-pane written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/brad-alexander/phantom-pane 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] de9223f9f6b86266e1cf1d26ade9deaf37ad83469e5d2fe5869954f167d42299 [INFO] running `"docker" "start" "-a" "de9223f9f6b86266e1cf1d26ade9deaf37ad83469e5d2fe5869954f167d42299"` [INFO] [stderr] Checking winrangle v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::minwindef::{LPARAM, BOOL, TRUE}; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::{GetWindow, SetWindowPos, GetWindowTextA, EnumWindows, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `livesplit_hotkey` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use livesplit_hotkey::{Hook, KeyCode}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `livesplit_hotkey` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `livesplit_hotkey` [INFO] [stderr] --> src/main.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | fn main() -> Result<(), livesplit_hotkey::windows::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `livesplit_hotkey` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | fn get_window_title(hwnd: HWND) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stderr] --> src/main.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | let winstr = GetWindowTextA(hwnd, buf.as_mut_ptr(), size); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDENUMPROC` in this scope [INFO] [stderr] --> src/main.rs:55:18 [INFO] [stderr] | [INFO] [stderr] 55 | let enumfun: WNDENUMPROC = Some(select_calcs); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `select_calcs` in this scope [INFO] [stderr] --> src/main.rs:55:37 [INFO] [stderr] | [INFO] [stderr] 55 | let enumfun: WNDENUMPROC = Some(select_calcs); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | unsafe { EnumWindows(enumfun, isize::max_value()); } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | /// Register global hotkeys, then sleep and handle events as callbacks [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macros [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::shared::windef::HWND; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::shared::minwindef::{LPARAM, BOOL, TRUE}; [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `winapi` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::um::winuser::{GetWindow, SetWindowPos, GetWindowTextA, EnumWindows, [INFO] [stderr] | ^^^^^^ use of undeclared type or module `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `livesplit_hotkey` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use livesplit_hotkey::{Hook, KeyCode}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `livesplit_hotkey` [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 68 | / loop { thread::sleep(sleep_time); [INFO] [stderr] 69 | | //println!("zzzzz"); [INFO] [stderr] 70 | | //let myhook: MyHook = unsafe {std::mem::transmute_copy::(&hook)}; [INFO] [stderr] 71 | | //println!("{}", myhook.thread_id); [INFO] [stderr] 72 | | }; [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 73 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `livesplit_hotkey` [INFO] [stderr] --> src/main.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | fn main() -> Result<(), livesplit_hotkey::windows::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ use of undeclared type or module `livesplit_hotkey` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope [INFO] [stderr] --> src/main.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | fn get_window_title(hwnd: HWND) -> String { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextA` in this scope [INFO] [stderr] --> src/main.rs:36:22 [INFO] [stderr] | [INFO] [stderr] 36 | let winstr = GetWindowTextA(hwnd, buf.as_mut_ptr(), size); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `WNDENUMPROC` in this scope [INFO] [stderr] --> src/main.rs:55:18 [INFO] [stderr] | [INFO] [stderr] 55 | let enumfun: WNDENUMPROC = Some(select_calcs); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `select_calcs` in this scope [INFO] [stderr] --> src/main.rs:55:37 [INFO] [stderr] | [INFO] [stderr] 55 | let enumfun: WNDENUMPROC = Some(select_calcs); [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `EnumWindows` in this scope [INFO] [stderr] --> src/main.rs:56:14 [INFO] [stderr] | [INFO] [stderr] 56 | unsafe { EnumWindows(enumfun, isize::max_value()); } [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | /// Register global hotkeys, then sleep and handle events as callbacks [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macros [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `winrangle`. [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] warning: unreachable expression [INFO] [stderr] --> src/main.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 68 | / loop { thread::sleep(sleep_time); [INFO] [stderr] 69 | | //println!("zzzzz"); [INFO] [stderr] 70 | | //let myhook: MyHook = unsafe {std::mem::transmute_copy::(&hook)}; [INFO] [stderr] 71 | | //println!("{}", myhook.thread_id); [INFO] [stderr] 72 | | }; [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 73 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `winrangle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "de9223f9f6b86266e1cf1d26ade9deaf37ad83469e5d2fe5869954f167d42299"` [INFO] running `"docker" "rm" "-f" "de9223f9f6b86266e1cf1d26ade9deaf37ad83469e5d2fe5869954f167d42299"` [INFO] [stdout] de9223f9f6b86266e1cf1d26ade9deaf37ad83469e5d2fe5869954f167d42299