[INFO] cloning repository https://github.com/0xeb-bp/cve-2020-0796
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xeb-bp/cve-2020-0796" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xeb-bp%2Fcve-2020-0796", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xeb-bp%2Fcve-2020-0796'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6bf942e49c83519038521fe2b46dd580c347a863
[INFO] checking 0xeb-bp/cve-2020-0796 against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xeb-bp%2Fcve-2020-0796" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xeb-bp/cve-2020-0796
[INFO] finished tweaking git repo https://github.com/0xeb-bp/cve-2020-0796
[INFO] tweaked toml for git repo https://github.com/0xeb-bp/cve-2020-0796 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xeb-bp/cve-2020-0796 on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xeb-bp/cve-2020-0796 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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc4325cf5b8270d352d6dfac0e1645d4c7904d2a72b03daf0a7675edf9c14f4b
[INFO] running `Command { std: "docker" "start" "-a" "bc4325cf5b8270d352d6dfac0e1645d4c7904d2a72b03daf0a7675edf9c14f4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc4325cf5b8270d352d6dfac0e1645d4c7904d2a72b03daf0a7675edf9c14f4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc4325cf5b8270d352d6dfac0e1645d4c7904d2a72b03daf0a7675edf9c14f4b", kill_on_drop: false }`
[INFO] [stdout] bc4325cf5b8270d352d6dfac0e1645d4c7904d2a72b03daf0a7675edf9c14f4b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0b53f2f34b7aa3b63d1dd9f11ddc9813b2ea6fe1b8f48e48a18f56c80ca7528
[INFO] running `Command { std: "docker" "start" "-a" "f0b53f2f34b7aa3b63d1dd9f11ddc9813b2ea6fe1b8f48e48a18f56c80ca7528", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling ntapi v0.3.3
[INFO] [stderr]     Checking cve_2020_0796 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntexapi`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ntapi::ntexapi;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `ntexapi` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ntapi::ntrtl;
[INFO] [stdout]    |     ^^^^^^^^^^^^ no `ntrtl` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::psapi::{EnumProcesses, EnumProcessModules, GetModuleBaseNameA};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::ctypes::c_void;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt::*;
[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:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::shared::ntstatus::{STATUS_SUCCESS};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::shared::minwindef::{HMODULE, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::{processthreadsapi, memoryapi, handleapi};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/main.rs:156:68
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret = unsafe { processthreadsapi::OpenProcessToken(h_proc, TOKEN_QUERY, t_handle as PHANDLE) };
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:156:93
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret = unsafe { processthreadsapi::OpenProcessToken(h_proc, TOKEN_QUERY, t_handle as PHANDLE) };
[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]    --> src/main.rs:236:64
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, tpid) };
[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]    --> src/main.rs:236:92
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, tpid) };
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/main.rs:268:60
[INFO] [stdout]     |
[INFO] [stdout] 268 |     let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_ALL_ACCESS, 0, winlogon_pid) };
[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]    --> src/main.rs:275:81
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[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]    --> src/main.rs:275:95
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[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]    --> src/main.rs:275:107
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]     |                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cve_2020_0796` (bin "cve_2020_0796" test) due to 16 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntexapi`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ntapi::ntexapi;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ no `ntexapi` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ntapi::ntrtl;
[INFO] [stdout]    |     ^^^^^^^^^^^^ no `ntrtl` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::psapi::{EnumProcesses, EnumProcessModules, GetModuleBaseNameA};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::ctypes::c_void;
[INFO] [stdout]    |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt::*;
[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:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::shared::ntstatus::{STATUS_SUCCESS};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::shared::minwindef::{HMODULE, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::um`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::{processthreadsapi, memoryapi, handleapi};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/main.rs:156:68
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret = unsafe { processthreadsapi::OpenProcessToken(h_proc, TOKEN_QUERY, t_handle as PHANDLE) };
[INFO] [stdout]     |                                                                    ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PHANDLE` in this scope
[INFO] [stdout]    --> src/main.rs:156:93
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let ret = unsafe { processthreadsapi::OpenProcessToken(h_proc, TOKEN_QUERY, t_handle as PHANDLE) };
[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]    --> src/main.rs:236:64
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, tpid) };
[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]    --> src/main.rs:236:92
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, tpid) };
[INFO] [stdout]     |                                                                                            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PROCESS_ALL_ACCESS` in this scope
[INFO] [stdout]    --> src/main.rs:268:60
[INFO] [stdout]     |
[INFO] [stdout] 268 |     let hprocess = unsafe { processthreadsapi::OpenProcess(PROCESS_ALL_ACCESS, 0, winlogon_pid) };
[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]    --> src/main.rs:275:81
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[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]    --> src/main.rs:275:95
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[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]    --> src/main.rs:275:107
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let hmem = unsafe { memoryapi::VirtualAllocEx(hprocess, null_mut(), 0x1000, MEM_RESERVE | MEM_COMMIT, PAGE_EXECUTE_READWRITE) };
[INFO] [stdout]     |                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cve_2020_0796` (bin "cve_2020_0796") due to 16 previous errors
[INFO] running `Command { std: "docker" "inspect" "f0b53f2f34b7aa3b63d1dd9f11ddc9813b2ea6fe1b8f48e48a18f56c80ca7528", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0b53f2f34b7aa3b63d1dd9f11ddc9813b2ea6fe1b8f48e48a18f56c80ca7528", kill_on_drop: false }`
[INFO] [stdout] f0b53f2f34b7aa3b63d1dd9f11ddc9813b2ea6fe1b8f48e48a18f56c80ca7528
