[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] 9dc53c18901134ecf788d6aacc967d4e73603b28 [INFO] testing steele123/mem-rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteele123%2Fmem-rs" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steele123/mem-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33d5e33719a3a7504ae3a10715646366cdf625459e7aa10422fa4b1608919e13 [INFO] running `Command { std: "docker" "start" "-a" "33d5e33719a3a7504ae3a10715646366cdf625459e7aa10422fa4b1608919e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d5e33719a3a7504ae3a10715646366cdf625459e7aa10422fa4b1608919e13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d5e33719a3a7504ae3a10715646366cdf625459e7aa10422fa4b1608919e13", kill_on_drop: false }` [INFO] [stdout] 33d5e33719a3a7504ae3a10715646366cdf625459e7aa10422fa4b1608919e13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06278fcb16c2f4b5cb91b3e030c1c8017f7f7292e9ab24820b8368a7a623eda0 [INFO] running `Command { std: "docker" "start" "-a" "06278fcb16c2f4b5cb91b3e030c1c8017f7f7292e9ab24820b8368a7a623eda0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling windows v0.29.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling mem-macros v0.1.0 (/opt/rustwide/workdir/mem-macros) [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling 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[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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "06278fcb16c2f4b5cb91b3e030c1c8017f7f7292e9ab24820b8368a7a623eda0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06278fcb16c2f4b5cb91b3e030c1c8017f7f7292e9ab24820b8368a7a623eda0", kill_on_drop: false }` [INFO] [stdout] 06278fcb16c2f4b5cb91b3e030c1c8017f7f7292e9ab24820b8368a7a623eda0