[INFO] cloning repository https://github.com/fdx-xdf/Rust_Beacon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fdx-xdf/Rust_Beacon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdx-xdf%2FRust_Beacon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdx-xdf%2FRust_Beacon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f0b92f96a72389532da6f66b333831bd8db7ca5
[INFO] checking fdx-xdf/Rust_Beacon against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdx-xdf%2FRust_Beacon" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fdx-xdf/Rust_Beacon on toolchain d12484522bcab8d07e325c6570f226a2faace3f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fdx-xdf/Rust_Beacon
[INFO] finished tweaking git repo https://github.com/fdx-xdf/Rust_Beacon
[INFO] tweaked toml for git repo https://github.com/fdx-xdf/Rust_Beacon written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/fdx-xdf/Rust_Beacon 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking fdx-xdf/Rust_Beacon against try#d12484522bcab8d07e325c6570f226a2faace3f7 for pr-128425-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffdx-xdf%2FRust_Beacon" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/fdx-xdf/Rust_Beacon on toolchain d12484522bcab8d07e325c6570f226a2faace3f7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/fdx-xdf/Rust_Beacon
[INFO] finished tweaking git repo https://github.com/fdx-xdf/Rust_Beacon
[INFO] tweaked toml for git repo https://github.com/fdx-xdf/Rust_Beacon written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/fdx-xdf/Rust_Beacon 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" "+d12484522bcab8d07e325c6570f226a2faace3f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rsa v0.7.2
[INFO] [stderr]   Downloaded hexdump v0.1.2
[INFO] [stderr]   Downloaded pkcs1 v0.4.1
[INFO] [stderr]   Downloaded cstr_core v0.2.6
[INFO] [stderr]   Downloaded printf-compat v0.1.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1adf4a9ec7ec6c11dce1b9b3dff7180352b4f0d2376ec621c251efe5e6be7c2d
[INFO] running `Command { std: "docker" "start" "-a" "1adf4a9ec7ec6c11dce1b9b3dff7180352b4f0d2376ec621c251efe5e6be7c2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1adf4a9ec7ec6c11dce1b9b3dff7180352b4f0d2376ec621c251efe5e6be7c2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1adf4a9ec7ec6c11dce1b9b3dff7180352b4f0d2376ec621c251efe5e6be7c2d", kill_on_drop: false }`
[INFO] [stdout] 1adf4a9ec7ec6c11dce1b9b3dff7180352b4f0d2376ec621c251efe5e6be7c2d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+d12484522bcab8d07e325c6570f226a2faace3f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8816b203a4d7ce713a9058ea31ad30689699f9d2bdc79561a8fd4bf55d259ed3
[INFO] running `Command { std: "docker" "start" "-a" "8816b203a4d7ce713a9058ea31ad30689699f9d2bdc79561a8fd4bf55d259ed3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.1.7
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking const-oid v0.9.6
[INFO] [stderr]     Checking bytes v1.7.0
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]     Checking mio v1.0.1
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]     Checking tokio v1.39.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking pem-rfc7468 v0.6.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]     Checking deranged v0.3.11
[INFO] [stderr]    Compiling time-macros v0.2.18
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking der v0.6.1
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling cookie v0.17.0
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.121
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking spki v0.6.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]     Checking psl-types v2.0.11
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking publicsuffix v2.2.3
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking pkcs8 v0.9.0
[INFO] [stderr]     Checking windows-result v0.1.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking cstr_core v0.2.6
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking pkcs1 v0.4.1
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking signature v1.6.4
[INFO] [stderr]     Checking neli v0.5.3
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking printf-compat v0.1.1
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking hexdump v0.1.2
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking windows-sys v0.59.0
[INFO] [stderr]    Compiling zerocopy-derive v0.6.6
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling windows-implement v0.56.0
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking zerocopy v0.6.6
[INFO] [stderr]    Compiling windows-interface v0.56.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.18
[INFO] [stderr]     Checking sysinfo v0.31.4
[INFO] [stderr]     Checking local-ip-address v0.4.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking windows-core v0.56.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking windows v0.56.0
[INFO] [stderr]     Checking rsa v0.7.2
[INFO] [stderr]     Checking cookie_store v0.20.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.30
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking beacon-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/beacon/bof/../../util/encode.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/beacon/bof/../../util/encode.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::beacon::file::list_drives`
[INFO] [stdout]    --> src/beacon/bof/../../util/jobs.rs:3:54
[INFO] [stdout]     |
[INFO] [stdout] 3   | use crate::beacon::file::{cp, download, file_browse, list_drives, mkdir, mv, rm, upload};
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ no `list_drives` in `beacon::file`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/beacon/file.rs:444:8
[INFO] [stdout]     |
[INFO] [stdout] 444 | pub fn list_drives(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `windows` feature
[INFO] [stdout]    --> src/beacon/file.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 | #[cfg(target_os = "windows")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/beacon/proc.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::raw::HANDLE;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/util/encode.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::beacon::file::list_drives`
[INFO] [stdout]    --> src/beacon/bof/../../util/jobs.rs:3:54
[INFO] [stdout]     |
[INFO] [stdout] 3   | use crate::beacon::file::{cp, download, file_browse, list_drives, mkdir, mv, rm, upload};
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ no `list_drives` in `beacon::file`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/beacon/file.rs:444:8
[INFO] [stdout]     |
[INFO] [stdout] 444 | pub fn list_drives(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `windows` feature
[INFO] [stdout]    --> src/beacon/file.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 | #[cfg(target_os = "windows")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/beacon/proc.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::raw::HANDLE;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/util/encode.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout]   |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:63:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:55:1
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:121:9
[INFO] [stdout] note: the item is gated here
[INFO] [stdout]  --> /rustc/d12484522bcab8d07e325c6570f226a2faace3f7/library/std/src/os/mod.rs:120:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::beacon::bof::bof_api`
[INFO] [stdout]   --> src/beacon/bof/mod.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::beacon::bof::bof_api::{
[INFO] [stdout]    |                         ^^^^^^^ could not find `bof_api` in `bof`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/beacon/bof/mod.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | mod bof_api;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] note: the item is gated behind the `windows` feature
[INFO] [stdout]   --> src/beacon/bof/mod.rs:1:7
[INFO] [stdout]    |
[INFO] [stdout] 1  | #[cfg(target_os = "windows")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::beacon::file::list_drives`
[INFO] [stdout]    --> src/util/jobs.rs:3:54
[INFO] [stdout]     |
[INFO] [stdout] 3   | use crate::beacon::file::{cp, download, file_browse, list_drives, mkdir, mv, rm, upload};
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ no `list_drives` in `beacon::file`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/beacon/file.rs:444:8
[INFO] [stdout]     |
[INFO] [stdout] 444 | pub fn list_drives(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `windows` feature
[INFO] [stdout]    --> src/beacon/file.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 | #[cfg(target_os = "windows")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::beacon::bof::bof_api`
[INFO] [stdout]   --> src/beacon/bof/mod.rs:13:25
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::beacon::bof::bof_api::{
[INFO] [stdout]    |                         ^^^^^^^ could not find `bof_api` in `bof`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/beacon/bof/mod.rs:2:5
[INFO] [stdout]    |
[INFO] [stdout] 2  | mod bof_api;
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] note: the item is gated behind the `windows` feature
[INFO] [stdout]   --> src/beacon/bof/mod.rs:1:7
[INFO] [stdout]    |
[INFO] [stdout] 1  | #[cfg(target_os = "windows")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::beacon::file::list_drives`
[INFO] [stdout]    --> src/util/jobs.rs:3:54
[INFO] [stdout]     |
[INFO] [stdout] 3   | use crate::beacon::file::{cp, download, file_browse, list_drives, mkdir, mv, rm, upload};
[INFO] [stdout]     |                                                      ^^^^^^^^^^^ no `list_drives` in `beacon::file`
[INFO] [stdout]     |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]    --> src/beacon/file.rs:444:8
[INFO] [stdout]     |
[INFO] [stdout] 444 | pub fn list_drives(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] note: the item is gated behind the `windows` feature
[INFO] [stdout]    --> src/beacon/file.rs:443:7
[INFO] [stdout]     |
[INFO] [stdout] 443 | #[cfg(target_os = "windows")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/beacon/bof/../../util/encode.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if let Ok(locale) = env::var("LC_CTYPE") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/beacon/bof/../../util/encode.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if let Ok(locale) = env::var("LANG") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]   --> src/beacon/init.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             if fs::read("/etc/shadow").is_ok() {
[INFO] [stdout]    |                ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]   --> src/beacon/init.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if Command::new("uname").arg("-p").output().unwrap().stdout == b"x86_64\n" {
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]   --> src/beacon/init.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 |             String::from_utf8(Command::new("hostname").output().unwrap().stdout).unwrap();
[INFO] [stdout]    |                               ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:73:59
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut proc_info: PROCESS_INFORMATION = unsafe { mem::zeroed() };
[INFO] [stdout]    |                                                           ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:74:55
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut startup_info: STARTUPINFOW = unsafe { mem::zeroed() };
[INFO] [stdout]    |                                                       ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |         startup_info.cb = mem::size_of::<STARTUPINFOW>() as u32;
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/beacon/bof/../../util/encode.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if let Ok(locale) = env::var("LC_CTYPE") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:331:18
[INFO] [stdout]     |
[INFO] [stdout] 331 |             Some(mem::transmute(addr.add(offset as usize))),
[INFO] [stdout]     |                  ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::mem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/beacon/bof/../../util/encode.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if let Ok(locale) = env::var("LANG") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:436:18
[INFO] [stdout]     |
[INFO] [stdout] 436 |     let handle = thread::spawn(move || unsafe {
[INFO] [stdout]     |                  ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]   --> src/beacon/init.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             if fs::read("/etc/shadow").is_ok() {
[INFO] [stdout]    |                ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::fs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:443:5
[INFO] [stdout]     |
[INFO] [stdout] 443 |     thread::sleep(std::time::Duration::from_millis(100));
[INFO] [stdout]     |     ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]   --> src/beacon/init.rs:57:16
[INFO] [stdout]    |
[INFO] [stdout] 57 |             if Command::new("uname").arg("-p").output().unwrap().stdout == b"x86_64\n" {
[INFO] [stdout]    |                ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]   --> src/beacon/init.rs:87:31
[INFO] [stdout]    |
[INFO] [stdout] 87 |             String::from_utf8(Command::new("hostname").output().unwrap().stdout).unwrap();
[INFO] [stdout]    |                               ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 |         thread::sleep(std::time::Duration::from_millis(100));
[INFO] [stdout]     |         ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:73:59
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let mut proc_info: PROCESS_INFORMATION = unsafe { mem::zeroed() };
[INFO] [stdout]    |                                                           ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:74:55
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let mut startup_info: STARTUPINFOW = unsafe { mem::zeroed() };
[INFO] [stdout]    |                                                       ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:75:27
[INFO] [stdout]    |
[INFO] [stdout] 75 |         startup_info.cb = mem::size_of::<STARTUPINFOW>() as u32;
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::mem;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mem`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:331:18
[INFO] [stdout]     |
[INFO] [stdout] 331 |             Some(mem::transmute(addr.add(offset as usize))),
[INFO] [stdout]     |                  ^^^ use of unresolved module or unlinked crate `mem`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::mem;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:35:40
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn get_privs(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]    |                                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_map::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_set::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:436:18
[INFO] [stdout]     |
[INFO] [stdout] 436 |     let handle = thread::spawn(move || unsafe {
[INFO] [stdout]     |                  ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::beacon_read_i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_short` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let privs_cnt = beacon_read_short(&mut decrypted_cursor).unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_read_short;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let (_, priv_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     beacon_send_result(error_message.as_bytes(), &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         beacon_send_result(b"OK", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:443:5
[INFO] [stdout]     |
[INFO] [stdout] 443 |     thread::sleep(std::time::Duration::from_millis(100));
[INFO] [stdout]     |     ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn steal_token(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_map::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_set::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thread`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 |         thread::sleep(std::time::Duration::from_millis(100));
[INFO] [stdout]     |         ^^^^^^ use of unresolved module or unlinked crate `thread`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 1   + use std::thread;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap() as u32;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::beacon_read_i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:35:40
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn get_privs(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]    |                                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_map::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_set::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let pid = beacon_read_i32(&mut decrypted_cursor).unwrap() as u32;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::beacon_read_i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::beacon_read_i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_short` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let privs_cnt = beacon_read_short(&mut decrypted_cursor).unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_read_short;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let (_, priv_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         beacon_send_result(b"Failed to open process", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 |                     beacon_send_result(error_message.as_bytes(), &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         beacon_send_result(b"Failed to open process token", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         beacon_send_result(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         beacon_send_result(b"Failed to duplicate token", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             beacon_send_result(b"Failed to create pipe", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             beacon_send_result(b"Failed to create process", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |             beacon_send_result(b"Failed to read from pipe", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |             beacon_send_result(message.as_bytes(), &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:241:21
[INFO] [stdout]     |
[INFO] [stdout] 241 |                     beacon_send_result(b"Failed to revert to self", &BEACON, CALLBACK_OUTPUT)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |             beacon_send_result(b"ok", &BEACON, CALLBACK_OUTPUT).unwrap()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 beacon_send_result(b"Failed to open process token", &BEACON, CALLBACK_OUTPUT)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:329:36
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn runas(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |                                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_map::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_set::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::linked_list::Cursor;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         beacon_send_result(b"OK", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:330:13
[INFO] [stdout]     |
[INFO] [stdout] 330 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::beacon_read_i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:66:42
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn steal_token(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]    |                                          ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_map::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::btree_set::Cursor;
[INFO] [stdout]    |
[INFO] [stdout] 3  + use std::collections::linked_list::Cursor;
[INFO] [stdout]    |
[INFO] [stdout]      and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap() as u32;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::beacon_read_i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:331:27
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let (_, domain_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:68:15
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let pid = beacon_read_i32(&mut decrypted_cursor).unwrap() as u32;
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::beacon_read_i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         beacon_send_result(b"Failed to open process", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]   --> src/beacon/token.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |         beacon_send_result(b"Failed to open process token", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:332:29
[INFO] [stdout]     |
[INFO] [stdout] 332 |     let (_, username_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         beacon_send_result(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:137:9
[INFO] [stdout]     |
[INFO] [stdout] 137 |         beacon_send_result(b"Failed to duplicate token", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |             beacon_send_result(b"Failed to create pipe", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             beacon_send_result(b"Failed to create process", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:211:13
[INFO] [stdout]     |
[INFO] [stdout] 211 |             beacon_send_result(b"Failed to read from pipe", &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:216:13
[INFO] [stdout]     |
[INFO] [stdout] 216 |             beacon_send_result(message.as_bytes(), &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:241:21
[INFO] [stdout]     |
[INFO] [stdout] 241 |                     beacon_send_result(b"Failed to revert to self", &BEACON, CALLBACK_OUTPUT)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |             beacon_send_result(b"ok", &BEACON, CALLBACK_OUTPUT).unwrap()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:333:29
[INFO] [stdout]     |
[INFO] [stdout] 333 |     let (_, password_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:269:17
[INFO] [stdout]     |
[INFO] [stdout] 269 |                 beacon_send_result(b"Failed to open process token", &BEACON, CALLBACK_OUTPUT)
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:334:28
[INFO] [stdout]     |
[INFO] [stdout] 334 |     let (_, command_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:329:36
[INFO] [stdout]     |
[INFO] [stdout] 329 | pub fn runas(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |                                    ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_map::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_set::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::linked_list::Cursor;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:410:9
[INFO] [stdout]     |
[INFO] [stdout] 410 |         beacon_send_result(output.as_bytes(), &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:330:13
[INFO] [stdout]     |
[INFO] [stdout] 330 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::beacon_read_i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:331:27
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let (_, domain_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:332:29
[INFO] [stdout]     |
[INFO] [stdout] 332 |     let (_, username_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:420:41
[INFO] [stdout]     |
[INFO] [stdout] 420 | pub fn make_token(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |                                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_map::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_set::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::linked_list::Cursor;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:333:29
[INFO] [stdout]     |
[INFO] [stdout] 333 |     let (_, password_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::beacon_read_i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:334:28
[INFO] [stdout]     |
[INFO] [stdout] 334 |     let (_, command_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:410:9
[INFO] [stdout]     |
[INFO] [stdout] 410 |         beacon_send_result(output.as_bytes(), &BEACON, CALLBACK_OUTPUT).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:422:27
[INFO] [stdout]     |
[INFO] [stdout] 422 |     let (_, domain_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:423:29
[INFO] [stdout]     |
[INFO] [stdout] 423 |     let (_, username_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Cursor` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:420:41
[INFO] [stdout]     |
[INFO] [stdout] 420 | pub fn make_token(mut decrypted_cursor: Cursor<Vec<u8>>) {
[INFO] [stdout]     |                                         ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_map::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::btree_set::Cursor;
[INFO] [stdout]     |
[INFO] [stdout] 3   + use std::collections::linked_list::Cursor;
[INFO] [stdout]     |
[INFO] [stdout]       and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:424:29
[INFO] [stdout]     |
[INFO] [stdout] 424 |     let (_, password_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_i32` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:421:13
[INFO] [stdout]     |
[INFO] [stdout] 421 |     let _ = beacon_read_i32(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function through its public re-export
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::beacon_read_i32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:471:9
[INFO] [stdout]     |
[INFO] [stdout] 471 |         beacon_send_result(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:506:5
[INFO] [stdout]     |
[INFO] [stdout] 506 |     beacon_send_result(b"make token success", &BEACON, CALLBACK_OUTPUT).unwrap()
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/util/encode.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if let Ok(locale) = env::var("LC_CTYPE") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:422:27
[INFO] [stdout]     |
[INFO] [stdout] 422 |     let (_, domain_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:423:29
[INFO] [stdout]     |
[INFO] [stdout] 423 |     let (_, username_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_read_length_and_string` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:424:29
[INFO] [stdout]     |
[INFO] [stdout] 424 |     let (_, password_vec) = beacon_read_length_and_string(&mut decrypted_cursor).unwrap();
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_read_length_and_string;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:471:9
[INFO] [stdout]     |
[INFO] [stdout] 471 |         beacon_send_result(
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `beacon_send_result` in this scope
[INFO] [stdout]    --> src/beacon/token.rs:506:5
[INFO] [stdout]     |
[INFO] [stdout] 506 |     beacon_send_result(b"make token success", &BEACON, CALLBACK_OUTPUT).unwrap()
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 3   + use crate::util::data_parse::beacon_send_result;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/util/encode.rs:53:29
[INFO] [stdout]    |
[INFO] [stdout] 53 |         if let Ok(locale) = env::var("LC_CTYPE") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/util/encode.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if let Ok(locale) = env::var("LANG") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/util/encode.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |         if let Ok(locale) = env::var("LANG") {
[INFO] [stdout]    |                             ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PublicKey` and `pkcs8::DecodePublicKey`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rsa::{pkcs8::DecodePublicKey, PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Globalization::GetACP`
[INFO] [stdout]  --> src/beacon/bof/../../util/encode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_sys::Win32::Globalization::GetACP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PublicKey` and `pkcs8::DecodePublicKey`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use rsa::{pkcs8::DecodePublicKey, PublicKey};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/beacon/bof/../../util/jobs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         /// 有问题
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 74 |         CMD_TYPE_JOB_REGISTER_MSGMODE => job_handle(cmd),
[INFO] [stdout]    |         ------------------------------------------------ rustdoc does not generate documentation for match arms
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Globalization::GetACP`
[INFO] [stdout]  --> src/beacon/bof/../../util/encode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_sys::Win32::Globalization::GetACP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bail`
[INFO] [stdout]  --> src/beacon/bof/../../util/os_command.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::{anyhow, bail};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]  --> src/beacon/bof/../../util/os_command.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/beacon/bof/../../util/jobs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         /// 有问题
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 74 |         CMD_TYPE_JOB_REGISTER_MSGMODE => job_handle(cmd),
[INFO] [stdout]    |         ------------------------------------------------ rustdoc does not generate documentation for match arms
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bail`
[INFO] [stdout]  --> src/beacon/bof/../../util/os_command.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::{anyhow, bail};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `c_void`
[INFO] [stdout]  --> src/beacon/bof/mod.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ffi::{c_char, c_void, CStr};
[INFO] [stdout]   |                        ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/beacon/bof/mod.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Cursor, Read};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]  --> src/beacon/bof/../../util/os_command.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/beacon/bof/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{io, ptr, slice};
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `c_void`
[INFO] [stdout]  --> src/beacon/bof/mod.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ffi::{c_char, c_void, CStr};
[INFO] [stdout]   |                        ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::strike`
[INFO] [stdout]   --> src/beacon/bof/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::util::strike;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/beacon/bof/mod.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{Cursor, Read};
[INFO] [stdout]   |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `COUNTER`
[INFO] [stdout]   --> src/beacon/bof/mod.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::{BEACON, COUNTER};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io`
[INFO] [stdout]  --> src/beacon/bof/mod.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::{io, ptr, slice};
[INFO] [stdout]   |           ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Storage::FileSystem::GetLogicalDrives`
[INFO] [stdout]   --> src/beacon/file.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::Storage::FileSystem::GetLogicalDrives;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::util::strike`
[INFO] [stdout]   --> src/beacon/bof/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use crate::util::strike;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `COUNTER`
[INFO] [stdout]   --> src/beacon/file.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::{BEACON, COUNTER};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `COUNTER`
[INFO] [stdout]   --> src/beacon/bof/mod.rs:23:21
[INFO] [stdout]    |
[INFO] [stdout] 23 | use crate::{BEACON, COUNTER};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/beacon/init.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Storage::FileSystem::GetLogicalDrives`
[INFO] [stdout]   --> src/beacon/file.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::Storage::FileSystem::GetLogicalDrives;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `COUNTER`
[INFO] [stdout]   --> src/beacon/file.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::{BEACON, COUNTER};
[INFO] [stdout]    |                     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/beacon/init.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/beacon/init.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/beacon/init.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `local_ip_address::local_ip`
[INFO] [stdout]  --> src/beacon/init.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use local_ip_address::local_ip;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/beacon/init.rs:4:16
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::net::{IpAddr, Ipv4Addr};
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/beacon/init.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GetNativeSystemInfo` and `SYSTEM_INFO`
[INFO] [stdout]   --> src/beacon/init.rs:12:53
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::System::SystemInformation::{GetNativeSystemInfo, SYSTEM_INFO};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `local_ip_address::local_ip`
[INFO] [stdout]  --> src/beacon/init.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use local_ip_address::local_ip;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetCurrentProcess`
[INFO] [stdout]   --> src/beacon/init.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows_sys::Win32::System::Threading::{GetCurrentProcess, IsWow64Process};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GetNativeSystemInfo` and `SYSTEM_INFO`
[INFO] [stdout]   --> src/beacon/init.rs:12:53
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows_sys::Win32::System::SystemInformation::{GetNativeSystemInfo, SYSTEM_INFO};
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::UI::Shell::IsUserAnAdmin`
[INFO] [stdout]   --> src/beacon/init.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows_sys::Win32::UI::Shell::IsUserAnAdmin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GetCurrentProcess`
[INFO] [stdout]   --> src/beacon/init.rs:13:45
[INFO] [stdout]    |
[INFO] [stdout] 13 | use windows_sys::Win32::System::Threading::{GetCurrentProcess, IsWow64Process};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/beacon/proc.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::UI::Shell::IsUserAnAdmin`
[INFO] [stdout]   --> src/beacon/init.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use windows_sys::Win32::UI::Shell::IsUserAnAdmin;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]  --> src/beacon/proc.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr::null_mut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::core::PCSTR`
[INFO] [stdout]  --> src/beacon/proc.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows_sys::core::PCSTR;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CStr` and `CString`
[INFO] [stdout]  --> src/beacon/proc.rs:1:16
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::ffi::{CStr, CString};
[INFO] [stdout]   |                ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::null_mut`
[INFO] [stdout]  --> src/beacon/proc.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::ptr::null_mut;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOL` and `GetLastError`
[INFO] [stdout]  --> src/beacon/proc.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows_sys::Win32::Foundation::{GetLastError, BOOL};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::core::PCSTR`
[INFO] [stdout]  --> src/beacon/proc.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows_sys::core::PCSTR;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Security::Authorization::ConvertStringSidToSidA`
[INFO] [stdout]  --> src/beacon/proc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows_sys::Win32::Security::Authorization::ConvertStringSidToSidA;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BOOL` and `GetLastError`
[INFO] [stdout]  --> src/beacon/proc.rs:8:38
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows_sys::Win32::Foundation::{GetLastError, BOOL};
[INFO] [stdout]   |                                      ^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LookupAccountSidA`, `PSID`, and `SID_NAME_USE`
[INFO] [stdout]   --> src/beacon/proc.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows_sys::Win32::Security::{LookupAccountSidA, PSID, SID_NAME_USE};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^  ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Security::Authorization::ConvertStringSidToSidA`
[INFO] [stdout]  --> src/beacon/proc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows_sys::Win32::Security::Authorization::ConvertStringSidToSidA;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::System::RemoteDesktop::ProcessIdToSessionId`
[INFO] [stdout]   --> src/beacon/proc.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows_sys::Win32::System::RemoteDesktop::ProcessIdToSessionId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `LookupAccountSidA`, `PSID`, and `SID_NAME_USE`
[INFO] [stdout]   --> src/beacon/proc.rs:10:36
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows_sys::Win32::Security::{LookupAccountSidA, PSID, SID_NAME_USE};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^  ^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IsWow64Process`, `OpenProcess`, `PROCESS_QUERY_INFORMATION`, and `PROCESS_VM_READ`
[INFO] [stdout]   --> src/beacon/proc.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     IsWow64Process, OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::System::RemoteDesktop::ProcessIdToSessionId`
[INFO] [stdout]   --> src/beacon/proc.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows_sys::Win32::System::RemoteDesktop::ProcessIdToSessionId;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]    --> src/beacon/proc.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     use std::fs;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WaitForSingleObject`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:24:39
[INFO] [stdout]    |
[INFO] [stdout] 24 |     GetCurrentProcessId, OpenProcess, WaitForSingleObject, CREATE_NO_WINDOW, CREATE_SUSPENDED,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IsWow64Process`, `OpenProcess`, `PROCESS_QUERY_INFORMATION`, and `PROCESS_VM_READ`
[INFO] [stdout]   --> src/beacon/proc.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     IsWow64Process, OpenProcess, PROCESS_QUERY_INFORMATION, PROCESS_VM_READ,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]    --> src/beacon/proc.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     use std::fs;
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Globalization::GetACP`
[INFO] [stdout]  --> src/util/encode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_sys::Win32::Globalization::GetACP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WaitForSingleObject`
[INFO] [stdout]   --> src/beacon/spawn_and_inject.rs:24:39
[INFO] [stdout]    |
[INFO] [stdout] 24 |     GetCurrentProcessId, OpenProcess, WaitForSingleObject, CREATE_NO_WINDOW, CREATE_SUSPENDED,
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/util/jobs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         /// 有问题
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 74 |         CMD_TYPE_JOB_REGISTER_MSGMODE => job_handle(cmd),
[INFO] [stdout]    |         ------------------------------------------------ rustdoc does not generate documentation for match arms
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows_sys::Win32::Globalization::GetACP`
[INFO] [stdout]  --> src/util/encode.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_sys::Win32::Globalization::GetACP;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bail`
[INFO] [stdout]  --> src/util/os_command.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::{anyhow, bail};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused doc comment
[INFO] [stdout]   --> src/util/jobs.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |         /// 有问题
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 74 |         CMD_TYPE_JOB_REGISTER_MSGMODE => job_handle(cmd),
[INFO] [stdout]    |         ------------------------------------------------ rustdoc does not generate documentation for match arms
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `//` for a plain comment
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]  --> src/util/os_command.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::{Command, Stdio};
[INFO] [stdout]   |                             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `bail`
[INFO] [stdout]  --> src/util/os_command.rs:2:22
[INFO] [stdout]   |
[INFO] [stdout] 2 | use anyhow::{anyhow, bail};
[INFO] [stdout]   |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdio`
[INFO] [stdout]  --> src/util/os_command.rs:3:29
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::process::{Command, Stdio};
[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/beacon/bof/../../util/encode.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/beacon/bof/../../util/encode.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/beacon/proc.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let session_id = get_process_session_id(pid.as_u32()).unwrap_or(0); // 获取会话 ID
[INFO] [stdout]    |                          ---------------------- ^^^^^^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/beacon/proc.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_process_session_id(_pid: i32) -> Option<u32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^ ---------
[INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let session_id = get_process_session_id(pid.as_u32().try_into().unwrap()).unwrap_or(0); // 获取会话 ID
[INFO] [stdout]    |                                                             ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/beacon/proc.rs:39:49
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let session_id = get_process_session_id(pid.as_u32()).unwrap_or(0); // 获取会话 ID
[INFO] [stdout]    |                          ---------------------- ^^^^^^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/beacon/proc.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_process_session_id(_pid: i32) -> Option<u32> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^ ---------
[INFO] [stdout] help: you can convert a `u32` to an `i32` and panic if the converted value doesn't fit
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let session_id = get_process_session_id(pid.as_u32().try_into().unwrap()).unwrap_or(0); // 获取会话 ID
[INFO] [stdout]    |                                                             ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/beacon/proc.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn get_username_from_sid(sid: &str) -> Result<String, String> {
[INFO] [stdout]     |    ---------------------               ^^^^^^^^^^^^^^^^^^^^^^ expected `Result<String, String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<String, String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/beacon/proc.rs:133:40
[INFO] [stdout]     |
[INFO] [stdout] 133 | fn get_username_from_sid(sid: &str) -> Result<String, String> {
[INFO] [stdout]     |    ---------------------               ^^^^^^^^^^^^^^^^^^^^^^ expected `Result<String, String>`, found `()`
[INFO] [stdout]     |    |
[INFO] [stdout]     |    implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<String, String>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/util/encode.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/util/encode.rs:68:19
[INFO] [stdout]    |
[INFO] [stdout] 68 |     OsStr::new(s).encode_wide().chain(Some(0)).collect()
[INFO] [stdout]    |                   ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Digest`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use sha2::Digest;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sha2::Digest`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use sha2::Digest;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/beacon/exit.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     unsafe {
[INFO] [stdout]   |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         Ok(_) => unsafe {
[INFO] [stdout]    |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Ok(_) => unsafe {
[INFO] [stdout]    |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]  --> src/beacon/exit.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     unsafe {
[INFO] [stdout]   |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_unsafe)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 33 |         Ok(_) => unsafe {
[INFO] [stdout]    |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:67:18
[INFO] [stdout]    |
[INFO] [stdout] 67 |         Ok(_) => unsafe {
[INFO] [stdout]    |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:82:13
[INFO] [stdout]    |
[INFO] [stdout] 82 |             unsafe {
[INFO] [stdout]    |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 321 |     unsafe { beacon_send_result(&dir_result, &BEACON, CALLBACK_PENDING).unwrap() }
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/file.rs:96:5
[INFO] [stdout]    |
[INFO] [stdout] 96 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 |         unsafe {
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:153:13
[INFO] [stdout]     |
[INFO] [stdout] 153 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             unsafe {
[INFO] [stdout]     |             ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/beacon/file.rs:321:5
[INFO] [stdout]     |
[INFO] [stdout] 321 |     unsafe { beacon_send_result(&dir_result, &BEACON, CALLBACK_PENDING).unwrap() }
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]    --> src/beacon/file.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let handle = thread::spawn(move || unsafe {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/beacon/file.rs:406:9
[INFO] [stdout]     |
[INFO] [stdout] 406 |     let mut request_id = FILE_COUNTER; // 示例请求 ID
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handle`
[INFO] [stdout]    --> src/beacon/file.rs:389:9
[INFO] [stdout]     |
[INFO] [stdout] 389 |     let handle = thread::spawn(move || unsafe {
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/beacon/file.rs:406:9
[INFO] [stdout]     |
[INFO] [stdout] 406 |     let mut request_id = FILE_COUNTER; // 示例请求 ID
[INFO] [stdout]     |         ----^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/shell.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/shell.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/beacon/shell.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let output = match os_system(&args) {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_x64`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:108:58
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn inject_dll(mut decrypted_cursor: Cursor<Vec<u8>>, is_x64: bool) {
[INFO] [stdout]     |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_x64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_ignore_token`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     is_ignore_token: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ignore_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/shell.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/beacon/shell.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 61 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output`
[INFO] [stdout]   --> src/beacon/shell.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let output = match os_system(&args) {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_x64`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:108:58
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub fn inject_dll(mut decrypted_cursor: Cursor<Vec<u8>>, is_x64: bool) {
[INFO] [stdout]     |                                                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_x64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_ignore_token`
[INFO] [stdout]    --> src/beacon/spawn_and_inject.rs:229:5
[INFO] [stdout]     |
[INFO] [stdout] 229 |     is_ignore_token: bool,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ignore_token`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `beacon-rust` (bin "beacon-rust") due to 58 previous errors; 51 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `beacon-rust` (bin "beacon-rust" test) due to 58 previous errors; 51 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8816b203a4d7ce713a9058ea31ad30689699f9d2bdc79561a8fd4bf55d259ed3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8816b203a4d7ce713a9058ea31ad30689699f9d2bdc79561a8fd4bf55d259ed3", kill_on_drop: false }`
[INFO] [stdout] 8816b203a4d7ce713a9058ea31ad30689699f9d2bdc79561a8fd4bf55d259ed3
