[INFO] cloning repository https://github.com/harrisont/debugger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harrisont/debugger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisont%2Fdebugger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisont%2Fdebugger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 817e8e014127b669f085b3e984f46a30ca24ed2d [INFO] testing harrisont/debugger against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharrisont%2Fdebugger" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/harrisont/debugger [INFO] finished tweaking git repo https://github.com/harrisont/debugger [INFO] tweaked toml for git repo https://github.com/harrisont/debugger written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harrisont/debugger on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/harrisont/debugger 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-config v0.22.6 [INFO] [stderr] Downloaded c2rust-bitfields v0.3.0 [INFO] [stderr] Downloaded rust-sitter v0.4.2 [INFO] [stderr] Downloaded rust-sitter-common v0.4.2 [INFO] [stderr] Downloaded c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Downloaded tree-sitter-loader v0.22.6 [INFO] [stderr] Downloaded tree-sitter-tags v0.22.6 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded fs4 v0.8.4 [INFO] [stderr] Downloaded rust-sitter-macro v0.4.2 [INFO] [stderr] Downloaded syn-inline-mod v0.5.0 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded codemap-diagnostic v0.1.2 [INFO] [stderr] Downloaded webbrowser v1.0.1 [INFO] [stderr] Downloaded smallbitvec v2.5.3 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded tree-sitter-highlight v0.22.6 [INFO] [stderr] Downloaded rust-sitter-tool v0.4.2 [INFO] [stderr] Downloaded pdb v0.8.0 [INFO] [stderr] Downloaded tree-sitter v0.22.6 [INFO] [stderr] Downloaded wasmparser v0.206.0 [INFO] [stderr] Downloaded tree-sitter-c2rust v0.22.6 [INFO] [stderr] Downloaded tree-sitter-cli v0.22.6 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56250bfc721d977d6bfe7f40912fa3db7e784478814df7909bb00d7d83331568 [INFO] running `Command { std: "docker" "start" "-a" "56250bfc721d977d6bfe7f40912fa3db7e784478814df7909bb00d7d83331568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56250bfc721d977d6bfe7f40912fa3db7e784478814df7909bb00d7d83331568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56250bfc721d977d6bfe7f40912fa3db7e784478814df7909bb00d7d83331568", kill_on_drop: false }` [INFO] [stdout] 56250bfc721d977d6bfe7f40912fa3db7e784478814df7909bb00d7d83331568 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ca5a312d1e27156e3c22e1365b14a5cb09076343e5a8f76b3f5d2fffacb13bf [INFO] running `Command { std: "docker" "start" "-a" "9ca5a312d1e27156e3c22e1365b14a5cb09076343e5a8f76b3f5d2fffacb13bf", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.88 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling tree-sitter-loader v0.22.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling tree-sitter-cli v0.22.6 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling chunked_transfer v1.5.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap_builder v4.5.17 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling smallbitvec v2.5.3 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling tree-sitter-c2rust v0.22.6 [INFO] [stderr] Compiling scroll v0.11.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling codemap-diagnostic v0.1.2 [INFO] [stderr] Compiling wasmparser v0.206.0 [INFO] [stderr] Compiling pdb v0.8.0 [INFO] [stderr] Compiling webbrowser v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling tempfile v3.12.0 [INFO] [stderr] Compiling fs4 v0.8.4 [INFO] [stderr] Compiling ctrlc v3.4.5 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling rust-sitter-common v0.4.2 [INFO] [stderr] Compiling syn-inline-mod v0.5.0 [INFO] [stderr] Compiling c2rust-bitfields-derive v0.2.1 [INFO] [stderr] Compiling rust-sitter-macro v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling c2rust-bitfields v0.3.0 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling tree-sitter-highlight v0.22.6 [INFO] [stderr] Compiling tree-sitter-tags v0.22.6 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling clap v4.5.17 [INFO] [stderr] Compiling rust-sitter v0.4.2 [INFO] [stderr] Compiling tree-sitter-config v0.22.6 [INFO] [stderr] Compiling rust-sitter-tool v0.4.2 [INFO] [stderr] Compiling debugger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/memory.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Win32::System::Diagnostics::Debug::ReadProcessMemory, [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/module.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::System::{ [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/registers.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::Win32::System::Diagnostics::Debug::CONTEXT; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/windows_wrapper.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | os::windows::ffi::{OsStrExt, OsStringExt}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/windows_wrapper.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/windows_wrapper.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | core::{PCWSTR, PWSTR}, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/module.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | pub guid: windows::core::GUID, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:22:39 [INFO] [stdout] | [INFO] [stdout] 22 | pub const EXCEPTION_CODE_SINGLE_STEP: NTSTATUS = EXCEPTION_SINGLE_STEP; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXCEPTION_SINGLE_STEP` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | pub const EXCEPTION_CODE_SINGLE_STEP: NTSTATUS = EXCEPTION_SINGLE_STEP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_FROM_SYSTEM` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS /*dwFlags*/, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FORMAT_MESSAGE_IGNORE_INSERTS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS /*dwFlags*/, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn close_handle(handle: HANDLE) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct AutoClosedHandle(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn handle(&self) -> HANDLE { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_GET_CONTEXT` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT /*dwDesiredAccess*/, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `THREAD_SET_CONTEXT` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | THREAD_GET_CONTEXT | THREAD_SET_CONTEXT /*dwDesiredAccess*/, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | FALSE /*bInheritHandle*/, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 131 - FALSE /*bInheritHandle*/, [INFO] [stdout] 131 + false /*bInheritHandle*/, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOEXW` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | let mut startup_info: STARTUPINFOEXW = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOEXW` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:147:55 [INFO] [stdout] | [INFO] [stdout] 147 | startup_info.StartupInfo.cb = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 141 | pub fn launch_process_for_debugging(target_command_line_args: &[String]) -> AutoClosedHandle { [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | let mut process_info: PROCESS_INFORMATION = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | FALSE /*bInheritHandles*/, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you may want to use a bool value instead [INFO] [stdout] | [INFO] [stdout] 155 - FALSE /*bInheritHandles*/, [INFO] [stdout] 155 + false /*bInheritHandles*/, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEBUG_ONLY_THIS_PROCESS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | DEBUG_ONLY_THIS_PROCESS | CREATE_NEW_CONSOLE /*dwCreationFlags*/, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CREATE_NEW_CONSOLE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:156:39 [INFO] [stdout] | [INFO] [stdout] 156 | DEBUG_ONLY_THIS_PROCESS | CREATE_NEW_CONSOLE /*dwCreationFlags*/, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 175 | pub context: CONTEXT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_thread_id(thread_handle: HANDLE) -> ThreadId { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CONTEXT_ALL_AMD64` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:189:32 [INFO] [stdout] | [INFO] [stdout] 189 | ctx.context.ContextFlags = CONTEXT_ALL_AMD64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CONTEXT` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:197:64 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn set_thread_context(thread: &AutoClosedHandle, context: &CONTEXT) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:203:41 [INFO] [stdout] | [INFO] [stdout] 203 | Exception{first_chance: bool, code: NTSTATUS}, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RIP_INFO_TYPE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:212:32 [INFO] [stdout] | [INFO] [stdout] 212 | Rip{error: u32, info_type: RIP_INFO_TYPE}, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DEBUG_EVENT` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | let mut event: DEBUG_EVENT = unsafe { std::mem::zeroed() }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:223:41 [INFO] [stdout] | [INFO] [stdout] 223 | WaitForDebugEventEx(&mut event, INFINITE) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | let code: NTSTATUS = data.ExceptionRecord.ExceptionCode; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:311:34 [INFO] [stdout] | [INFO] [stdout] 311 | fn get_win32_value(&self) -> NTSTATUS { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_CONTINUE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:313:46 [INFO] [stdout] | [INFO] [stdout] 313 | DebugContinueStatus::Continue => DBG_CONTINUE, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DBG_EXCEPTION_NOT_HANDLED` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:314:57 [INFO] [stdout] | [INFO] [stdout] 314 | DebugContinueStatus::ExceptionNotHandled => DBG_EXCEPTION_NOT_HANDLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:331:46 [INFO] [stdout] | [INFO] [stdout] 331 | pub fn get_final_path_name_by_handle(handle: HANDLE) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let error_code = unsafe { GetLastError() } ; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FormatMessageW` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | let message_len = FormatMessageW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows_wrapper.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | let error_message_os = OsString::from_wide(&error_message_buffer); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 85 - let error_message_os = OsString::from_wide(&error_message_buffer); [INFO] [stdout] 85 + let error_message_os = OsString::from_iter(&error_message_buffer); [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/windows_wrapper.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 95 | let mut buffer: Vec = OsStr::new(&input) [INFO] [stdout] | ________________________________- [INFO] [stdout] 96 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | CloseHandle(handle) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenThread` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | OpenThread( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | CreateProcessW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadId` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:179:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ThreadId(u32); [INFO] [stdout] | ------------------------- similarly named tuple struct `ThreadId` defined here [INFO] [stdout] ... [INFO] [stdout] 179 | let id = unsafe { GetThreadId(thread_handle) }; [INFO] [stdout] | ^^^^^^^^^^^ help: a tuple struct with a similar name exists: `ThreadId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetThreadContext` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | let ret = unsafe { GetThreadContext(thread.handle(), &mut ctx.context) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetThreadContext` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn get_thread_context(thread: &AutoClosedHandle) -> AlignedContext { [INFO] [stdout] | ---------------------------------------------------------------------- similarly named function `get_thread_context` defined here [INFO] [stdout] ... [INFO] [stdout] 198 | let ret = unsafe { SetThreadContext(thread.handle(), context) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_thread_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForDebugEventEx` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | WaitForDebugEventEx(&mut event, INFINITE) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContinueDebugEvent` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | ContinueDebugEvent( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GETFINALPATHNAMEBYHANDLE_FLAGS` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:333:81 [INFO] [stdout] | [INFO] [stdout] 333 | let len = unsafe { GetFinalPathNameByHandleW(handle, buffer.as_mut_slice(), GETFINALPATHNAMEBYHANDLE_FLAGS(0)) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetFinalPathNameByHandleW` in this scope [INFO] [stdout] --> src/windows_wrapper.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | let len = unsafe { GetFinalPathNameByHandleW(handle, buffer.as_mut_slice(), GETFINALPATHNAMEBYHANDLE_FLAGS(0)) } as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/windows_wrapper.rs:337:15 [INFO] [stdout] | [INFO] [stdout] 337 | OsString::from_wide(&buffer[0..len]).to_string_lossy().to_string() [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 337 - OsString::from_wide(&buffer[0..len]).to_string_lossy().to_string() [INFO] [stdout] 337 + OsString::from_iter(&buffer[0..len]).to_string_lossy().to_string() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `debugger` (bin "debugger") due to 52 previous errors [INFO] running `Command { std: "docker" "inspect" "9ca5a312d1e27156e3c22e1365b14a5cb09076343e5a8f76b3f5d2fffacb13bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ca5a312d1e27156e3c22e1365b14a5cb09076343e5a8f76b3f5d2fffacb13bf", kill_on_drop: false }` [INFO] [stdout] 9ca5a312d1e27156e3c22e1365b14a5cb09076343e5a8f76b3f5d2fffacb13bf