[INFO] cloning repository https://github.com/Isaac-Lozano/SA2-Control-Enhancement [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Isaac-Lozano/SA2-Control-Enhancement" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2FSA2-Control-Enhancement", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2FSA2-Control-Enhancement'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d4df5b87aff809dac3c9a7683edb9b008a34096 [INFO] testing Isaac-Lozano/SA2-Control-Enhancement against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2FSA2-Control-Enhancement" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Isaac-Lozano/SA2-Control-Enhancement on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Isaac-Lozano/SA2-Control-Enhancement [INFO] finished tweaking git repo https://github.com/Isaac-Lozano/SA2-Control-Enhancement [INFO] tweaked toml for git repo https://github.com/Isaac-Lozano/SA2-Control-Enhancement written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/Isaac-Lozano/SA2-Control-Enhancement already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b22f8fe1081ea134d17529f48b7e88394f1221d70b844a6776813dfa91f6670 [INFO] running `Command { std: "docker" "start" "-a" "4b22f8fe1081ea134d17529f48b7e88394f1221d70b844a6776813dfa91f6670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b22f8fe1081ea134d17529f48b7e88394f1221d70b844a6776813dfa91f6670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b22f8fe1081ea134d17529f48b7e88394f1221d70b844a6776813dfa91f6670", kill_on_drop: false }` [INFO] [stdout] 4b22f8fe1081ea134d17529f48b7e88394f1221d70b844a6776813dfa91f6670 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52f90cd1362c857925cbf10ad730756186b59d1c9cccd32b2945718e60b179cb [INFO] running `Command { std: "docker" "start" "-a" "52f90cd1362c857925cbf10ad730756186b59d1c9cccd32b2945718e60b179cb", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling sa2_button_mod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process_reader.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::shared::minwindef::{HMODULE, MAX_PATH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/process_reader.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/process_reader.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/process_reader.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::memoryapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/process_reader.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::processthreadsapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/process_reader.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::{HANDLE, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ, PROCESS_VM_WRITE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/process_reader.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::psapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/knux_buttons.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/knux_buttons.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/knux_buttons.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/knux_buttons.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/knux_buttons.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `asm` in this scope [INFO] [stdout] --> src/knux_buttons.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | asm!(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] std::arch::asm [INFO] [stdout] core::arch::asm [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/process_reader.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessHandle(HANDLE); [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/process_reader.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessHandle(HANDLE); [INFO] [stdout] | -^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/process_reader.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | if handle == NULL { [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/process_reader.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | Self::open_process(id, PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_VM_WRITE) [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/process_reader.rs:40:60 [INFO] [stdout] | [INFO] [stdout] 40 | Self::open_process(id, PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_VM_WRITE) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope [INFO] [stdout] --> src/process_reader.rs:40:78 [INFO] [stdout] | [INFO] [stdout] 40 | Self::open_process(id, PROCESS_QUERY_INFORMATION | PROCESS_VM_READ | PROCESS_VM_WRITE) [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/process_reader.rs:48:80 [INFO] [stdout] | [INFO] [stdout] 48 | ... let result = psapi::EnumProcessModules(self.0, &mut module as *mut HMODULE, mem::size_of::() as u32, &mut bytes_needed as ... [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/process_reader.rs:48:104 [INFO] [stdout] | [INFO] [stdout] 19 | impl ProcessHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 48 | let result = psapi::EnumProcessModules(self.0, &mut module as *mut HMODULE, mem::size_of::() as u32, &mut bytes_need... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/process_reader.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | let mut name_buffer = [0i8; MAX_PATH]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/process_reader.rs:53:106 [INFO] [stdout] | [INFO] [stdout] 53 | let bytes_in_str = psapi::GetModuleBaseNameA(self.0, module, &mut name_buffer[0] as *mut i8, MAX_PATH as u32); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> src/process_reader.rs:54:35 [INFO] [stdout] | [INFO] [stdout] 54 | let name_buffer: [u8; MAX_PATH] = mem::transmute(name_buffer); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | let mut module = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:47:41 [INFO] [stdout] | [INFO] [stdout] 47 | let mut bytes_needed = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:84:31 [INFO] [stdout] | [INFO] [stdout] 84 | bytes_read = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:97:39 [INFO] [stdout] | [INFO] [stdout] 97 | let mut bytes_read = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let mut data = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | let mut bytes_read = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:136:34 [INFO] [stdout] | [INFO] [stdout] 136 | bytes_written = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | let mut bytes_written = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/process_reader.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | let mut bytes_written = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/knux_buttons.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | unsafe fn knuckles_action_end_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(undefined_naked_function_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: Rust ABI is unsupported in naked functions [INFO] [stdout] --> src/knux_buttons.rs:93:11 [INFO] [stdout] | [INFO] [stdout] 93 | unsafe fn drill_dive_check_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(asm)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sa2_button_mod` due to 28 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "52f90cd1362c857925cbf10ad730756186b59d1c9cccd32b2945718e60b179cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f90cd1362c857925cbf10ad730756186b59d1c9cccd32b2945718e60b179cb", kill_on_drop: false }` [INFO] [stdout] 52f90cd1362c857925cbf10ad730756186b59d1c9cccd32b2945718e60b179cb