[INFO] updating cached repository synetic707/rust-hook [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/synetic707/rust-hook [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/synetic707/rust-hook" "work/ex/beta-1.38-1/sources/1.37.0/gh/synetic707/rust-hook"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/synetic707/rust-hook'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/synetic707/rust-hook" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/synetic707/rust-hook"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/synetic707/rust-hook'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e43b33b5d5da83943465d9f6abe2c544cca48bfb [INFO] sha for GitHub repo synetic707/rust-hook: e43b33b5d5da83943465d9f6abe2c544cca48bfb [INFO] validating manifest of synetic707/rust-hook on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of synetic707/rust-hook on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing synetic707/rust-hook [INFO] finished frobbing synetic707/rust-hook [INFO] frobbed toml for synetic707/rust-hook written to work/ex/beta-1.38-1/sources/1.37.0/gh/synetic707/rust-hook/Cargo.toml [INFO] started frobbing synetic707/rust-hook [INFO] finished frobbing synetic707/rust-hook [INFO] frobbed toml for synetic707/rust-hook written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/synetic707/rust-hook/Cargo.toml [INFO] crate synetic707/rust-hook already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing synetic707/rust-hook against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/synetic707/rust-hook:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] a6199a64273114a0c75d4d56b62e966d5a032685cb0c6763956e7c4eff9deb13 [INFO] running `"docker" "start" "-a" "a6199a64273114a0c75d4d56b62e966d5a032685cb0c6763956e7c4eff9deb13"` [INFO] [stderr] Compiling winapi v0.3.5 [INFO] [stderr] Compiling executable_memory v0.1.2 [INFO] [stderr] Compiling rust-hook v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hook.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/hook.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stderr] --> src/hook.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | use winapi::ctypes::c_void; [INFO] [stderr] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `VirtualProtect` in this scope [INFO] [stderr] --> src/hook.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | VirtualProtect(original_function as *mut c_void, 5, PAGE_EXECUTE_READWRITE, &mut dw_old_protect); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stderr] --> src/hook.rs:30:65 [INFO] [stderr] | [INFO] [stderr] 30 | VirtualProtect(original_function as *mut c_void, 5, PAGE_EXECUTE_READWRITE, &mut dw_old_protect); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `VirtualProtect` in this scope [INFO] [stderr] --> src/hook.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | VirtualProtect(original_function as *mut c_void, 5, dw_old_protect, &mut dw_bkup); [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winnt::PAGE_EXECUTE_READWRITE` [INFO] [stderr] --> src/hook.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::memoryapi::VirtualProtect` [INFO] [stderr] --> src/hook.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use winapi::um::memoryapi::VirtualProtect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::raw::c_void` [INFO] [stderr] --> src/main.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: Could not compile `rust-hook`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a6199a64273114a0c75d4d56b62e966d5a032685cb0c6763956e7c4eff9deb13"` [INFO] running `"docker" "rm" "-f" "a6199a64273114a0c75d4d56b62e966d5a032685cb0c6763956e7c4eff9deb13"` [INFO] [stdout] a6199a64273114a0c75d4d56b62e966d5a032685cb0c6763956e7c4eff9deb13