[INFO] cloning repository https://github.com/LiquidZHR/DLLInjector-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiquidZHR/DLLInjector-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9647c00c11e670f000e47f4ef4247476ae8952d0 [INFO] checking LiquidZHR/DLLInjector-rs against master#27d8a577138c0d319a572cd1a464c2b755e577de for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiquidZHR/DLLInjector-rs on toolchain 27d8a577138c0d319a572cd1a464c2b755e577de [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs [INFO] finished tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs [INFO] tweaked toml for git repo https://github.com/LiquidZHR/DLLInjector-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/LiquidZHR/DLLInjector-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+27d8a577138c0d319a572cd1a464c2b755e577de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking LiquidZHR/DLLInjector-rs against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiquidZHR/DLLInjector-rs on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs [INFO] finished tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs [INFO] tweaked toml for git repo https://github.com/LiquidZHR/DLLInjector-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LiquidZHR/DLLInjector-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking LiquidZHR/DLLInjector-rs against try#8bdbfd41bed26c4938a9f14bd20556eac1de8437 for pr-118882 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiquidZHR%2FDLLInjector-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiquidZHR/DLLInjector-rs on toolchain 8bdbfd41bed26c4938a9f14bd20556eac1de8437 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs [INFO] finished tweaking git repo https://github.com/LiquidZHR/DLLInjector-rs [INFO] tweaked toml for git repo https://github.com/LiquidZHR/DLLInjector-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LiquidZHR/DLLInjector-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "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 sysinfo v0.20.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80e85bb6dc41a3f296f281165d0bff7dc77bb6af06feb59d2f82a0b4812777a2 [INFO] running `Command { std: "docker" "start" "-a" "80e85bb6dc41a3f296f281165d0bff7dc77bb6af06feb59d2f82a0b4812777a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80e85bb6dc41a3f296f281165d0bff7dc77bb6af06feb59d2f82a0b4812777a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80e85bb6dc41a3f296f281165d0bff7dc77bb6af06feb59d2f82a0b4812777a2", kill_on_drop: false }` [INFO] [stdout] 80e85bb6dc41a3f296f281165d0bff7dc77bb6af06feb59d2f82a0b4812777a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8bdbfd41bed26c4938a9f14bd20556eac1de8437" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 173d6f3159c62c0ce0d6b70679db04eb29fde2eb36548c7fcbbacb2695ec3f7d [INFO] running `Command { std: "docker" "start" "-a" "173d6f3159c62c0ce0d6b70679db04eb29fde2eb36548c7fcbbacb2695ec3f7d", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling sysinfo v0.20.5 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking DLLInjector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::memoryapi::{VirtualAllocEx, WriteProcessMemory}; [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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::GetProcAddress; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::MessageBoxA; [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/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::processthreadsapi::{CreateRemoteThread, OpenProcess}; [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/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, PAGE_READWRITE, PROCESS_ALL_ACCESS}; [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/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::memoryapi::{VirtualAllocEx, WriteProcessMemory}; [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/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::libloaderapi::{ [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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::libloaderapi::GetProcAddress; [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/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::winuser::MessageBoxA; [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/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::processthreadsapi::{CreateRemoteThread, OpenProcess}; [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/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::winnt::{HANDLE, MEM_COMMIT, PAGE_READWRITE, PROCESS_ALL_ACCESS}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::{null, null_mut}; [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/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::libloaderapi::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `null` [INFO] [stdout] --> src/main.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ptr::{null, null_mut}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thread_func` should have an upper camel case name [INFO] [stdout] --> src/main.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | type thread_func = unsafe extern "system" fn(LPVOID)->DWORD; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreadFunc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `thread_func` should have an upper camel case name [INFO] [stdout] --> src/main.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | type thread_func = unsafe extern "system" fn(LPVOID)->DWORD; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ThreadFunc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_process_by_name(pName:&str) -> Vec { [INFO] [stdout] | ---------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 34 | process_vec.push(pid.clone()); [INFO] [stdout] | ----------- ----------- this argument has type `i32`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `process_vec` to have type `Vec` [INFO] [stdout] ... [INFO] [stdout] 38 | process_vec [INFO] [stdout] | ^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 34 | process_vec.push(pid.clone().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_process_by_name(pName:&str) -> Vec { [INFO] [stdout] | ---------- expected `Vec` because of return type [INFO] [stdout] ... [INFO] [stdout] 34 | process_vec.push(pid.clone()); [INFO] [stdout] | ----------- ----------- this argument has type `i32`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `process_vec` to have type `Vec` [INFO] [stdout] ... [INFO] [stdout] 38 | process_vec [INFO] [stdout] | ^^^^^^^^^^^ expected `Vec`, found `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `Vec` [INFO] [stdout] help: you can convert an `i32` to a `usize` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 34 | process_vec.push(pid.clone().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `DLLInjector` (bin "DLLInjector" test) due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `DLLInjector` (bin "DLLInjector") due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "173d6f3159c62c0ce0d6b70679db04eb29fde2eb36548c7fcbbacb2695ec3f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173d6f3159c62c0ce0d6b70679db04eb29fde2eb36548c7fcbbacb2695ec3f7d", kill_on_drop: false }` [INFO] [stdout] 173d6f3159c62c0ce0d6b70679db04eb29fde2eb36548c7fcbbacb2695ec3f7d