[INFO] cloning repository https://github.com/powerful90/shadrosV2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/powerful90/shadrosV2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowerful90%2FshadrosV2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowerful90%2FshadrosV2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 108bb35400c94e1bf4fb6cb9b2e9498fa0f7c55b [INFO] checking powerful90/shadrosV2/108bb35400c94e1bf4fb6cb9b2e9498fa0f7c55b against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpowerful90%2FshadrosV2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/powerful90/shadrosV2 [INFO] finished tweaking git repo https://github.com/powerful90/shadrosV2 [INFO] tweaked toml for git repo https://github.com/powerful90/shadrosV2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/powerful90/shadrosV2 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/powerful90/shadrosV2 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rfd v0.11.4 [INFO] [stderr] Downloaded ab_glyph v0.2.30 [INFO] [stderr] Downloaded emath v0.23.0 [INFO] [stderr] Downloaded accesskit v0.11.2 [INFO] [stderr] Downloaded atspi-macros v0.2.0 [INFO] [stderr] Downloaded egui-winit v0.23.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.5.1 [INFO] [stderr] Downloaded accesskit_winit v0.14.4 [INFO] [stderr] Downloaded accesskit_macos v0.9.0 [INFO] [stderr] Downloaded accesskit_windows v0.14.3 [INFO] [stderr] Downloaded atspi v0.10.1 [INFO] [stderr] Downloaded eframe v0.23.0 [INFO] [stderr] Downloaded accesskit_unix v0.5.2 [INFO] [stderr] Downloaded glutin v0.30.10 [INFO] [stderr] Downloaded accesskit_consumer v0.15.2 [INFO] [stderr] Downloaded egui_glow v0.23.0 [INFO] [stderr] Downloaded libredox v0.1.4 [INFO] [stderr] Downloaded egui v0.23.0 [INFO] [stderr] Downloaded egui_extras v0.23.0 [INFO] [stderr] Downloaded ecolor v0.23.0 [INFO] [stderr] Downloaded epaint v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 617c1ec3d614879f50d02bb54986b1a34ce72584ac8e60e8e9bbf21dd0a86afb [INFO] running `Command { std: "docker" "start" "-a" "617c1ec3d614879f50d02bb54986b1a34ce72584ac8e60e8e9bbf21dd0a86afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "617c1ec3d614879f50d02bb54986b1a34ce72584ac8e60e8e9bbf21dd0a86afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "617c1ec3d614879f50d02bb54986b1a34ce72584ac8e60e8e9bbf21dd0a86afb", kill_on_drop: false }` [INFO] [stdout] 617c1ec3d614879f50d02bb54986b1a34ce72584ac8e60e8e9bbf21dd0a86afb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f4cf3c33cccfd7f2e941e039eb5f2e54b7ddcd78008f417288d88c639241691 [INFO] running `Command { std: "docker" "start" "-a" "2f4cf3c33cccfd7f2e941e039eb5f2e54b7ddcd78008f417288d88c639241691", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Checking ab_glyph v0.2.30 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking xcursor v0.3.10 [INFO] [stderr] Checking rustix v0.37.28 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking accesskit v0.11.2 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Compiling glib-sys v0.16.3 [INFO] [stderr] Compiling gobject-sys v0.16.3 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling gdk-sys v0.16.0 [INFO] [stderr] Compiling atk-sys v0.16.0 [INFO] [stderr] Compiling gio-sys v0.16.3 [INFO] [stderr] Checking ecolor v0.23.0 [INFO] [stderr] Checking emath v0.23.0 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Compiling pango-sys v0.16.3 [INFO] [stderr] Checking epaint v0.23.0 [INFO] [stderr] Compiling cairo-sys-rs v0.16.3 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.16.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling atspi-macros v0.2.0 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking accesskit_consumer v0.15.2 [INFO] [stderr] Compiling gtk-sys v0.16.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking egui v0.23.0 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling rfd v0.11.4 [INFO] [stderr] Checking glow v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking egui_glow v0.23.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking arboard v3.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking atspi v0.10.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking egui_extras v0.23.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking smithay-clipboard v0.6.6 [INFO] [stderr] Checking accesskit_unix v0.5.2 [INFO] [stderr] Checking accesskit_winit v0.14.4 [INFO] [stderr] Checking egui-winit v0.23.0 [INFO] [stderr] Checking eframe v0.23.0 [INFO] [stderr] Checking rust_c2_framework v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0761]: file for module `network_app_state` found at both "src/network_app_state.rs" and "src/network_app_state/mod.rs" [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod network_app_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: delete or rename one of them to remove the ambiguity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0761]: file for module `network_app_state` found at both "src/network_app_state.rs" and "src/network_app_state/mod.rs" [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | mod network_app_state; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: delete or rename one of them to remove the ambiguity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evasion::EvasionConfig` [INFO] [stdout] --> src/agent/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use evasion::EvasionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evasion::EvasionConfig` [INFO] [stdout] --> src/agent/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use evasion::EvasionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evasion::EvasionConfig` [INFO] [stdout] --> src/agent/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use evasion::EvasionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evasion::EvasionConfig` [INFO] [stdout] --> src/agent/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use evasion::EvasionConfig; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | network_app.update(ctx, frame); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_task_results` is never used [INFO] [stdout] --> src/listener/mod.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_task_results(agent_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent_directory` is never used [INFO] [stdout] --> src/listener/mod.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_agent_directory(agent_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvasionConfig` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EvasionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SleepMask` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SleepMask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mask_and_sleep`, `encrypt_memory_regions`, and `decrypt_memory_regions` are never used [INFO] [stdout] --> src/agent/evasion.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SleepMask { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn mask_and_sleep(&mut self, duration: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn encrypt_memory_regions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn decrypt_memory_regions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JitterEngine` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct JitterEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_interval`, and `business_hours_sleep` are never used [INFO] [stdout] --> src/agent/evasion.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl JitterEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 87 | pub fn new(base_interval: Duration, jitter_percentage: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn next_interval(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn business_hours_sleep(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiHasher` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ApiHasher; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `djb2_hash`, `ror13_hash`, and `resolve_api_by_hash` are never used [INFO] [stdout] --> src/agent/evasion.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl ApiHasher { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 125 | pub fn djb2_hash(data: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn ror13_hash(data: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn resolve_api_by_hash(_hash: u32) -> Option { // FIXED: prefixed with underscore [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyscallResolver` is never constructed [INFO] [stdout] --> src/agent/syscalls.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SyscallResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/agent/syscalls.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SyscallResolver { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn resolve_syscall_number(&mut self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn extract_from_function(&self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn halo_gate_resolve(&self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_hardcoded_ssn(&mut self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn get_ntdll_base(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn get_function_address(&self, _ntdll_base: usize, _function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn get_sorted_exports(&self, _ntdll_base: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndirectSyscall` is never constructed [INFO] [stdout] --> src/agent/syscalls.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct IndirectSyscall; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `execute` and `find_syscall_instruction` are never used [INFO] [stdout] --> src/agent/syscalls.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 127 | impl IndirectSyscall { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 128 | // Execute syscall via NTDLL's syscall instruction - FIXED: prefixed unused parameters [INFO] [stdout] 129 | pub unsafe fn execute(_ssn: u16, _syscall_addr: usize, _args: &[usize]) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn find_syscall_instruction() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolymorphicHttp` is never constructed [INFO] [stdout] --> src/agent/polymorphic.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PolymorphicHttp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_request`, `generate_post_request`, `encode_as_json`, `encode_as_form`, and `generate_random_string` are never used [INFO] [stdout] --> src/agent/polymorphic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolymorphicHttp { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn generate_request(&self) -> (String, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn generate_post_request(&self, data: &[u8]) -> (String, HashMap, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn encode_as_json(&self, data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn encode_as_form(&self, data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn generate_random_string(&self, length: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainFronting` is never constructed [INFO] [stdout] --> src/agent/polymorphic.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct DomainFronting { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `craft_request` are never used [INFO] [stdout] --> src/agent/polymorphic.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl DomainFronting { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 138 | pub fn new(fronted_domain: String, real_c2_domain: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn craft_request(&self, data: &[u8]) -> (String, HashMap, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base64_encode` is never used [INFO] [stdout] --> src/agent/polymorphic.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn base64_encode(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentChecker` is never constructed [INFO] [stdout] --> src/agent/environment.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EnvironmentChecker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/agent/environment.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl EnvironmentChecker { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 9 | // Main analysis environment detection [INFO] [stdout] 10 | pub fn is_analysis_environment() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn check_vm_indicators() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn check_analysis_tools() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn check_timing_artifacts() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn check_user_interaction() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn check_system_resources() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn check_edr_processes() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn check_registry_vm_keys() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn check_vm_files() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn check_hardware_vm_signs() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn check_running_processes(_process_names: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn get_total_memory() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn get_cpu_count() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn get_disk_space() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn sandbox_evasion_behavior() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | async fn simulate_legitimate_activity() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Crypto` is never constructed [INFO] [stdout] --> src/crypto/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Crypto; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `generate_key`, `encrypt`, and `decrypt` are never used [INFO] [stdout] --> src/crypto/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Crypto { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 7 | pub fn generate_key() -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn encrypt(data: &[u8], _key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn decrypt(data: &[u8], _key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/models/messages.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/models/messages.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_id` is never used [INFO] [stdout] --> src/utils/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_id(prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp` is never used [INFO] [stdout] --> src/utils/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn timestamp() -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_task_results` is never used [INFO] [stdout] --> src/listener/mod.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn get_task_results(agent_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_agent_directory` is never used [INFO] [stdout] --> src/listener/mod.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_agent_directory(agent_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EvasionConfig` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EvasionConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SleepMask` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct SleepMask { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mask_and_sleep`, `encrypt_memory_regions`, and `decrypt_memory_regions` are never used [INFO] [stdout] --> src/agent/evasion.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SleepMask { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 43 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn mask_and_sleep(&mut self, duration: Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn encrypt_memory_regions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | fn decrypt_memory_regions(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JitterEngine` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct JitterEngine { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `next_interval`, and `business_hours_sleep` are never used [INFO] [stdout] --> src/agent/evasion.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 86 | impl JitterEngine { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 87 | pub fn new(base_interval: Duration, jitter_percentage: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn next_interval(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn business_hours_sleep(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiHasher` is never constructed [INFO] [stdout] --> src/agent/evasion.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub struct ApiHasher; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `djb2_hash`, `ror13_hash`, and `resolve_api_by_hash` are never used [INFO] [stdout] --> src/agent/evasion.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl ApiHasher { [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 125 | pub fn djb2_hash(data: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn ror13_hash(data: &[u8]) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn resolve_api_by_hash(_hash: u32) -> Option { // FIXED: prefixed with underscore [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SyscallResolver` is never constructed [INFO] [stdout] --> src/agent/syscalls.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct SyscallResolver { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/agent/syscalls.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SyscallResolver { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn resolve_syscall_number(&mut self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn extract_from_function(&self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn halo_gate_resolve(&self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_hardcoded_ssn(&mut self, function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn get_ntdll_base(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | fn get_function_address(&self, _ntdll_base: usize, _function_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn get_sorted_exports(&self, _ntdll_base: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndirectSyscall` is never constructed [INFO] [stdout] --> src/agent/syscalls.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct IndirectSyscall; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `execute` and `find_syscall_instruction` are never used [INFO] [stdout] --> src/agent/syscalls.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 127 | impl IndirectSyscall { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 128 | // Execute syscall via NTDLL's syscall instruction - FIXED: prefixed unused parameters [INFO] [stdout] 129 | pub unsafe fn execute(_ssn: u16, _syscall_addr: usize, _args: &[usize]) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn find_syscall_instruction() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PolymorphicHttp` is never constructed [INFO] [stdout] --> src/agent/polymorphic.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PolymorphicHttp { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate_request`, `generate_post_request`, `encode_as_json`, `encode_as_form`, and `generate_random_string` are never used [INFO] [stdout] --> src/agent/polymorphic.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl PolymorphicHttp { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn generate_request(&self) -> (String, HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn generate_post_request(&self, data: &[u8]) -> (String, HashMap, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn encode_as_json(&self, data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn encode_as_form(&self, data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn generate_random_string(&self, length: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DomainFronting` is never constructed [INFO] [stdout] --> src/agent/polymorphic.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct DomainFronting { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `craft_request` are never used [INFO] [stdout] --> src/agent/polymorphic.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl DomainFronting { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 138 | pub fn new(fronted_domain: String, real_c2_domain: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn craft_request(&self, data: &[u8]) -> (String, HashMap, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `base64_encode` is never used [INFO] [stdout] --> src/agent/polymorphic.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn base64_encode(data: &[u8]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnvironmentChecker` is never constructed [INFO] [stdout] --> src/agent/environment.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct EnvironmentChecker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/agent/environment.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl EnvironmentChecker { [INFO] [stdout] | ----------------------- associated functions in this implementation [INFO] [stdout] 9 | // Main analysis environment detection [INFO] [stdout] 10 | pub fn is_analysis_environment() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn check_vm_indicators() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn check_analysis_tools() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn check_timing_artifacts() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn check_user_interaction() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn check_system_resources() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn check_edr_processes() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn check_registry_vm_keys() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn check_vm_files() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn check_hardware_vm_signs() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | fn check_running_processes(_process_names: &[&str]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn get_total_memory() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | fn get_cpu_count() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn get_disk_space() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub async fn sandbox_evasion_behavior() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | async fn simulate_legitimate_activity() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Crypto` is never constructed [INFO] [stdout] --> src/crypto/mod.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Crypto; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `generate_key`, `encrypt`, and `decrypt` are never used [INFO] [stdout] --> src/crypto/mod.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Crypto { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 7 | pub fn generate_key() -> [u8; 32] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn encrypt(data: &[u8], _key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn decrypt(data: &[u8], _key: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MessageType` is never used [INFO] [stdout] --> src/models/messages.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Message` is never constructed [INFO] [stdout] --> src/models/messages.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Message { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_id` is never used [INFO] [stdout] --> src/utils/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn generate_id(prefix: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `timestamp` is never used [INFO] [stdout] --> src/utils/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn timestamp() -> u64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | network_app.update(ctx, frame); [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_c2_framework` (bin "c2_client" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0282, E0761. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_c2_framework` (bin "c2_client") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2f4cf3c33cccfd7f2e941e039eb5f2e54b7ddcd78008f417288d88c639241691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4cf3c33cccfd7f2e941e039eb5f2e54b7ddcd78008f417288d88c639241691", kill_on_drop: false }` [INFO] [stdout] 2f4cf3c33cccfd7f2e941e039eb5f2e54b7ddcd78008f417288d88c639241691