[INFO] updating cached repository hummingly/rust-winapi-example [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hummingly/rust-winapi-example [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hummingly/rust-winapi-example" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-winapi-example"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-winapi-example'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hummingly/rust-winapi-example" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-winapi-example"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-winapi-example'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cb77baf640c5c2631bddfb65fdd4f33a436489b3 [INFO] sha for GitHub repo hummingly/rust-winapi-example: cb77baf640c5c2631bddfb65fdd4f33a436489b3 [INFO] validating manifest of hummingly/rust-winapi-example on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hummingly/rust-winapi-example on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hummingly/rust-winapi-example [INFO] finished frobbing hummingly/rust-winapi-example [INFO] frobbed toml for hummingly/rust-winapi-example written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-winapi-example/Cargo.toml [INFO] started frobbing hummingly/rust-winapi-example [INFO] finished frobbing hummingly/rust-winapi-example [INFO] frobbed toml for hummingly/rust-winapi-example written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/hummingly/rust-winapi-example/Cargo.toml [INFO] crate hummingly/rust-winapi-example already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking hummingly/rust-winapi-example against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/hummingly/rust-winapi-example:/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=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" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e9568dd6236875539c3adface27ecd3bed3bd7439dd27000e8d8fe7baafdac49 [INFO] running `"docker" "start" "-a" "e9568dd6236875539c3adface27ecd3bed3bd7439dd27000e8d8fe7baafdac49"` [INFO] [stderr] Compiling gdi32-sys v0.2.0 [INFO] [stderr] Checking window v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `user32::AppendMenuW`, `user32::CreateMenu`, `user32::CreatePopupMenu` [INFO] [stderr] --> src/menu.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use user32::{AppendMenuW, CreateMenu, CreatePopupMenu}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `CreatePopupMenu` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `CreateMenu` in the root [INFO] [stderr] | no `AppendMenuW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/menu.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::windef::HMENU; [INFO] [stderr] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/menu.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::minwindef::WPARAM; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utility.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/menu.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::winuser::{MF_POPUP, MF_SEPARATOR, MF_STRING}; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kernel32::GetLastError` [INFO] [stderr] --> src/utility.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use kernel32::GetLastError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `GetLastError` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::MessageBoxW` [INFO] [stderr] --> src/utility.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use user32::MessageBoxW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/utility.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::winuser::MB_OK; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gdi32::GetStockObject` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use gdi32::GetStockObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `GetStockObject` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::CreateMenu`, `user32::CreateWindowExW`, `user32::MessageBoxW`, `user32::RegisterClassW`, `user32::ShowWindow`, `user32::UpdateWindow` [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | use user32::{CreateMenu, CreateWindowExW, MessageBoxW, RegisterClassW, ShowWindow, UpdateWindow}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ no `UpdateWindow` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `ShowWindow` in the root [INFO] [stderr] | | | | no `RegisterClassW` in the root [INFO] [stderr] | | | no `MessageBoxW` in the root [INFO] [stderr] | | no `CreateWindowExW` in the root [INFO] [stderr] | no `CreateMenu` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::DispatchMessageW`, `user32::GetMessageW`, `user32::PostQuitMessage`, `user32::SendMessageW`, `user32::TranslateMessage` [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | use user32::{DispatchMessageW, GetMessageW, PostQuitMessage, SendMessageW, TranslateMessage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `TranslateMessage` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `SendMessageW` in the root [INFO] [stderr] | | | no `PostQuitMessage` in the root [INFO] [stderr] | | no `GetMessageW` in the root [INFO] [stderr] | no `DispatchMessageW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::DefWindowProcW`, `user32::DestroyWindow`, `user32::FindWindowExW`, `user32::GetClientRect`, `user32::MoveWindow`, `user32::SetWindowPos` [INFO] [stderr] --> src/main.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use user32::{DefWindowProcW, DestroyWindow, FindWindowExW, GetClientRect, MoveWindow, SetWindowPos}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ no `SetWindowPos` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `MoveWindow` in the root [INFO] [stderr] | | | | no `GetClientRect` in the root [INFO] [stderr] | | | no `FindWindowExW` in the root [INFO] [stderr] | | no `DestroyWindow` in the root [INFO] [stderr] | no `DefWindowProcW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::minwindef::{HINSTANCE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::windef::{HCURSOR, HFONT, HICON, HWND, POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::wingdi` [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::wingdi::DEFAULT_GUI_FONT; [INFO] [stderr] | ^^^^^^ could not find `wingdi` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::winuser::{MB_YESNO, MSG, WNDCLASSW}; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::winuser::{CS_HREDRAW, CS_VREDRAW, CW_USEDEFAULT, ES_AUTOVSCROLL, ES_MULTILINE, [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::winuser::{SWP_NOZORDER, SW_SHOWDEFAULT, WM_CLOSE, WM_COMMAND, WM_COPY, WM_CREATE, [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/utility.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utility.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 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 `window`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0432]: unresolved imports `user32::AppendMenuW`, `user32::CreateMenu`, `user32::CreatePopupMenu` [INFO] [stderr] --> src/menu.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use user32::{AppendMenuW, CreateMenu, CreatePopupMenu}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `CreatePopupMenu` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `CreateMenu` in the root [INFO] [stderr] | no `AppendMenuW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/menu.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::windef::HMENU; [INFO] [stderr] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/menu.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::minwindef::WPARAM; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/utility.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/menu.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::winuser::{MF_POPUP, MF_SEPARATOR, MF_STRING}; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `kernel32::GetLastError` [INFO] [stderr] --> src/utility.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use kernel32::GetLastError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `GetLastError` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `user32::MessageBoxW` [INFO] [stderr] --> src/utility.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use user32::MessageBoxW; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `MessageBoxW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/utility.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::winuser::MB_OK; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `gdi32::GetStockObject` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use gdi32::GetStockObject; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `GetStockObject` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::CreateMenu`, `user32::CreateWindowExW`, `user32::MessageBoxW`, `user32::RegisterClassW`, `user32::ShowWindow`, `user32::UpdateWindow` [INFO] [stderr] --> src/main.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | use user32::{CreateMenu, CreateWindowExW, MessageBoxW, RegisterClassW, ShowWindow, UpdateWindow}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ no `UpdateWindow` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `ShowWindow` in the root [INFO] [stderr] | | | | no `RegisterClassW` in the root [INFO] [stderr] | | | no `MessageBoxW` in the root [INFO] [stderr] | | no `CreateWindowExW` in the root [INFO] [stderr] | no `CreateMenu` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::DispatchMessageW`, `user32::GetMessageW`, `user32::PostQuitMessage`, `user32::SendMessageW`, `user32::TranslateMessage` [INFO] [stderr] --> src/main.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | use user32::{DispatchMessageW, GetMessageW, PostQuitMessage, SendMessageW, TranslateMessage}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `TranslateMessage` in the root [INFO] [stderr] | | | | | [INFO] [stderr] | | | | no `SendMessageW` in the root [INFO] [stderr] | | | no `PostQuitMessage` in the root [INFO] [stderr] | | no `GetMessageW` in the root [INFO] [stderr] | no `DispatchMessageW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `user32::DefWindowProcW`, `user32::DestroyWindow`, `user32::FindWindowExW`, `user32::GetClientRect`, `user32::MoveWindow`, `user32::SetWindowPos` [INFO] [stderr] --> src/main.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | use user32::{DefWindowProcW, DestroyWindow, FindWindowExW, GetClientRect, MoveWindow, SetWindowPos}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ no `SetWindowPos` in the root [INFO] [stderr] | | | | | | [INFO] [stderr] | | | | | no `MoveWindow` in the root [INFO] [stderr] | | | | no `GetClientRect` in the root [INFO] [stderr] | | | no `FindWindowExW` in the root [INFO] [stderr] | | no `DestroyWindow` in the root [INFO] [stderr] | no `DefWindowProcW` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::minwindef` [INFO] [stderr] --> src/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::minwindef::{HINSTANCE, LPARAM, LRESULT, TRUE, UINT, WPARAM}; [INFO] [stderr] | ^^^^^^^^^ could not find `minwindef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::windef` [INFO] [stderr] --> src/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::windef::{HCURSOR, HFONT, HICON, HWND, POINT, RECT}; [INFO] [stderr] | ^^^^^^ could not find `windef` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::wingdi` [INFO] [stderr] --> src/main.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::wingdi::DEFAULT_GUI_FONT; [INFO] [stderr] | ^^^^^^ could not find `wingdi` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::winuser::{MB_YESNO, MSG, WNDCLASSW}; [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | use winapi::winuser::{CS_HREDRAW, CS_VREDRAW, CW_USEDEFAULT, ES_AUTOVSCROLL, ES_MULTILINE, [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::winuser` [INFO] [stderr] --> src/main.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | use winapi::winuser::{SWP_NOZORDER, SW_SHOWDEFAULT, WM_CLOSE, WM_COMMAND, WM_COPY, WM_CREATE, [INFO] [stderr] | ^^^^^^^ could not find `winuser` in `winapi` [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::windows::ffi::OsStrExt` [INFO] [stderr] --> src/utility.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::os::windows::ffi::OsStrExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `encode_wide` found for type `&std::ffi::OsStr` in the current scope [INFO] [stderr] --> src/utility.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | OsStr::new(value).encode_wide().chain(once(0)).collect() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 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 `window`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e9568dd6236875539c3adface27ecd3bed3bd7439dd27000e8d8fe7baafdac49"` [INFO] running `"docker" "rm" "-f" "e9568dd6236875539c3adface27ecd3bed3bd7439dd27000e8d8fe7baafdac49"` [INFO] [stdout] e9568dd6236875539c3adface27ecd3bed3bd7439dd27000e8d8fe7baafdac49