[INFO] cloning repository https://github.com/awkinley/multiverse-chess-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awkinley/multiverse-chess-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5312e9a7ca8b24fcdb385aed37de60a06874de1c [INFO] checking awkinley/multiverse-chess-reader against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawkinley%2Fmultiverse-chess-reader" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/awkinley/multiverse-chess-reader on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/awkinley/multiverse-chess-reader [INFO] finished tweaking git repo https://github.com/awkinley/multiverse-chess-reader [INFO] tweaked toml for git repo https://github.com/awkinley/multiverse-chess-reader written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/awkinley/multiverse-chess-reader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4814383a06aa1d751c70c5c1b068a47f8b605587bafe057423b4effa6e09ff9b [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" "4814383a06aa1d751c70c5c1b068a47f8b605587bafe057423b4effa6e09ff9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4814383a06aa1d751c70c5c1b068a47f8b605587bafe057423b4effa6e09ff9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4814383a06aa1d751c70c5c1b068a47f8b605587bafe057423b4effa6e09ff9b", kill_on_drop: false }` [INFO] [stdout] 4814383a06aa1d751c70c5c1b068a47f8b605587bafe057423b4effa6e09ff9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f6155f18cd694b5a73e762825efc76d73c7776b9410d9d964cb1874dd6eeae3 [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" "2f6155f18cd694b5a73e762825efc76d73c7776b9410d9d964cb1874dd6eeae3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking process-memory v0.4.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling derivative v2.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking multiverse-chess-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/game_data.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/game_data.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `White` [INFO] [stdout] --> src/notation.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/notation.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `col_to_string` [INFO] [stdout] --> src/notation.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn col_to_string(row: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_notation` [INFO] [stdout] --> src/notation.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn to_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nothing` [INFO] [stdout] --> src/game_data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Nothing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawn` [INFO] [stdout] --> src/game_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/game_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/game_data.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/game_data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Queen` [INFO] [stdout] --> src/game_data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `King` [INFO] [stdout] --> src/game_data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | King, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unicorn` [INFO] [stdout] --> src/game_data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Unicorn, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dragon` [INFO] [stdout] --> src/game_data.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Dragon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Brawn` [INFO] [stdout] --> src/game_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Brawn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourPointQueen` [INFO] [stdout] --> src/game_data.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FourPointQueen, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RoyalQueen` [INFO] [stdout] --> src/game_data.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RoyalQueen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CommongKing` [INFO] [stdout] --> src/game_data.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | CommongKing, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoOwner` [INFO] [stdout] --> src/game_data.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NoOwner, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `White` [INFO] [stdout] --> src/game_data.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/game_data.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub const BOARD_NUMBER: &str = "board number"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIMELINE_NUMBER` [INFO] [stdout] --> src/game_data.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub const TIMELINE_NUMBER: &str = "timeline number"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIME_POSITION` [INFO] [stdout] --> src/game_data.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub const TIME_POSITION: &str = "time position"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_START_ROW` [INFO] [stdout] --> src/game_data.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub const NEXT_MOVE_START_ROW: &str = "next move start row"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_START_COL` [INFO] [stdout] --> src/game_data.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub const NEXT_MOVE_START_COL: &str = "next move start col"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_ROW` [INFO] [stdout] --> src/game_data.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub const NEXT_MOVE_DEST_ROW: &str = "next move dest row"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_COL` [INFO] [stdout] --> src/game_data.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub const NEXT_MOVE_DEST_COL: &str = "next move dest col"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_UNIVERSE` [INFO] [stdout] --> src/game_data.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const NEXT_MOVE_DEST_UNIVERSE: &str = "next move dest universe"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_TIME` [INFO] [stdout] --> src/game_data.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub const NEXT_MOVE_DEST_TIME: &str = "next move dest time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub const NEXT_BOARD_NUMBER: &str = "board number of next board"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CREATED_BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub const CREATED_BOARD_NUMBER: &str = "board number of any new boards created by this boards move"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PREV_BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub const PREV_BOARD_NUMBER: &str = "board number of previous board"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PLAYER_TO_MOVE` [INFO] [stdout] --> src/game_data.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub const PLAYER_TO_MOVE: &str = "player to move"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_FIELDS` [INFO] [stdout] --> src/game_data.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / pub const BOARD_FIELDS: [Field; 24] = [Field {name: BOARD_NUMBER, offset: 0}, [INFO] [stdout] 73 | | Field {name: TIMELINE_NUMBER, offset: 4}, [INFO] [stdout] 74 | | Field {name: TIME_POSITION, offset: 8}, [INFO] [stdout] 75 | | Field {name: "board id", offset: 144}, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Field {name: "last move end col", offset: 224}, [INFO] [stdout] 96 | | ]; [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `White` [INFO] [stdout] --> src/notation.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/notation.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `col_to_string` [INFO] [stdout] --> src/notation.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn col_to_string(row: i32) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_notation` [INFO] [stdout] --> src/notation.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn to_notation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Nothing` [INFO] [stdout] --> src/game_data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Nothing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Pawn` [INFO] [stdout] --> src/game_data.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Knight` [INFO] [stdout] --> src/game_data.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Knight, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bishop` [INFO] [stdout] --> src/game_data.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Bishop, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Rook` [INFO] [stdout] --> src/game_data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | Rook, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Queen` [INFO] [stdout] --> src/game_data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | Queen, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `King` [INFO] [stdout] --> src/game_data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | King, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Unicorn` [INFO] [stdout] --> src/game_data.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Unicorn, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dragon` [INFO] [stdout] --> src/game_data.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Dragon, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Brawn` [INFO] [stdout] --> src/game_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Brawn, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FourPointQueen` [INFO] [stdout] --> src/game_data.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | FourPointQueen, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RoyalQueen` [INFO] [stdout] --> src/game_data.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | RoyalQueen, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CommongKing` [INFO] [stdout] --> src/game_data.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | CommongKing, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NoOwner` [INFO] [stdout] --> src/game_data.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | NoOwner, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `White` [INFO] [stdout] --> src/game_data.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Black` [INFO] [stdout] --> src/game_data.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | pub const BOARD_NUMBER: &str = "board number"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIMELINE_NUMBER` [INFO] [stdout] --> src/game_data.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | pub const TIMELINE_NUMBER: &str = "timeline number"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `TIME_POSITION` [INFO] [stdout] --> src/game_data.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub const TIME_POSITION: &str = "time position"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_START_ROW` [INFO] [stdout] --> src/game_data.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub const NEXT_MOVE_START_ROW: &str = "next move start row"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_START_COL` [INFO] [stdout] --> src/game_data.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | pub const NEXT_MOVE_START_COL: &str = "next move start col"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_ROW` [INFO] [stdout] --> src/game_data.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub const NEXT_MOVE_DEST_ROW: &str = "next move dest row"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_COL` [INFO] [stdout] --> src/game_data.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub const NEXT_MOVE_DEST_COL: &str = "next move dest col"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_UNIVERSE` [INFO] [stdout] --> src/game_data.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | pub const NEXT_MOVE_DEST_UNIVERSE: &str = "next move dest universe"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_MOVE_DEST_TIME` [INFO] [stdout] --> src/game_data.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | pub const NEXT_MOVE_DEST_TIME: &str = "next move dest time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NEXT_BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | pub const NEXT_BOARD_NUMBER: &str = "board number of next board"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CREATED_BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | pub const CREATED_BOARD_NUMBER: &str = "board number of any new boards created by this boards move"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PREV_BOARD_NUMBER` [INFO] [stdout] --> src/game_data.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub const PREV_BOARD_NUMBER: &str = "board number of previous board"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PLAYER_TO_MOVE` [INFO] [stdout] --> src/game_data.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 71 | pub const PLAYER_TO_MOVE: &str = "player to move"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BOARD_FIELDS` [INFO] [stdout] --> src/game_data.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / pub const BOARD_FIELDS: [Field; 24] = [Field {name: BOARD_NUMBER, offset: 0}, [INFO] [stdout] 73 | | Field {name: TIMELINE_NUMBER, offset: 4}, [INFO] [stdout] 74 | | Field {name: TIME_POSITION, offset: 8}, [INFO] [stdout] 75 | | Field {name: "board id", offset: 144}, [INFO] [stdout] ... | [INFO] [stdout] 95 | | Field {name: "last move end col", offset: 224}, [INFO] [stdout] 96 | | ]; [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 581 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | --------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 581 | fn main() -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use winapi::shared::minwindef::{LPDWORD, HMODULE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::LPDWORD`, `winapi::shared::minwindef::HMODULE`, `winapi::um::winnt::*`, `winapi::um::processthreadsapi::*`, `winapi::um::psapi::*`, `winapi::um::processthreadsapi::*`, `winapi::um::psapi::*` [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | use winapi::shared::minwindef::{LPDWORD, HMODULE}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 58 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use winapi::shared::minwindef::{LPDWORD, HMODULE}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::shared::minwindef::LPDWORD`, `winapi::shared::minwindef::HMODULE`, `winapi::um::winnt::*`, `winapi::um::processthreadsapi::*`, `winapi::um::psapi::*`, `winapi::um::processthreadsapi::*`, `winapi::um::psapi::*` [INFO] [stdout] --> src/main.rs:57:33 [INFO] [stdout] | [INFO] [stdout] 57 | use winapi::shared::minwindef::{LPDWORD, HMODULE}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 58 | use winapi::um::winnt::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 60 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | use winapi::um::processthreadsapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 192 | use winapi::um::psapi::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_offset(process_id: winapi::shared::minwindef::DWORD) -> std::result::Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_offset(process_id: winapi::shared::minwindef::DWORD) -> std::result::Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn alloc_and_write_memory(process_id: winapi::shared::minwindef::DWORD, num_bytes: usize, bytes: &Vec) -> std::result::Result<*mu... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn alloc_and_write_memory(process_id: winapi::shared::minwindef::DWORD, num_bytes: usize, bytes: &Vec) -> std::result::Result<*mu... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | ... let mem_ptr = winapi::um::memoryapi::VirtualAllocEx(hProcess, null_mut(), num_bytes, winapi::um::winnt::MEM_COMMIT, winapi::um::win... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | ... let mem_ptr = winapi::um::memoryapi::VirtualAllocEx(hProcess, null_mut(), num_bytes, winapi::um::winnt::MEM_COMMIT, winapi::um::win... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:136:98 [INFO] [stdout] | [INFO] [stdout] 136 | ...lAllocEx(hProcess, null_mut(), num_bytes, winapi::um::winnt::MEM_COMMIT, winapi::um::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:136:98 [INFO] [stdout] | [INFO] [stdout] 136 | ...lAllocEx(hProcess, null_mut(), num_bytes, winapi::um::winnt::MEM_COMMIT, winapi::um::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:136:129 [INFO] [stdout] | [INFO] [stdout] 136 | ...num_bytes, winapi::um::winnt::MEM_COMMIT, winapi::um::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:136:129 [INFO] [stdout] | [INFO] [stdout] 136 | ...num_bytes, winapi::um::winnt::MEM_COMMIT, winapi::um::winnt::PAGE_READWRITE); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | let mut bytes_written: winapi::shared::basetsd::SIZE_T = 0; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | ... let result = winapi::um::memoryapi::WriteProcessMemory(hProcess, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, buffer_si... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:153:115 [INFO] [stdout] | [INFO] [stdout] 153 | ...Process, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, buffer_size, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:154:100 [INFO] [stdout] | [INFO] [stdout] 154 | ... &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | ... let result = winapi::um::memoryapi::WriteProcessMemory(hProcess, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, bytes_lef... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:172:111 [INFO] [stdout] | [INFO] [stdout] 172 | ...Process, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, bytes_left, &mut bytes_written as *mut winapi::shared::basetsd::SIZE... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:172:174 [INFO] [stdout] | [INFO] [stdout] 172 | ...d, bytes_left, &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | let mut bytes_written: winapi::shared::basetsd::SIZE_T = 0; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | ... let result = winapi::um::memoryapi::WriteProcessMemory(hProcess, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, buffer_si... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:153:115 [INFO] [stdout] | [INFO] [stdout] 153 | ...Process, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, buffer_size, [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:154:100 [INFO] [stdout] | [INFO] [stdout] 154 | ... &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | ... let result = winapi::um::memoryapi::WriteProcessMemory(hProcess, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, bytes_lef... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:172:111 [INFO] [stdout] | [INFO] [stdout] 172 | ...Process, address, buffer.as_ptr() as *mut winapi::ctypes::c_void, bytes_left, &mut bytes_written as *mut winapi::shared::basetsd::SIZE... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:172:174 [INFO] [stdout] | [INFO] [stdout] 172 | ...d, bytes_left, &mut bytes_written as *mut winapi::shared::basetsd::SIZE_T); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn read_bytes(process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), starting_addresss: u64, length_bytes: u64)... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn write_bytes(process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), starting_addresss: u64, length_bytes: u64... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:322:63 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn read_boards(board_vec: Vec, process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), process_offset: usiz... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/main.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut hMod: HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let mut modules: [HMODULE; 1024] = [0 as HMODULE; 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | let mut modules: [HMODULE; 1024] = [0 as HMODULE; 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/main.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | modules.as_ptr() as *mut HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 73 | std::mem::size_of::() as u32 * 1024, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> src/main.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | GetModuleBaseNameW(hProcess, module, szProcessName.as_ptr() as *mut u16, 40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/main.rs:112:53 [INFO] [stdout] | [INFO] [stdout] 112 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut hMod: HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/main.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_offset(process_id: winapi::shared::minwindef::DWORD) -> std::result::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:131:140 [INFO] [stdout] | [INFO] [stdout] 131 | ...usize, bytes: &Vec) -> std::result::Result<*mut c_void, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 57 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 57 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | OpenProcess(PROCESS_ALL_ACCESS, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/main.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | OpenProcess(PROCESS_ALL_ACCESS, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:151:83 [INFO] [stdout] | [INFO] [stdout] 151 | let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 57 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 57 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:170:79 [INFO] [stdout] | [INFO] [stdout] 170 | let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 57 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 57 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, processID); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, processID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/main.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, processID); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let mut hMod: HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn read_bytes(process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), starting_addresss: u64, length_bytes: u64)... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:312:42 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn write_bytes(process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), starting_addresss: u64, length_bytes: u64... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:322:63 [INFO] [stdout] | [INFO] [stdout] 322 | pub fn read_boards(board_vec: Vec, process_handle: (*mut winapi::ctypes::c_void, process_memory::Architecture), process_offset: usiz... [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/main.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn print_process_name_and_id(processID: u32) -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> src/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | GetModuleBaseNameW(hProcess, hMod, szProcessName.as_ptr() as *mut u16, 40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_pid` in this scope [INFO] [stdout] --> src/main.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | let pid = get_pid("5dchesswithmultiversetimetravel.exe"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/main.rs:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:67:27 [INFO] [stdout] | [INFO] [stdout] 67 | let mut hMod: HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:68:31 [INFO] [stdout] | [INFO] [stdout] 68 | let mut modules: [HMODULE; 1024] = [0 as HMODULE; 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:68:54 [INFO] [stdout] | [INFO] [stdout] 68 | let mut modules: [HMODULE; 1024] = [0 as HMODULE; 1024]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/main.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:72:42 [INFO] [stdout] | [INFO] [stdout] 72 | modules.as_ptr() as *mut HMODULE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:73:37 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn list_modules(process_id: winapi::shared::minwindef::DWORD) -> std::io::Result<()> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 73 | std::mem::size_of::() as u32 * 1024, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> src/main.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | GetModuleBaseNameW(hProcess, module, szProcessName.as_ptr() as *mut u16, 40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/main.rs:112:53 [INFO] [stdout] | [INFO] [stdout] 112 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut hMod: HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/main.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_offset(process_id: winapi::shared::minwindef::DWORD) -> std::result::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:131:140 [INFO] [stdout] | [INFO] [stdout] 131 | ...usize, bytes: &Vec) -> std::result::Result<*mut c_void, String> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 57 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 57 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | OpenProcess(PROCESS_ALL_ACCESS, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope [INFO] [stdout] --> src/main.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | OpenProcess(PROCESS_ALL_ACCESS, 0, process_id); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:151:83 [INFO] [stdout] | [INFO] [stdout] 151 | let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 57 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 57 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/main.rs:170:79 [INFO] [stdout] | [INFO] [stdout] 170 | let address = (mem_ptr as u64 + bytes_written_sum as u64) as *mut c_void; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 57 | use core::ffi::c_void; [INFO] [stdout] | [INFO] [stdout] 57 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:199:23 [INFO] [stdout] | [INFO] [stdout] 199 | let hProcess: HANDLE = [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> src/main.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, processID); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> src/main.rs:200:25 [INFO] [stdout] | [INFO] [stdout] 200 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, processID); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> src/main.rs:200:53 [INFO] [stdout] | [INFO] [stdout] 200 | OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, processID); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:202:27 [INFO] [stdout] | [INFO] [stdout] 202 | let mut hMod: HMODULE = null_mut(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumProcessModules` in this scope [INFO] [stdout] --> src/main.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if EnumProcessModules( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> src/main.rs:207:37 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn print_process_name_and_id(processID: u32) -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 207 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleBaseNameW` in this scope [INFO] [stdout] --> src/main.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | GetModuleBaseNameW(hProcess, hMod, szProcessName.as_ptr() as *mut u16, 40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_pid` in this scope [INFO] [stdout] --> src/main.rs:586:15 [INFO] [stdout] | [INFO] [stdout] 586 | let pid = get_pid("5dchesswithmultiversetimetravel.exe"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/game_data.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0136]: multiple `main` functions [INFO] [stdout] --> src/main.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | / fn main() -> std::io::Result<()> { [INFO] [stdout] 582 | | [INFO] [stdout] 583 | | // We need to make sure that we get a handle to a process, in this case, ourselves [INFO] [stdout] 584 | | // let handle = (std::process::id() as Pid).try_into_process_handle().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 653 | | Ok(()) [INFO] [stdout] 654 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/game_data.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0136]: multiple `main` functions [INFO] [stdout] --> src/main.rs:581:1 [INFO] [stdout] | [INFO] [stdout] 581 | / fn main() -> std::io::Result<()> { [INFO] [stdout] 582 | | [INFO] [stdout] 583 | | // We need to make sure that we get a handle to a process, in this case, ourselves [INFO] [stdout] 584 | | // let handle = (std::process::id() as Pid).try_into_process_handle().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 653 | | Ok(()) [INFO] [stdout] 654 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0136, E0412, E0425, E0428, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0136`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0136, E0412, E0425, E0428, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0136`. [INFO] [stdout] [INFO] [stderr] error: could not compile `multiverse-chess-reader` [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" "2f6155f18cd694b5a73e762825efc76d73c7776b9410d9d964cb1874dd6eeae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f6155f18cd694b5a73e762825efc76d73c7776b9410d9d964cb1874dd6eeae3", kill_on_drop: false }` [INFO] [stdout] 2f6155f18cd694b5a73e762825efc76d73c7776b9410d9d964cb1874dd6eeae3