[INFO] cloning repository https://github.com/tensor-programming/st_alloc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tensor-programming/st_alloc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 849679a83e5d2efd038a85351cba31f839f5a1ac [INFO] checking tensor-programming/st_alloc against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftensor-programming%2Fst_alloc" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tensor-programming/st_alloc 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/tensor-programming/st_alloc [INFO] finished tweaking git repo https://github.com/tensor-programming/st_alloc [INFO] tweaked toml for git repo https://github.com/tensor-programming/st_alloc written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/tensor-programming/st_alloc 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded sysconf v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 0896f8aea25ab4096bff65d1ff0c7f59346d81d6115213727693194783e702c1 [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" "0896f8aea25ab4096bff65d1ff0c7f59346d81d6115213727693194783e702c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0896f8aea25ab4096bff65d1ff0c7f59346d81d6115213727693194783e702c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0896f8aea25ab4096bff65d1ff0c7f59346d81d6115213727693194783e702c1", kill_on_drop: false }` [INFO] [stdout] 0896f8aea25ab4096bff65d1ff0c7f59346d81d6115213727693194783e702c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] [stdout] 3d05c8ae7375a235658b5b48953adb96b13b58f189421bd31aa8f3a44897cc5e [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" "3d05c8ae7375a235658b5b48953adb96b13b58f189421bd31aa8f3a44897cc5e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking errno v0.2.7 [INFO] [stderr] Checking sysconf v0.3.4 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking allocator v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.8.3 [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/allocator.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | use winapi::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/allocator.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | use winapi::um::winnt::MEM_RELEASE; [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/allocator.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualFree}; [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/allocator.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | 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/allocator.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualProtect}; [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/allocator.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 316 | use winapi::um::{memoryapi::VirtualAlloc, winnt::MEM_COMMIT}; [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/allocator.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | use winapi::um::{errhandlingapi::GetLastError, memoryapi::VirtualFree, winnt::MEM_DECOMMIT}; [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/allocator.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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/allocator.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | um::{errhandlingapi::GetLastError, memoryapi::VirtualProtect}, [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/allocator.rs:382:21 [INFO] [stdout] | [INFO] [stdout] 382 | use winapi::um::memoryapi::VirtualQuery; [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/secure/alloc.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shared::{ [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/secure/alloc.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | um::memoryapi::{VirtualLock, VirtualProtect, VirtualUnlock}, [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/secure/prot.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub use winapi::shared::minwindef::DWORD as Ty; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/permissions.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::winnt; [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/allocator.rs:387:38 [INFO] [stdout] | [INFO] [stdout] 387 | let mut meminfo: winapi::um::winnt::MEMORY_BASIC_INFORMATION = [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/allocator.rs:389:51 [INFO] [stdout] | [INFO] [stdout] 389 | let mbi_size = mem::size_of::(); [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/secure/alloc.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | winapi::um::sysinfoapi::GetSystemInfo(si.as_mut_ptr()); [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/secure/prot.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | pub const NoAccess: Ty = winapi::um::winnt::PAGE_NOACCESS; [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/secure/prot.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ReadOnly: Ty = winapi::um::winnt::PAGE_READONLY; [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/secure/prot.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ReadWrite: Ty = winapi::um::winnt::PAGE_READWRITE; [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/secure/prot.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | pub const WriteCopy: Ty = winapi::um::winnt::PAGE_WRITECOPY; [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/secure/prot.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub const Execute: Ty = winapi::um::winnt::PAGE_EXECUTE; [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/secure/prot.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ReadExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READ; [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/secure/prot.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ReadWriteExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READWRITE; [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/secure/prot.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WriteCopyExec: Ty = winapi::um::winnt::PAGE_EXECUTE_WRITECOPY; [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/secure/prot.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | pub const Guard: Ty = winapi::um::winnt::PAGE_GUARD; [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/secure/prot.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | pub const NoCache: Ty = winapi::um::winnt::PAGE_NOCACHE; [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/secure/prot.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub const WriteCombine: Ty = winapi::um::winnt::PAGE_WRITECOMBINE; [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/secure/prot.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | pub const RevertToFileMap: Ty = winapi::um::winnt::PAGE_REVERT_TO_FILE_MAP; [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/secure/prot.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TargetsInvalid: Ty = winapi::um::winnt::PAGE_TARGETS_INVALID; [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/secure/prot.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | pub const TargetsNoUpdate: Ty = winapi::um::winnt::PAGE_TARGETS_NO_UPDATE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> src/allocator.rs:171:19 [INFO] [stdout] | [INFO] [stdout] 171 | let typ = MEM_RESERVE | if commit { MEM_COMMIT } else { 0 }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/allocator.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | let typ = MEM_RESERVE | if commit { MEM_COMMIT } 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 `VirtualAlloc` in this scope [INFO] [stdout] --> src/allocator.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | let ptr = VirtualAlloc(ptr::null_mut(), size as usize, typ, perms) as *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/allocator.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let ret = VirtualFree(ptr as *mut _, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> src/allocator.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | let ret = VirtualFree(ptr as *mut _, 0, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/allocator.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | GetLastError() [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/allocator.rs:200:28 [INFO] [stdout] | [INFO] [stdout] 200 | let mut _old_perm: 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 `VirtualProtect` in this scope [INFO] [stdout] --> src/allocator.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let ret = VirtualProtect(ptr as *mut _, size as usize, perm, &mut _old_perm as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/allocator.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAlloc` in this scope [INFO] [stdout] --> src/allocator.rs:318:15 [INFO] [stdout] | [INFO] [stdout] 318 | let ret = VirtualAlloc(ptr as *mut _, size as usize, MEM_COMMIT, perms); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> src/allocator.rs:318:58 [INFO] [stdout] | [INFO] [stdout] 318 | let ret = VirtualAlloc(ptr as *mut _, size as usize, MEM_COMMIT, perms); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFree` in this scope [INFO] [stdout] --> src/allocator.rs:325:15 [INFO] [stdout] | [INFO] [stdout] 325 | let ret = VirtualFree(ptr as *mut _, size as usize, MEM_DECOMMIT); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_DECOMMIT` in this scope [INFO] [stdout] --> src/allocator.rs:325:57 [INFO] [stdout] | [INFO] [stdout] 325 | let ret = VirtualFree(ptr as *mut _, size as usize, MEM_DECOMMIT); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/allocator.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | GetLastError() [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/allocator.rs:342:24 [INFO] [stdout] | [INFO] [stdout] 342 | let mut _old_perm: 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 `VirtualProtect` in this scope [INFO] [stdout] --> src/allocator.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 347 | let ret = VirtualProtect(ptr as *mut _, size as usize, perm, &mut _old_perm as *mut _); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/allocator.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | GetLastError() [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualQuery` in this scope [INFO] [stdout] --> src/allocator.rs:391:23 [INFO] [stdout] | [INFO] [stdout] 391 | let ret = VirtualQuery(ptr as *mut _, &mut meminfo as *mut _, mbi_size 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 `VirtualLock` in this scope [INFO] [stdout] --> src/secure/alloc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | VirtualLock(addr as LPVOID, len as usize) != 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] --> src/secure/alloc.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | VirtualLock(addr as LPVOID, len as usize) != 0 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualUnlock` in this scope [INFO] [stdout] --> src/secure/alloc.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | VirtualUnlock(addr as LPVOID, len as usize) != 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] --> src/secure/alloc.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | VirtualUnlock(addr as LPVOID, len as usize) != 0 [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in module `prot` [INFO] [stdout] --> src/secure/alloc.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | pub unsafe fn mprotect(memptr: NonNull, prot: prot::Ty) -> bool { [INFO] [stdout] | ^^ not found in `prot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in module `prot` [INFO] [stdout] --> src/secure/alloc.rs:109:63 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn _mprotect(ptr: *mut u8, len: usize, prot: prot::Ty) -> bool { [INFO] [stdout] | ^^ not found in `prot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/secure/alloc.rs:110:38 [INFO] [stdout] | [INFO] [stdout] 109 | pub unsafe fn _mprotect(ptr: *mut u8, len: usize, prot: prot::Ty) -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 110 | let mut old = mem::MaybeUninit::::uninit(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/secure/alloc.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | VirtualProtect( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/secure/alloc.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | 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] --> src/secure/alloc.rs:114:16 [INFO] [stdout] | [INFO] [stdout] 114 | len 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] --> src/secure/alloc.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | prot as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub const NoAccess: Ty = winapi::um::winnt::PAGE_NOACCESS; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub const ReadOnly: Ty = winapi::um::winnt::PAGE_READONLY; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub const ReadWrite: Ty = winapi::um::winnt::PAGE_READWRITE; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub const WriteCopy: Ty = winapi::um::winnt::PAGE_WRITECOPY; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub const Execute: Ty = winapi::um::winnt::PAGE_EXECUTE; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ReadExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READ; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | pub const ReadWriteExec: Ty = winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub const WriteCopyExec: Ty = winapi::um::winnt::PAGE_EXECUTE_WRITECOPY; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub const Guard: Ty = winapi::um::winnt::PAGE_GUARD; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | pub const NoCache: Ty = winapi::um::winnt::PAGE_NOCACHE; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub const WriteCombine: Ty = winapi::um::winnt::PAGE_WRITECOMBINE; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub const RevertToFileMap: Ty = winapi::um::winnt::PAGE_REVERT_TO_FILE_MAP; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub const TargetsInvalid: Ty = winapi::um::winnt::PAGE_TARGETS_INVALID; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ty` in this scope [INFO] [stdout] --> src/secure/prot.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub const TargetsNoUpdate: Ty = winapi::um::winnt::PAGE_TARGETS_NO_UPDATE; [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::Allocs` [INFO] [stdout] --> src/allocator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::traits::Allocs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 74 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `allocator` [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" "3d05c8ae7375a235658b5b48953adb96b13b58f189421bd31aa8f3a44897cc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d05c8ae7375a235658b5b48953adb96b13b58f189421bd31aa8f3a44897cc5e", kill_on_drop: false }` [INFO] [stdout] 3d05c8ae7375a235658b5b48953adb96b13b58f189421bd31aa8f3a44897cc5e