[INFO] cloning repository https://github.com/chenshuanj/rust-lib_winapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chenshuanj/rust-lib_winapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a876c14b14979ec3f808cac9705a361c4b912da9 [INFO] checking chenshuanj/rust-lib_winapi against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chenshuanj/rust-lib_winapi on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chenshuanj/rust-lib_winapi [INFO] finished tweaking git repo https://github.com/chenshuanj/rust-lib_winapi [INFO] tweaked toml for git repo https://github.com/chenshuanj/rust-lib_winapi written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/chenshuanj/rust-lib_winapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c122efac53754aa87d6957ca0677a218ce6a75d69810bd799dca17fc9f7e0e2a [INFO] running `Command { std: "docker" "start" "-a" "c122efac53754aa87d6957ca0677a218ce6a75d69810bd799dca17fc9f7e0e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c122efac53754aa87d6957ca0677a218ce6a75d69810bd799dca17fc9f7e0e2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c122efac53754aa87d6957ca0677a218ce6a75d69810bd799dca17fc9f7e0e2a", kill_on_drop: false }` [INFO] [stdout] c122efac53754aa87d6957ca0677a218ce6a75d69810bd799dca17fc9f7e0e2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49e656ba321d7e645028e0fe999f87f4baab1f81008b852bf2286e6da217913f [INFO] running `Command { std: "docker" "start" "-a" "49e656ba321d7e645028e0fe999f87f4baab1f81008b852bf2286e6da217913f", kill_on_drop: false }` [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Compiling user32-sys v0.1.2 [INFO] [stderr] Checking simplewindow v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] 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] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use user32::{CreateWindowExW, DefWindowProcW, RegisterClassW, GetDlgItem, GetWindowTextLengthW, GetWindowTextW, UpdateWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `UpdateWindow` in the root [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `GetWindowTextW` in the root [INFO] [stdout] | | | | | no `GetWindowTextLengthW` in the root [INFO] [stdout] | | | | no `GetDlgItem` in the root [INFO] [stdout] | | | no `RegisterClassW` in the root [INFO] [stdout] | | no `DefWindowProcW` in the root [INFO] [stdout] | no `CreateWindowExW` in the root [INFO] [stdout] 8 | GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `DispatchMessageW` in the root [INFO] [stdout] | | no `TranslateMessage` in the root [INFO] [stdout] | no `GetMessageW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::{c_int, UINT, LPARAM, DWORD, POINT, LPMSG, LRESULT, HMENU, GWL_USERDATA, LPVOID, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^ no `LPVOID` in the root [INFO] [stdout] | | | | | | | | | | [INFO] [stdout] | | | | | | | | | no `GWL_USERDATA` in the root [INFO] [stdout] | | | | | | | | no `HMENU` in the root [INFO] [stdout] | | | | | | | no `LRESULT` in the root [INFO] [stdout] | | | | | | no `LPMSG` in the root [INFO] [stdout] | | | | | no `POINT` in the root [INFO] [stdout] | | | | no `DWORD` in the root [INFO] [stdout] | | | no `LPARAM` in the root [INFO] [stdout] | | no `UINT` in the root [INFO] [stdout] | no `c_int` in the root [INFO] [stdout] 11 | WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | CW_USEDEFAULT, HINSTANCE, HWND, LPCWSTR, WNDCLASSW, WPARAM, MSG, MB_OK, WS_BORDER, WS_VSCROLL [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use user32::{CreateWindowExW, DefWindowProcW, RegisterClassW, GetDlgItem, GetWindowTextLengthW, GetWindowTextW, UpdateWindow, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ no `UpdateWindow` in the root [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `GetWindowTextW` in the root [INFO] [stdout] | | | | | no `GetWindowTextLengthW` in the root [INFO] [stdout] | | | | no `GetDlgItem` in the root [INFO] [stdout] | | | no `RegisterClassW` in the root [INFO] [stdout] | | no `DefWindowProcW` in the root [INFO] [stdout] | no `CreateWindowExW` in the root [INFO] [stdout] 8 | GetMessageW, TranslateMessage, DispatchMessageW, MessageBoxW, PostQuitMessage, SetWindowLongPtrW, GetWindowLongPtrW, LoadImageW [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `DispatchMessageW` in the root [INFO] [stdout] | | no `TranslateMessage` in the root [INFO] [stdout] | no `GetMessageW` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::{c_int, UINT, LPARAM, DWORD, POINT, LPMSG, LRESULT, HMENU, GWL_USERDATA, LPVOID, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^^^^ no `LPVOID` in the root [INFO] [stdout] | | | | | | | | | | [INFO] [stdout] | | | | | | | | | no `GWL_USERDATA` in the root [INFO] [stdout] | | | | | | | | no `HMENU` in the root [INFO] [stdout] | | | | | | | no `LRESULT` in the root [INFO] [stdout] | | | | | | no `LPMSG` in the root [INFO] [stdout] | | | | | no `POINT` in the root [INFO] [stdout] | | | | no `DWORD` in the root [INFO] [stdout] | | | no `LPARAM` in the root [INFO] [stdout] | | no `UINT` in the root [INFO] [stdout] | no `c_int` in the root [INFO] [stdout] 11 | WS_OVERLAPPEDWINDOW, WS_VISIBLE, BS_PUSHBUTTON, WS_CHILD, WM_DESTROY, WM_CREATE, WM_COMMAND, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 12 | CW_USEDEFAULT, HINSTANCE, HWND, LPCWSTR, WNDCLASSW, WPARAM, MSG, MB_OK, WS_BORDER, WS_VSCROLL [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let v : Vec = OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simplewindow` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let v : Vec = OsStr::new(str).encode_wide().chain(Some(0).into_iter()).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "49e656ba321d7e645028e0fe999f87f4baab1f81008b852bf2286e6da217913f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e656ba321d7e645028e0fe999f87f4baab1f81008b852bf2286e6da217913f", kill_on_drop: false }` [INFO] [stdout] 49e656ba321d7e645028e0fe999f87f4baab1f81008b852bf2286e6da217913f