[INFO] updating cached repository https://github.com/chenshuanj/rust-lib_winapi [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a876c14b14979ec3f808cac9705a361c4b912da9 [INFO] checking chenshuanj/rust-lib_winapi against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chenshuanj/rust-lib_winapi on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/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 `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 357c126f74be02b10a189890f20c6b70652d20c7cfb5e76df7534c1bdce53925 [INFO] running `"docker" "start" "-a" "357c126f74be02b10a189890f20c6b70652d20c7cfb5e76df7534c1bdce53925"` [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling user32-sys v0.2.0 [INFO] [stderr] Checking simplewindow v0.1.0 (/opt/rustwide/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] 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] error[E0599]: no method named `encode_wide` found for reference `&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] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `encode_wide` found for reference `&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] | ^^^^^^^^^^^ method not found in `&std::ffi::OsStr` [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] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "357c126f74be02b10a189890f20c6b70652d20c7cfb5e76df7534c1bdce53925"` [INFO] running `"docker" "rm" "-f" "357c126f74be02b10a189890f20c6b70652d20c7cfb5e76df7534c1bdce53925"` [INFO] [stdout] 357c126f74be02b10a189890f20c6b70652d20c7cfb5e76df7534c1bdce53925