[INFO] cloning repository https://github.com/Isaac-Lozano/sa2_piece_gen [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_piece_gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2Fsa2_piece_gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2Fsa2_piece_gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd99d4cdd8b1f2e5d08072a962b8e686d8462153 [INFO] testing Isaac-Lozano/sa2_piece_gen against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIsaac-Lozano%2Fsa2_piece_gen" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Isaac-Lozano/sa2_piece_gen 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/Isaac-Lozano/sa2_piece_gen [INFO] finished tweaking git repo https://github.com/Isaac-Lozano/sa2_piece_gen [INFO] tweaked toml for git repo https://github.com/Isaac-Lozano/sa2_piece_gen written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/Isaac-Lozano/sa2_piece_gen 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] Updating git repository `https://github.com/Isaac-Lozano/process_reader` [INFO] [stderr] Updating git repository `https://github.com/Isaac-Lozano/SA2-utils` [INFO] [stderr] Updating git repository `https://github.com/Isaac-Lozano/setr` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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] 1a5e9f3e5b4dbe45b534f0cb3fb68811fe9e2664b006b6ce23df51fd64be1ac8 [INFO] running `Command { std: "docker" "start" "-a" "1a5e9f3e5b4dbe45b534f0cb3fb68811fe9e2664b006b6ce23df51fd64be1ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a5e9f3e5b4dbe45b534f0cb3fb68811fe9e2664b006b6ce23df51fd64be1ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5e9f3e5b4dbe45b534f0cb3fb68811fe9e2664b006b6ce23df51fd64be1ac8", kill_on_drop: false }` [INFO] [stdout] 1a5e9f3e5b4dbe45b534f0cb3fb68811fe9e2664b006b6ce23df51fd64be1ac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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] d21f564800925e55e4660acfe52030b8c158f597590383d50aeef02de1f9b978 [INFO] running `Command { std: "docker" "start" "-a" "d21f564800925e55e4660acfe52030b8c158f597590383d50aeef02de1f9b978", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.134 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling serde_derive v1.0.134 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Compiling prs_util v0.1.0 (https://github.com/Isaac-Lozano/SA2-utils#a227b657) [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling strable v0.1.0 (https://github.com/Isaac-Lozano/SA2-utils#a227b657) [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling process_reader v0.1.0 (https://github.com/Isaac-Lozano/process_reader#498ccddd) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | 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] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | 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] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | 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] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | 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] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | 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] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::{HANDLE, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::psapi; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ProcessHandle(HANDLE); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct ProcessHandle(HANDLE); [INFO] [stdout] | -^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | if handle == NULL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_QUERY_INFORMATION` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:47:32 [INFO] [stdout] | [INFO] [stdout] 47 | Self::open_process(id, PROCESS_QUERY_INFORMATION | PROCESS_VM_READ) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_READ` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | Self::open_process(id, PROCESS_QUERY_INFORMATION | PROCESS_VM_READ) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:55:80 [INFO] [stdout] | [INFO] [stdout] 55 | ... let result = psapi::EnumProcessModules(self.0, &mut module as *mut HMODULE, mem::size_of::() as u32, &mut bytes_needed as ... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:55:104 [INFO] [stdout] | [INFO] [stdout] 34 | impl ProcessHandle { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 55 | let result = psapi::EnumProcessModules(self.0, &mut module as *mut HMODULE, mem::size_of::() as u32, &mut bytes_need... [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | let mut name_buffer = [0i8; MAX_PATH]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:60:106 [INFO] [stdout] | [INFO] [stdout] 60 | let bytes_in_str = psapi::GetModuleBaseNameA(self.0, module, &mut name_buffer[0] as *mut i8, MAX_PATH as u32); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_PATH` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/process_reader-1a52f8ae1de56c58/498ccdd/src/lib.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | let name_buffer: [u8; MAX_PATH] = mem::transmute(name_buffer); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `process_reader` due to 18 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d21f564800925e55e4660acfe52030b8c158f597590383d50aeef02de1f9b978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d21f564800925e55e4660acfe52030b8c158f597590383d50aeef02de1f9b978", kill_on_drop: false }` [INFO] [stdout] d21f564800925e55e4660acfe52030b8c158f597590383d50aeef02de1f9b978