[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] checking Isaac-Lozano/SA2-Control-Enhancement against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2FSA2-Control-Enhancement" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Isaac-Lozano/SA2-Control-Enhancement on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a906169eec677eab494103bf290ebb8252e51ec5277faf912d9e229cd1432c9d [INFO] running `Command { std: "docker" "start" "-a" "a906169eec677eab494103bf290ebb8252e51ec5277faf912d9e229cd1432c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a906169eec677eab494103bf290ebb8252e51ec5277faf912d9e229cd1432c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a906169eec677eab494103bf290ebb8252e51ec5277faf912d9e229cd1432c9d", kill_on_drop: false }` [INFO] [stdout] a906169eec677eab494103bf290ebb8252e51ec5277faf912d9e229cd1432c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc9704a6be66646e66b013f746b9c976881231c6508dea599974164f5fb6bba [INFO] running `Command { std: "docker" "start" "-a" "ddc9704a6be66646e66b013f746b9c976881231c6508dea599974164f5fb6bba", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Checking 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[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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [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] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::arch::asm; [INFO] [stdout] | [INFO] [stdout] 1 + use std::arch::asm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ok` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/process_reader.rs:69:73 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessHandle(HANDLE); [INFO] [stdout] | ------------------------ doesn't satisfy `ProcessHandle: Sized` [INFO] [stdout] ... [INFO] [stdout] 69 | let handle = ProcessHandle::open_process_read_info(pid).ok()?; [INFO] [stdout] | ^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ProcessHandle: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ok` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> src/process_reader.rs:69:73 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ProcessHandle(HANDLE); [INFO] [stdout] | ------------------------ doesn't satisfy `ProcessHandle: Sized` [INFO] [stdout] ... [INFO] [stdout] 69 | let handle = ProcessHandle::open_process_read_info(pid).ok()?; [INFO] [stdout] | ^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `ProcessHandle: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sa2_button_mod` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sa2_button_mod` (lib test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "ddc9704a6be66646e66b013f746b9c976881231c6508dea599974164f5fb6bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc9704a6be66646e66b013f746b9c976881231c6508dea599974164f5fb6bba", kill_on_drop: false }` [INFO] [stdout] ddc9704a6be66646e66b013f746b9c976881231c6508dea599974164f5fb6bba