[INFO] cloning repository https://github.com/heilhead/rust-fmi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/heilhead/rust-fmi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26437f51f6fab873a31214ffd729ce41ac9b81c0 [INFO] checking heilhead/rust-fmi against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fheilhead%2Frust-fmi" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/heilhead/rust-fmi on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/heilhead/rust-fmi [INFO] finished tweaking git repo https://github.com/heilhead/rust-fmi [INFO] tweaked toml for git repo https://github.com/heilhead/rust-fmi written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/heilhead/rust-fmi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2719fb9f0002b47f3689e5ee784a4cd492f9e8f51972f7d95b258dcd7a9e6dcc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2719fb9f0002b47f3689e5ee784a4cd492f9e8f51972f7d95b258dcd7a9e6dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2719fb9f0002b47f3689e5ee784a4cd492f9e8f51972f7d95b258dcd7a9e6dcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2719fb9f0002b47f3689e5ee784a4cd492f9e8f51972f7d95b258dcd7a9e6dcc", kill_on_drop: false }` [INFO] [stdout] 2719fb9f0002b47f3689e5ee784a4cd492f9e8f51972f7d95b258dcd7a9e6dcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f72e7048f61ec5b8a721f4c4f5119dd2f7793524ee48a7683c92ecd6a21e5c5a [INFO] running `Command { std: "docker" "start" "-a" "f72e7048f61ec5b8a721f4c4f5119dd2f7793524ee48a7683c92ecd6a21e5c5a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling sysinfo v0.10.3 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking fmi v0.1.0 (/opt/rustwide/workdir/crates/fmi) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/memory.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::memoryapi::ReadProcessMemory; [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/fmi/src/process.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::shared::minwindef::{DWORD, HMODULE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::{psapi::MODULEINFO, winnt::HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | use winapi::um::processthreadsapi::OpenProcess; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | use winapi::um::winnt::PROCESS_ALL_ACCESS; [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/fmi/src/process.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use winapi::shared::ntdef::LUID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | use winapi::um::securitybaseapi::AdjustTokenPrivileges; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use winapi::um::winbase::LookupPrivilegeValueA; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | use winapi::um::winnt::{LUID_AND_ATTRIBUTES, SE_PRIVILEGE_ENABLED, TOKEN_PRIVILEGES}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | use winapi::um::processthreadsapi::{GetCurrentProcess, OpenProcessToken}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | use winapi::um::winnt::{SE_DEBUG_NAME, TOKEN_ADJUST_PRIVILEGES}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | use winapi::um::psapi::GetModuleInformation; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | use winapi::um::psapi::{EnumProcessModules, GetModuleBaseNameA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ctypes` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub type ProcessHandle = *mut winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> crates/fmi/src/process.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | if unsafe { winapi::um::handleapi::CloseHandle(handle) } == 0 { [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> crates/fmi/src/memory.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> crates/fmi/src/memory.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn close_handle(handle: HANDLE) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid as DWORD) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid 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/fmi/src/process.rs:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | let handle = unsafe { OpenProcess(PROCESS_ALL_ACCESS, 0, pid as DWORD) }; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | token_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | let mut luid = LUID { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | LookupPrivilegeValueA( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let mut tp = TOKEN_PRIVILEGES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LUID_AND_ATTRIBUTES` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | Privileges: [LUID_AND_ATTRIBUTES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_PRIVILEGE_ENABLED` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | Attributes: if enable { SE_PRIVILEGE_ENABLED } else { 0 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AdjustTokenPrivileges` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | AdjustTokenPrivileges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_PRIVILEGES` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn set_privilege( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 97 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut token_handle: HANDLE = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | OpenProcessToken( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | GetCurrentProcess(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | TOKEN_ADJUST_PRIVILEGES, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SE_DEBUG_NAME` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | set_privilege(token_handle, SE_DEBUG_NAME, true)?; [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/fmi/src/process.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | module_handle: HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_module_info( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 138 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MODULEINFO` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let mut result = MODULEINFO { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleInformation` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | GetModuleInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MODULEINFO` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:152:33 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn get_module_info( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 152 | std::mem::size_of::() as u32, [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/fmi/src/process.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | let mut size_needed: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | unsafe { EnumProcessModules(process_handle, std::ptr::null_mut(), 0, &mut size_needed) }; [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/fmi/src/process.rs:178:43 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_module_bounds( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 178 | let handle_size = std::mem::size_of::() as u32; [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/fmi/src/process.rs:181:26 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn get_module_bounds( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 181 | let mut modules: Vec = vec![std::ptr::null_mut(); module_count 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 `EnumProcessModules` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameA` in this scope [INFO] [stdout] --> crates/fmi/src/process.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | GetModuleBaseNameA( [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/fmi/src/process.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | MODULE_NAME_LEN as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&Process` [INFO] [stdout] --> crates/fmi/src/process.rs:34:36 [INFO] [stdout] | [INFO] [stdout] 34 | iter.filter(|p| filter(p)).collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&Process>` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&Process` [INFO] [stdout] --> crates/fmi/src/process.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | iter.collect() [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<&Process>` is not implemented for `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fmi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "f72e7048f61ec5b8a721f4c4f5119dd2f7793524ee48a7683c92ecd6a21e5c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f72e7048f61ec5b8a721f4c4f5119dd2f7793524ee48a7683c92ecd6a21e5c5a", kill_on_drop: false }` [INFO] [stdout] f72e7048f61ec5b8a721f4c4f5119dd2f7793524ee48a7683c92ecd6a21e5c5a