[INFO] cloning repository https://github.com/th0razine/rust-injector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/th0razine/rust-injector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth0razine%2Frust-injector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth0razine%2Frust-injector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88e33d73ae5b57fa00cffc70e57c7e0a6916e2b2 [INFO] checking th0razine/rust-injector against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fth0razine%2Frust-injector" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/th0razine/rust-injector on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/source/.cargo/config [INFO] started tweaking git repo https://github.com/th0razine/rust-injector [INFO] finished tweaking git repo https://github.com/th0razine/rust-injector [INFO] tweaked toml for git repo https://github.com/th0razine/rust-injector written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/th0razine/rust-injector already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fd1ea4f34b70848a82307388d7067fed3c3ba38ce8898f2acb86b4b43ec5035d [INFO] running `Command { std: "docker" "start" "-a" "fd1ea4f34b70848a82307388d7067fed3c3ba38ce8898f2acb86b4b43ec5035d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd1ea4f34b70848a82307388d7067fed3c3ba38ce8898f2acb86b4b43ec5035d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd1ea4f34b70848a82307388d7067fed3c3ba38ce8898f2acb86b4b43ec5035d", kill_on_drop: false }` [INFO] [stdout] fd1ea4f34b70848a82307388d7067fed3c3ba38ce8898f2acb86b4b43ec5035d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88f05b673748182ad7934d7e5c885ddf1ea7e4bcd41f0c74ba1f65bcbd8d7c12 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "88f05b673748182ad7934d7e5c885ddf1ea7e4bcd41f0c74ba1f65bcbd8d7c12", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Compiling user32-sys v0.1.2 [INFO] [stderr] Checking injector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `kernel32::OpenProcess` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use kernel32::OpenProcess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `OpenProcess` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::GetWindowThreadProcessId` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use user32::GetWindowThreadProcessId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetWindowThreadProcessId` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::FindWindowA` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use user32::FindWindowA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `FindWindowA` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kernel32::OpenProcess` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use kernel32::OpenProcess; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `OpenProcess` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::GetWindowThreadProcessId` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use user32::GetWindowThreadProcessId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `GetWindowThreadProcessId` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `user32::FindWindowA` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use user32::FindWindowA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `FindWindowA` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/main.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | GetWindowThreadProcessId(procHWND as winapi::HWND, reciever) [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HWND` in crate `winapi` [INFO] [stdout] --> src/main.rs:50:48 [INFO] [stdout] | [INFO] [stdout] 50 | GetWindowThreadProcessId(procHWND as winapi::HWND, reciever) [INFO] [stdout] | ^^^^ not found in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `injector` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [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" "88f05b673748182ad7934d7e5c885ddf1ea7e4bcd41f0c74ba1f65bcbd8d7c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f05b673748182ad7934d7e5c885ddf1ea7e4bcd41f0c74ba1f65bcbd8d7c12", kill_on_drop: false }` [INFO] [stdout] 88f05b673748182ad7934d7e5c885ddf1ea7e4bcd41f0c74ba1f65bcbd8d7c12