[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d08e360bd00d363bf1cfbaa5d7f0e942d71b7c4d [INFO] testing lcdr/raknet_shim_dll against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fraknet_shim_dll" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcdr/raknet_shim_dll on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-8/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-8/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9c15ea884633e8fd999f452d52788a00a0d67f7d0237e3b1b84728258e2ade51 [INFO] running `Command { std: "docker" "start" "-a" "9c15ea884633e8fd999f452d52788a00a0d67f7d0237e3b1b84728258e2ade51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c15ea884633e8fd999f452d52788a00a0d67f7d0237e3b1b84728258e2ade51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c15ea884633e8fd999f452d52788a00a0d67f7d0237e3b1b84728258e2ade51", kill_on_drop: false }` [INFO] [stdout] 9c15ea884633e8fd999f452d52788a00a0d67f7d0237e3b1b84728258e2ade51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3d7cdf42250db41089480510b21d8990922c87e7d8bb6cbba2168cb622c0972 [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" "c3d7cdf42250db41089480510b21d8990922c87e7d8bb6cbba2168cb622c0972", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.6 [INFO] [stderr] Compiling endio v0.1.0 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling webpki v0.18.1 [INFO] [stderr] Compiling sct v0.4.0 [INFO] [stderr] Compiling rustls v0.14.0 [INFO] [stderr] Compiling webpki-roots v0.15.0 [INFO] [stderr] Compiling 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[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 stable 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] running `Command { std: "docker" "inspect" "c3d7cdf42250db41089480510b21d8990922c87e7d8bb6cbba2168cb622c0972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3d7cdf42250db41089480510b21d8990922c87e7d8bb6cbba2168cb622c0972", kill_on_drop: false }` [INFO] [stdout] c3d7cdf42250db41089480510b21d8990922c87e7d8bb6cbba2168cb622c0972