[INFO] fetching crate veh-hooking-rs 0.1.6... [INFO] building veh-hooking-rs-0.1.6 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate veh-hooking-rs 0.1.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate veh-hooking-rs 0.1.6 [INFO] finished tweaking crates.io crate veh-hooking-rs 0.1.6 [INFO] tweaked toml for crates.io crate veh-hooking-rs 0.1.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate veh-hooking-rs 0.1.6 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate veh-hooking-rs 0.1.6 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-result v0.3.1 [INFO] [stderr] Downloaded windows-interface v0.59.0 [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded windows-implement v0.59.0 [INFO] [stderr] Downloaded windows-collections v0.1.1 [INFO] [stderr] Downloaded windows-numerics v0.1.1 [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded windows-future v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded papaya v0.2.1 [INFO] [stderr] Downloaded windows-core v0.60.1 [INFO] [stderr] Downloaded scc v2.3.3 [INFO] [stderr] Downloaded iced-x86 v1.21.0 [INFO] [stderr] Downloaded windows v0.60.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93a27adb95754994e2f221f40c90707cc97b5796b04c6f12aaa34dc8fb6e3660 [INFO] running `Command { std: "docker" "start" "-a" "93a27adb95754994e2f221f40c90707cc97b5796b04c6f12aaa34dc8fb6e3660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a27adb95754994e2f221f40c90707cc97b5796b04c6f12aaa34dc8fb6e3660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a27adb95754994e2f221f40c90707cc97b5796b04c6f12aaa34dc8fb6e3660", kill_on_drop: false }` [INFO] [stdout] 93a27adb95754994e2f221f40c90707cc97b5796b04c6f12aaa34dc8fb6e3660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 050e32e2b261ee6029a8fe78fe8d40c3757092bb6945b9dc990a42bd5c9f097e [INFO] running `Command { std: "docker" "start" "-a" "050e32e2b261ee6029a8fe78fe8d40c3757092bb6945b9dc990a42bd5c9f097e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling windows-link v0.1.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling iced-x86 v1.21.0 [INFO] [stderr] Compiling windows-result v0.3.1 [INFO] [stderr] Compiling windows-strings v0.3.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling papaya v0.2.1 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling windows-core v0.60.1 [INFO] [stderr] Compiling windows-collections v0.1.1 [INFO] [stderr] Compiling windows-future v0.1.1 [INFO] [stderr] Compiling windows-numerics v0.1.1 [INFO] [stderr] Compiling windows v0.60.0 [INFO] [stderr] Compiling veh-hooking-rs v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/guard/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Foundation::{NTSTATUS, STATUS_GUARD_PAGE_VIOLATION, STATUS_SINGLE_STEP}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/guard/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Diagnostics::Debug::EXCEPTION_POINTERS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/guard/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::System::Memory::{PAGE_EXECUTE_READ, PAGE_GUARD, PAGE_PROTECTION_FLAGS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::Foundation::{CloseHandle, NTSTATUS, STATUS_SINGLE_STEP}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Diagnostics::Debug::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use windows::Win32::System::Threading::{GetCurrentThreadId, OpenThread, THREAD_ALL_ACCESS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handler.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use windows::Win32::System::Diagnostics::Debug::EXCEPTION_POINTERS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hook_base.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::Foundation::NTSTATUS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hook_base.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::System::Diagnostics::Debug::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/manager.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::System::Diagnostics::Debug::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/software/mod.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Foundation::{NTSTATUS, STATUS_BREAKPOINT, STATUS_SINGLE_STEP}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/software/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Diagnostics::Debug::EXCEPTION_POINTERS; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/software/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Memory::{PAGE_EXECUTE_READWRITE, PAGE_PROTECTION_FLAGS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Wdk` in `windows` [INFO] [stdout] --> src/util.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Wdk::System::Threading::{NtQueryInformationThread, ThreadQuerySetWin32StartAddress}; [INFO] [stdout] | ^^^ could not find `Wdk` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use windows::Win32::Foundation::CloseHandle; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::Win32::System::Diagnostics::ToolHelp::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::System::Memory::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::SystemInformation::{GetNativeSystemInfo, SYSTEM_INFO}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Threading::{GetCurrentProcessId, OpenThread, THREAD_ALL_ACCESS}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:97:61 [INFO] [stdout] | [INFO] [stdout] 97 | fn get_thread_handle(thread_id: u32) -> Result { [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | thread_handle: windows::Win32::Foundation::HANDLE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:160:26 [INFO] [stdout] | [INFO] [stdout] 160 | handle: windows::Win32::Foundation::HANDLE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | handle: windows::Win32::Foundation::HANDLE, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | windows::Win32::System::SystemInformation::PROCESSOR_ARCHITECTURE_INTEL => 32, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/util.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | windows::Win32::System::SystemInformation::PROCESSOR_ARCHITECTURE_AMD64 => 64, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/hardware/mod.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: windows::Win32::System::Diagnostics::Debug::CONTEXT, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt::Debug; [INFO] [stdout] | [INFO] [stdout] help: if you import `Debug`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 41 - ctx: windows::Win32::System::Diagnostics::Debug::CONTEXT, [INFO] [stdout] 41 + ctx: Debug::CONTEXT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/manager.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | map.shift_remove(&id); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/manager.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | for handler in map.values() { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/util.rs:100:18 [INFO] [stdout] | [INFO] [stdout] 100 | if e.code().0 as u32 == NO_MORE_FILES { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `veh-hooking-rs` (lib) due to 29 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "050e32e2b261ee6029a8fe78fe8d40c3757092bb6945b9dc990a42bd5c9f097e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050e32e2b261ee6029a8fe78fe8d40c3757092bb6945b9dc990a42bd5c9f097e", kill_on_drop: false }` [INFO] [stdout] 050e32e2b261ee6029a8fe78fe8d40c3757092bb6945b9dc990a42bd5c9f097e