[INFO] cloning repository https://github.com/jeremyBanks/war2hook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremyBanks/war2hook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjeremyBanks%2Fwar2hook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjeremyBanks%2Fwar2hook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e97caf60d0dab4dea5a66a53672f7c0fb27b7bc8 [INFO] checking jeremyBanks/war2hook against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjeremyBanks%2Fwar2hook" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/jeremyBanks/war2hook [INFO] finished tweaking git repo https://github.com/jeremyBanks/war2hook [INFO] tweaked toml for git repo https://github.com/jeremyBanks/war2hook written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeremyBanks/war2hook on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeremyBanks/war2hook already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking jeremyBanks/war2hook against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjeremyBanks%2Fwar2hook" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/jeremyBanks/war2hook [INFO] finished tweaking git repo https://github.com/jeremyBanks/war2hook [INFO] tweaked toml for git repo https://github.com/jeremyBanks/war2hook written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jeremyBanks/war2hook on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jeremyBanks/war2hook already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.91 [INFO] [stderr] Downloaded typewit_proc_macros v1.8.1 [INFO] [stderr] Downloaded stopwatch2 v2.0.0 [INFO] [stderr] Downloaded cstr v0.2.12 [INFO] [stderr] Downloaded konst_kernel v0.3.10 [INFO] [stderr] Downloaded typewit v1.9.0 [INFO] [stderr] Downloaded dll-syringe v0.15.2 [INFO] [stderr] Downloaded konst v0.3.11 [INFO] [stderr] Downloaded goblin v0.6.1 [INFO] [stderr] Downloaded iced-x86 v1.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256b6ae5b14ac6d76a8554f46336e6db7fc5b956702cda92fc4f9c99add36315 [INFO] running `Command { std: "docker" "start" "-a" "256b6ae5b14ac6d76a8554f46336e6db7fc5b956702cda92fc4f9c99add36315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256b6ae5b14ac6d76a8554f46336e6db7fc5b956702cda92fc4f9c99add36315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256b6ae5b14ac6d76a8554f46336e6db7fc5b956702cda92fc4f9c99add36315", kill_on_drop: false }` [INFO] [stdout] 256b6ae5b14ac6d76a8554f46336e6db7fc5b956702cda92fc4f9c99add36315 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74d9b8197392063c09ffb2d6f503ef41439abdaea25990d2e4a4f2002f2b7de2 [INFO] running `Command { std: "docker" "start" "-a" "74d9b8197392063c09ffb2d6f503ef41439abdaea25990d2e4a4f2002f2b7de2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.91 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking iced-x86 v1.21.0 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Checking path-dedot v3.1.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking const_panic v0.2.10 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking path-absolutize v3.1.1 [INFO] [stderr] Checking widestring v1.1.0 [INFO] [stderr] Checking typewit v1.9.0 [INFO] [stderr] Checking stopwatch2 v2.0.0 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking konst_kernel v0.3.10 [INFO] [stderr] Checking konst v0.3.11 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling cstr v0.2.12 [INFO] [stderr] Checking sysinfo v0.29.11 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling shrinkwraprs v0.3.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling scroll_derive v0.11.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking scroll v0.11.0 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking goblin v0.6.1 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking war2injection v0.0.0 (/opt/rustwide/workdir/injection) [INFO] [stderr] Checking dll-syringe v0.15.2 [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> injection/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | windows::Win32::System::Memory::{VirtualProtect, PAGE_PROTECTION_FLAGS, PAGE_READWRITE}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> injection/lib.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | windows::Win32::System::Memory::{VirtualProtect, PAGE_PROTECTION_FLAGS, PAGE_READWRITE}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> injection/dllmain.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | windows::Win32::{Foundation::HINSTANCE, System::SystemServices::DLL_PROCESS_ATTACH}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> injection/dllmain.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | windows::Win32::{Foundation::HINSTANCE, System::SystemServices::DLL_PROCESS_ATTACH}, [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Mutex`, `Ordering`, `ffi::CString`, `self`, and `time::Instant` [INFO] [stdout] --> injection/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ffi::CString, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | atomic::{self, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 17 | Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | }, [INFO] [stdout] 19 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Mutex`, `Ordering`, `ffi::CString`, `self`, and `time::Instant` [INFO] [stdout] --> injection/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | ffi::CString, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | atomic::{self, AtomicU64, Ordering}, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 17 | Mutex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | }, [INFO] [stdout] 19 | time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnwindSafe`, `catch_unwind`, and `process::exit` [INFO] [stdout] --> injection/dllmain.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | panic::{catch_unwind, UnwindSafe}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | process::exit, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Ordering`, and `logln` [INFO] [stdout] --> injection/hooks.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | logln, wcprintln, wcstatus, GAME_STATE, PLAYERS_GOLD, PLAYERS_LUMBER, PLAYERS_OIL, RACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | atomic::{AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnwindSafe`, `catch_unwind`, and `process::exit` [INFO] [stdout] --> injection/dllmain.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | panic::{catch_unwind, UnwindSafe}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | process::exit, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `wcprintln` and `wcstatus` [INFO] [stdout] --> injection/logging.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub use crate::{logln, wcprintln, wcstatus}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicU64`, `Ordering`, and `logln` [INFO] [stdout] --> injection/hooks.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | logln, wcprintln, wcstatus, GAME_STATE, PLAYERS_GOLD, PLAYERS_LUMBER, PLAYERS_OIL, RACE, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | atomic::{AtomicU64, Ordering}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `wcprintln` and `wcstatus` [INFO] [stdout] --> injection/logging.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub use crate::{logln, wcprintln, wcstatus}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/war2types.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub DISPLAY_MESSAGE: extern fn(message: *const i8, playerNumber: u8, duration: u32) = 0x4_2CA40; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/war2types.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub DISPLAY_MESSAGE: extern fn(message: *const i8, playerNumber: u8, duration: u32) = 0x4_2CA40; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/war2types.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub IMG_UPDATE: extern fn() = 0x4_051D0; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/war2types.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | pub IMG_UPDATE: extern fn() = 0x4_051D0; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/war2types.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub GAME_EVENT_RESET: extern fn() = 0x4_203F0; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/war2types.rs:78:27 [INFO] [stdout] | [INFO] [stdout] 78 | pub GAME_EVENT_RESET: extern fn() = 0x4_203F0; [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | extern fn hook() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | extern fn hook() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | extern fn hook() -> GameState { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | extern fn hook() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | extern fn hook() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | extern fn hook() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | extern fn hook() -> GameState { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> injection/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | extern fn hook() { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / fn_by_address! { [INFO] [stdout] 67 | | /// Displays a message at the bottom of the game screen. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// `playerIndex` may be the number of a player in the game, which will [INFO] [stdout] ... | [INFO] [stdout] 78 | | pub GAME_EVENT_RESET: extern fn() = 0x4_203F0; [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `extern "C" fn(*const i8, u8, u32)` (64 bits) [INFO] [stdout] = note: this error originates in the macro `fn_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / fn_by_address! { [INFO] [stdout] 67 | | /// Displays a message at the bottom of the game screen. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// `playerIndex` may be the number of a player in the game, which will [INFO] [stdout] ... | [INFO] [stdout] 78 | | pub GAME_EVENT_RESET: extern fn() = 0x4_203F0; [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `extern "C" fn(*const i8, u8, u32)` (64 bits) [INFO] [stdout] = note: this error originates in the macro `fn_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / fn_by_address! { [INFO] [stdout] 67 | | /// Displays a message at the bottom of the game screen. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// `playerIndex` may be the number of a player in the game, which will [INFO] [stdout] ... | [INFO] [stdout] 78 | | pub GAME_EVENT_RESET: extern fn() = 0x4_203F0; [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `extern "C" fn()` (64 bits) [INFO] [stdout] = note: this error originates in the macro `fn_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut [u32; 16]` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / fn_by_address! { [INFO] [stdout] 67 | | /// Displays a message at the bottom of the game screen. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// `playerIndex` may be the number of a player in the game, which will [INFO] [stdout] ... | [INFO] [stdout] 78 | | pub GAME_EVENT_RESET: extern fn() = 0x4_203F0; [INFO] [stdout] 79 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `extern "C" fn()` (64 bits) [INFO] [stdout] = note: this error originates in the macro `fn_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut [u32; 16]` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut war2types::GameState` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut u32` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut Race` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut war2types::GameState` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut u32` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0512]: cannot transmute between types of different sizes, or dependently-sized types [INFO] [stdout] --> injection/war2types.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | ::core::mem::transmute($address) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / data_by_address! { [INFO] [stdout] 82 | | pub PLAYERS_GOLD: [u32; MAX_PLAYERS] = 0x4_ABB18; [INFO] [stdout] 83 | | pub PLAYERS_LUMBER: [u32; MAX_PLAYERS] = 0x4_ACB6C; [INFO] [stdout] 84 | | pub PLAYERS_OIL: [u32; MAX_PLAYERS] = 0x4_ABBFC; [INFO] [stdout] ... | [INFO] [stdout] 87 | | pub RACE: Race = 0x4_ABB7C; [INFO] [stdout] 88 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: source type: `i32` (32 bits) [INFO] [stdout] = note: target type: `*mut Race` (64 bits) [INFO] [stdout] = note: this error originates in the macro `data_by_address` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0512. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0512. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `war2injection` (lib test) due to 8 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `war2injection` (lib) due to 8 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74d9b8197392063c09ffb2d6f503ef41439abdaea25990d2e4a4f2002f2b7de2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d9b8197392063c09ffb2d6f503ef41439abdaea25990d2e4a4f2002f2b7de2", kill_on_drop: false }` [INFO] [stdout] 74d9b8197392063c09ffb2d6f503ef41439abdaea25990d2e4a4f2002f2b7de2