[INFO] updating cached repository friendlydave/rs-winapi-test
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/friendlydave/rs-winapi-test
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/friendlydave/rs-winapi-test" "work/ex/beta-1.37-6/sources/1.36.0/gh/friendlydave/rs-winapi-test"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/friendlydave/rs-winapi-test'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/friendlydave/rs-winapi-test" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/friendlydave/rs-winapi-test"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/friendlydave/rs-winapi-test'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] d8e9b62f2594a868bd1f37ddd1759d77ccd3d8a9
[INFO] sha for GitHub repo friendlydave/rs-winapi-test: d8e9b62f2594a868bd1f37ddd1759d77ccd3d8a9
[INFO] validating manifest of friendlydave/rs-winapi-test 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 friendlydave/rs-winapi-test 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 friendlydave/rs-winapi-test
[INFO] finished frobbing friendlydave/rs-winapi-test
[INFO] frobbed toml for friendlydave/rs-winapi-test written to work/ex/beta-1.37-6/sources/1.36.0/gh/friendlydave/rs-winapi-test/Cargo.toml
[INFO] started frobbing friendlydave/rs-winapi-test
[INFO] finished frobbing friendlydave/rs-winapi-test
[INFO] frobbed toml for friendlydave/rs-winapi-test written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/friendlydave/rs-winapi-test/Cargo.toml
[INFO] crate friendlydave/rs-winapi-test 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] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/friendlydave/rs-winapi-test/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[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 friendlydave/rs-winapi-test 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-1/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/friendlydave/rs-winapi-test:/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] d0f4285f12f7a7a901503f449bf1cc8bbd9f3841d14dfae6ea1a968c6fc051ff
[INFO] running `"docker" "start" "-a" "d0f4285f12f7a7a901503f449bf1cc8bbd9f3841d14dfae6ea1a968c6fc051ff"`
[INFO] [stderr]    Compiling user32-sys v0.1.3
[INFO] [stderr]    Compiling wio v0.1.2
[INFO] [stderr]    Compiling winapi-test v0.1.0 (/opt/crater/workdir)
[INFO] [stderr] error[E0432]: unresolved import `wio::wide`
[INFO] [stderr]  --> src/main.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | use wio::wide::ToWide;
[INFO] [stderr]   |          ^^^^ could not find `wide` in `wio`
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `GetModuleHandleW` in this scope
[INFO] [stderr]   --> src/main.rs:32:21
[INFO] [stderr]    |
[INFO] [stderr] 32 |     let hInstance = GetModuleHandleW(0 as *const u16);
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WNDCLASSW` in this scope
[INFO] [stderr]   --> src/main.rs:34:27
[INFO] [stderr]    |
[INFO] [stderr] 34 |     let mut wc = zeroed::<WNDCLASSW>();
[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:35:10
[INFO] [stderr]    |
[INFO] [stderr] 35 |     wc = WNDCLASSW {
[INFO] [stderr]    |          ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `LoadCursorW` in this scope
[INFO] [stderr]   --> src/main.rs:39:18
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]    |                  ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HINSTANCE` in this scope
[INFO] [stderr]   --> src/main.rs:39:35
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[INFO] [stderr]    |                                   ^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `IDC_ARROW` in this scope
[INFO] [stderr]   --> src/main.rs:39:46
[INFO] [stderr]    |
[INFO] [stderr] 39 |         hCursor: LoadCursorW(0 as HINSTANCE, IDC_ARROW),
[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:43:5
[INFO] [stderr]    |
[INFO] [stderr] 43 |     RegisterClassW(&wc);
[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:45:15
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let hwnd: HWND = CreateWindowExW(
[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:45:22
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let hwnd: HWND = CreateWindowExW(
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `WS_OVERLAPPEDWINDOW` in this scope
[INFO] [stderr]   --> src/main.rs:50:9
[INFO] [stderr]    |
[INFO] [stderr] 50 |         WS_OVERLAPPEDWINDOW,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:9
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:24
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:39
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[INFO] [stderr]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `CW_USEDEFAULT` in this scope
[INFO] [stderr]   --> src/main.rs:53:54
[INFO] [stderr]    |
[INFO] [stderr] 53 |         CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
[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:62:21
[INFO] [stderr]    |
[INFO] [stderr] 62 |     if hwnd == 0 as HWND {
[INFO] [stderr]    |                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `GetLastError` in this scope
[INFO] [stderr]   --> src/main.rs:63:17
[INFO] [stderr]    |
[INFO] [stderr] 63 |         let e = GetLastError();
[INFO] [stderr]    |                 ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `ShowWindow` in this scope
[INFO] [stderr]   --> src/main.rs:67:5
[INFO] [stderr]    |
[INFO] [stderr] 67 |     ShowWindow(hwnd, 5);
[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:69:28
[INFO] [stderr]    |
[INFO] [stderr] 69 |     let mut msg = zeroed::<MSG>();
[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:70:11
[INFO] [stderr]    |
[INFO] [stderr] 70 |     while GetMessageW(&mut msg, 0 as HWND, 0, 0) != 0 {
[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:70:38
[INFO] [stderr]    |
[INFO] [stderr] 70 |     while GetMessageW(&mut msg, 0 as HWND, 0, 0) != 0 {
[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:71:9
[INFO] [stderr]    |
[INFO] [stderr] 71 |         TranslateMessage(&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:72:9
[INFO] [stderr]    |
[INFO] [stderr] 72 |         DispatchMessageW(&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:78:44
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                            ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UINT` in this scope
[INFO] [stderr]   --> src/main.rs:78:56
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                        ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `WPARAM` in this scope
[INFO] [stderr]   --> src/main.rs:78:70
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stderr]   --> src/main.rs:78:86
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                      ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `LRESULT` in this scope
[INFO] [stderr]   --> src/main.rs:78:97
[INFO] [stderr]    |
[INFO] [stderr] 78 | unsafe extern "system" fn WindowProc(hwnd: HWND, uMsg: UINT, wParam: WPARAM, lParam: LPARAM) -> LRESULT {
[INFO] [stderr]    |                                                                                                 ^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `PostQuitMessage` in this scope
[INFO] [stderr]   --> src/main.rs:82:13
[INFO] [stderr]    |
[INFO] [stderr] 82 |             PostQuitMessage(0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `PAINTSTRUCT` in this scope
[INFO] [stderr]   --> src/main.rs:87:35
[INFO] [stderr]    |
[INFO] [stderr] 87 |             let mut ps = zeroed::<PAINTSTRUCT>();
[INFO] [stderr]    |                                   ^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `BeginPaint` in this scope
[INFO] [stderr]   --> src/main.rs:88:23
[INFO] [stderr]    |
[INFO] [stderr] 88 |             let hdc = BeginPaint(hwnd, &mut ps);
[INFO] [stderr]    |                       ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `FillRect` in this scope
[INFO] [stderr]   --> src/main.rs:89:13
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |             ^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `COLOR_WINDOW` in this scope
[INFO] [stderr]   --> src/main.rs:89:41
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |                                         ^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `HBRUSH` in this scope
[INFO] [stderr]   --> src/main.rs:89:60
[INFO] [stderr]    |
[INFO] [stderr] 89 |             FillRect(hdc, &ps.rcPaint, (COLOR_WINDOW+1) as HBRUSH);
[INFO] [stderr]    |                                                            ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `EndPaint` in this scope
[INFO] [stderr]   --> src/main.rs:90:13
[INFO] [stderr]    |
[INFO] [stderr] 90 |             EndPaint(hwnd, &ps);
[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:94:21
[INFO] [stderr]    |
[INFO] [stderr] 94 |         _ => return DefWindowProcW(hwnd, uMsg, wParam, lParam)
[INFO] [stderr]    |                     ^^^^^^^^^^^^^^ help: a function with a similar name exists: `WindowProc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `user32::*`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use user32::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: #[warn(unused_imports)] on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `kernel32::*`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use kernel32::*;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `winapi::*`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use winapi::*;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `to_wide_null` found for type `&str` in the current scope
[INFO] [stderr]   --> src/main.rs:15:7
[INFO] [stderr]    |
[INFO] [stderr] 15 |     s.to_wide_null().as_ptr()
[INFO] [stderr]    |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 37 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not compile `winapi-test`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "d0f4285f12f7a7a901503f449bf1cc8bbd9f3841d14dfae6ea1a968c6fc051ff"`
[INFO] running `"docker" "rm" "-f" "d0f4285f12f7a7a901503f449bf1cc8bbd9f3841d14dfae6ea1a968c6fc051ff"`
[INFO] [stdout] d0f4285f12f7a7a901503f449bf1cc8bbd9f3841d14dfae6ea1a968c6fc051ff
