[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#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchenshuanj%2Frust-lib_winapi" "/workspace/builds/worker-7/source", kill_on_drop: false }` [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 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-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" "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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6039b73a4b7c5254d0bf95d0f8e9254578fbe288379681ea2c8431d83515a052 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6039b73a4b7c5254d0bf95d0f8e9254578fbe288379681ea2c8431d83515a052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6039b73a4b7c5254d0bf95d0f8e9254578fbe288379681ea2c8431d83515a052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6039b73a4b7c5254d0bf95d0f8e9254578fbe288379681ea2c8431d83515a052", kill_on_drop: false }` [INFO] [stdout] 6039b73a4b7c5254d0bf95d0f8e9254578fbe288379681ea2c8431d83515a052 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTUP_TOOLCHAIN=3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "-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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9d9930e55607e3fcefe0bbd454f5d4f4a75ed7fa2cfba487f7e60586ea00099 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c9d9930e55607e3fcefe0bbd454f5d4f4a75ed7fa2cfba487f7e60586ea00099", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling user32-sys v0.2.0 [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[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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c9d9930e55607e3fcefe0bbd454f5d4f4a75ed7fa2cfba487f7e60586ea00099", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9d9930e55607e3fcefe0bbd454f5d4f4a75ed7fa2cfba487f7e60586ea00099", kill_on_drop: false }` [INFO] [stdout] c9d9930e55607e3fcefe0bbd454f5d4f4a75ed7fa2cfba487f7e60586ea00099