[INFO] updating cached repository Programming4life/display_off
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/Programming4life/display_off
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/Programming4life/display_off" "work/ex/beta-1.37-6/sources/1.36.0/gh/Programming4life/display_off"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/Programming4life/display_off'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/Programming4life/display_off" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Programming4life/display_off"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Programming4life/display_off'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9abf1c3c09e1ba3980f4b66118b7ba19411c98c9
[INFO] sha for GitHub repo Programming4life/display_off: 9abf1c3c09e1ba3980f4b66118b7ba19411c98c9
[INFO] validating manifest of Programming4life/display_off on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of Programming4life/display_off on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing Programming4life/display_off
[INFO] finished frobbing Programming4life/display_off
[INFO] frobbed toml for Programming4life/display_off written to work/ex/beta-1.37-6/sources/1.36.0/gh/Programming4life/display_off/Cargo.toml
[INFO] started frobbing Programming4life/display_off
[INFO] finished frobbing Programming4life/display_off
[INFO] frobbed toml for Programming4life/display_off written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/Programming4life/display_off/Cargo.toml
[INFO] crate Programming4life/display_off already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing Programming4life/display_off against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-5/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/Programming4life/display_off:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] 0fff8291b5d2342d13c08e237736e515a7b259c6b99ad3e2d5f54894313b76ba
[INFO] running `"docker" "start" "-a" "0fff8291b5d2342d13c08e237736e515a7b259c6b99ad3e2d5f54894313b76ba"`
[INFO] [stderr]    Compiling winapi v0.3.5
[INFO] [stderr]    Compiling display_off v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]  --> src/main.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stderr]   |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stderr]  --> src/main.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT, HWND};
[INFO] [stderr]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature;
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:11:13
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::winuser::{GetMessageW,
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stderr]   --> src/main.rs:15:13
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::physicalmonitorenumerationapi::{GetPhysicalMonitorsFromHMONITOR, PHYSICAL_MONITOR};
[INFO] [stderr]    |             ^^ could not find `um` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stderr]  --> src/main.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 | use winapi::ctypes::c_void;
[INFO] [stderr]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `SetVCPFeature` in this scope
[INFO] [stderr]   --> src/main.rs:36:14
[INFO] [stderr]    |
[INFO] [stderr] 36 |     if unsafe { SetVCPFeature(display_handle, 0xD6, state as u32)} == 0 { return false; }
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `EnumDisplayMonitors` in this scope
[INFO] [stderr]   --> src/main.rs:49:3
[INFO] [stderr]    |
[INFO] [stderr] 49 |         EnumDisplayMonitors(null_mut(), null_mut(), Some(monitor_enum_proc), display_list_ptr);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:69:21
[INFO] [stderr]    |
[INFO] [stderr] 69 | fn run_loop(window: HWND) {
[INFO] [stderr]    |                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]   --> src/main.rs:71:20
[INFO] [stderr]    |
[INFO] [stderr] 71 |         let mut message: MSG = mem::uninitialized();
[INFO] [stderr]    |                          ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `GetMessageW` in this scope
[INFO] [stderr]   --> src/main.rs:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |         while GetMessageW(&mut message as *mut MSG, window, 0, 0) == 1 {
[INFO] [stderr]    |               ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]   --> src/main.rs:72:42
[INFO] [stderr]    |
[INFO] [stderr] 72 |         while GetMessageW(&mut message as *mut MSG, window, 0, 0) == 1 {
[INFO] [stderr]    |                                                ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `TranslateMessage` in this scope
[INFO] [stderr]   --> src/main.rs:73:10
[INFO] [stderr]    |
[INFO] [stderr] 73 |             TranslateMessage(&message as *const MSG);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]   --> src/main.rs:73:46
[INFO] [stderr]    |
[INFO] [stderr] 73 |             TranslateMessage(&message as *const MSG);
[INFO] [stderr]    |                                                 ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `DispatchMessageW` in this scope
[INFO] [stderr]   --> src/main.rs:74:10
[INFO] [stderr]    |
[INFO] [stderr] 74 |             DispatchMessageW(&message as *const MSG);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `MSG` in this scope
[INFO] [stderr]   --> src/main.rs:74:46
[INFO] [stderr]    |
[INFO] [stderr] 74 |             DispatchMessageW(&message as *const MSG);
[INFO] [stderr]    |                                                 ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]   --> src/main.rs:82:23
[INFO] [stderr]    |
[INFO] [stderr] 82 | fn create_window() -> HWND {
[INFO] [stderr]    |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/main.rs:85:29
[INFO] [stderr]    |
[INFO] [stderr] 85 |     let instance = unsafe { GetModuleHandleW(null_mut()) };
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `WNDCLASSW` in this scope
[INFO] [stderr]   --> src/main.rs:88:25
[INFO] [stderr]    |
[INFO] [stderr] 88 |         let wnd_class = WNDCLASSW {
[INFO] [stderr]    |                         ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_OWNDC` in this scope
[INFO] [stderr]   --> src/main.rs:89:21
[INFO] [stderr]    |
[INFO] [stderr] 89 |             style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]    |                     ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_HREDRAW` in this scope
[INFO] [stderr]   --> src/main.rs:89:32
[INFO] [stderr]    |
[INFO] [stderr] 89 |             style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]    |                                ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CS_VREDRAW` in this scope
[INFO] [stderr]   --> src/main.rs:89:45
[INFO] [stderr]    |
[INFO] [stderr] 89 |             style : CS_OWNDC | CS_HREDRAW | CS_VREDRAW,
[INFO] [stderr]    |                                             ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `RegisterClassW` in this scope
[INFO] [stderr]    --> src/main.rs:101:9
[INFO] [stderr]     |
[INFO] [stderr] 101 |         RegisterClassW(&wnd_class);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `CreateWindowExW` in this scope
[INFO] [stderr]    --> src/main.rs:103:9
[INFO] [stderr]     |
[INFO] [stderr] 103 |         CreateWindowExW(0, name.as_ptr(), title.as_ptr(), 0, 0, 0, 0, 0, null_mut(), null_mut(), instance, null_mut())
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stderr]    --> src/main.rs:110:56
[INFO] [stderr]     |
[INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 {
[INFO] [stderr]     |                                                        ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stderr]    --> src/main.rs:110:69
[INFO] [stderr]     |
[INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 {
[INFO] [stderr]     |                                                                     ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stderr]    --> src/main.rs:110:77
[INFO] [stderr]     |
[INFO] [stderr] 110 | unsafe extern "system" fn monitor_enum_proc(h_monitor: HMONITOR, _: HDC, _: LPRECT, data: isize) -> i32 {
[INFO] [stderr]     |                                                                             ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PHYSICAL_MONITOR` in this scope
[INFO] [stderr]    --> src/main.rs:113:24
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let mut temp_mon: Vec<PHYSICAL_MONITOR> = Vec::with_capacity(1);
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0422]: cannot find struct, variant or union type `PHYSICAL_MONITOR` in this scope
[INFO] [stderr]    --> src/main.rs:114:16
[INFO] [stderr]     |
[INFO] [stderr] 114 |     temp_mon.push(PHYSICAL_MONITOR{
[INFO] [stderr]     |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `GetPhysicalMonitorsFromHMONITOR` in this scope
[INFO] [stderr]    --> src/main.rs:119:2
[INFO] [stderr]     |
[INFO] [stderr] 119 |     GetPhysicalMonitorsFromHMONITOR(h_monitor, 1, temp_mon.as_mut_ptr());
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stderr]    --> src/main.rs:131:42
[INFO] [stderr]     |
[INFO] [stderr] 131 | unsafe extern "system" fn win_proc(hwnd: HWND, msg: u32, w_param: usize, l_param: isize) -> isize {
[INFO] [stderr]     |                                          ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `DefWindowProcW` in this scope
[INFO] [stderr]    --> src/main.rs:139:2
[INFO] [stderr]     |
[INFO] [stderr] 139 |     DefWindowProcW(hwnd, msg, w_param, l_param)
[INFO] [stderr]     |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::um::libloaderapi::GetModuleHandleW`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HDC`, `HMONITOR`, `HWND`, `LPRECT`
[INFO] [stderr]  --> src/main.rs:9:30
[INFO] [stderr]   |
[INFO] [stderr] 9 | use winapi::shared::windef::{HMONITOR, HDC, LPRECT, HWND};
[INFO] [stderr]   |                              ^^^^^^^^  ^^^  ^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature`
[INFO] [stderr]   --> src/main.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use winapi::um::lowlevelmonitorconfigurationapi::SetVCPFeature;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CS_HREDRAW`, `CS_OWNDC`, `CS_VREDRAW`, `CreateWindowExW`, `DefWindowProcW`, `DispatchMessageW`, `EnumDisplayMonitors`, `GetMessageW`, `MSG`, `RegisterClassW`, `TranslateMessage`, `WM_QUERYENDSESSION`, `WNDCLASSW`
[INFO] [stderr]   --> src/main.rs:11:27
[INFO] [stderr]    |
[INFO] [stderr] 11 | use winapi::um::winuser::{GetMessageW,
[INFO] [stderr]    |                           ^^^^^^^^^^^
[INFO] [stderr] 12 |     RegisterClassW, DefWindowProcW, CreateWindowExW,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     TranslateMessage, DispatchMessageW, EnumDisplayMonitors,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     CS_VREDRAW, CS_HREDRAW, MSG, CS_OWNDC, WNDCLASSW, WM_QUERYENDSESSION};
[INFO] [stderr]    |     ^^^^^^^^^^  ^^^^^^^^^^  ^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `GetPhysicalMonitorsFromHMONITOR`, `PHYSICAL_MONITOR`
[INFO] [stderr]   --> src/main.rs:15:49
[INFO] [stderr]    |
[INFO] [stderr] 15 | use winapi::um::physicalmonitorenumerationapi::{GetPhysicalMonitorsFromHMONITOR, PHYSICAL_MONITOR};
[INFO] [stderr]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 32 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not compile `display_off`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "0fff8291b5d2342d13c08e237736e515a7b259c6b99ad3e2d5f54894313b76ba"`
[INFO] running `"docker" "rm" "-f" "0fff8291b5d2342d13c08e237736e515a7b259c6b99ad3e2d5f54894313b76ba"`
[INFO] [stdout] 0fff8291b5d2342d13c08e237736e515a7b259c6b99ad3e2d5f54894313b76ba
