[INFO] cloning repository https://github.com/lukaj110/dll-injector-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukaj110/dll-injector-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukaj110%2Fdll-injector-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukaj110%2Fdll-injector-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fee27cff42b1303f7c6c1ab83eba02844fd5225e [INFO] checking lukaj110/dll-injector-rust against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukaj110%2Fdll-injector-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukaj110/dll-injector-rust [INFO] finished tweaking git repo https://github.com/lukaj110/dll-injector-rust [INFO] tweaked toml for git repo https://github.com/lukaj110/dll-injector-rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukaj110/dll-injector-rust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukaj110/dll-injector-rust 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a759a7f59be90b92ccf48a5a8e8e8c233016af9da9a9a7d0c32e3df7379e9fa [INFO] running `Command { std: "docker" "start" "-a" "4a759a7f59be90b92ccf48a5a8e8e8c233016af9da9a9a7d0c32e3df7379e9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a759a7f59be90b92ccf48a5a8e8e8c233016af9da9a9a7d0c32e3df7379e9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a759a7f59be90b92ccf48a5a8e8e8c233016af9da9a9a7d0c32e3df7379e9fa", kill_on_drop: false }` [INFO] [stdout] 4a759a7f59be90b92ccf48a5a8e8e8c233016af9da9a9a7d0c32e3df7379e9fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d25009c0201f1732deebf5d2b620e269b5fdd0591b3734fa189f1735900c26d [INFO] running `Command { std: "docker" "start" "-a" "9d25009c0201f1732deebf5d2b620e269b5fdd0591b3734fa189f1735900c26d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling sysinfo v0.26.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.11 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking dll-injector-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use um::winnt::{ [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use um::winnt::{ [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | um::handleapi::CloseHandle(handle); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let process_handle = um::processthreadsapi::OpenProcess( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | let dll_path_address = um::memoryapi::VirtualAllocEx( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | let mem = um::memoryapi::WriteProcessMemory( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | let load_library_address = um::libloaderapi::GetProcAddress( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | um::libloaderapi::GetModuleHandleA(lp_module_name.as_ptr()), [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | let remote_thread = um::processthreadsapi::CreateRemoteThread( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | um::handleapi::CloseHandle(handle); [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | let process_handle = um::processthreadsapi::OpenProcess( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:188:32 [INFO] [stdout] | [INFO] [stdout] 188 | let dll_path_address = um::memoryapi::VirtualAllocEx( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | let mem = um::memoryapi::WriteProcessMemory( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:217:36 [INFO] [stdout] | [INFO] [stdout] 217 | let load_library_address = um::libloaderapi::GetProcAddress( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | um::libloaderapi::GetModuleHandleA(lp_module_name.as_ptr()), [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `um` [INFO] [stdout] --> src/main.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | let remote_thread = um::processthreadsapi::CreateRemoteThread( [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `um` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `um`, use `cargo add um` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winapi::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dll-injector-rust` (bin "dll-injector-rust" test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dll-injector-rust` (bin "dll-injector-rust") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9d25009c0201f1732deebf5d2b620e269b5fdd0591b3734fa189f1735900c26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d25009c0201f1732deebf5d2b620e269b5fdd0591b3734fa189f1735900c26d", kill_on_drop: false }` [INFO] [stdout] 9d25009c0201f1732deebf5d2b620e269b5fdd0591b3734fa189f1735900c26d