[INFO] cloning repository https://github.com/rat-c/dll_unhook [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rat-c/dll_unhook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frat-c%2Fdll_unhook", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frat-c%2Fdll_unhook'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bfe2b106b6bcc24c8bcccb6f7d5d3c210e672bf [INFO] checking rat-c/dll_unhook against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frat-c%2Fdll_unhook" "/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/rat-c/dll_unhook [INFO] finished tweaking git repo https://github.com/rat-c/dll_unhook [INFO] tweaked toml for git repo https://github.com/rat-c/dll_unhook written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rat-c/dll_unhook on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rat-c/dll_unhook 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" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded obfstr v0.4.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 875930ce8621a4a603e083e370c1e704937f5cd197e7358c6a9bff77c56df7a4 [INFO] running `Command { std: "docker" "start" "-a" "875930ce8621a4a603e083e370c1e704937f5cd197e7358c6a9bff77c56df7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "875930ce8621a4a603e083e370c1e704937f5cd197e7358c6a9bff77c56df7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "875930ce8621a4a603e083e370c1e704937f5cd197e7358c6a9bff77c56df7a4", kill_on_drop: false }` [INFO] [stdout] 875930ce8621a4a603e083e370c1e704937f5cd197e7358c6a9bff77c56df7a4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b37324e89e5355898e925353ea61620e75d8de48b0fa5a7796061e8d72ea87c [INFO] running `Command { std: "docker" "start" "-a" "5b37324e89e5355898e925353ea61620e75d8de48b0fa5a7796061e8d72ea87c", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.3.7 [INFO] [stderr] Checking widestring v1.0.2 [INFO] [stderr] Checking obfstr v0.4.1 [INFO] [stderr] Checking unhook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi_local` in `ntapi` [INFO] [stdout] --> src/handle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | winapi_local::um::winnt::{__readfsdword, __readgsqword}, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `winapi_local` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/handle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/handle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/module.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsStr, iter::once, mem, os::windows::prelude::OsStrExt, ptr}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/module.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/module.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntldr`, `ntapi::ntpebteb` [INFO] [stdout] --> src/handle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ntldr::LDR_DATA_TABLE_ENTRY, [INFO] [stdout] | ^^^^^ could not find `ntldr` in `ntapi` [INFO] [stdout] 3 | ntpebteb::PEB, [INFO] [stdout] | ^^^^^^^^ could not find `ntpebteb` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/module.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut _proc_address = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | if _proc_address.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `_proc_address` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 109 | let mut _proc_address: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi_local` in `ntapi` [INFO] [stdout] --> src/handle.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | winapi_local::um::winnt::{__readfsdword, __readgsqword}, [INFO] [stdout] | ^^^^^^^^^^^^ could not find `winapi_local` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/handle.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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/handle.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/module.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsStr, iter::once, mem, os::windows::prelude::OsStrExt, ptr}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/fafe42c59556a4233f03dd0d900b575a9afeece8/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/module.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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/module.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ntapi::ntldr`, `ntapi::ntpebteb` [INFO] [stdout] --> src/handle.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ntldr::LDR_DATA_TABLE_ENTRY, [INFO] [stdout] | ^^^^^ could not find `ntldr` in `ntapi` [INFO] [stdout] 3 | ntpebteb::PEB, [INFO] [stdout] | ^^^^^^^^ could not find `ntpebteb` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/module.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | OsStr::new(string).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unhook` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed for `*mut _` [INFO] [stdout] --> src/module.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut _proc_address = ptr::null_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | if _proc_address.is_null() { [INFO] [stdout] | ------- cannot call a method on a raw pointer with an unknown pointee type [INFO] [stdout] | [INFO] [stdout] help: consider giving `_proc_address` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 109 | let mut _proc_address: *mut T = ptr::null_mut(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/module.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | OsStr::new(string).encode_wide().chain(once(0)).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unhook` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "5b37324e89e5355898e925353ea61620e75d8de48b0fa5a7796061e8d72ea87c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b37324e89e5355898e925353ea61620e75d8de48b0fa5a7796061e8d72ea87c", kill_on_drop: false }` [INFO] [stdout] 5b37324e89e5355898e925353ea61620e75d8de48b0fa5a7796061e8d72ea87c