[INFO] cloning repository https://github.com/StarsUnsurpass/IronSight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StarsUnsurpass/IronSight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarsUnsurpass%2FIronSight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarsUnsurpass%2FIronSight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91518f384fbcaea58ddd36d6eb54cbbecc7a183c [INFO] checking StarsUnsurpass/IronSight against 1.95.0-beta.7 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStarsUnsurpass%2FIronSight" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/StarsUnsurpass/IronSight [INFO] finished tweaking git repo https://github.com/StarsUnsurpass/IronSight [INFO] tweaked toml for git repo https://github.com/StarsUnsurpass/IronSight written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/StarsUnsurpass/IronSight on toolchain 1.95.0-beta.7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/StarsUnsurpass/IronSight 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" "+1.95.0-beta.7" "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 enum-as-inner v0.6.1 [INFO] [stderr] Downloaded instability v0.3.11 [INFO] [stderr] Downloaded zmij v1.0.19 [INFO] [stderr] Downloaded resolv-conf v0.7.6 [INFO] [stderr] Downloaded darling_macro v0.23.0 [INFO] [stderr] Downloaded vswhom-sys v0.1.3 [INFO] [stderr] Downloaded embed-resource v2.5.2 [INFO] [stderr] Downloaded alphanumeric-sort v1.5.5 [INFO] [stderr] Downloaded wrapcenum-derive v0.4.1 [INFO] [stderr] Downloaded darling v0.23.0 [INFO] [stderr] Downloaded battery v0.7.8 [INFO] [stderr] Downloaded nvml-wrapper-sys v0.8.0 [INFO] [stderr] Downloaded netstat2 v0.9.1 [INFO] [stderr] Downloaded nvml-wrapper v0.10.0 [INFO] [stderr] Downloaded darling_core v0.23.0 [INFO] [stderr] Downloaded uom v0.30.0 [INFO] [stderr] Downloaded wmi v0.13.4 [INFO] [stderr] Downloaded nix v0.19.1 [INFO] [stderr] Downloaded ratatui v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3a0aa72d0e6462078c64345d06553e1b077a54ca6f8507dff9e2a58504439e5 [INFO] running `Command { std: "docker" "start" "-a" "c3a0aa72d0e6462078c64345d06553e1b077a54ca6f8507dff9e2a58504439e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3a0aa72d0e6462078c64345d06553e1b077a54ca6f8507dff9e2a58504439e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a0aa72d0e6462078c64345d06553e1b077a54ca6f8507dff9e2a58504439e5", kill_on_drop: false }` [INFO] [stdout] c3a0aa72d0e6462078c64345d06553e1b077a54ca6f8507dff9e2a58504439e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0-beta.7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bae449374a1a609b8d77bd670dd2d08fa074383538babf6e97f3bdc16722e8fb [INFO] running `Command { std: "docker" "start" "-a" "bae449374a1a609b8d77bd670dd2d08fa074383538babf6e97f3bdc16722e8fb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.52 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking fast-srgb8 v1.0.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking alphanumeric-sort v1.5.5 [INFO] [stderr] Checking wmi v0.13.4 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking sysinfo v0.32.1 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling embed-resource v2.5.2 [INFO] [stderr] Compiling ironsight v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stdout] error[E0433]: cannot find module or crate `trust_dns_resolver` in this scope [INFO] [stdout] --> src/network.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use trust_dns_resolver::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trust_dns_resolver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trust_dns_resolver`, use `cargo add trust_dns_resolver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `winreg` in this scope [INFO] [stdout] --> src/startup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winreg::enums::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trust_dns_resolver` [INFO] [stdout] --> src/network.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use trust_dns_resolver::Resolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trust_dns_resolver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trust_dns_resolver`, use `cargo add trust_dns_resolver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope [INFO] [stdout] --> src/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::System::Services::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lru` [INFO] [stdout] --> src/network.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use lru::LruCache; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `lru` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lru`, use `cargo add lru` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winreg` [INFO] [stdout] --> src/startup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winreg::RegKey; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `trust_dns_resolver` in this scope [INFO] [stdout] --> src/network.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use trust_dns_resolver::config::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trust_dns_resolver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trust_dns_resolver`, use `cargo add trust_dns_resolver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `winreg` in this scope [INFO] [stdout] --> src/startup.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use winreg::enums::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `trust_dns_resolver` [INFO] [stdout] --> src/network.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use trust_dns_resolver::Resolver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `trust_dns_resolver` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trust_dns_resolver`, use `cargo add trust_dns_resolver` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope [INFO] [stdout] --> src/services.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::core::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `windows` in this scope [INFO] [stdout] --> src/services.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use windows::Win32::System::Services::*; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lru` [INFO] [stdout] --> src/network.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use lru::LruCache; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `lru` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lru`, use `cargo add lru` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winreg` [INFO] [stdout] --> src/startup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winreg::RegKey; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `winreg` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `winreg`, use `cargo add winreg` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub power_data: Arc, Vec)>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | pub power_data: Arc, Vec)>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | pub network_data: Arc, Vec)>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | pub network_data: Arc, Vec)>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | pub service_data: Arc>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | pub service_data: Arc>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | pub startup_data: Arc>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | pub startup_data: Arc>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | let power_data = Arc::new(Mutex::new((None, Vec::new()))); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:270:35 [INFO] [stdout] | [INFO] [stdout] 270 | let power_data = Arc::new(Mutex::new((None, Vec::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | let network_data = Arc::new(Mutex::new((0.0, 0.0, Vec::new(), Vec::new()))); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:272:37 [INFO] [stdout] | [INFO] [stdout] 272 | let network_data = Arc::new(Mutex::new((0.0, 0.0, Vec::new(), Vec::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | let disk_data = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 274 | let disk_data = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | let service_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:276:37 [INFO] [stdout] | [INFO] [stdout] 276 | let service_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | let startup_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | let startup_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_ENUMERATE_SERVICE` in this scope [INFO] [stdout] --> src/services.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let scm = OpenSCManagerW(None, None, SC_MANAGER_ENUMERATE_SERVICE | SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope [INFO] [stdout] --> src/services.rs:26:81 [INFO] [stdout] | [INFO] [stdout] 26 | let scm = OpenSCManagerW(None, None, SC_MANAGER_ENUMERATE_SERVICE | SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_ENUM_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | SC_ENUM_PROCESS_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32` in this scope [INFO] [stdout] --> src/services.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_WIN32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STATE_ALL` in this scope [INFO] [stdout] --> src/services.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | SERVICE_STATE_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_ENUM_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | SC_ENUM_PROCESS_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32` in this scope [INFO] [stdout] --> src/services.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | SERVICE_WIN32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STATE_ALL` in this scope [INFO] [stdout] --> src/services.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | SERVICE_STATE_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ENUM_SERVICE_STATUS_PROCESSW` in this scope [INFO] [stdout] --> src/services.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | buffer.as_ptr() as *const ENUM_SERVICE_STATUS_PROCESSW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope [INFO] [stdout] --> src/services.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_CONFIG` in this scope [INFO] [stdout] --> src/services.rs:89:70 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope [INFO] [stdout] --> src/services.rs:89:93 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope [INFO] [stdout] --> src/services.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | let config = &*(config_buf.as_ptr() as *const QUERY_SERVICE_CONFIGW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:105:89 [INFO] [stdout] | [INFO] [stdout] 105 | let s_slice = std::slice::from_raw_parts_mut(s_ptr, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl ServiceCollector { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_STATUS_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope [INFO] [stdout] --> src/services.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 131 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/services.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | "start" => SERVICE_START, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope [INFO] [stdout] --> src/services.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | "stop" | "restart" => SERVICE_STOP | SERVICE_START | SERVICE_QUERY_STATUS, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/services.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | "stop" | "restart" => SERVICE_STOP | SERVICE_START | SERVICE_QUERY_STATUS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope [INFO] [stdout] --> src/services.rs:136:70 [INFO] [stdout] | [INFO] [stdout] 136 | "stop" | "restart" => SERVICE_STOP | SERVICE_START | SERVICE_QUERY_STATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_STOP` in this scope [INFO] [stdout] --> src/services.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | ControlService(service, SERVICE_CONTROL_STOP, &mut status).map_err(|e| format!("Failed to stop: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:164:101 [INFO] [stdout] | [INFO] [stdout] 164 | ... let s_slice = std::slice::from_raw_parts_mut(s_ptr, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl ServiceCollector { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_STATUS_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:165:67 [INFO] [stdout] | [INFO] [stdout] 165 | ... let _ = QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOPPED` in this scope [INFO] [stdout] --> src/services.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | ... if s.dwCurrentState == SERVICE_STOPPED { break; } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/startup.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | self.scan_registry(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Registry (HKCU)", &mut items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/startup.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | self.scan_registry(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Registry (HKLM)", &mut items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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: `std::process::Command` [INFO] [stdout] --> src/power.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | pub power_data: Arc, Vec)>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | pub power_data: Arc, Vec)>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | pub network_data: Arc, Vec)>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 149 | pub network_data: Arc, Vec)>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | pub service_data: Arc>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | pub service_data: Arc>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 155 | pub startup_data: Arc>>, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | pub startup_data: Arc>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:270:26 [INFO] [stdout] | [INFO] [stdout] 270 | let power_data = Arc::new(Mutex::new((None, Vec::new()))); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:270:35 [INFO] [stdout] | [INFO] [stdout] 270 | let power_data = Arc::new(Mutex::new((None, Vec::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | let network_data = Arc::new(Mutex::new((0.0, 0.0, Vec::new(), Vec::new()))); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:272:37 [INFO] [stdout] | [INFO] [stdout] 272 | let network_data = Arc::new(Mutex::new((0.0, 0.0, Vec::new(), Vec::new()))); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:274:25 [INFO] [stdout] | [INFO] [stdout] 274 | let disk_data = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:274:34 [INFO] [stdout] | [INFO] [stdout] 274 | let disk_data = Arc::new(Mutex::new(HashMap::new())); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | let service_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:276:37 [INFO] [stdout] | [INFO] [stdout] 276 | let service_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Arc` in this scope [INFO] [stdout] --> src/monitor.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 278 | let startup_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^ use of undeclared type `Arc` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Arc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Mutex` in this scope [INFO] [stdout] --> src/monitor.rs:278:37 [INFO] [stdout] | [INFO] [stdout] 278 | let startup_data = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_ENUMERATE_SERVICE` in this scope [INFO] [stdout] --> src/services.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let scm = OpenSCManagerW(None, None, SC_MANAGER_ENUMERATE_SERVICE | SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope [INFO] [stdout] --> src/services.rs:26:81 [INFO] [stdout] | [INFO] [stdout] 26 | let scm = OpenSCManagerW(None, None, SC_MANAGER_ENUMERATE_SERVICE | SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_ENUM_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | SC_ENUM_PROCESS_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32` in this scope [INFO] [stdout] --> src/services.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | SERVICE_WIN32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STATE_ALL` in this scope [INFO] [stdout] --> src/services.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | SERVICE_STATE_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_ENUM_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | SC_ENUM_PROCESS_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_WIN32` in this scope [INFO] [stdout] --> src/services.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | SERVICE_WIN32, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STATE_ALL` in this scope [INFO] [stdout] --> src/services.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | SERVICE_STATE_ALL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ENUM_SERVICE_STATUS_PROCESSW` in this scope [INFO] [stdout] --> src/services.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | buffer.as_ptr() as *const ENUM_SERVICE_STATUS_PROCESSW, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope [INFO] [stdout] --> src/services.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_CONFIG` in this scope [INFO] [stdout] --> src/services.rs:89:70 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope [INFO] [stdout] --> src/services.rs:89:93 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `QUERY_SERVICE_CONFIGW` in this scope [INFO] [stdout] --> src/services.rs:99:59 [INFO] [stdout] | [INFO] [stdout] 99 | let config = &*(config_buf.as_ptr() as *const QUERY_SERVICE_CONFIGW); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:105:89 [INFO] [stdout] | [INFO] [stdout] 105 | let s_slice = std::slice::from_raw_parts_mut(s_ptr, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl ServiceCollector { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_STATUS_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_MANAGER_CONNECT` in this scope [INFO] [stdout] --> src/services.rs:131:50 [INFO] [stdout] | [INFO] [stdout] 131 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/services.rs:135:28 [INFO] [stdout] | [INFO] [stdout] 135 | "start" => SERVICE_START, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOP` in this scope [INFO] [stdout] --> src/services.rs:136:39 [INFO] [stdout] | [INFO] [stdout] 136 | "stop" | "restart" => SERVICE_STOP | SERVICE_START | SERVICE_QUERY_STATUS, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_START` in this scope [INFO] [stdout] --> src/services.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 136 | "stop" | "restart" => SERVICE_STOP | SERVICE_START | SERVICE_QUERY_STATUS, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_QUERY_STATUS` in this scope [INFO] [stdout] --> src/services.rs:136:70 [INFO] [stdout] | [INFO] [stdout] 136 | "stop" | "restart" => SERVICE_STOP | SERVICE_START | SERVICE_QUERY_STATUS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_CONTROL_STOP` in this scope [INFO] [stdout] --> src/services.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | ControlService(service, SERVICE_CONTROL_STOP, &mut status).map_err(|e| format!("Failed to stop: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:164:101 [INFO] [stdout] | [INFO] [stdout] 164 | ... let s_slice = std::slice::from_raw_parts_mut(s_ptr, std::mem::size_of::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 19 | impl ServiceCollector { [INFO] [stdout] | ++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SC_STATUS_PROCESS_INFO` in this scope [INFO] [stdout] --> src/services.rs:165:67 [INFO] [stdout] | [INFO] [stdout] 165 | ... let _ = QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SERVICE_STOPPED` in this scope [INFO] [stdout] --> src/services.rs:166:52 [INFO] [stdout] | [INFO] [stdout] 166 | ... if s.dwCurrentState == SERVICE_STOPPED { break; } [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/startup.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | self.scan_registry(HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Registry (HKCU)", &mut items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/startup.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | self.scan_registry(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Registry (HKLM)", &mut items); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gpu.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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: `std::process::Command` [INFO] [stdout] --> src/power.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::unix::process::CommandExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `service_data` and `startup_data` in initializer of `Monitor` [INFO] [stdout] --> src/monitor.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | Self { [INFO] [stdout] | ^^^^ missing `service_data` and `startup_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `service_data` and `startup_data` in initializer of `Monitor` [INFO] [stdout] --> src/monitor.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | Self { [INFO] [stdout] | ^^^^ missing `service_data` and `startup_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResolverConfig` in this scope [INFO] [stdout] --> src/network.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | let resolver = Resolver::new(ResolverConfig::default(), ResolverOpts::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ResolverConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResolverOpts` in this scope [INFO] [stdout] --> src/network.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | let resolver = Resolver::new(ResolverConfig::default(), ResolverOpts::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResolverOpts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope [INFO] [stdout] --> src/services.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let scm = OpenSCManagerW(None, None, SC_MANAGER_ENUMERATE_SERVICE | SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumServicesStatusExW` in this scope [INFO] [stdout] --> src/services.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let _ = EnumServicesStatusExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumServicesStatusExW` in this scope [INFO] [stdout] --> src/services.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | EnumServicesStatusExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let _ = CloseServiceHandle(scm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope [INFO] [stdout] --> src/services.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PCWSTR` in this scope [INFO] [stdout] --> src/services.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceW` in this scope [INFO] [stdout] --> src/services.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope [INFO] [stdout] --> src/services.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let _ = QueryServiceConfigW(service, None, 0, &mut bytes_needed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope [INFO] [stdout] --> src/services.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | QueryServiceConfigW(service, Some(config_buf.as_mut_ptr() as *mut _), bytes_needed, &mut bytes_needed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | let mut s = SERVICE_STATUS_PROCESS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS_PROCESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceStatusEx` in this scope [INFO] [stdout] --> src/services.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let _ = CloseServiceHandle(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let _ = CloseServiceHandle(scm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope [INFO] [stdout] --> src/services.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PCWSTR` in this scope [INFO] [stdout] --> src/services.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), access) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceW` in this scope [INFO] [stdout] --> src/services.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), access) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceW` in this scope [INFO] [stdout] --> src/services.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | StartServiceW(service, None).map_err(|e| format!("Failed to start: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS` in this scope [INFO] [stdout] --> src/services.rs:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | let mut status = SERVICE_STATUS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ControlService` in this scope [INFO] [stdout] --> src/services.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | ControlService(service, SERVICE_CONTROL_STOP, &mut status).map_err(|e| format!("Failed to stop: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | ... let mut s = SERVICE_STATUS_PROCESS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS_PROCESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceStatusEx` in this scope [INFO] [stdout] --> src/services.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | ... let _ = QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceW` in this scope [INFO] [stdout] --> src/services.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | StartServiceW(service, None).map_err(|e| format!("Failed to start after stop: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let _ = CloseServiceHandle(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let _ = CloseServiceHandle(scm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `dirs` in this scope [INFO] [stdout] --> src/startup.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(mut path) = dirs::config_dir() { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/startup.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | for (name, val) in run_key.enum_values().flatten() { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/startup.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | for (name, val) in run_key.enum_values().flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/startup.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | name, [INFO] [stdout] | ^^^^ expected `String`, found `str` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 53 | name: name.to_string(), [INFO] [stdout] | +++++ ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResolverConfig` in this scope [INFO] [stdout] --> src/network.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | let resolver = Resolver::new(ResolverConfig::default(), ResolverOpts::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ResolverConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ResolverOpts` in this scope [INFO] [stdout] --> src/network.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | let resolver = Resolver::new(ResolverConfig::default(), ResolverOpts::default()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ResolverOpts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proc` [INFO] [stdout] --> src/app.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | if let Some(proc) = self.filtered_processes.get(self.selected_index) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_proc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope [INFO] [stdout] --> src/services.rs:26:23 [INFO] [stdout] | [INFO] [stdout] 26 | let scm = OpenSCManagerW(None, None, SC_MANAGER_ENUMERATE_SERVICE | SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumServicesStatusExW` in this scope [INFO] [stdout] --> src/services.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let _ = EnumServicesStatusExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumServicesStatusExW` in this scope [INFO] [stdout] --> src/services.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | EnumServicesStatusExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let _ = CloseServiceHandle(scm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope [INFO] [stdout] --> src/services.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PCWSTR` in this scope [INFO] [stdout] --> src/services.rs:89:45 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceW` in this scope [INFO] [stdout] --> src/services.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope [INFO] [stdout] --> src/services.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let _ = QueryServiceConfigW(service, None, 0, &mut bytes_needed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceConfigW` in this scope [INFO] [stdout] --> src/services.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | QueryServiceConfigW(service, Some(config_buf.as_mut_ptr() as *mut _), bytes_needed, &mut bytes_needed) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | let mut s = SERVICE_STATUS_PROCESS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS_PROCESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceStatusEx` in this scope [INFO] [stdout] --> src/services.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | let _ = CloseServiceHandle(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let _ = CloseServiceHandle(scm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenSCManagerW` in this scope [INFO] [stdout] --> src/services.rs:131:23 [INFO] [stdout] | [INFO] [stdout] 131 | let scm = OpenSCManagerW(None, None, SC_MANAGER_CONNECT) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PCWSTR` in this scope [INFO] [stdout] --> src/services.rs:141:45 [INFO] [stdout] | [INFO] [stdout] 141 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), access) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenServiceW` in this scope [INFO] [stdout] --> src/services.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | let service = OpenServiceW(scm, PCWSTR(name_h.as_ptr()), access) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceW` in this scope [INFO] [stdout] --> src/services.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | StartServiceW(service, None).map_err(|e| format!("Failed to start: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS` in this scope [INFO] [stdout] --> src/services.rs:155:38 [INFO] [stdout] | [INFO] [stdout] 155 | let mut status = SERVICE_STATUS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ControlService` in this scope [INFO] [stdout] --> src/services.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 156 | ControlService(service, SERVICE_CONTROL_STOP, &mut status).map_err(|e| format!("Failed to stop: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SERVICE_STATUS_PROCESS` in this scope [INFO] [stdout] --> src/services.rs:161:41 [INFO] [stdout] | [INFO] [stdout] 161 | ... let mut s = SERVICE_STATUS_PROCESS::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SERVICE_STATUS_PROCESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryServiceStatusEx` in this scope [INFO] [stdout] --> src/services.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | ... let _ = QueryServiceStatusEx(service, SC_STATUS_PROCESS_INFO, Some(s_slice), &mut b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `StartServiceW` in this scope [INFO] [stdout] --> src/services.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | StartServiceW(service, None).map_err(|e| format!("Failed to start after stop: {:?}", e))?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | let _ = CloseServiceHandle(service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseServiceHandle` in this scope [INFO] [stdout] --> src/services.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let _ = CloseServiceHandle(scm); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `dirs` in this scope [INFO] [stdout] --> src/startup.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(mut path) = dirs::config_dir() { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `dirs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dirs`, use `cargo add dirs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/startup.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | for (name, val) in run_key.enum_values().flatten() { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/startup.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | for (name, val) in run_key.enum_values().flatten() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: only the last element of a tuple may have a dynamically sized type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/startup.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | name, [INFO] [stdout] | ^^^^ expected `String`, found `str` [INFO] [stdout] | [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 53 | name: name.to_string(), [INFO] [stdout] | +++++ ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut gpus = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/power.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut plans = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proc` [INFO] [stdout] --> src/app.rs:573:21 [INFO] [stdout] | [INFO] [stdout] 573 | if let Some(proc) = self.filtered_processes.get(self.selected_index) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_proc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `battery` in this scope [INFO] [stdout] --> src/power.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn collect_battery(&mut self, manager: &battery::Manager) -> Option { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `battery` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `battery`, use `cargo add battery` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ironsight` (bin "ironsight") due to 83 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpu.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let mut gpus = Vec::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/power.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let mut plans = Vec::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `battery` in this scope [INFO] [stdout] --> src/power.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn collect_battery(&mut self, manager: &battery::Manager) -> Option { [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `battery` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `battery`, use `cargo add battery` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0277, E0308, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ironsight` (bin "ironsight" test) due to 83 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bae449374a1a609b8d77bd670dd2d08fa074383538babf6e97f3bdc16722e8fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae449374a1a609b8d77bd670dd2d08fa074383538babf6e97f3bdc16722e8fb", kill_on_drop: false }` [INFO] [stdout] bae449374a1a609b8d77bd670dd2d08fa074383538babf6e97f3bdc16722e8fb