[INFO] cloning repository https://github.com/steele123/mem-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steele123/mem-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteele123%2Fmem-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteele123%2Fmem-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 81afaba58d4df0bb1fe4e71e9a42d312f74f29cc
[INFO] checking steele123/mem-rs 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%2Fsteele123%2Fmem-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/steele123/mem-rs 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/steele123/mem-rs
[INFO] finished tweaking git repo https://github.com/steele123/mem-rs
[INFO] tweaked toml for git repo https://github.com/steele123/mem-rs written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/steele123/mem-rs 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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows_gen v0.19.0
[INFO] [stderr]   Downloaded windows_macros v0.19.0
[INFO] [stderr]   Downloaded windows_quote v0.19.0
[INFO] [stderr]   Downloaded windows v0.19.0
[INFO] [stderr]   Downloaded windows_reader v0.19.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 95c8083ac35438ff614b812f7991b01c50669811857c01a85adf48eb7e7348bf
[INFO] running `Command { std: "docker" "start" "-a" "95c8083ac35438ff614b812f7991b01c50669811857c01a85adf48eb7e7348bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "95c8083ac35438ff614b812f7991b01c50669811857c01a85adf48eb7e7348bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "95c8083ac35438ff614b812f7991b01c50669811857c01a85adf48eb7e7348bf", kill_on_drop: false }`
[INFO] [stdout] 95c8083ac35438ff614b812f7991b01c50669811857c01a85adf48eb7e7348bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 1488f343b894169bae46add7ae1e6e90716dc6c8a16f2aa3f9ea5a13e9731d46
[INFO] running `Command { std: "docker" "start" "-a" "1488f343b894169bae46add7ae1e6e90716dc6c8a16f2aa3f9ea5a13e9731d46", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling syn v1.0.75
[INFO] [stderr]    Compiling windows_reader v0.19.0
[INFO] [stderr]    Compiling windows_quote v0.19.0
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling const-sha1 v0.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]     Checking pin-project-lite v0.2.7
[INFO] [stderr]     Checking unicode-xid v0.2.2
[INFO] [stderr]     Checking instant v0.1.10
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling tokio v1.11.0
[INFO] [stderr]     Checking quote v1.0.9
[INFO] [stderr]     Checking windows_gen v0.19.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking mio v0.7.13
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking mem-macros v0.1.0 (/opt/rustwide/workdir/mem-macros)
[INFO] [stderr]    Compiling windows_macros v0.19.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.28
[INFO] [stderr]    Compiling tokio-macros v1.3.0
[INFO] [stderr]     Checking thiserror v1.0.28
[INFO] [stderr]    Compiling windows v0.19.0
[INFO] [stderr]    Compiling bindings v0.1.0 (/opt/rustwide/workdir/mem/bindings)
[INFO] [stderr]     Checking mem v0.1.0 (/opt/rustwide/workdir/mem)
[INFO] [stdout] error: Currently only windows is supported
[INFO] [stdout]   --> mem/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | compile_error!("Currently only windows is supported");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Currently only windows is supported
[INFO] [stdout]   --> mem/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | compile_error!("Currently only windows is supported");
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> mem/src/injector.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     windows::wrappers::{
[INFO] [stdout]   |     ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> mem/src/internal/mem.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::windows::wrappers::DWORD_PTR;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_proc_address` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let load_lib_address = get_proc_address(get_module_handle("Kernel32.dll")?, "LoadLibraryA")?;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_module_handle` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:92:49
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let load_lib_address = get_proc_address(get_module_handle("Kernel32.dll")?, "LoadLibraryA")?;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `open_process` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:96:30
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let process_handle = open_process(PROCESS_ALL_ACCESS, false, process_id);
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `virtual_alloc_ex` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let path = virtual_alloc_ex(process_handle, None, dll_path_size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_process_memory` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         write_process_memory(process_handle, path, dll_path.as_ptr() as LPVOID, dll_path_size, None)?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:100:73
[INFO] [stdout]     |
[INFO] [stdout] 100 |         write_process_memory(process_handle, path, dll_path.as_ptr() as LPVOID, dll_path_size, None)?;
[INFO] [stdout]     |                                                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 103 |             type StartRoutine = extern "system" fn(LPVOID) -> DWORD;
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:103:63
[INFO] [stdout]     |
[INFO] [stdout] 103 |             type StartRoutine = extern "system" fn(LPVOID) -> DWORD;
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_remote_thread` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             create_remote_thread(process_handle, None, 0, Some(start_routine), Some(path), 0, None)?
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close_handle` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         close_handle(thread_handle)?;
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope
[INFO] [stdout]  --> mem/src/internal/mem.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub module_base_address: DWORD_PTR,
[INFO] [stdout]   |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> mem/src/injector.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     windows::wrappers::{
[INFO] [stdout]   |     ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in the crate root
[INFO] [stdout]  --> mem/src/internal/mem.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::windows::wrappers::DWORD_PTR;
[INFO] [stdout]   |            ^^^^^^^ could not find `windows` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_proc_address` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let load_lib_address = get_proc_address(get_module_handle("Kernel32.dll")?, "LoadLibraryA")?;
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_module_handle` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:92:49
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let load_lib_address = get_proc_address(get_module_handle("Kernel32.dll")?, "LoadLibraryA")?;
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `open_process` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:96:30
[INFO] [stdout]    |
[INFO] [stdout] 96 |         let process_handle = open_process(PROCESS_ALL_ACCESS, false, process_id);
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `virtual_alloc_ex` in this scope
[INFO] [stdout]   --> mem/src/injector.rs:98:20
[INFO] [stdout]    |
[INFO] [stdout] 98 |         let path = virtual_alloc_ex(process_handle, None, dll_path_size, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE)?;
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `write_process_memory` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         write_process_memory(process_handle, path, dll_path.as_ptr() as LPVOID, dll_path_size, None)?;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:100:73
[INFO] [stdout]     |
[INFO] [stdout] 100 |         write_process_memory(process_handle, path, dll_path.as_ptr() as LPVOID, dll_path_size, None)?;
[INFO] [stdout]     |                                                                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:103:52
[INFO] [stdout]     |
[INFO] [stdout] 103 |             type StartRoutine = extern "system" fn(LPVOID) -> DWORD;
[INFO] [stdout]     |                                                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:103:63
[INFO] [stdout]     |
[INFO] [stdout] 103 |             type StartRoutine = extern "system" fn(LPVOID) -> DWORD;
[INFO] [stdout]     |                                                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_remote_thread` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 105 |             create_remote_thread(process_handle, None, 0, Some(start_routine), Some(path), 0, None)?
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close_handle` in this scope
[INFO] [stdout]    --> mem/src/injector.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |         close_handle(thread_handle)?;
[INFO] [stdout]     |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD_PTR` in this scope
[INFO] [stdout]  --> mem/src/internal/mem.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub module_base_address: DWORD_PTR,
[INFO] [stdout]   |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mem` 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: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "1488f343b894169bae46add7ae1e6e90716dc6c8a16f2aa3f9ea5a13e9731d46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1488f343b894169bae46add7ae1e6e90716dc6c8a16f2aa3f9ea5a13e9731d46", kill_on_drop: false }`
[INFO] [stdout] 1488f343b894169bae46add7ae1e6e90716dc6c8a16f2aa3f9ea5a13e9731d46
