[INFO] cloning repository https://github.com/sqxy090123/virus
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sqxy090123/virus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqxy090123%2Fvirus", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqxy090123%2Fvirus'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d0fab730f89999ed17fd0624156d629790fed81d
[INFO] checking sqxy090123/virus against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqxy090123%2Fvirus" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/sqxy090123/virus
[INFO] finished tweaking git repo https://github.com/sqxy090123/virus
[INFO] tweaked toml for git repo https://github.com/sqxy090123/virus written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sqxy090123/virus on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sqxy090123/virus 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking sqxy090123/virus against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsqxy090123%2Fvirus" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/sqxy090123/virus
[INFO] finished tweaking git repo https://github.com/sqxy090123/virus
[INFO] tweaked toml for git repo https://github.com/sqxy090123/virus written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sqxy090123/virus on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sqxy090123/virus 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 461f44a6e3475bee5cd049d354fbf87b03b81ce1e289a2c79d8162e8a480bd7b
[INFO] running `Command { std: "docker" "start" "-a" "461f44a6e3475bee5cd049d354fbf87b03b81ce1e289a2c79d8162e8a480bd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "461f44a6e3475bee5cd049d354fbf87b03b81ce1e289a2c79d8162e8a480bd7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "461f44a6e3475bee5cd049d354fbf87b03b81ce1e289a2c79d8162e8a480bd7b", kill_on_drop: false }`
[INFO] [stdout] 461f44a6e3475bee5cd049d354fbf87b03b81ce1e289a2c79d8162e8a480bd7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e70bf0591af8156f32aea11b3027c22f3916fd69e090f9d9c9ad84bf0fa1186
[INFO] running `Command { std: "docker" "start" "-a" "8e70bf0591af8156f32aea11b3027c22f3916fd69e090f9d9c9ad84bf0fa1186", kill_on_drop: false }`
[INFO] [stderr] warning: unused manifest key: target.x86_64-pc-windows-gnu.linker
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling cc v1.2.18
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling openssl-sys v0.9.107
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling sys-info v0.9.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling ntapi v0.4.1
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking rustls-pki-types v1.11.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking raw-cpuid v11.5.0
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking h2 v0.4.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking hyper-util v0.1.11
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking reqwest v0.12.15
[INFO] [stderr]     Checking virus v1.0.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 | use winapi::um::debugapi::IsDebuggerPresent;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 | use winapi::um::processthreadsapi::GetCurrentThread;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 | use winapi::um::processthreadsapi::SetPriorityClass;
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:210:13
[INFO] [stdout]     |
[INFO] [stdout] 210 | use winapi::um::winbase::HIGH_PRIORITY_CLASS;
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 | use winapi::um::processthreadsapi::{GetCurrentProcess};
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 | use winapi::um::winbase::{REALTIME_PRIORITY_CLASS};
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi`
[INFO] [stdout]   --> src/lib.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | use ntapi::ntpsapi::NtSetInformationThread;
[INFO] [stdout]    |            ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 | use winapi::um::debugapi::IsDebuggerPresent;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 | use winapi::um::processthreadsapi::GetCurrentThread;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:189:31
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let process = winapi::um::processthreadsapi::GetCurrentProcess();
[INFO] [stdout]     |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 winapi::um::winnt::TokenPrivileges,
[INFO] [stdout]     |                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:209:13
[INFO] [stdout]     |
[INFO] [stdout] 209 | use winapi::um::processthreadsapi::SetPriorityClass;
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:210:13
[INFO] [stdout]     |
[INFO] [stdout] 210 | use winapi::um::winbase::HIGH_PRIORITY_CLASS;
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:214:31
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let process = winapi::um::processthreadsapi::GetCurrentProcess();
[INFO] [stdout]     |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 | use winapi::um::processthreadsapi::{GetCurrentProcess};
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 | use winapi::um::winbase::{REALTIME_PRIORITY_CLASS};
[INFO] [stdout]     |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi`
[INFO] [stdout]   --> src/lib.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | use ntapi::ntpsapi::NtSetInformationThread;
[INFO] [stdout]    |            ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/lib.rs:188:24
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut token: HANDLE = std::ptr::null_mut();
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/lib.rs:192:38
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if OpenProcessToken(process, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut token) != 0 {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/lib.rs:192:64
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if OpenProcessToken(process, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut token) != 0 {
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/lib.rs:194:30
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let privileges = TOKEN_PRIVILEGES {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/lib.rs:115:31
[INFO] [stdout]     |
[INFO] [stdout] 115 |     String::from_utf8(base64::decode(encoded).unwrap()).unwrap()
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:189:31
[INFO] [stdout]     |
[INFO] [stdout] 189 |         let process = winapi::um::processthreadsapi::GetCurrentProcess();
[INFO] [stdout]     |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]    --> src/lib.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if OpenProcessToken(process, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut token) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTokenInformation` in this scope
[INFO] [stdout]    --> src/lib.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             SetTokenInformation(
[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]    --> src/lib.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |             CloseHandle(token);
[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]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         CloseHandle(process);
[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]    --> src/lib.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         CloseHandle(process);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/lib.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn unzip(a: i32) {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 200 |                 winapi::um::winnt::TokenPrivileges,
[INFO] [stdout]     |                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/lib.rs:214:31
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let process = winapi::um::processthreadsapi::GetCurrentProcess();
[INFO] [stdout]     |                               ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]    --> src/lib.rs:188:24
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let mut token: HANDLE = std::ptr::null_mut();
[INFO] [stdout]     |                        ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_ADJUST_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/lib.rs:192:38
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if OpenProcessToken(process, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut token) != 0 {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope
[INFO] [stdout]    --> src/lib.rs:192:64
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if OpenProcessToken(process, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut token) != 0 {
[INFO] [stdout]     |                                                                ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TOKEN_PRIVILEGES` in this scope
[INFO] [stdout]    --> src/lib.rs:194:30
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let privileges = TOKEN_PRIVILEGES {
[INFO] [stdout]     |                              ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `virus` (lib) due to 19 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]    --> src/lib.rs:115:31
[INFO] [stdout]     |
[INFO] [stdout] 115 |     String::from_utf8(base64::decode(encoded).unwrap()).unwrap()
[INFO] [stdout]     |                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope
[INFO] [stdout]    --> src/lib.rs:192:12
[INFO] [stdout]     |
[INFO] [stdout] 192 |         if OpenProcessToken(process, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &mut token) != 0 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetTokenInformation` in this scope
[INFO] [stdout]    --> src/lib.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |             SetTokenInformation(
[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]    --> src/lib.rs:204:13
[INFO] [stdout]     |
[INFO] [stdout] 204 |             CloseHandle(token);
[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]    --> src/lib.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         CloseHandle(process);
[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]    --> src/lib.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |         CloseHandle(process);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/lib.rs:46:14
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn unzip(a: i32) {
[INFO] [stdout]    |              ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, 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 `virus` (lib test) due to 19 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8e70bf0591af8156f32aea11b3027c22f3916fd69e090f9d9c9ad84bf0fa1186", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e70bf0591af8156f32aea11b3027c22f3916fd69e090f9d9c9ad84bf0fa1186", kill_on_drop: false }`
[INFO] [stdout] 8e70bf0591af8156f32aea11b3027c22f3916fd69e090f9d9c9ad84bf0fa1186
