[INFO] cloning repository https://github.com/zrneely/koakuma [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zrneely/koakuma" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrneely%2Fkoakuma", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrneely%2Fkoakuma'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f05fcba7ecae44a28bbb65647222a21891ae8040 [INFO] checking zrneely/koakuma against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrneely%2Fkoakuma" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zrneely/koakuma on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zrneely/koakuma [INFO] finished tweaking git repo https://github.com/zrneely/koakuma [INFO] tweaked toml for git repo https://github.com/zrneely/koakuma written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/zrneely/koakuma already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46f407d84c12a4aa2cf0597cf445b0944af77c232ed23c7e455824db6e74b919 [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" "46f407d84c12a4aa2cf0597cf445b0944af77c232ed23c7e455824db6e74b919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46f407d84c12a4aa2cf0597cf445b0944af77c232ed23c7e455824db6e74b919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f407d84c12a4aa2cf0597cf445b0944af77c232ed23c7e455824db6e74b919", kill_on_drop: false }` [INFO] [stdout] 46f407d84c12a4aa2cf0597cf445b0944af77c232ed23c7e455824db6e74b919 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f856928a8ca4a2a3d8ba6c02fc117667077c2064419460d4839d85db99858b83 [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" "f856928a8ca4a2a3d8ba6c02fc117667077c2064419460d4839d85db99858b83", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking terminal_size v0.1.12 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking koakuma v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/err.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 `um` in `winapi` [INFO] [stdout] --> src/mft/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/mft/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | os::windows::ffi::{OsStrExt as _, OsStringExt as _}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::um` [INFO] [stdout] --> src/mft/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 5 | um::{ [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] --> src/mft/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::{minwindef::DWORD, winerror}, [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] --> src/mft/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | um::{ [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] --> src/privileges.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{minwindef::FALSE, ntdef::LUID, winerror}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/mft/stream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 5 | shared::{minwindef::DWORD, winerror}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 6 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/privileges.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/privileges.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{minwindef::FALSE, ntdef::LUID, winerror}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/volumes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/volumes.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | os::windows::ffi::{OsStrExt as _, OsStringExt as _}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::{handleapi::CloseHandle, winnt::HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/volumes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::winerror, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 5 | um::{ [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] --> src/err.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 `um` in `winapi` [INFO] [stdout] --> src/mft/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/mft/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | os::windows::ffi::{OsStrExt as _, OsStringExt as _}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::um` [INFO] [stdout] --> src/mft/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 5 | um::{ [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] --> src/mft/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | shared::{minwindef::DWORD, winerror}, [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] --> src/mft/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | um::{ [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] --> src/privileges.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{minwindef::FALSE, ntdef::LUID, winerror}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes`, `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/mft/stream.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] 5 | shared::{minwindef::DWORD, winerror}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 6 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/privileges.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/privileges.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::{minwindef::FALSE, ntdef::LUID, winerror}, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/volumes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/volumes.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | os::windows::ffi::{OsStrExt as _, OsStringExt as _}, [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::{handleapi::CloseHandle, winnt::HANDLE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared`, `winapi::um` [INFO] [stdout] --> src/volumes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | shared::winerror, [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] 5 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/mft/stream.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let mut ov = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/mft/stream.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | let mut ov = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/mft/stream.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let mut ov = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/mft/stream.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | let extent_count = DWORD::from_le_bytes( [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/mft/stream.rs:185:30 [INFO] [stdout] | [INFO] [stdout] 185 | let mut ov = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LONGLONG` [INFO] [stdout] --> src/mft/stream.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | let mut min_vcn = LONGLONG::from_le_bytes( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LONGLONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LONGLONG` [INFO] [stdout] --> src/mft/stream.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | next_min_vcn = LONGLONG::from_le_bytes( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LONGLONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/mft/stream.rs:248:28 [INFO] [stdout] | [INFO] [stdout] 248 | let extent_count = DWORD::from_le_bytes( [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LONGLONG` [INFO] [stdout] --> src/mft/stream.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let min_lcn = LONGLONG::from_le_bytes( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LONGLONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LONGLONG` [INFO] [stdout] --> src/mft/stream.rs:257:27 [INFO] [stdout] | [INFO] [stdout] 257 | let mut min_vcn = LONGLONG::from_le_bytes( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LONGLONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LONGLONG` [INFO] [stdout] --> src/mft/stream.rs:269:28 [INFO] [stdout] | [INFO] [stdout] 269 | next_min_vcn = LONGLONG::from_le_bytes( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LONGLONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LONGLONG` [INFO] [stdout] --> src/mft/stream.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let min_lcn = LONGLONG::from_le_bytes( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `LONGLONG` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LUID` [INFO] [stdout] --> src/privileges.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let mut priv_id = LUID::default(); [INFO] [stdout] | ^^^^ use of undeclared type `LUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LUID` [INFO] [stdout] --> src/privileges.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | let mut priv_id = LUID::default(); [INFO] [stdout] | ^^^^ use of undeclared type `LUID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/err.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | LookupPrivilegeValueFailed(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] --> src/err.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | GetSelfProcessTokenFailed(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] --> src/err.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | AdjustTokenPrivilegesFailed(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] --> src/err.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | FindFirstVolumeFailed(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] --> src/err.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | FindNextVolumeFailed(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] --> src/err.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | GetVolumePathNamesFailed(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] --> src/err.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | OpenVolumeHandleFailed(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] --> src/err.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | GetNtfsVolumeDataFailed(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] --> src/err.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | OpenMftFailed(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] --> src/err.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | GetRetrievalPointersFailed(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] --> src/err.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ReadVolumeFailed(DWORD), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/stream.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | volume_info: NTFS_VOLUME_DATA_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/mft/stream.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/mft/stream.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/mft/stream.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FSCTL_GET_RETRIEVAL_POINTERS` in this scope [INFO] [stdout] --> src/mft/stream.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | FSCTL_GET_RETRIEVAL_POINTERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:232:51 [INFO] [stdout] | [INFO] [stdout] 232 | &mut current_starting_vcn as *mut LONGLONG as *mut c_void, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:233:32 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 233 | mem::size_of::().try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/mft/stream.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 249 | returned_buffer[0..mem::size_of::()] [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:254:59 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 254 | returned_buffer = &returned_buffer[mem::size_of::()..]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:258:46 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 258 | returned_buffer[..mem::size_of::()] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:262:59 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 262 | returned_buffer = &returned_buffer[mem::size_of::()..]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:270:50 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 270 | returned_buffer[..mem::size_of::()] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:274:63 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 274 | returned_buffer = &returned_buffer[mem::size_of::()..]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:277:50 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 277 | returned_buffer[..mem::size_of::()] [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:281:63 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 281 | returned_buffer = &returned_buffer[mem::size_of::()..]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | mem::size_of::() + mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_EXTENDED_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | mem::size_of::() + mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_ntfs_volume_data( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 557 | handle: &SafeHandle, [INFO] [stdout] 558 | ) -> Result<(NTFS_VOLUME_DATA_BUFFER, NTFS_EXTENDED_VOLUME_DATA), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_EXTENDED_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:558:39 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_ntfs_volume_data( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 557 | handle: &SafeHandle, [INFO] [stdout] 558 | ) -> Result<(NTFS_VOLUME_DATA_BUFFER, NTFS_EXTENDED_VOLUME_DATA), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/mft/mod.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FSCTL_GET_NTFS_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | FSCTL_GET_NTFS_VOLUME_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:586:37 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_ntfs_volume_data( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 586 | buf.split_at(mem::size_of::() / 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:588:74 [INFO] [stdout] | [INFO] [stdout] 588 | let volume_data_buffer = volume_data_buffer_bytes.as_ptr() as *const NTFS_VOLUME_DATA_BUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_EXTENDED_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:590:55 [INFO] [stdout] | [INFO] [stdout] 590 | extended_volume_data_bytes.as_ptr() as *const NTFS_EXTENDED_VOLUME_DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> src/mft/mod.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/mft/mod.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/mft/mod.rs:617:32 [INFO] [stdout] | [INFO] [stdout] 617 | FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_DELETE` in this scope [INFO] [stdout] --> src/mft/mod.rs:617:50 [INFO] [stdout] | [INFO] [stdout] 617 | FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/mft/mod.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/err.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | LookupPrivilegeValueFailed(DWORD), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_BACKUP_SEMANTICS` in this scope [INFO] [stdout] --> src/mft/mod.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | FILE_FLAG_BACKUP_SEMANTICS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/err.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | GetSelfProcessTokenFailed(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] --> src/err.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | AdjustTokenPrivilegesFailed(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] --> src/err.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | FindFirstVolumeFailed(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] --> src/err.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | FindNextVolumeFailed(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] --> src/err.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | GetVolumePathNamesFailed(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] --> src/err.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | OpenVolumeHandleFailed(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] --> src/err.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | GetNtfsVolumeDataFailed(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] --> src/err.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | OpenMftFailed(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] --> src/err.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | GetRetrievalPointersFailed(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] --> src/err.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | ReadVolumeFailed(DWORD), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/stream.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | volume_info: NTFS_VOLUME_DATA_BUFFER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/mft/stream.rs:161:21 [INFO] [stdout] | [INFO] [stdout] 161 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadFile` in this scope [INFO] [stdout] --> src/mft/stream.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | ReadFile( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/mft/stream.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/mft/mod.rs:625:18 [INFO] [stdout] | [INFO] [stdout] 625 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FSCTL_GET_RETRIEVAL_POINTERS` in this scope [INFO] [stdout] --> src/mft/stream.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | FSCTL_GET_RETRIEVAL_POINTERS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:232:51 [INFO] [stdout] | [INFO] [stdout] 232 | &mut current_starting_vcn as *mut LONGLONG as *mut c_void, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:233:32 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 233 | mem::size_of::().try_into().unwrap(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/mft/stream.rs:249:47 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 249 | returned_buffer[0..mem::size_of::()] [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LUID` in this scope [INFO] [stdout] --> src/privileges.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | fn lookup_priv_id(name: &'static str) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:254:59 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 254 | returned_buffer = &returned_buffer[mem::size_of::()..]; [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] --> src/privileges.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let success = unsafe { LookupPrivilegeValueA(ptr::null(), priv_name.as_ptr(), &mut priv_id) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:258:46 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 258 | returned_buffer[..mem::size_of::()] [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] --> src/privileges.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let my_process = unsafe { GetCurrentProcess() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:262:59 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 262 | returned_buffer = &returned_buffer[mem::size_of::()..]; [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] --> src/privileges.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { OpenProcessToken(my_process, winnt::TOKEN_ADJUST_PRIVILEGES, &mut token) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:270:50 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 270 | returned_buffer[..mem::size_of::()] [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] --> src/privileges.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | AdjustTokenPrivileges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:274:63 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 274 | returned_buffer = &returned_buffer[mem::size_of::()..]; [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/privileges.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:277:50 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 277 | returned_buffer[..mem::size_of::()] [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] --> src/privileges.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | AdjustTokenPrivileges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LONGLONG` in this scope [INFO] [stdout] --> src/mft/stream.rs:281:63 [INFO] [stdout] | [INFO] [stdout] 218 | fn load_file_extents(handle: &SafeHandle) -> Result, Error> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 281 | returned_buffer = &returned_buffer[mem::size_of::()..]; [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/privileges.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | mem::size_of::() + mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_EXTENDED_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | mem::size_of::() + mem::size_of::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:558:14 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_ntfs_volume_data( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 557 | handle: &SafeHandle, [INFO] [stdout] 558 | ) -> Result<(NTFS_VOLUME_DATA_BUFFER, NTFS_EXTENDED_VOLUME_DATA), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_EXTENDED_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:558:39 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_ntfs_volume_data( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 557 | handle: &SafeHandle, [INFO] [stdout] 558 | ) -> Result<(NTFS_VOLUME_DATA_BUFFER, NTFS_EXTENDED_VOLUME_DATA), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeviceIoControl` in this scope [INFO] [stdout] --> src/mft/mod.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | DeviceIoControl( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FSCTL_GET_NTFS_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:565:13 [INFO] [stdout] | [INFO] [stdout] 565 | FSCTL_GET_NTFS_VOLUME_DATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:586:37 [INFO] [stdout] | [INFO] [stdout] 556 | fn get_ntfs_volume_data( [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 586 | buf.split_at(mem::size_of::() / 8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_VOLUME_DATA_BUFFER` in this scope [INFO] [stdout] --> src/mft/mod.rs:588:74 [INFO] [stdout] | [INFO] [stdout] 588 | let volume_data_buffer = volume_data_buffer_bytes.as_ptr() as *const NTFS_VOLUME_DATA_BUFFER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTFS_EXTENDED_VOLUME_DATA` in this scope [INFO] [stdout] --> src/mft/mod.rs:590:55 [INFO] [stdout] | [INFO] [stdout] 590 | extended_volume_data_bytes.as_ptr() as *const NTFS_EXTENDED_VOLUME_DATA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFileW` in this scope [INFO] [stdout] --> src/mft/mod.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | CreateFileW( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/mft/mod.rs:617:13 [INFO] [stdout] | [INFO] [stdout] 617 | FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/mft/mod.rs:617:32 [INFO] [stdout] | [INFO] [stdout] 617 | FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFile2` in this scope [INFO] [stdout] --> src/volumes.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | CreateFile2( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_DELETE` in this scope [INFO] [stdout] --> src/mft/mod.rs:617:50 [INFO] [stdout] | [INFO] [stdout] 617 | FILE_SHARE_WRITE | FILE_SHARE_READ | FILE_SHARE_DELETE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/mft/mod.rs:619:13 [INFO] [stdout] | [INFO] [stdout] 619 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/volumes.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_FLAG_BACKUP_SEMANTICS` in this scope [INFO] [stdout] --> src/mft/mod.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | FILE_FLAG_BACKUP_SEMANTICS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/mft/mod.rs:625:18 [INFO] [stdout] | [INFO] [stdout] 625 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/volumes.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | FILE_SHARE_WRITE | FILE_SHARE_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/volumes.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | FILE_SHARE_WRITE | FILE_SHARE_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LUID` in this scope [INFO] [stdout] --> src/privileges.rs:16:49 [INFO] [stdout] | [INFO] [stdout] 16 | fn lookup_priv_id(name: &'static str) -> Result { [INFO] [stdout] | - ^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LookupPrivilegeValueA` in this scope [INFO] [stdout] --> src/privileges.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let success = unsafe { LookupPrivilegeValueA(ptr::null(), priv_name.as_ptr(), &mut priv_id) }; [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] --> src/privileges.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | let my_process = unsafe { GetCurrentProcess() }; [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] --> src/privileges.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe { OpenProcessToken(my_process, winnt::TOKEN_ADJUST_PRIVILEGES, &mut token) }; [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] --> src/privileges.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | AdjustTokenPrivileges( [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/privileges.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | FALSE, [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] --> src/privileges.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | AdjustTokenPrivileges( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/volumes.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | OPEN_EXISTING, [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/privileges.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/volumes.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateFile2` in this scope [INFO] [stdout] --> src/volumes.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | CreateFile2( [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/volumes.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | iter_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GENERIC_READ` in this scope [INFO] [stdout] --> src/volumes.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | GENERIC_READ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindFirstVolumeW` in this scope [INFO] [stdout] --> src/volumes.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { FindFirstVolumeW(buffer.as_mut_ptr(), buffer.len().try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/volumes.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | FILE_SHARE_WRITE | FILE_SHARE_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/volumes.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/volumes.rs:42:36 [INFO] [stdout] | [INFO] [stdout] 42 | FILE_SHARE_WRITE | FILE_SHARE_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetVolumePathNamesForVolumeNameW` in this scope [INFO] [stdout] --> src/volumes.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | GetVolumePathNamesForVolumeNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `OPEN_EXISTING` in this scope [INFO] [stdout] --> src/volumes.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | OPEN_EXISTING, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindNextVolumeW` in this scope [INFO] [stdout] --> src/volumes.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | FindNextVolumeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/volumes.rs:48:22 [INFO] [stdout] | [INFO] [stdout] 48 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindVolumeClose` in this scope [INFO] [stdout] --> src/volumes.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { FindVolumeClose(self.iter_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/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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/volumes.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | iter_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/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | type Target = HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindFirstVolumeW` in this scope [INFO] [stdout] --> src/volumes.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { FindFirstVolumeW(buffer.as_mut_ptr(), buffer.len().try_into().unwrap()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/volumes.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | if handle != INVALID_HANDLE_VALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetVolumePathNamesForVolumeNameW` in this scope [INFO] [stdout] --> src/volumes.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | GetVolumePathNamesForVolumeNameW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindNextVolumeW` in this scope [INFO] [stdout] --> src/volumes.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | FindNextVolumeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `FindVolumeClose` in this scope [INFO] [stdout] --> src/volumes.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { FindVolumeClose(self.iter_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/main.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | 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/main.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | type Target = HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/main.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | unsafe { CloseHandle(self.handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/mft/mod.rs:608:49 [INFO] [stdout] | [INFO] [stdout] 608 | let mut filename = filename.as_os_str().encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/mft/mod.rs:674:15 [INFO] [stdout] | [INFO] [stdout] 674 | OsString::from_wide(&filename[..]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/mft/mod.rs:608:49 [INFO] [stdout] | [INFO] [stdout] 608 | let mut filename = filename.as_os_str().encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/mft/mod.rs:674:15 [INFO] [stdout] | [INFO] [stdout] 674 | OsString::from_wide(&filename[..]) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/volumes.rs:31:54 [INFO] [stdout] | [INFO] [stdout] 31 | let mut filename = self.name.as_os_str().encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/volumes.rs:31:54 [INFO] [stdout] | [INFO] [stdout] 31 | let mut filename = self.name.as_os_str().encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/volumes.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | string_list.push(OsString::from_wide(data)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/volumes.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | let mut name = name.as_os_str().encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/volumes.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(OsString::from_wide(&buf[0..null_terminator_offset])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [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/volumes.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | string_list.push(OsString::from_wide(data)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/volumes.rs:103:45 [INFO] [stdout] | [INFO] [stdout] 103 | let mut name = name.as_os_str().encode_wide().collect::>(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors [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] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/volumes.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(OsString::from_wide(&buf[0..null_terminator_offset])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 92 previous errors [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 `koakuma` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f856928a8ca4a2a3d8ba6c02fc117667077c2064419460d4839d85db99858b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f856928a8ca4a2a3d8ba6c02fc117667077c2064419460d4839d85db99858b83", kill_on_drop: false }` [INFO] [stdout] f856928a8ca4a2a3d8ba6c02fc117667077c2064419460d4839d85db99858b83