[INFO] cloning repository https://github.com/lcdr/raknet_shim_dll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcdr/raknet_shim_dll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9c375fd47ae481577123f8a8f65fe250475ad97 [INFO] checking lcdr/raknet_shim_dll against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcdr/raknet_shim_dll on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-12/source/.cargo/config [INFO] started tweaking git repo https://github.com/lcdr/raknet_shim_dll [INFO] finished tweaking git repo https://github.com/lcdr/raknet_shim_dll [INFO] tweaked toml for git repo https://github.com/lcdr/raknet_shim_dll written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/lcdr/raknet_shim_dll 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 641bd1fb07fe6f2e0462d659a425c3ccd6603541f75174824852eea00486066a [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" "641bd1fb07fe6f2e0462d659a425c3ccd6603541f75174824852eea00486066a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641bd1fb07fe6f2e0462d659a425c3ccd6603541f75174824852eea00486066a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641bd1fb07fe6f2e0462d659a425c3ccd6603541f75174824852eea00486066a", kill_on_drop: false }` [INFO] [stdout] 641bd1fb07fe6f2e0462d659a425c3ccd6603541f75174824852eea00486066a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 5c0f93472e34f3d7a8057b53be580e326aca6960b5e3e08574b2408487a74011 [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" "5c0f93472e34f3d7a8057b53be580e326aca6960b5e3e08574b2408487a74011", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Checking endio v0.1.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Checking webpki v0.18.1 [INFO] [stderr] Checking sct v0.4.0 [INFO] [stderr] Checking webpki-roots v0.15.0 [INFO] [stderr] Checking rustls v0.14.0 [INFO] [stderr] Checking mod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/detour.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{BYTE, DWORD, LPVOID}; [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/detour.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::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/detour.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use 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 `shared` in `winapi` [INFO] [stdout] --> src/raknet.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE}, [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/lib.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | um::libloaderapi::GetModuleHandleA [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/detour.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{BYTE, DWORD, LPVOID}; [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/detour.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::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/detour.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use 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 `shared` in `winapi` [INFO] [stdout] --> src/raknet.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::shared::minwindef::LPVOID; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 12 | shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, TRUE}, [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/lib.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | um::libloaderapi::GetModuleHandleA [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/detour.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/detour.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE; [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/detour.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn detour(old: usize, new: LPVOID) { [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/detour.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let old = (old + BASE) as LPVOID; [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/detour.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let jmp_distance: DWORD = new as DWORD - old as DWORD - 5; [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/detour.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let jmp_distance: DWORD = new as DWORD - old as DWORD - 5; [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/detour.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let jmp_distance: DWORD = new as DWORD - old as DWORD - 5; [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/detour.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/detour.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/detour.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | *(old as *mut BYTE) = JMP_OPCODE; [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/detour.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | *(((old as usize)+1) as *mut DWORD) = jmp_distance; [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/detour.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | VirtualProtect(old, 5, OLD_PROTECT, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/detour.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn patch_byte(dst: usize, new: BYTE) { [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/detour.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let dst = (dst + BASE) as LPVOID; [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/detour.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/detour.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/detour.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | *(dst as *mut BYTE) = new; [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/detour.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | VirtualProtect(dst, 1, OLD_PROTECT, &mut OLD_PROTECT); [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/raknet.rs:156:55 [INFO] [stdout] | [INFO] [stdout] 156 | detour(RAK_CLOSE_CONNECTION, new_close_connection as LPVOID); [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/raknet.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | detour(RAK_CONNECT, new_connect as LPVOID); [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/raknet.rs:158:57 [INFO] [stdout] | [INFO] [stdout] 158 | detour(RAK_DEALLOCATE_PACKET, new_deallocate_packet as LPVOID); [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/raknet.rs:159:55 [INFO] [stdout] | [INFO] [stdout] 159 | detour(RAK_GET_AVERAGE_PING, new_get_average_ping as LPVOID); [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/raknet.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | detour(RAK_GET_LAST_PING, new_get_last_ping as LPVOID); [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/raknet.rs:161:37 [INFO] [stdout] | [INFO] [stdout] 161 | detour(RAK_RECEIVE, new_receive as LPVOID); [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/raknet.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | detour(RAK_SEND, new_send as LPVOID); [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/raknet.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | detour(RAK_SHUTDOWN, new_shutdown as LPVOID); [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/raknet.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 164 | detour(RAK_STARTUP, new_startup as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | dll_module: HINSTANCE, [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/lib.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | call_reason: DWORD, [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/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | reserved: LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | -> BOOL { [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/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | const DLL_PROCESS_ATTACH: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | _ => TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn init() -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { BASE = GetModuleHandleA(std::ptr::null()) as usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(abi_thiscall)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/detour.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/detour.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | static mut OLD_PROTECT: DWORD = PAGE_EXECUTE_READWRITE; [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/detour.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn detour(old: usize, new: LPVOID) { [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/detour.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | let old = (old + BASE) as LPVOID; [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/detour.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let jmp_distance: DWORD = new as DWORD - old as DWORD - 5; [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/detour.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let jmp_distance: DWORD = new as DWORD - old as DWORD - 5; [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/detour.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | let jmp_distance: DWORD = new as DWORD - old as DWORD - 5; [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/detour.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/detour.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | VirtualProtect(old, 5, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/detour.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | *(old as *mut BYTE) = JMP_OPCODE; [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/detour.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | *(((old as usize)+1) as *mut DWORD) = jmp_distance; [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/detour.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | VirtualProtect(old, 5, OLD_PROTECT, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/detour.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn patch_byte(dst: usize, new: BYTE) { [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/detour.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | let dst = (dst + BASE) as LPVOID; [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/detour.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/detour.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | VirtualProtect(dst, 1, PAGE_EXECUTE_READWRITE, &mut OLD_PROTECT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BYTE` in this scope [INFO] [stdout] --> src/detour.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | *(dst as *mut BYTE) = new; [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/detour.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | VirtualProtect(dst, 1, OLD_PROTECT, &mut OLD_PROTECT); [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/raknet.rs:156:55 [INFO] [stdout] | [INFO] [stdout] 156 | detour(RAK_CLOSE_CONNECTION, new_close_connection as LPVOID); [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/raknet.rs:157:37 [INFO] [stdout] | [INFO] [stdout] 157 | detour(RAK_CONNECT, new_connect as LPVOID); [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/raknet.rs:158:57 [INFO] [stdout] | [INFO] [stdout] 158 | detour(RAK_DEALLOCATE_PACKET, new_deallocate_packet as LPVOID); [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/raknet.rs:159:55 [INFO] [stdout] | [INFO] [stdout] 159 | detour(RAK_GET_AVERAGE_PING, new_get_average_ping as LPVOID); [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/raknet.rs:160:49 [INFO] [stdout] | [INFO] [stdout] 160 | detour(RAK_GET_LAST_PING, new_get_last_ping as LPVOID); [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/raknet.rs:161:37 [INFO] [stdout] | [INFO] [stdout] 161 | detour(RAK_RECEIVE, new_receive as LPVOID); [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/raknet.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | detour(RAK_SEND, new_send as LPVOID); [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/raknet.rs:163:39 [INFO] [stdout] | [INFO] [stdout] 163 | detour(RAK_SHUTDOWN, new_shutdown as LPVOID); [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/raknet.rs:164:37 [INFO] [stdout] | [INFO] [stdout] 164 | detour(RAK_STARTUP, new_startup as LPVOID); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | dll_module: HINSTANCE, [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/lib.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | call_reason: DWORD, [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/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | reserved: LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | -> BOOL { [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/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | const DLL_PROCESS_ATTACH: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | _ => TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | fn init() -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { BASE = GetModuleHandleA(std::ptr::null()) as usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:34:2 [INFO] [stdout] | [INFO] [stdout] 34 | TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(abi_thiscall)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mod` [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] [stdout] error: aborting due to 43 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5c0f93472e34f3d7a8057b53be580e326aca6960b5e3e08574b2408487a74011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c0f93472e34f3d7a8057b53be580e326aca6960b5e3e08574b2408487a74011", kill_on_drop: false }` [INFO] [stdout] 5c0f93472e34f3d7a8057b53be580e326aca6960b5e3e08574b2408487a74011