[INFO] updating cached repository chenshuanj/rust-lib_winapi [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/chenshuanj/rust-lib_winapi [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/chenshuanj/rust-lib_winapi" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/chenshuanj/rust-lib_winapi"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/chenshuanj/rust-lib_winapi'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/chenshuanj/rust-lib_winapi" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/chenshuanj/rust-lib_winapi"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/chenshuanj/rust-lib_winapi'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a876c14b14979ec3f808cac9705a361c4b912da9 [INFO] sha for GitHub repo chenshuanj/rust-lib_winapi: a876c14b14979ec3f808cac9705a361c4b912da9 [INFO] validating manifest of chenshuanj/rust-lib_winapi on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of chenshuanj/rust-lib_winapi on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing chenshuanj/rust-lib_winapi [INFO] finished frobbing chenshuanj/rust-lib_winapi [INFO] frobbed toml for chenshuanj/rust-lib_winapi written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/chenshuanj/rust-lib_winapi/Cargo.toml [INFO] started frobbing chenshuanj/rust-lib_winapi [INFO] finished frobbing chenshuanj/rust-lib_winapi [INFO] frobbed toml for chenshuanj/rust-lib_winapi written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/chenshuanj/rust-lib_winapi/Cargo.toml [INFO] crate chenshuanj/rust-lib_winapi already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/chenshuanj/rust-lib_winapi/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking chenshuanj/rust-lib_winapi against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-6/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/chenshuanj/rust-lib_winapi:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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=forbid" "-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" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] b7a58a624965adc8a357d123ffc252f6b13c2b39fdb2d821e01b8a87f6226c58 [INFO] running `"docker" "start" "-a" "b7a58a624965adc8a357d123ffc252f6b13c2b39fdb2d821e01b8a87f6226c58"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking simplewindow v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::RegisterClassW`, `user32::GetDlgItem`, `user32::GetWindowTextLengthW`, `user32::GetWindowTextW`, `user32::UpdateWindow`, `user32::GetMessageW`, `user32::TranslateMessage`, `user32::DispatchMessageW`, `user32::MessageBoxW`, `user32::PostQuitMessage`, `user32::SetWindowLongPtrW`, `user32::GetWindowLongPtrW`, `user32::LoadImageW` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use user32::{CreateWindowExW, DefWindowProcW, RegisterClassW, GetDlgItem, GetWindowTextLengthW, GetWindowTextW, UpdateWindow, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `UpdateWindow` in the root [INFO] [stderr] | | | | | | | [INFO] [stderr] | | | | | | no `GetWindowTextW` in the root [INFO] [stderr] | | | | | no `GetWindowTextLengthW` in the root [INFO] [stderr] | | | | no `GetDlgItem` in the root [INFO] [stderr] | | | no `RegisterClassW` in the root [INFO] [stderr] | | no `DefWindowProcW` in the root [INFO] [stderr] | no `CreateWindowExW` in the root [INFO] [stderr] 8 | GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | no `DispatchMessageW` in the root [INFO] [stderr] | | no `TranslateMessage` in the root [INFO] [stderr] | no `GetMessageW` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::c_int`, `winapi::UINT`, `winapi::LPARAM`, `winapi::DWORD`, `winapi::POINT`, `winapi::LPMSG`, `winapi::LRESULT`, `winapi::HMENU`, `winapi::GWL_USERDATA`, `winapi::LPVOID`, `winapi::WS_OVERLAPPEDWINDOW`, `winapi::WS_VISIBLE`, `winapi::BS_PUSHBUTTON`, `winapi::WS_CHILD`, `winapi::WM_DESTROY`, `winapi::WM_CREATE`, `winapi::WM_COMMAND`, `winapi::CW_USEDEFAULT`, `winapi::HINSTANCE`, `winapi::HWND`, `winapi::LPCWSTR`, `winapi::WNDCLASSW`, `winapi::WPARAM`, `winapi::MSG`, `winapi::MB_OK`, `winapi::WS_BORDER`, `winapi::WS_VSCROLL` [INFO] [stderr] --> src/main.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::{c_int, UINT, LPARAM, DWORD, POINT, LPMSG, LRESULT, HMENU, GWL_USERDATA, LPVOID, [INFO] [stderr] | ^^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^ no `LPVOID` in the root [INFO] [stderr] | | | | | | | | | | [INFO] [stderr] | | | | | | | | | no `GWL_USERDATA` in the root [INFO] [stderr] | | | | | | | | no `HMENU` in the root [INFO] [stderr] | | | | | | | no `LRESULT` in the root [INFO] [stderr] | | | | | | no `LPMSG` in the root [INFO] [stderr] | | | | | no `POINT` in the root [INFO] [stderr] | | | | no `DWORD` in the root [INFO] [stderr] | | | no `LPARAM` in the root [INFO] [stderr] | | no `UINT` in the root [INFO] [stderr] | no `c_int` in the root [INFO] [stderr] 11 | WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 12 | CW_USEDEFAULT, HINSTANCE, HWND, LPCWSTR, WNDCLASSW, WPARAM, MSG, MB_OK, WS_BORDER, WS_VSCROLL [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LoadImageW` [INFO] [stderr] --> src/main.rs:8:119 [INFO] [stderr] | [INFO] [stderr] 8 | GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `WM_COMMAND`, `WM_CREATE`, `WM_DESTROY` [INFO] [stderr] --> src/main.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::CreateWindowExW`, `user32::DefWindowProcW`, `user32::RegisterClassW`, `user32::GetDlgItem`, `user32::GetWindowTextLengthW`, `user32::GetWindowTextW`, `user32::UpdateWindow`, `user32::GetMessageW`, `user32::TranslateMessage`, `user32::DispatchMessageW`, `user32::MessageBoxW`, `user32::PostQuitMessage`, `user32::SetWindowLongPtrW`, `user32::GetWindowLongPtrW`, `user32::LoadImageW` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use user32::{CreateWindowExW, DefWindowProcW, RegisterClassW, GetDlgItem, GetWindowTextLengthW, GetWindowTextW, UpdateWindow, [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `UpdateWindow` in the root [INFO] [stderr] | | | | | | | [INFO] [stderr] | | | | | | no `GetWindowTextW` in the root [INFO] [stderr] | | | | | no `GetWindowTextLengthW` in the root [INFO] [stderr] | | | | no `GetDlgItem` in the root [INFO] [stderr] | | | no `RegisterClassW` in the root [INFO] [stderr] | | no `DefWindowProcW` in the root [INFO] [stderr] | no `CreateWindowExW` in the root [INFO] [stderr] 8 | GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | no `DispatchMessageW` in the root [INFO] [stderr] | | no `TranslateMessage` in the root [INFO] [stderr] | no `GetMessageW` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/main.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `winapi::c_int`, `winapi::UINT`, `winapi::LPARAM`, `winapi::DWORD`, `winapi::POINT`, `winapi::LPMSG`, `winapi::LRESULT`, `winapi::HMENU`, `winapi::GWL_USERDATA`, `winapi::LPVOID`, `winapi::WS_OVERLAPPEDWINDOW`, `winapi::WS_VISIBLE`, `winapi::BS_PUSHBUTTON`, `winapi::WS_CHILD`, `winapi::WM_DESTROY`, `winapi::WM_CREATE`, `winapi::WM_COMMAND`, `winapi::CW_USEDEFAULT`, `winapi::HINSTANCE`, `winapi::HWND`, `winapi::LPCWSTR`, `winapi::WNDCLASSW`, `winapi::WPARAM`, `winapi::MSG`, `winapi::MB_OK`, `winapi::WS_BORDER`, `winapi::WS_VSCROLL` [INFO] [stderr] --> src/main.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | use winapi::{c_int, UINT, LPARAM, DWORD, POINT, LPMSG, LRESULT, HMENU, GWL_USERDATA, LPVOID, [INFO] [stderr] | ^^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^ no `LPVOID` in the root [INFO] [stderr] | | | | | | | | | | [INFO] [stderr] | | | | | | | | | no `GWL_USERDATA` in the root [INFO] [stderr] | | | | | | | | no `HMENU` in the root [INFO] [stderr] | | | | | | | no `LRESULT` in the root [INFO] [stderr] | | | | | | no `LPMSG` in the root [INFO] [stderr] | | | | | no `POINT` in the root [INFO] [stderr] | | | | no `DWORD` in the root [INFO] [stderr] | | | no `LPARAM` in the root [INFO] [stderr] | | no `UINT` in the root [INFO] [stderr] | no `c_int` in the root [INFO] [stderr] 11 | WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] 12 | CW_USEDEFAULT, HINSTANCE, HWND, LPCWSTR, WNDCLASSW, WPARAM, MSG, MB_OK, WS_BORDER, WS_VSCROLL [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `LoadImageW` [INFO] [stderr] --> src/main.rs:8:119 [INFO] [stderr] | [INFO] [stderr] 8 | GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `WM_COMMAND`, `WM_CREATE`, `WM_DESTROY` [INFO] [stderr] --> src/main.rs:11:60 [INFO] [stderr] | [INFO] [stderr] 11 | WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND, [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:19:40 [INFO] [stderr] | [INFO] [stderr] 19 | let v : Vec = OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/main.rs:19:40 [INFO] [stderr] | [INFO] [stderr] 19 | let v : Vec = OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `simplewindow`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: Could not compile `simplewindow`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b7a58a624965adc8a357d123ffc252f6b13c2b39fdb2d821e01b8a87f6226c58"` [INFO] running `"docker" "rm" "-f" "b7a58a624965adc8a357d123ffc252f6b13c2b39fdb2d821e01b8a87f6226c58"` [INFO] [stdout] b7a58a624965adc8a357d123ffc252f6b13c2b39fdb2d821e01b8a87f6226c58