[INFO] cloning repository https://github.com/udoprog/ptscan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/udoprog/ptscan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fptscan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fptscan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] efd3cc00c7d11b23d3b4c165cd920301ee08cea3 [INFO] testing udoprog/ptscan against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fudoprog%2Fptscan" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 77% (3254/4225) Updating files: 78% (3296/4225) Updating files: 79% (3338/4225) Updating files: 80% (3380/4225) Updating files: 81% (3423/4225) Updating files: 82% (3465/4225) Updating files: 83% (3507/4225) Updating files: 84% (3549/4225) Updating files: 85% (3592/4225) Updating files: 86% (3634/4225) Updating files: 87% (3676/4225) Updating files: 88% (3718/4225) Updating files: 89% (3761/4225) Updating files: 90% (3803/4225) Updating files: 91% (3845/4225) Updating files: 92% (3887/4225) Updating files: 93% (3930/4225) Updating files: 94% (3972/4225) Updating files: 95% (4014/4225) Updating files: 96% (4056/4225) Updating files: 97% (4099/4225) Updating files: 98% (4141/4225) Updating files: 99% (4183/4225) Updating files: 100% (4225/4225) Updating files: 100% (4225/4225), done. [INFO] validating manifest of git repo https://github.com/udoprog/ptscan on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/udoprog/ptscan [INFO] finished tweaking git repo https://github.com/udoprog/ptscan [INFO] tweaked toml for git repo https://github.com/udoprog/ptscan written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/udoprog/ptscan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40090bd1e18dd5d1d2dbbf6eed8193e7df7e0a9b1033162b3a960e3c53080ea7 [INFO] running `Command { std: "docker" "start" "-a" "40090bd1e18dd5d1d2dbbf6eed8193e7df7e0a9b1033162b3a960e3c53080ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40090bd1e18dd5d1d2dbbf6eed8193e7df7e0a9b1033162b3a960e3c53080ea7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40090bd1e18dd5d1d2dbbf6eed8193e7df7e0a9b1033162b3a960e3c53080ea7", kill_on_drop: false }` [INFO] [stdout] 40090bd1e18dd5d1d2dbbf6eed8193e7df7e0a9b1033162b3a960e3c53080ea7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f431634060838b67dc5eaa6b24f12a02a0c6192b1e4af511d98acff75f9f41 [INFO] running `Command { std: "docker" "start" "-a" "71f431634060838b67dc5eaa6b24f12a02a0c6192b1e4af511d98acff75f9f41", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling gio v0.9.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling lalrpop-util v0.19.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling ntapi v0.3.4 [INFO] [stderr] Compiling gdk v0.13.1 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dynamicvec v0.0.0 (/opt/rustwide/workdir/crates/dynamicvec) [INFO] [stderr] Compiling cascade v0.1.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling gtk v0.9.1 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling ptscan-gui v0.0.0 (/opt/rustwide/workdir/crates/ptscan-gui) [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling shellexpand v2.0.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-complex v0.3.0 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling fixed-map-derive v0.7.0 [INFO] [stderr] Compiling rust-embed-impl v5.6.0 [INFO] [stderr] Compiling rust-embed v5.6.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling fixed-map v0.7.1 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lru v0.6.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling glib-sys v0.10.0 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling num v0.3.0 [INFO] [stderr] Compiling lalrpop v0.19.0 [INFO] [stderr] Compiling glib v0.10.1 [INFO] [stderr] Compiling ptscan v0.0.0 (/opt/rustwide/workdir/crates/ptscan) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 18 | um::{errhandlingapi, winnt, wow64apiset}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/error.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::{minwindef::DWORD, ntdef::NTSTATUS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/module.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | shared::minwindef::{DWORD, HMODULE}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | use winapi::um::handleapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> crates/ptscan/src/module.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | um::{libloaderapi, psapi}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/process.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> crates/ptscan/src/process.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ntapi::ntpsapi; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `ntpsapi` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> crates/ptscan/src/process.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 16 | um::{memoryapi, processthreadsapi, psapi, winnt}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/system.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::minwindef::{DWORD, FALSE}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::shared` [INFO] [stdout] --> crates/ptscan/src/process_handle.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::shared::winerror; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/thread.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> crates/ptscan/src/system.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{handleapi, psapi, sysinfoapi, tlhelp32, winnt}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> crates/ptscan/src/thread.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 11 | um::{processthreadsapi, winbase, winnt}, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntpsapi`, `tlhelp32::CreateToolhelp32Snapshot`, `tlhelp32::TH32CS_SNAPTHREAD`, `tlhelp32::LPTHREADENTRY32`, `tlhelp32::THREADENTRY32` [INFO] [stdout] --> crates/ptscan/src/system.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use tlhelp32::{CreateToolhelp32Snapshot, TH32CS_SNAPTHREAD}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | use tlhelp32::{LPTHREADENTRY32, THREADENTRY32}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: crates/ptscan/src/thread.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | use ntapi::ntpsapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::shared::minwindef::TRUE => Ok(()), [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] ... [INFO] [stdout] 148 | checked!(wow64apiset::IsWow64Process(self.0, &mut out as PBOOL))?; [INFO] [stdout] | ---------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::shared::minwindef::TRUE => Ok(()), [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: crates/ptscan/src/process.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | let result = checked!(memoryapi::WriteProcessMemory( [INFO] [stdout] | ______________________- [INFO] [stdout] 225 | | **self.handle, [INFO] [stdout] 226 | | address.convert::()?, [INFO] [stdout] 227 | | buffer.as_ptr() as LPCVOID, [INFO] [stdout] 228 | | buffer.len() as SIZE_T, [INFO] [stdout] 229 | | &mut bytes_written as *mut SIZE_T, [INFO] [stdout] 230 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::shared::minwindef::TRUE => Ok(()), [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: crates/ptscan/src/process.rs:248:22 [INFO] [stdout] | [INFO] [stdout] 248 | let result = checked!(memoryapi::ReadProcessMemory( [INFO] [stdout] | ______________________- [INFO] [stdout] 249 | | **self.handle, [INFO] [stdout] 250 | | address.convert::()?, [INFO] [stdout] 251 | | buffer.as_mut_ptr() as LPVOID, [INFO] [stdout] 252 | | buffer.len() as SIZE_T, [INFO] [stdout] 253 | | &mut bytes_read as *mut SIZE_T, [INFO] [stdout] 254 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::shared::minwindef::TRUE => Ok(()), [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: crates/ptscan/src/thread.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | / checked!(winbase::GetThreadSelectorEntry( [INFO] [stdout] 35 | | **self.handle, [INFO] [stdout] 36 | | selector, [INFO] [stdout] 37 | | &mut entry as *mut _ as winbase::LPLDT_ENTRY, [INFO] [stdout] 38 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | winapi::shared::minwindef::TRUE => Ok(()), [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: crates/ptscan/src/thread.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | / checked!(processthreadsapi::GetThreadContext( [INFO] [stdout] 108 | | **self.handle, [INFO] [stdout] 109 | | &mut context as winnt::PCONTEXT [INFO] [stdout] 110 | | ))?; [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `checked` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:42:48 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn fixed_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:42:58 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn fixed_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | let out = cb(buf.as_mut_ptr(), buf.len() as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:58:51 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn growable_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:58:61 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn growable_string(cb: impl Fn(winnt::LPWSTR, DWORD) -> DWORD) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | let len = cb(buf.as_mut_ptr(), buf.len() as DWORD); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | cb: impl Fn(*mut T, DWORD, LPDWORD) -> BOOL, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | cb: impl Fn(*mut T, DWORD, LPDWORD) -> BOOL, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | cb: impl Fn(*mut T, DWORD, LPDWORD) -> BOOL, [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let mut needed: DWORD = 0u32; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:100:31 [INFO] [stdout] | [INFO] [stdout] 100 | buf.capacity() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPDWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | &mut needed as LPDWORD, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | if ok != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let mut out: BOOL = FALSE; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let mut out: BOOL = FALSE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PBOOL` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:148:66 [INFO] [stdout] | [INFO] [stdout] 148 | checked!(wow64apiset::IsWow64Process(self.0, &mut out as PBOOL))?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:149:19 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(out == TRUE) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | if ok != TRUE { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/error.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | BadRegionState(DWORD), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/error.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | BadRegionType(DWORD), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> crates/ptscan/src/error.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | ThreadTebError(NTSTATUS), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> crates/ptscan/src/module.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | module: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> crates/ptscan/src/module.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn new(module: HMODULE) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/module.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:163:30 [INFO] [stdout] | [INFO] [stdout] 163 | inherit_handles: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:222:32 [INFO] [stdout] | [INFO] [stdout] 222 | let mut bytes_written: SIZE_T = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:226:31 [INFO] [stdout] | [INFO] [stdout] 159 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 226 | address.convert::()?, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:227:32 [INFO] [stdout] | [INFO] [stdout] 227 | buffer.as_ptr() as LPCVOID, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:228:29 [INFO] [stdout] | [INFO] [stdout] 228 | buffer.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | &mut bytes_written as *mut SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | let mut bytes_read: SIZE_T = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:250:31 [INFO] [stdout] | [INFO] [stdout] 159 | impl Process { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 250 | address.convert::()?, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:251:36 [INFO] [stdout] | [INFO] [stdout] 251 | buffer.as_mut_ptr() as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:252:29 [INFO] [stdout] | [INFO] [stdout] 252 | buffer.len() as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:253:37 [INFO] [stdout] | [INFO] [stdout] 253 | &mut bytes_read as *mut SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:266:23 [INFO] [stdout] | [INFO] [stdout] 266 | const LENGTH: SIZE_T = mem::size_of::() as SIZE_T; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:266:85 [INFO] [stdout] | [INFO] [stdout] 266 | const LENGTH: SIZE_T = mem::size_of::() as SIZE_T; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SIZE_T` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | LENGTH as SIZE_T, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:386:21 [INFO] [stdout] | [INFO] [stdout] 386 | desired_access: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:387:22 [INFO] [stdout] | [INFO] [stdout] 387 | inherit_handles: BOOL, [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:418:30 [INFO] [stdout] | [INFO] [stdout] 418 | inherit_handles: TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/process.rs:545:24 [INFO] [stdout] | [INFO] [stdout] 545 | fn decode(protect: DWORD, set: &mut fixed_map::Set) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateToolhelp32Snapshot` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TH32CS_SNAPTHREAD` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | let handle = unsafe { CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 104 | impl<'a> Iterator for Threads { [INFO] [stdout] | - help: you might be missing a type parameter: `, THREADENTRY32` [INFO] [stdout] ... [INFO] [stdout] 113 | e.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:113:63 [INFO] [stdout] | [INFO] [stdout] 113 | e.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPTHREADENTRY32` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:115:71 [INFO] [stdout] | [INFO] [stdout] 115 | if unsafe { tlhelp32::Thread32Next(*self.handle, e as LPTHREADENTRY32) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:115:93 [INFO] [stdout] | [INFO] [stdout] 115 | if unsafe { tlhelp32::Thread32Next(*self.handle, e as LPTHREADENTRY32) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `THREADENTRY32` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:123:43 [INFO] [stdout] | [INFO] [stdout] 104 | impl<'a> Iterator for Threads { [INFO] [stdout] | - help: you might be missing a type parameter: `, THREADENTRY32` [INFO] [stdout] ... [INFO] [stdout] 123 | e.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:123:63 [INFO] [stdout] | [INFO] [stdout] 123 | e.dwSize = mem::size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPTHREADENTRY32` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:126:72 [INFO] [stdout] | [INFO] [stdout] 126 | if unsafe { tlhelp32::Thread32First(*self.handle, e as LPTHREADENTRY32) } == FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> crates/ptscan/src/system.rs:126:94 [INFO] [stdout] | [INFO] [stdout] 126 | if unsafe { tlhelp32::Thread32First(*self.handle, e as LPTHREADENTRY32) } == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | inherit_handles: FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:31:51 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn thread_selector_entry(&self, selector: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | let mut length: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:89:63 [INFO] [stdout] | [INFO] [stdout] 89 | mem::size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:137:58 [INFO] [stdout] | [INFO] [stdout] 137 | .thread_selector_entry(self.context.SegFs as DWORD)?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | desired_access: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 176 | inherit_handles: BOOL, [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> crates/ptscan/src/thread.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | inherit_handles: TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/lib.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub type ProcessId = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> crates/ptscan/src/lib.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub type ThreadId = DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> crates/ptscan/src/process_handle.rs:1390:10 [INFO] [stdout] | [INFO] [stdout] 1390 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [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] --> crates/ptscan/src/utils/mod.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | Ok(OsString::from_wide(&buf[..(out as usize)])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let len = cb(buf.as_mut_ptr(), buf.len() as DWORD); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | let len = cb(buf.as_mut_ptr(), buf.len() as DWORD); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:64:44 [INFO] [stdout] | [INFO] [stdout] 64 | let len = cb(buf.as_mut_ptr(), buf.len() as DWORD); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `extend` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | buf.extend(std::iter::repeat(0u16).take(64)); [INFO] [stdout] | ^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `take` found for struct `std::iter::Repeat` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | buf.extend(std::iter::repeat(0u16).take(64)); [INFO] [stdout] | ^^^^ method not found in `std::iter::Repeat` [INFO] [stdout] | [INFO] [stdout] = note: `std::iter::repeat(0u16)` is a function, perhaps you wish to call it [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] --> crates/ptscan/src/utils/mod.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(OsString::from_wide(&buf[..len])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | buf.as_mut_ptr() as *mut T, [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capacity` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | buf.capacity() as DWORD, [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_len` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | buf.set_len(usize::min(needed as usize, buf.capacity())); [INFO] [stdout] | ^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:109:32 [INFO] [stdout] | [INFO] [stdout] 109 | buf.set_len(usize::min(needed as usize, buf.capacity())); [INFO] [stdout] | ^^^ multiple `min` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `Ord` for the type `usize` [INFO] [stdout] note: candidate #2 is defined in the trait `Iterator` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 109 | buf.set_len(::min(needed as usize, buf.capacity())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 109 | buf.set_len(::min(needed as usize, buf.capacity())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capacity` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:109:57 [INFO] [stdout] | [INFO] [stdout] 109 | buf.set_len(usize::min(needed as usize, buf.capacity())); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capacity` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | if needed as usize > buf.capacity() { [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reserve` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | buf.reserve(initial); [INFO] [stdout] | ^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let ptr = buf.as_mut_ptr() as *mut T; [INFO] [stdout] | ^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `len` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let len = buf.len() / mem::size_of::(); [INFO] [stdout] | ^^^ private field, not a method [INFO] [stdout] | [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `capacity` found for struct `Vec` in the current scope [INFO] [stdout] --> crates/ptscan/src/utils/mod.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let cap = buf.capacity() / mem::size_of::(); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = note: the method was found for [INFO] [stdout] - `Vec` [INFO] [stdout] = note: `buf` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> crates/ptscan/src/process.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 384 | #[derive(Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 385 | pub struct OpenProcessBuilder { [INFO] [stdout] 386 | desired_access: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> crates/ptscan/src/thread.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Default)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] 174 | pub struct OpenThreadBuilder { [INFO] [stdout] 175 | desired_access: DWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 104 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0282, E0283, E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ptscan` due to 105 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "71f431634060838b67dc5eaa6b24f12a02a0c6192b1e4af511d98acff75f9f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f431634060838b67dc5eaa6b24f12a02a0c6192b1e4af511d98acff75f9f41", kill_on_drop: false }` [INFO] [stdout] 71f431634060838b67dc5eaa6b24f12a02a0c6192b1e4af511d98acff75f9f41