[INFO] cloning repository https://github.com/synetic707/rust-hook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/synetic707/rust-hook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-hook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-hook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e43b33b5d5da83943465d9f6abe2c544cca48bfb
[INFO] checking synetic707/rust-hook against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsynetic707%2Frust-hook" "/workspace/builds/worker-88/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-88/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/synetic707/rust-hook on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/synetic707/rust-hook
[INFO] finished tweaking git repo https://github.com/synetic707/rust-hook
[INFO] tweaked toml for git repo https://github.com/synetic707/rust-hook written to /workspace/builds/worker-88/source/Cargo.toml
[INFO] crate git repo https://github.com/synetic707/rust-hook already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f00527946304ae405b269ae54cb620064e8e4bece5418ba87c24beacf348e476
[INFO] running `Command { std: "docker" "start" "-a" "f00527946304ae405b269ae54cb620064e8e4bece5418ba87c24beacf348e476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f00527946304ae405b269ae54cb620064e8e4bece5418ba87c24beacf348e476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f00527946304ae405b269ae54cb620064e8e4bece5418ba87c24beacf348e476", kill_on_drop: false }`
[INFO] [stdout] f00527946304ae405b269ae54cb620064e8e4bece5418ba87c24beacf348e476
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-88/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4449c0ba10de4d9a972840685da885254a56e36263aa62975791ac5def58f3de
[INFO] running `Command { std: "docker" "start" "-a" "4449c0ba10de4d9a972840685da885254a56e36263aa62975791ac5def58f3de", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.5
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking executable_memory v0.1.2
[INFO] [stderr]     Checking rust-hook v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/hook.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/hook.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::VirtualProtect;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/hook.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             VirtualProtect(original_function as *mut c_void, 5, PAGE_EXECUTE_READWRITE, &mut dw_old_protect);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/hook.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook.rs:30:65
[INFO] [stdout]    |
[INFO] [stdout] 30 |             VirtualProtect(original_function as *mut c_void, 5, PAGE_EXECUTE_READWRITE, &mut dw_old_protect);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             VirtualProtect(original_function as *mut c_void, 5, dw_old_protect, &mut dw_bkup);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_void`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::raw::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/hook.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::VirtualProtect;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/hook.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |             VirtualProtect(original_function as *mut c_void, 5, PAGE_EXECUTE_READWRITE, &mut dw_old_protect);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope
[INFO] [stdout]   --> src/hook.rs:30:65
[INFO] [stdout]    |
[INFO] [stdout] 30 |             VirtualProtect(original_function as *mut c_void, 5, PAGE_EXECUTE_READWRITE, &mut dw_old_protect);
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope
[INFO] [stdout]   --> src/hook.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             VirtualProtect(original_function as *mut c_void, 5, dw_old_protect, &mut dw_bkup);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::raw::c_void`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::raw::c_void;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-hook` due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "4449c0ba10de4d9a972840685da885254a56e36263aa62975791ac5def58f3de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4449c0ba10de4d9a972840685da885254a56e36263aa62975791ac5def58f3de", kill_on_drop: false }`
[INFO] [stdout] 4449c0ba10de4d9a972840685da885254a56e36263aa62975791ac5def58f3de
