[INFO] cloning repository https://github.com/dharineeshj/winapi-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dharineeshj/winapi-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdharineeshj%2Fwinapi-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdharineeshj%2Fwinapi-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d58b2021fc2e307682f6d28baf3100a1abb6c9a [INFO] checking dharineeshj/winapi-rust against try#2b43d8e161cfe46fae25518efb124c3c1d0fa392 for pr-145604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdharineeshj%2Fwinapi-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dharineeshj/winapi-rust [INFO] finished tweaking git repo https://github.com/dharineeshj/winapi-rust [INFO] tweaked toml for git repo https://github.com/dharineeshj/winapi-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dharineeshj/winapi-rust on toolchain 2b43d8e161cfe46fae25518efb124c3c1d0fa392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dharineeshj/winapi-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7868cbdacd576a54d34fc4af66e61031c3b00740ea32554b5932ad221a87077 [INFO] running `Command { std: "docker" "start" "-a" "f7868cbdacd576a54d34fc4af66e61031c3b00740ea32554b5932ad221a87077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7868cbdacd576a54d34fc4af66e61031c3b00740ea32554b5932ad221a87077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7868cbdacd576a54d34fc4af66e61031c3b00740ea32554b5932ad221a87077", kill_on_drop: false }` [INFO] [stdout] f7868cbdacd576a54d34fc4af66e61031c3b00740ea32554b5932ad221a87077 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+2b43d8e161cfe46fae25518efb124c3c1d0fa392" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d0b932b65fa688610a0f77939d201dbeb9c5c9a2ef303eabcd1ca172e2cbbc6 [INFO] running `Command { std: "docker" "start" "-a" "3d0b932b65fa688610a0f77939d201dbeb9c5c9a2ef303eabcd1ca172e2cbbc6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking win32api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateWindowsExA.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::{CreateWindowExA, CW_USEDEFAULT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateWindowsExA.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::WS_OVERLAPPEDWINDOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateWindowsExA.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/MessageBox.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::MessageBoxA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateFile.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::fileapi::CreateFileA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateFile.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::GENERIC_READ; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateFile.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::GENERIC_WRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ReadFile.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::fileapi::{ReadFile, CreateFileA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ReadFile.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::{GENERIC_READ, FILE_ATTRIBUTE_NORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/WriteFile.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::fileapi::{WriteFile, CreateFileA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/WriteFile.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::{GENERIC_WRITE, FILE_ATTRIBUTE_NORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateProcess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::processthreadsapi::{CreateProcessA, PROCESS_INFORMATION, STARTUPINFOA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/TerminateProcess.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::processthreadsapi::{TerminateProcess, GetExitCodeProcess, OpenProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/TerminateProcess.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/TerminateProcess.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{PROCESS_TERMINATE, PROCESS_QUERY_INFORMATION}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/GetProcAddress.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryExA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateWindowsExA.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::{CreateWindowExA, CW_USEDEFAULT}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateWindowsExA.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winuser::WS_OVERLAPPEDWINDOW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateWindowsExA.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::libloaderapi::GetModuleHandleW; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/MessageBox.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winuser::MessageBoxA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateFile.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::fileapi::CreateFileA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateFile.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::GENERIC_READ; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateFile.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::GENERIC_WRITE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ReadFile.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::fileapi::{ReadFile, CreateFileA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ReadFile.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::{GENERIC_READ, FILE_ATTRIBUTE_NORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/WriteFile.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::fileapi::{WriteFile, CreateFileA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/WriteFile.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::winnt::{GENERIC_WRITE, FILE_ATTRIBUTE_NORMAL}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/CreateProcess.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::processthreadsapi::{CreateProcessA, PROCESS_INFORMATION, STARTUPINFOA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/TerminateProcess.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::processthreadsapi::{TerminateProcess, GetExitCodeProcess, OpenProcess}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/TerminateProcess.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::handleapi::CloseHandle; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/TerminateProcess.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{PROCESS_TERMINATE, PROCESS_QUERY_INFORMATION}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/GetProcAddress.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryExA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win32api` (bin "win32api") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `win32api` (bin "win32api" test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "3d0b932b65fa688610a0f77939d201dbeb9c5c9a2ef303eabcd1ca172e2cbbc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d0b932b65fa688610a0f77939d201dbeb9c5c9a2ef303eabcd1ca172e2cbbc6", kill_on_drop: false }` [INFO] [stdout] 3d0b932b65fa688610a0f77939d201dbeb9c5c9a2ef303eabcd1ca172e2cbbc6