[INFO] cloning repository https://github.com/Starz0r/melatonin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Starz0r/melatonin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Fmelatonin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Fmelatonin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbcab5b2cb06ce236999e98545cc2073cff2c20d [INFO] testing Starz0r/melatonin against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarz0r%2Fmelatonin" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Starz0r/melatonin on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Starz0r/melatonin [INFO] finished tweaking git repo https://github.com/Starz0r/melatonin [INFO] tweaked toml for git repo https://github.com/Starz0r/melatonin written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/Starz0r/melatonin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9fba8a52fb5eeb7770bd2d3b99582061aace744cebcc730f3af7204b3d3e3b7 [INFO] running `Command { std: "docker" "start" "-a" "e9fba8a52fb5eeb7770bd2d3b99582061aace744cebcc730f3af7204b3d3e3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9fba8a52fb5eeb7770bd2d3b99582061aace744cebcc730f3af7204b3d3e3b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fba8a52fb5eeb7770bd2d3b99582061aace744cebcc730f3af7204b3d3e3b7", kill_on_drop: false }` [INFO] [stdout] e9fba8a52fb5eeb7770bd2d3b99582061aace744cebcc730f3af7204b3d3e3b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa061e94b1480b84476c926049c95cf126e46d7b10fbf9a80ad3ab48bda456b [INFO] running `Command { std: "docker" "start" "-a" "3aa061e94b1480b84476c926049c95cf126e46d7b10fbf9a80ad3ab48bda456b", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling sysinfo v0.15.5 [INFO] [stderr] Compiling indenter v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling native-windows-gui v1.0.7 [INFO] [stderr] Compiling djin v0.1.1 [INFO] [stderr] Compiling stretch v0.3.2 [INFO] [stdout] error: this crate is only meant to be used for windows targets [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("this crate is only meant to be used for windows targets"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/windows_prelude.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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/windows_prelude.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | um::{ [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] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/windows_prelude.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | pub use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | bail_if_null!(alloc); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_null` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 121 | | process, [INFO] [stdout] 122 | | alloc as _, [INFO] [stdout] 123 | | ptr!(SHELLCODE), [INFO] [stdout] 124 | | SHELLCODE.len(), [INFO] [stdout] 125 | | NULL as _ [INFO] [stdout] 126 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 129 | | process, [INFO] [stdout] 130 | | alloc.add(SHELLCODE.len()) as _, [INFO] [stdout] 131 | | &pointers as *const _ as _, [INFO] [stdout] 132 | | plen, [INFO] [stdout] 133 | | NULL as _, [INFO] [stdout] 134 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 137 | | process, [INFO] [stdout] 138 | | alloc.add(SHELLCODE.len() + plen) as _, [INFO] [stdout] 139 | | ptr!(dllstr), [INFO] [stdout] ... | [INFO] [stdout] 142 | | NULL as _ [INFO] [stdout] 143 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / bail_if_zero!(WriteProcessMemory( [INFO] [stdout] 148 | | process, [INFO] [stdout] 149 | | alloc.add(SHELLCODE.len() + plen + dlllen) as _, [INFO] [stdout] 150 | | ptr!(function), [INFO] [stdout] 151 | | fnlen - 1, [INFO] [stdout] 152 | | NULL as _ [INFO] [stdout] 153 | | )); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | bail_if_null!(thread); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_null` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | bail_if_nonzero!(result); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_nonzero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | winapi::um::errhandlingapi::GetLastError() [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | / bail_if_zero!(ReadProcessMemory( [INFO] [stdout] 175 | | process, [INFO] [stdout] 176 | | alloc.add(SHELLCODE.len() + plen - std::mem::size_of::()) as _, [INFO] [stdout] 177 | | &mut error as *mut _ as _, [INFO] [stdout] 178 | | 4, [INFO] [stdout] 179 | | NULL as _ [INFO] [stdout] 180 | | )); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail_if_zero` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | let k32 = GetModuleHandleA(ptr!(b"Kernel32.dll\0")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let llw = GetProcAddress(k32, ptr!(b"LoadLibraryW\0")).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let gpa = GetProcAddress(k32, ptr!(b"GetProcAddress\0")).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let gle = GetProcAddress(k32, ptr!(b"GetLastError\0")).cast(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | debug_assert!(k32 != NULL as _ && llw != NULL as _ && gpa != NULL as _ && gle != NULL as _); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:66:50 [INFO] [stdout] | [INFO] [stdout] 66 | debug_assert!(k32 != NULL as _ && llw != NULL as _ && gpa != NULL as _ && gle != NULL as _); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:66:70 [INFO] [stdout] | [INFO] [stdout] 66 | debug_assert!(k32 != NULL as _ && llw != NULL as _ && gpa != NULL as _ && gle != NULL as _); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:66:90 [INFO] [stdout] | [INFO] [stdout] 66 | debug_assert!(k32 != NULL as _ && llw != NULL as _ && gpa != NULL as _ && gle != NULL as _); [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/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn alloc(process: HANDLE, size: usize) -> LPVOID { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:72:47 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn alloc(process: HANDLE, size: usize) -> LPVOID { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualAllocEx` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | VirtualAllocEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_COMMIT` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RESERVE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | MEM_COMMIT | MEM_RESERVE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/util.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | PAGE_EXECUTE_READWRITE, [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/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inject_dll(process: HANDLE, dll: &std::path::Path, function: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:94:86 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inject_dll(process: HANDLE, dll: &std::path::Path, function: &[u8]) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:94:93 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn inject_dll(process: HANDLE, dll: &std::path::Path, function: &[u8]) -> Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | bail_if_zero!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | NULL as _ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:128:23 [INFO] [stdout] | [INFO] [stdout] 128 | bail_if_zero!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | bail_if_zero!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | NULL as _ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WriteProcessMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | bail_if_zero!(WriteProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | NULL as _ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateRemoteThread` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | let thread = CreateRemoteThread( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | NULL.cast(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | NULL.cast(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | NULL.cast(), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:168:22 [INFO] [stdout] | [INFO] [stdout] 168 | let result = WaitForSingleObject(thread, INFINITE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:168:50 [INFO] [stdout] | [INFO] [stdout] 168 | let result = WaitForSingleObject(thread, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:173:24 [INFO] [stdout] | [INFO] [stdout] 173 | let mut error: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadProcessMemory` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | bail_if_zero!(ReadProcessMemory( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | NULL as _ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | let mut exit: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeThread` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | GetExitCodeThread(thread, &mut exit as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualFreeEx` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | VirtualFreeEx(process, alloc.cast(), total_size, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MEM_RELEASE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:188:58 [INFO] [stdout] | [INFO] [stdout] 188 | VirtualFreeEx(process, alloc.cast(), total_size, MEM_RELEASE); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | CloseHandle(thread); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn open_process(pid: DWORD) -> Result { [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/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn open_process(pid: DWORD) -> Result { [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[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn open_process(pid: DWORD) -> Result { [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 function, tuple struct or tuple variant `OpenProcess` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | OpenProcess( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_CREATE_THREAD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | PROCESS_CREATE_THREAD [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/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | | PROCESS_QUERY_INFORMATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_OPERATION` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | | PROCESS_VM_OPERATION [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PROCESS_VM_WRITE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | | PROCESS_VM_WRITE [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/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | | PROCESS_VM_READ, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | Err(unsafe { GetLastError() }) [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/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | process: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn inject_dll>( [INFO] [stdout] | - help: you might be missing a type parameter: `, DWORD` [INFO] [stdout] ... [INFO] [stdout] 42 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/lib.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn inject_dll>( [INFO] [stdout] | - help: you might be missing a type parameter: `, DWORD` [INFO] [stdout] ... [INFO] [stdout] 42 | ) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/djin-0.1.1/src/imp/mod.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 67 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `djin` due to 68 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3aa061e94b1480b84476c926049c95cf126e46d7b10fbf9a80ad3ab48bda456b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa061e94b1480b84476c926049c95cf126e46d7b10fbf9a80ad3ab48bda456b", kill_on_drop: false }` [INFO] [stdout] 3aa061e94b1480b84476c926049c95cf126e46d7b10fbf9a80ad3ab48bda456b