[INFO] cloning repository https://github.com/Omni-Forge/OmniOrchestrator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Omni-Forge/OmniOrchestrator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmni-Forge%2FOmniOrchestrator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmni-Forge%2FOmniOrchestrator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95b07dec40775ed59da1a2c63f5a57fbc2389e89 [INFO] checking Omni-Forge/OmniOrchestrator against master#a7fc463dd8fbeca800d4b3efc501069502cffe64 for pr-136988 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmni-Forge%2FOmniOrchestrator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Omni-Forge/OmniOrchestrator on toolchain a7fc463dd8fbeca800d4b3efc501069502cffe64 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Omni-Forge/OmniOrchestrator [INFO] finished tweaking git repo https://github.com/Omni-Forge/OmniOrchestrator [INFO] tweaked toml for git repo https://github.com/Omni-Forge/OmniOrchestrator written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Omni-Forge/OmniOrchestrator 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" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rocket-multipart-form-data v0.10.7 [INFO] [stderr] Downloaded derive_utils v0.15.0 [INFO] [stderr] Downloaded mysql-common-derive v0.31.2 [INFO] [stderr] Downloaded io-enum v1.2.0 [INFO] [stderr] Downloaded libz-sys v1.1.21 [INFO] [stderr] Downloaded openssl-src v300.4.2+3.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1825b2bf571b47e404075e1ad5c04cc130359aadb32994cd16c2d61c193394a5 [INFO] running `Command { std: "docker" "start" "-a" "1825b2bf571b47e404075e1ad5c04cc130359aadb32994cd16c2d61c193394a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1825b2bf571b47e404075e1ad5c04cc130359aadb32994cd16c2d61c193394a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1825b2bf571b47e404075e1ad5c04cc130359aadb32994cd16c2d61c193394a5", kill_on_drop: false }` [INFO] [stdout] 1825b2bf571b47e404075e1ad5c04cc130359aadb32994cd16c2d61c193394a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+a7fc463dd8fbeca800d4b3efc501069502cffe64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a031b24cc34c45c6e10b2e50c0ada419c7559211a1e577eb5adf9d33d7b25841 [INFO] running `Command { std: "docker" "start" "-a" "a031b24cc34c45c6e10b2e50c0ada419c7559211a1e577eb5adf9d33d7b25841", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling openssl-src v300.4.2+3.4.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rsa v0.9.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling mysql-common-derive v0.31.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking frunk v0.4.3 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking sqlx-core v0.8.3 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking sqlx-mysql v0.8.3 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking rocket-multipart-form-data v0.10.7 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking omni-orchestrator v0.1.0-in-dev-57696b7d5193518045c0654f20cd0c61f6e27ccc (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / /// Global singleton instance of the cluster manager [INFO] [stdout] 73 | | /// Manages node discovery and peer connections [INFO] [stdout] | |_----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/db/v1/queries/build.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, MySql, Pool}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db/v1/queries/metadata.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Global mutex for synchronizing metadata operations. [INFO] [stdout] 9 | | /// [INFO] [stdout] 10 | | /// This mutex prevents race conditions when multiple threads attempt to modify [INFO] [stdout] 11 | | /// the metadata table simultaneously. It's particularly important for operations [INFO] [stdout] 12 | | /// like table creation and key deduplication which require exclusive access. [INFO] [stdout] | |_----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinesWithEndings`, `Style`, `ThemeSet`, `as_24_bit_terminal_escaped`, `easy::HighlightLines`, and `parsing::SyntaxSet` [INFO] [stdout] --> src/db/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | easy::HighlightLines, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | highlighting::{Style, ThemeSet}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 8 | parsing::SyntaxSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | util::{as_24_bit_terminal_escaped, LinesWithEndings}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/api/v1/builds.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stdout] --> src/api/v1/builds.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use rocket::{delete, get, http::ContentType, post, put, Data, State}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/api/v1/regions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/api/v1/regions.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::serde::json::{json, Json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stdout] --> src/api/v1/regions.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::{delete, get, http::ContentType, post, put, Data, State}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/v1/regions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/v1/regions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/api/v1/regions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/config/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / /// Global static reference to the server configuration. [INFO] [stdout] 78 | | /// [INFO] [stdout] 79 | | /// This lazy_static provides thread-safe access to the server configuration [INFO] [stdout] 80 | | /// throughout the application. It is initialized when first accessed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | /// Panics if the configuration cannot be read or written, which would [INFO] [stdout] 87 | | /// prevent the server from starting properly. [INFO] [stdout] | |_---------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api::*` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use api::*; // We import this so we can mount the various routes for different API versions [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / /// Global singleton instance of the cluster manager [INFO] [stdout] 73 | | /// Manages node discovery and peer connections [INFO] [stdout] | |_----------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/db/v1/queries/build.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{FromRow, MySql, Pool}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/db/v1/queries/metadata.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / /// Global mutex for synchronizing metadata operations. [INFO] [stdout] 9 | | /// [INFO] [stdout] 10 | | /// This mutex prevents race conditions when multiple threads attempt to modify [INFO] [stdout] 11 | | /// the metadata table simultaneously. It's particularly important for operations [INFO] [stdout] 12 | | /// like table creation and key deduplication which require exclusive access. [INFO] [stdout] | |_----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LinesWithEndings`, `Style`, `ThemeSet`, `as_24_bit_terminal_escaped`, `easy::HighlightLines`, and `parsing::SyntaxSet` [INFO] [stdout] --> src/db/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | easy::HighlightLines, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | highlighting::{Style, ThemeSet}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 8 | parsing::SyntaxSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | util::{as_24_bit_terminal_escaped, LinesWithEndings}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/api/v1/builds.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stdout] --> src/api/v1/builds.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use rocket::{delete, get, http::ContentType, post, put, Data, State}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/api/v1/regions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/api/v1/regions.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::serde::json::{json, Json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stdout] --> src/api/v1/regions.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use rocket::{delete, get, http::ContentType, post, put, Data, State}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/v1/regions.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/api/v1/regions.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/api/v1/regions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/config/mod.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / /// Global static reference to the server configuration. [INFO] [stdout] 78 | | /// [INFO] [stdout] 79 | | /// This lazy_static provides thread-safe access to the server configuration [INFO] [stdout] 80 | | /// throughout the application. It is initialized when first accessed, [INFO] [stdout] ... | [INFO] [stdout] 86 | | /// Panics if the configuration cannot be read or written, which would [INFO] [stdout] 87 | | /// prevent the server from starting properly. [INFO] [stdout] | |_---------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `api::*` [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use api::*; // We import this so we can mount the various routes for different API versions [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/db/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let trans = conn.begin().await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/db/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let trans = conn.begin().await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let result = sqlx::query( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let result = sqlx::query( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db/v1/queries/permission.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(name) = name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/db/v1/queries/permission.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(description) = description { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db/v1/queries/permission.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | if let Some(name) = name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/db/v1/queries/permission.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(description) = description { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db/v1/queries/user.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(name) = name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/db/v1/queries/user.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(email) = email { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/db/v1/queries/user.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(active) = active { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | pub async fn get_app_stats(app_id: String, pool: &State>) -> Json { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/api/v1/apps.rs:227:44 [INFO] [stdout] | [INFO] [stdout] 227 | pub async fn get_app_stats(app_id: String, pool: &State>) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | pub async fn start_app(app_id: String) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn stop_app(app_id: String) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn scale_app(app_id: String, scale: Json) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/api/v1/apps.rs:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn scale_app(app_id: String, scale: Json) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db/v1/queries/user.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(name) = name { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `email` [INFO] [stdout] --> src/db/v1/queries/user.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | if let Some(email) = email { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active` [INFO] [stdout] --> src/db/v1/queries/user.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | if let Some(active) = active { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | pub async fn get_app_stats(app_id: String, pool: &State>) -> Json { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/api/v1/apps.rs:227:44 [INFO] [stdout] | [INFO] [stdout] 227 | pub async fn get_app_stats(app_id: String, pool: &State>) -> Json { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | pub async fn start_app(app_id: String) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | pub async fn stop_app(app_id: String) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn scale_app(app_id: String, scale: Json) -> Option> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scale` [INFO] [stdout] --> src/api/v1/apps.rs:277:40 [INFO] [stdout] | [INFO] [stdout] 277 | pub async fn scale_app(app_id: String, scale: Json) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leader_election` [INFO] [stdout] --> src/main.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | let leader_election = LeaderElection::new(node_id, shared_state.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_election` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let style = buf.style(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `leader_election` [INFO] [stdout] --> src/main.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | let leader_election = LeaderElection::new(node_id, shared_state.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_leader_election` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let style = buf.style(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cluster_status` is never used [INFO] [stdout] --> src/main.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | async fn cluster_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_apps_by_org` is never used [INFO] [stdout] --> src/db/v1/queries/app.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn get_apps_by_org(pool: &Pool, org_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_maintenance_mode` is never used [INFO] [stdout] --> src/db/v1/queries/app.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | pub async fn set_maintenance_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_audit_logs_by_resource` is never used [INFO] [stdout] --> src/db/v1/queries/audit_log.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn get_audit_logs_by_resource( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_audit_logs` is never used [INFO] [stdout] --> src/db/v1/queries/audit_log.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | pub async fn get_user_audit_logs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_org_audit_logs` is never used [INFO] [stdout] --> src/db/v1/queries/audit_log.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | pub async fn get_org_audit_logs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | pub async fn create_build( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn update_build( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | pub async fn delete_build(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_builds_for_app` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | pub async fn delete_builds_for_app(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_builds` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn list_builds(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_build_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn get_build_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn create_build( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_build_status` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | pub async fn update_build_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_latest_successful_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | pub async fn get_latest_successful_build(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | pub async fn delete_build(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_app_builds` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | pub async fn get_app_builds( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_deployments` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn list_deployments(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_deployment_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | pub async fn get_deployment_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_deployment` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | pub async fn create_deployment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_deployment_status` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | pub async fn update_deployment_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_latest_deployment` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | pub async fn get_latest_deployment(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_successful_deployments` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | pub async fn get_successful_deployments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_deployment` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:578:14 [INFO] [stdout] | [INFO] [stdout] 578 | pub async fn delete_deployment(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_app_deployments` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:620:14 [INFO] [stdout] | [INFO] [stdout] 620 | pub async fn get_app_deployments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_deployment_with_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | pub async fn get_deployment_with_build( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_instance` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn create_instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_instance_status` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | pub async fn update_instance_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_instance` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn delete_instance(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_running_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | pub async fn get_running_instances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_running_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | pub async fn count_running_instances(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terminate_all_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | pub async fn terminate_all_instances(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_meta_table` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn create_meta_table(pool: &Pool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `meta_table_exists` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | pub async fn meta_table_exists(pool: &Pool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_duplicate_keys` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | pub async fn cleanup_duplicate_keys(pool: &Pool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataCache` is never constructed [INFO] [stdout] --> src/db/v1/queries/metadata.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct MetadataCache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `set`, and `refresh_cache` are never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl MetadataCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn new(pool: Pool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub async fn set(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub async fn refresh_cache(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_orgs` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn list_orgs(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_org_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_org_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn create_org(pool: &Pool, name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn update_org(pool: &Pool, id: i64, name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn delete_org(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_org_member` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | pub async fn add_org_member( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_org_member` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn remove_org_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_org_member_role` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | pub async fn update_org_member_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_roles` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn list_roles(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn get_role_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn create_role( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn update_role( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn delete_role(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_permission` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | pub async fn update_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_permission_to_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | pub async fn assign_permission_to_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_permission_from_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:573:14 [INFO] [stdout] | [INFO] [stdout] 573 | pub async fn remove_permission_from_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_permissions` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 611 | pub async fn get_role_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_role_to_user` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | pub async fn assign_role_to_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_role_from_user` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 709 | pub async fn remove_role_from_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_roles` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:746:14 [INFO] [stdout] | [INFO] [stdout] 746 | pub async fn get_user_roles(pool: &Pool, user_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_permissions` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:787:14 [INFO] [stdout] | [INFO] [stdout] 787 | pub async fn get_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_region_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | pub async fn get_region_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_region` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn create_region( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_region_status` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | pub async fn update_region_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_region` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn delete_region(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_active_regions` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn get_active_regions(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_users` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn list_users(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_user_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_email` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | pub async fn delete_user(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppStore` is never used [INFO] [stdout] --> src/api/v1/apps.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | type AppStore = Arc>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_to_file` and `write_to_stdout` are never used [INFO] [stdout] --> src/logger.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DynamicLogger { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn write_to_file(&self, file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn write_to_stdout(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `state` are never read [INFO] [stdout] --> src/leader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LeaderElection { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | /// Unique identifier for the current node [INFO] [stdout] 24 | node_id: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | state: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `election_cycle` are never used [INFO] [stdout] --> src/leader.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl LeaderElection { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | async fn election_cycle(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nodes`, `get_nodes_and_self`, and `is_node_alive` are never used [INFO] [stdout] --> src/cluster.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl ClusterManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub async fn get_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn get_nodes_and_self(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn is_node_alive(&self, node_uid: Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cluster_status` is never used [INFO] [stdout] --> src/main.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | async fn cluster_status( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_apps_by_org` is never used [INFO] [stdout] --> src/db/v1/queries/app.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 96 | pub async fn get_apps_by_org(pool: &Pool, org_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_maintenance_mode` is never used [INFO] [stdout] --> src/db/v1/queries/app.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 334 | pub async fn set_maintenance_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_audit_logs_by_resource` is never used [INFO] [stdout] --> src/db/v1/queries/audit_log.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | pub async fn get_audit_logs_by_resource( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_audit_logs` is never used [INFO] [stdout] --> src/db/v1/queries/audit_log.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | pub async fn get_user_audit_logs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_org_audit_logs` is never used [INFO] [stdout] --> src/db/v1/queries/audit_log.rs:271:14 [INFO] [stdout] | [INFO] [stdout] 271 | pub async fn get_org_audit_logs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | pub async fn create_build( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:203:14 [INFO] [stdout] | [INFO] [stdout] 203 | pub async fn update_build( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | pub async fn delete_build(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_builds_for_app` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | pub async fn delete_builds_for_app(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_builds` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | pub async fn list_builds(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_build_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | pub async fn get_build_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn create_build( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_build_status` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | pub async fn update_build_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_latest_successful_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 195 | pub async fn get_latest_successful_build(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 233 | pub async fn delete_build(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_app_builds` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | pub async fn get_app_builds( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_deployments` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | pub async fn list_deployments(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_deployment_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:354:14 [INFO] [stdout] | [INFO] [stdout] 354 | pub async fn get_deployment_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_deployment` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | pub async fn create_deployment( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_deployment_status` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 443 | pub async fn update_deployment_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_latest_deployment` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | pub async fn get_latest_deployment(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_successful_deployments` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | pub async fn get_successful_deployments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_deployment` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:578:14 [INFO] [stdout] | [INFO] [stdout] 578 | pub async fn delete_deployment(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_app_deployments` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:620:14 [INFO] [stdout] | [INFO] [stdout] 620 | pub async fn get_app_deployments( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_deployment_with_build` is never used [INFO] [stdout] --> src/db/v1/queries/deployment.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 669 | pub async fn get_deployment_with_build( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_instance` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | pub async fn create_instance( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_instance_status` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 150 | pub async fn update_instance_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_instance` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | pub async fn delete_instance(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_running_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 241 | pub async fn get_running_instances( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_running_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:281:14 [INFO] [stdout] | [INFO] [stdout] 281 | pub async fn count_running_instances(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terminate_all_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | pub async fn terminate_all_instances(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_meta_table` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn create_meta_table(pool: &Pool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `meta_table_exists` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | pub async fn meta_table_exists(pool: &Pool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_duplicate_keys` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 337 | pub async fn cleanup_duplicate_keys(pool: &Pool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MetadataCache` is never constructed [INFO] [stdout] --> src/db/v1/queries/metadata.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | pub struct MetadataCache { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `set`, and `refresh_cache` are never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:444:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl MetadataCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn new(pool: Pool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 507 | pub async fn set(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | pub async fn refresh_cache(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_orgs` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn list_orgs(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_org_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_org_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | pub async fn create_org(pool: &Pool, name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | pub async fn update_org(pool: &Pool, id: i64, name: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | pub async fn delete_org(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_org_member` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | pub async fn add_org_member( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_org_member` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 264 | pub async fn remove_org_member( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_org_member_role` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | pub async fn update_org_member_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_roles` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn list_roles(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn get_role_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | pub async fn create_role( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | pub async fn update_role( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn delete_role(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_permission` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:387:14 [INFO] [stdout] | [INFO] [stdout] 387 | pub async fn update_permission( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_permission_to_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:529:14 [INFO] [stdout] | [INFO] [stdout] 529 | pub async fn assign_permission_to_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_permission_from_role` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:573:14 [INFO] [stdout] | [INFO] [stdout] 573 | pub async fn remove_permission_from_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_role_permissions` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:611:14 [INFO] [stdout] | [INFO] [stdout] 611 | pub async fn get_role_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_role_to_user` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:665:14 [INFO] [stdout] | [INFO] [stdout] 665 | pub async fn assign_role_to_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_role_from_user` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 709 | pub async fn remove_role_from_user( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_roles` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:746:14 [INFO] [stdout] | [INFO] [stdout] 746 | pub async fn get_user_roles(pool: &Pool, user_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_permissions` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:787:14 [INFO] [stdout] | [INFO] [stdout] 787 | pub async fn get_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_region_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | pub async fn get_region_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_region` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn create_region( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_region_status` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | pub async fn update_region_status( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_region` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | pub async fn delete_region(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_active_regions` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:263:14 [INFO] [stdout] | [INFO] [stdout] 263 | pub async fn get_active_regions(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_users` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn list_users(pool: &Pool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_id` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | pub async fn get_user_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_email` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:92:14 [INFO] [stdout] | [INFO] [stdout] 92 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_user` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | pub async fn update_user( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_user` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | pub async fn delete_user(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AppStore` is never used [INFO] [stdout] --> src/api/v1/apps.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | type AppStore = Arc>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_to_file` and `write_to_stdout` are never used [INFO] [stdout] --> src/logger.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl DynamicLogger { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn write_to_file(&self, file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn write_to_stdout(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_id` and `state` are never read [INFO] [stdout] --> src/leader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct LeaderElection { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 23 | /// Unique identifier for the current node [INFO] [stdout] 24 | node_id: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | state: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `start` and `election_cycle` are never used [INFO] [stdout] --> src/leader.rs:72:18 [INFO] [stdout] | [INFO] [stdout] 36 | impl LeaderElection { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub async fn start(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | async fn election_cycle(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_nodes`, `get_nodes_and_self`, and `is_node_alive` are never used [INFO] [stdout] --> src/cluster.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 54 | impl ClusterManager { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub async fn get_nodes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn get_nodes_and_self(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn is_node_alive(&self, node_uid: Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 36s [INFO] running `Command { std: "docker" "inspect" "a031b24cc34c45c6e10b2e50c0ada419c7559211a1e577eb5adf9d33d7b25841", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a031b24cc34c45c6e10b2e50c0ada419c7559211a1e577eb5adf9d33d7b25841", kill_on_drop: false }` [INFO] [stdout] a031b24cc34c45c6e10b2e50c0ada419c7559211a1e577eb5adf9d33d7b25841