[INFO] cloning repository https://github.com/weslleymirandadev/domini
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weslleymirandadev/domini" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweslleymirandadev%2Fdomini", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweslleymirandadev%2Fdomini'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] eebd55ac3c55d0015d38515ca8ade02dbd54ed4d
[INFO] checking weslleymirandadev/domini against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweslleymirandadev%2Fdomini" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/weslleymirandadev/domini
[INFO] finished tweaking git repo https://github.com/weslleymirandadev/domini
[INFO] tweaked toml for git repo https://github.com/weslleymirandadev/domini written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/weslleymirandadev/domini on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/weslleymirandadev/domini 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded warp v0.3.7
[INFO] [stderr]   Downloaded multer v2.1.0
[INFO] [stderr]   Downloaded tokio-tungstenite v0.17.2
[INFO] [stderr]   Downloaded sha-1 v0.10.1
[INFO] [stderr]   Downloaded tungstenite v0.17.3
[INFO] [stderr]   Downloaded sqlx v0.6.3
[INFO] [stderr]   Downloaded sqlx-rt v0.6.3
[INFO] [stderr]   Downloaded sqlx-macros v0.6.3
[INFO] [stderr]   Downloaded sqlx-core v0.6.3
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded futures-intrusive v0.4.2
[INFO] [stderr]   Downloaded atoi v1.0.0
[INFO] [stderr]   Downloaded openssl v0.10.72
[INFO] [stderr]   Downloaded hostname v0.3.1
[INFO] [stderr]   Downloaded match_cfg v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db
[INFO] running `Command { std: "docker" "start" "a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling cc v1.2.24
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking subtle v2.6.1
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking cpufeatures v0.2.17
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking untrusted v0.9.0
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]     Checking httpdate v1.0.3
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling deranged v0.4.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling time v0.3.41
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling atoi v1.0.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling futures-intrusive v0.4.2
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]     Checking data-encoding v2.9.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking sha-1 v0.10.1
[INFO] [stderr]     Checking headers-core v0.2.0
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking poly1305 v0.8.0
[INFO] [stderr]     Checking headers v0.3.9
[INFO] [stderr]     Checking chacha20 v0.9.1
[INFO] [stderr]     Checking webpki v0.22.4
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]     Checking webpki-roots v0.22.6
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking chacha20poly1305 v0.10.1
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling sqlx-rt v0.6.3
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking tungstenite v0.17.3
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking tokio-tungstenite v0.17.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking sqlx-core v0.6.3
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking warp v0.3.7
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.6.3
[INFO] [stderr]     Checking sqlx v0.6.3
[INFO] [stderr]     Checking domini v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use uuid::Uuid;
[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: `stdout`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...   let agent_key = base64::decode(ENCRYPTED_AGENT_KEY).map_err(|e| format!("Failed to decode hardcoded ENCRYPTED_AGENT_KEY: {}", ...
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let operator_key = base64::decode(&operator_key_b64)
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/server.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let encrypted_key = base64::decode(ENCRYPTED_AGENT_KEY)
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use uuid::Uuid;
[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: `stdout`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use uuid::Uuid;
[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: `stdout`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use uuid::Uuid;
[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: `stdout`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...   let agent_key = base64::decode(ENCRYPTED_AGENT_KEY).map_err(|e| format!("Failed to decode hardcoded ENCRYPTED_AGENT_KEY: {}", ...
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let operator_key = base64::decode(&operator_key_b64)
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...   let agent_key = base64::decode(ENCRYPTED_AGENT_KEY).map_err(|e| format!("Failed to decode hardcoded ENCRYPTED_AGENT_KEY: {}", ...
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/server.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let encrypted_key = base64::decode(ENCRYPTED_AGENT_KEY)
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let operator_key = base64::decode(&operator_key_b64)
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/server.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let encrypted_key = base64::decode(ENCRYPTED_AGENT_KEY)
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...   let agent_key = base64::decode(ENCRYPTED_AGENT_KEY).map_err(|e| format!("Failed to decode hardcoded ENCRYPTED_AGENT_KEY: {}", ...
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let operator_key = base64::decode(&operator_key_b64)
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/server.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let encrypted_key = base64::decode(ENCRYPTED_AGENT_KEY)
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use uuid::Uuid;
[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: `stdout`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use uuid::Uuid;
[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: `stdout`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:15
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...   let agent_key = base64::decode(ENCRYPTED_AGENT_KEY).map_err(|e| format!("Failed to decode hardcoded ENCRYPTED_AGENT_KEY: {}", ...
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let operator_key = base64::decode(&operator_key_b64)
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/server.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let encrypted_key = base64::decode(ENCRYPTED_AGENT_KEY)
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:52:33
[INFO] [stdout]    |
[INFO] [stdout] 52 | ...   let agent_key = base64::decode(ENCRYPTED_AGENT_KEY).map_err(|e| format!("Failed to decode hardcoded ENCRYPTED_AGENT_KEY: {}", ...
[INFO] [stdout]    |                               ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:50:36
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let operator_key = base64::decode(&operator_key_b64)
[INFO] [stdout]    |                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode
[INFO] [stdout]   --> src/bin/../handlers/server.rs:71:37
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let encrypted_key = base64::decode(ENCRYPTED_AGENT_KEY)
[INFO] [stdout]    |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uuid` is never read
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut uuid = String::new();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |             uuid = Uuid::new_v4().to_string();
[INFO] [stdout]    |             ---- `uuid` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         version: &str,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uuid` is never read
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut uuid = String::new();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |             uuid = Uuid::new_v4().to_string();
[INFO] [stdout]    |             ---- `uuid` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uuid` is never read
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut uuid = String::new();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |             uuid = Uuid::new_v4().to_string();
[INFO] [stdout]    |             ---- `uuid` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         version: &str,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         version: &str,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Agent {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AGENT_VERSION` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const AGENT_VERSION: &str = "1.0.1"; // Current agent version
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_agent_up_to_date` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn is_agent_up_to_date(version: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `update_software`, and `encrypt_message` are never used
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:50:18
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl Agent {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  50 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     async fn update_software(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Location` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/models.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Location {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WebSocketWrite` is never used
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type WebSocketWrite = futures::stream::SplitSink<
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operator` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Operator {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:41:18
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl Operator {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  41 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     async fn list(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 432 |     async fn list_scheduled(&mut self, show_all: bool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 444 |     async fn access(&self, url: &str, secs: u64) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 461 |     async fn broadcast(&self, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     async fn command(&self, uuid: &str, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     async fn agent_software_update(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 499 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     async fn handle_schedule(&mut self, args: &[&str]) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     fn handle_scheduled_tasks(&self, tasks: Vec<ScheduledTask>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_banner` is never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:627:4
[INFO] [stdout]     |
[INFO] [stdout] 627 | fn print_banner() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_key` is never read
[INFO] [stdout]   --> src/bin/../handlers/server.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServerState {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub server_key: [u8; 32],
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 726 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 726 |                             let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:751:41
[INFO] [stdout]     |
[INFO] [stdout] 751 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 751 |                                         let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:760:37
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 760 |                                     let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:770:33
[INFO] [stdout]     |
[INFO] [stdout] 770 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 770 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 806 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db` is never used
[INFO] [stdout]  --> src/bin/../handlers/db.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn init_db(db: &Pool<Postgres>) -> Result<(), sqlx::Error> {
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WebSocketWrite` is never used
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type WebSocketWrite = futures::stream::SplitSink<
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operator` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Operator {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:41:18
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl Operator {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  41 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     async fn list(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 432 |     async fn list_scheduled(&mut self, show_all: bool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 444 |     async fn access(&self, url: &str, secs: u64) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 461 |     async fn broadcast(&self, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     async fn command(&self, uuid: &str, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     async fn agent_software_update(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 499 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     async fn handle_schedule(&mut self, args: &[&str]) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     fn handle_scheduled_tasks(&self, tasks: Vec<ScheduledTask>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_banner` is never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:627:4
[INFO] [stdout]     |
[INFO] [stdout] 627 | fn print_banner() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerState` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/server.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServerState {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl ServerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(db: Pool<Postgres>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn start_server(db: Pool<Postgres>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_token` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:254:10
[INFO] [stdout]     |
[INFO] [stdout] 254 | async fn validate_token(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_agent_status` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn update_agent_status(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 | async fn encrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:315:10
[INFO] [stdout]     |
[INFO] [stdout] 315 | async fn decrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_connection` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:335:10
[INFO] [stdout]     |
[INFO] [stdout] 335 | async fn handle_connection(ws: WebSocket, state: Arc<Mutex<ServerState>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 726 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 726 |                             let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:751:41
[INFO] [stdout]     |
[INFO] [stdout] 751 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 751 |                                         let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:760:37
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 760 |                                     let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:770:33
[INFO] [stdout]     |
[INFO] [stdout] 770 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 770 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 806 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uuid` is never read
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut uuid = String::new();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |             uuid = Uuid::new_v4().to_string();
[INFO] [stdout]    |             ---- `uuid` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uuid` is never read
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut uuid = String::new();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |             uuid = Uuid::new_v4().to_string();
[INFO] [stdout]    |             ---- `uuid` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::io::{stdout, Write};
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         version: &str,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `uuid` is never read
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:55:24
[INFO] [stdout]    |
[INFO] [stdout] 55 |         let mut uuid = String::new();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 69 |             uuid = Uuid::new_v4().to_string();
[INFO] [stdout]    |             ---- `uuid` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         version: &str,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:403:9
[INFO] [stdout]     |
[INFO] [stdout] 403 |         version: &str,
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Agent {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AGENT_VERSION` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const AGENT_VERSION: &str = "1.0.1"; // Current agent version
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_agent_up_to_date` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn is_agent_up_to_date(version: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `update_software`, and `encrypt_message` are never used
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:50:18
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl Agent {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  50 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     async fn update_software(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Location` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/models.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Location {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WebSocketWrite` is never used
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type WebSocketWrite = futures::stream::SplitSink<
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operator` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Operator {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:41:18
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl Operator {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  41 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     async fn list(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 432 |     async fn list_scheduled(&mut self, show_all: bool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 444 |     async fn access(&self, url: &str, secs: u64) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 461 |     async fn broadcast(&self, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     async fn command(&self, uuid: &str, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     async fn agent_software_update(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 499 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     async fn handle_schedule(&mut self, args: &[&str]) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     fn handle_scheduled_tasks(&self, tasks: Vec<ScheduledTask>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_banner` is never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:627:4
[INFO] [stdout]     |
[INFO] [stdout] 627 | fn print_banner() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_key` is never read
[INFO] [stdout]   --> src/bin/../handlers/server.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServerState {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub server_key: [u8; 32],
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 726 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 726 |                             let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:751:41
[INFO] [stdout]     |
[INFO] [stdout] 751 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 751 |                                         let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:760:37
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 760 |                                     let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:770:33
[INFO] [stdout]     |
[INFO] [stdout] 770 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 770 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 806 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Agent {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AGENT_VERSION` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const AGENT_VERSION: &str = "1.0.1"; // Current agent version
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_agent_up_to_date` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn is_agent_up_to_date(version: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `update_software`, and `encrypt_message` are never used
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:50:18
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl Agent {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  50 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     async fn update_software(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db` is never used
[INFO] [stdout]  --> src/bin/../handlers/db.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn init_db(db: &Pool<Postgres>) -> Result<(), sqlx::Error> {
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Location` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/models.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Location {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `operator_id` are never read
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Operator {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 32 |     client: Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     operator_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerState` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/server.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServerState {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl ServerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(db: Pool<Postgres>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn start_server(db: Pool<Postgres>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_token` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:254:10
[INFO] [stdout]     |
[INFO] [stdout] 254 | async fn validate_token(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_agent_status` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn update_agent_status(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 | async fn encrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:315:10
[INFO] [stdout]     |
[INFO] [stdout] 315 | async fn decrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_connection` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:335:10
[INFO] [stdout]     |
[INFO] [stdout] 335 | async fn handle_connection(ws: WebSocket, state: Arc<Mutex<ServerState>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 726 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 726 |                             let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:751:41
[INFO] [stdout]     |
[INFO] [stdout] 751 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 751 |                                         let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:760:37
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 760 |                                     let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:770:33
[INFO] [stdout]     |
[INFO] [stdout] 770 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 770 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 806 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db` is never used
[INFO] [stdout]  --> src/bin/../handlers/db.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn init_db(db: &Pool<Postgres>) -> Result<(), sqlx::Error> {
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `WebSocketWrite` is never used
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:26:6
[INFO] [stdout]    |
[INFO] [stdout] 26 | type WebSocketWrite = futures::stream::SplitSink<
[INFO] [stdout]    |      ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Operator` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Operator {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:41:18
[INFO] [stdout]     |
[INFO] [stdout]  40 | impl Operator {
[INFO] [stdout]     | ------------- associated items in this implementation
[INFO] [stdout]  41 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 238 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 426 |     async fn list(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 432 |     async fn list_scheduled(&mut self, show_all: bool) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 444 |     async fn access(&self, url: &str, secs: u64) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 461 |     async fn broadcast(&self, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 471 |     async fn command(&self, uuid: &str, cmd: &str) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     async fn agent_software_update(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 499 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     async fn handle_schedule(&mut self, args: &[&str]) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 602 |     fn handle_scheduled_tasks(&self, tasks: Vec<ScheduledTask>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_banner` is never used
[INFO] [stdout]    --> src/bin/../handlers/operator.rs:627:4
[INFO] [stdout]     |
[INFO] [stdout] 627 | fn print_banner() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerState` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/server.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServerState {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl ServerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(db: Pool<Postgres>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn start_server(db: Pool<Postgres>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_token` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:254:10
[INFO] [stdout]     |
[INFO] [stdout] 254 | async fn validate_token(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_agent_status` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn update_agent_status(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 | async fn encrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:315:10
[INFO] [stdout]     |
[INFO] [stdout] 315 | async fn decrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_connection` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:335:10
[INFO] [stdout]     |
[INFO] [stdout] 335 | async fn handle_connection(ws: WebSocket, state: Arc<Mutex<ServerState>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 726 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 726 |                             let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:751:41
[INFO] [stdout]     |
[INFO] [stdout] 751 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 751 |                                         let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:760:37
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 760 |                                     let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:770:33
[INFO] [stdout]     |
[INFO] [stdout] 770 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 770 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 806 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:19:7
[INFO] [stdout]    |
[INFO] [stdout] 19 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:26:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Agent` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct Agent {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AGENT_VERSION` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 | const AGENT_VERSION: &str = "1.0.1"; // Current agent version
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_agent_up_to_date` is never used
[INFO] [stdout]   --> src/bin/../handlers/agent.rs:45:4
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn is_agent_up_to_date(version: &str) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `update_software`, and `encrypt_message` are never used
[INFO] [stdout]    --> src/bin/../handlers/agent.rs:50:18
[INFO] [stdout]     |
[INFO] [stdout]  49 | impl Agent {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  50 |     pub async fn new() -> Result<Self, Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub async fn run(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 401 |     async fn update_software(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 430 |     async fn encrypt_message(&self, message: &str) -> Result<Vec<u8>, Box<dyn std::error::Error>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_db` is never used
[INFO] [stdout]  --> src/bin/../handlers/db.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub async fn init_db(db: &Pool<Postgres>) -> Result<(), sqlx::Error> {
[INFO] [stdout]   |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Location` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/models.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct Location {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client` and `operator_id` are never read
[INFO] [stdout]   --> src/bin/../handlers/operator.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Operator {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 32 |     client: Client,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     operator_id: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `XOR_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const XOR_KEY: [u8; 32] = [
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENCRYPTED_AGENT_KEY` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 | const ENCRYPTED_AGENT_KEY: &str = "2mhkUVtYZnFBZ1JwWFJzZEdWamRYSmxaR3RsZVRFeU16UTFOZz09";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `xor_decrypt_key` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:29:4
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn xor_decrypt_key(encrypted_key: &[u8]) -> [u8; 32] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServerState` is never constructed
[INFO] [stdout]   --> src/bin/../handlers/server.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServerState {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl ServerState {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(db: Pool<Postgres>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_server` is never used
[INFO] [stdout]   --> src/bin/../handlers/server.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn start_server(db: Pool<Postgres>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `validate_token` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:254:10
[INFO] [stdout]     |
[INFO] [stdout] 254 | async fn validate_token(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_agent_status` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | async fn update_agent_status(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:297:10
[INFO] [stdout]     |
[INFO] [stdout] 297 | async fn encrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decrypt_message` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:315:10
[INFO] [stdout]     |
[INFO] [stdout] 315 | async fn decrypt_message(
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_connection` is never used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:335:10
[INFO] [stdout]     |
[INFO] [stdout] 335 | async fn handle_connection(ws: WebSocket, state: Arc<Mutex<ServerState>>) {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:726:29
[INFO] [stdout]     |
[INFO] [stdout] 726 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 726 |                             let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:751:41
[INFO] [stdout]     |
[INFO] [stdout] 751 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 751 |                                         let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:760:37
[INFO] [stdout]     |
[INFO] [stdout] 760 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 760 |                                     let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:770:33
[INFO] [stdout]     |
[INFO] [stdout] 770 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 770 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/bin/../handlers/server.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 | ...                   tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 806 |                                 let _ = tx.send(Message::binary(encrypted)).await;
[INFO] [stdout]     |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-core v0.6.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db", kill_on_drop: false }`
[INFO] [stdout] a0d2eedd046063643d13a18ef28a909ac4293a42997ed7e300087447b00c23db
