[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] 067c2d1dd17561e3ad1d4406925d5dd03cc14b5c [INFO] testing Omni-Forge/OmniOrchestrator against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOmni-Forge%2FOmniOrchestrator" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Omni-Forge/OmniOrchestrator on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea5e5375adca66eb0b1c260d1e85d751672b6ecfb410f20c6b6e9bab8313a21d [INFO] running `Command { std: "docker" "start" "-a" "ea5e5375adca66eb0b1c260d1e85d751672b6ecfb410f20c6b6e9bab8313a21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea5e5375adca66eb0b1c260d1e85d751672b6ecfb410f20c6b6e9bab8313a21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5e5375adca66eb0b1c260d1e85d751672b6ecfb410f20c6b6e9bab8313a21d", kill_on_drop: false }` [INFO] [stdout] ea5e5375adca66eb0b1c260d1e85d751672b6ecfb410f20c6b6e9bab8313a21d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44e898d53e54db7fdbbf0647e1a5f76f41e3a202963948957c7b2a1131896efa [INFO] running `Command { std: "docker" "start" "-a" "44e898d53e54db7fdbbf0647e1a5f76f41e3a202963948957c7b2a1131896efa", 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] Compiling 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] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling openssl-src v300.4.2+3.4.1 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling ring v0.17.11 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.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 try-lock v0.2.5 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tinyvec v1.8.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling libz-sys v1.1.21 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling adler2 v2.0.0 [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] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling rsa v0.9.7 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling whoami v1.5.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling sqlx-mysql v0.8.3 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling mysql-common-derive v0.31.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling plist v1.7.0 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling rocket-multipart-form-data v0.10.7 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling omni-orchestrator v0.1.0-in-dev-57696b7d5193518045c0654f20cd0c61f6e27ccc (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stdout] --> src/api/v1/builds.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{get, post, put, delete, State, http::ContentType, Data}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/api/v1/builds.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/db/v1/queries/build.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{FromRow, MySql, Pool}; [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:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | ...t::{easy::HighlightLines, highlighting::{ThemeSet, Style}, parsing::SyntaxSet, util::{as_24_bit_terminal_escaped, LinesWithEndings}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/api/v1/apps.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | 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: `scale` [INFO] [stdout] --> src/api/v1/apps.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | scale: Json, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/db/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let trans = conn.begin().await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db/v1/queries/user.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | 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:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | 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:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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: `name` [INFO] [stdout] --> src/db/v1/queries/permission.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | 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:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | 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: `result` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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 import: `colored::Colorize` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_node_alive` is never used [INFO] [stdout] --> src/cluster.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClusterManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn is_node_alive(&self, node_uid: Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_to_file` and `write_to_stdout` are never used [INFO] [stdout] --> src/logger.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl DynamicLogger { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn write_to_file(&self, file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn write_to_stdout(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_users` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 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:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | 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:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | 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:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn delete_user(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_orgs` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 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:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn create_org( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn update_org( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | 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:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | 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:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | 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:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn update_org_member_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_apps_by_org` is never used [INFO] [stdout] --> src/db/v1/queries/app.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | 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:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | pub async fn set_maintenance_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_regions` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn list_regions(pool: &Pool) -> anyhow::Result> { [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:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 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:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | 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:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | 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:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | 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:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get_active_regions(pool: &Pool) -> 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:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | 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:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | 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:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | 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:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | 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:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | 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:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | 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:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | 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:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | 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:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | 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:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | 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:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | 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:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | 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:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | 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:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | 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:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | 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:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | 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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | 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:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | 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:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn get_running_instances(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_running_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | 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:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn terminate_all_instances(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [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:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | 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:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | 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:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn get_org_audit_logs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_roles` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | 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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | 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:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | 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:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | 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:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | 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:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | 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:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | 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:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | 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:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | 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:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | pub async fn get_user_roles( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_permissions` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | pub async fn get_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_meta_table` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | 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:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | 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:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | 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:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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:207:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl MetadataCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 207 | pub fn new(pool: Pool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn set(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub async fn refresh_cache(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | 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:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 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:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | 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:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn delete_builds_for_app(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 54s [INFO] running `Command { std: "docker" "inspect" "44e898d53e54db7fdbbf0647e1a5f76f41e3a202963948957c7b2a1131896efa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e898d53e54db7fdbbf0647e1a5f76f41e3a202963948957c7b2a1131896efa", kill_on_drop: false }` [INFO] [stdout] 44e898d53e54db7fdbbf0647e1a5f76f41e3a202963948957c7b2a1131896efa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67382279ba56019441b4d5897e22d5030f3522d431d95ab0169f94fa11cd3a2c [INFO] running `Command { std: "docker" "start" "-a" "67382279ba56019441b4d5897e22d5030f3522d431d95ab0169f94fa11cd3a2c", kill_on_drop: false }` [INFO] [stderr] Compiling omni-orchestrator v0.1.0-in-dev-57696b7d5193518045c0654f20cd0c61f6e27ccc (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stdout] --> src/api/v1/builds.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use rocket::{get, post, put, delete, State, http::ContentType, Data}; [INFO] [stdout] | ^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/api/v1/builds.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromRow` [INFO] [stdout] --> src/db/v1/queries/build.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{FromRow, MySql, Pool}; [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:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | ...t::{easy::HighlightLines, highlighting::{ThemeSet, Style}, parsing::SyntaxSet, util::{as_24_bit_terminal_escaped, LinesWithEndings}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_id` [INFO] [stdout] --> src/api/v1/apps.rs:117:28 [INFO] [stdout] | [INFO] [stdout] 117 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/api/v1/apps.rs:117:44 [INFO] [stdout] | [INFO] [stdout] 117 | 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: `scale` [INFO] [stdout] --> src/api/v1/apps.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | scale: Json, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trans` [INFO] [stdout] --> src/db/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let trans = conn.begin().await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/db/v1/queries/user.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | 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:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | 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:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | 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: `name` [INFO] [stdout] --> src/db/v1/queries/permission.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | 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:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | 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: `result` [INFO] [stdout] --> src/db/v1/queries/metadata.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | 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 import: `colored::Colorize` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_node_alive` is never used [INFO] [stdout] --> src/cluster.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl ClusterManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub async fn is_node_alive(&self, node_uid: Arc) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_to_file` and `write_to_stdout` are never used [INFO] [stdout] --> src/logger.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl DynamicLogger { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn write_to_file(&self, file_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn write_to_stdout(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_users` is never used [INFO] [stdout] --> src/db/v1/queries/user.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 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:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | 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:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | 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:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | pub async fn delete_user(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_orgs` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | 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:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 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:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub async fn create_org( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | pub async fn update_org( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `delete_org` is never used [INFO] [stdout] --> src/db/v1/queries/org.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | 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:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | 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:101:14 [INFO] [stdout] | [INFO] [stdout] 101 | 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:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | pub async fn update_org_member_role( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_apps_by_org` is never used [INFO] [stdout] --> src/db/v1/queries/app.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | 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:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | pub async fn set_maintenance_mode( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_regions` is never used [INFO] [stdout] --> src/db/v1/queries/region.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | pub async fn list_regions(pool: &Pool) -> anyhow::Result> { [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:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | 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:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | 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:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | 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:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | 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:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get_active_regions(pool: &Pool) -> 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:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | 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:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | 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:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | 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:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | 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:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | 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:91:14 [INFO] [stdout] | [INFO] [stdout] 91 | 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:104:14 [INFO] [stdout] | [INFO] [stdout] 104 | 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:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | 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:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | 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:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | 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:171:14 [INFO] [stdout] | [INFO] [stdout] 171 | 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:197:14 [INFO] [stdout] | [INFO] [stdout] 197 | 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:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | 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:232:14 [INFO] [stdout] | [INFO] [stdout] 232 | 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:245:14 [INFO] [stdout] | [INFO] [stdout] 245 | 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:267:14 [INFO] [stdout] | [INFO] [stdout] 267 | 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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | 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:80:14 [INFO] [stdout] | [INFO] [stdout] 80 | 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:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | pub async fn get_running_instances(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_running_instances` is never used [INFO] [stdout] --> src/db/v1/queries/instance.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | 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:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn terminate_all_instances(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [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:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | 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:77:14 [INFO] [stdout] | [INFO] [stdout] 77 | 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:99:14 [INFO] [stdout] | [INFO] [stdout] 99 | pub async fn get_org_audit_logs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_roles` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | 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:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | 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:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | 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:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | 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:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | 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:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | 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:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | 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:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | 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:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | 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:268:14 [INFO] [stdout] | [INFO] [stdout] 268 | 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:288:14 [INFO] [stdout] | [INFO] [stdout] 288 | 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:308:14 [INFO] [stdout] | [INFO] [stdout] 308 | pub async fn get_user_roles( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_permissions` is never used [INFO] [stdout] --> src/db/v1/queries/permission.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 326 | pub async fn get_user_permissions( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_meta_table` is never used [INFO] [stdout] --> src/db/v1/queries/metadata.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | 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:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | 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:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | 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:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | 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:207:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl MetadataCache { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 207 | pub fn new(pool: Pool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub async fn set(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub async fn refresh_cache(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_build` is never used [INFO] [stdout] --> src/db/v1/queries/build.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | 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:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | 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:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | 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:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | pub async fn delete_builds_for_app(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.64s [INFO] running `Command { std: "docker" "inspect" "67382279ba56019441b4d5897e22d5030f3522d431d95ab0169f94fa11cd3a2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67382279ba56019441b4d5897e22d5030f3522d431d95ab0169f94fa11cd3a2c", kill_on_drop: false }` [INFO] [stdout] 67382279ba56019441b4d5897e22d5030f3522d431d95ab0169f94fa11cd3a2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66717169533ef04cdd5d9a21592dd7cbe81221cbb39af3c0d69fbc0bb6e135a0 [INFO] running `Command { std: "docker" "start" "-a" "66717169533ef04cdd5d9a21592dd7cbe81221cbb39af3c0d69fbc0bb6e135a0", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Data`, `delete`, `http::ContentType`, `post`, and `put` [INFO] [stderr] --> src/api/v1/builds.rs:1:19 [INFO] [stderr] | [INFO] [stderr] 1 | use rocket::{get, post, put, delete, State, http::ContentType, Data}; [INFO] [stderr] | ^^^^ ^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `rocket::http::Status` [INFO] [stderr] --> src/api/v1/builds.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use rocket::http::Status; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> src/db/v1/queries/metadata.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FromRow` [INFO] [stderr] --> src/db/v1/queries/build.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use sqlx::{FromRow, MySql, Pool}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `LinesWithEndings`, `Style`, `ThemeSet`, `as_24_bit_terminal_escaped`, `easy::HighlightLines`, and `parsing::SyntaxSet` [INFO] [stderr] --> src/db/mod.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | ...t::{easy::HighlightLines, highlighting::{ThemeSet, Style}, parsing::SyntaxSet, util::{as_24_bit_terminal_escaped, LinesWithEndings}}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app_id` [INFO] [stderr] --> src/api/v1/apps.rs:117:28 [INFO] [stderr] | [INFO] [stderr] 117 | pub async fn get_app_stats(app_id: String, pool: &State>) -> Json { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/api/v1/apps.rs:117:44 [INFO] [stderr] | [INFO] [stderr] 117 | pub async fn get_app_stats(app_id: String, pool: &State>) -> Json { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scale` [INFO] [stderr] --> src/api/v1/apps.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | scale: Json, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scale` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trans` [INFO] [stderr] --> src/db/mod.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let trans = conn.begin().await?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_trans` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/db/v1/queries/user.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | if let Some(name) = name { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `email` [INFO] [stderr] --> src/db/v1/queries/user.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | if let Some(email) = email { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_email` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `active` [INFO] [stderr] --> src/db/v1/queries/user.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | if let Some(active) = active { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_active` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/db/v1/queries/permission.rs:59:17 [INFO] [stderr] | [INFO] [stderr] 59 | if let Some(name) = name { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `description` [INFO] [stderr] --> src/db/v1/queries/permission.rs:62:17 [INFO] [stderr] | [INFO] [stderr] 62 | if let Some(description) = description { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/db/v1/queries/metadata.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | let result = sqlx::query( [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused import: `colored::Colorize` [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | use colored::Colorize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_node_alive` is never used [INFO] [stderr] --> src/cluster.rs:90:18 [INFO] [stderr] | [INFO] [stderr] 22 | impl ClusterManager { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 90 | pub async fn is_node_alive(&self, node_uid: Arc) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `write_to_file` and `write_to_stdout` are never used [INFO] [stderr] --> src/logger.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl DynamicLogger { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 34 | pub fn write_to_file(&self, file_path: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn write_to_stdout(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_users` is never used [INFO] [stderr] --> src/db/v1/queries/user.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn list_users(pool: &Pool) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_by_id` is never used [INFO] [stderr] --> src/db/v1/queries/user.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn get_user_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_by_email` is never used [INFO] [stderr] --> src/db/v1/queries/user.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn get_user_by_email(pool: &Pool, email: &str) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_user` is never used [INFO] [stderr] --> src/db/v1/queries/user.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn update_user( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_user` is never used [INFO] [stderr] --> src/db/v1/queries/user.rs:112:14 [INFO] [stderr] | [INFO] [stderr] 112 | pub async fn delete_user(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_orgs` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn list_orgs(pool: &Pool) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_org_by_id` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn get_org_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_org` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn create_org( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_org` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:46:14 [INFO] [stderr] | [INFO] [stderr] 46 | pub async fn update_org( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_org` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | pub async fn delete_org(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `add_org_member` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:79:14 [INFO] [stderr] | [INFO] [stderr] 79 | pub async fn add_org_member( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_org_member` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:101:14 [INFO] [stderr] | [INFO] [stderr] 101 | pub async fn remove_org_member( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_org_member_role` is never used [INFO] [stderr] --> src/db/v1/queries/org.rs:121:14 [INFO] [stderr] | [INFO] [stderr] 121 | pub async fn update_org_member_role( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_apps_by_org` is never used [INFO] [stderr] --> src/db/v1/queries/app.rs:40:14 [INFO] [stderr] | [INFO] [stderr] 40 | pub async fn get_apps_by_org(pool: &Pool, org_id: i64) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_maintenance_mode` is never used [INFO] [stderr] --> src/db/v1/queries/app.rs:164:14 [INFO] [stderr] | [INFO] [stderr] 164 | pub async fn set_maintenance_mode( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_regions` is never used [INFO] [stderr] --> src/db/v1/queries/region.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | pub async fn list_regions(pool: &Pool) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_region_by_id` is never used [INFO] [stderr] --> src/db/v1/queries/region.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn get_region_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_region` is never used [INFO] [stderr] --> src/db/v1/queries/region.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | pub async fn create_region( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_region_status` is never used [INFO] [stderr] --> src/db/v1/queries/region.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | pub async fn update_region_status( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_region` is never used [INFO] [stderr] --> src/db/v1/queries/region.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 70 | pub async fn delete_region(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_active_regions` is never used [INFO] [stderr] --> src/db/v1/queries/region.rs:83:14 [INFO] [stderr] | [INFO] [stderr] 83 | pub async fn get_active_regions(pool: &Pool) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_builds` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn list_builds(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_build_by_id` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | pub async fn get_build_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_build` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | pub async fn create_build( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_build_status` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | pub async fn update_build_status( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_latest_successful_build` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | pub async fn get_latest_successful_build(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_build` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:91:14 [INFO] [stderr] | [INFO] [stderr] 91 | pub async fn delete_build(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_app_builds` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:104:14 [INFO] [stderr] | [INFO] [stderr] 104 | pub async fn get_app_builds( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_deployments` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:127:14 [INFO] [stderr] | [INFO] [stderr] 127 | pub async fn list_deployments(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_deployment_by_id` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:139:14 [INFO] [stderr] | [INFO] [stderr] 139 | pub async fn get_deployment_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_deployment` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:151:14 [INFO] [stderr] | [INFO] [stderr] 151 | pub async fn create_deployment( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_deployment_status` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:171:14 [INFO] [stderr] | [INFO] [stderr] 171 | pub async fn update_deployment_status( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_latest_deployment` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:197:14 [INFO] [stderr] | [INFO] [stderr] 197 | pub async fn get_latest_deployment(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_successful_deployments` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | pub async fn get_successful_deployments( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_deployment` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:232:14 [INFO] [stderr] | [INFO] [stderr] 232 | pub async fn delete_deployment(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_app_deployments` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:245:14 [INFO] [stderr] | [INFO] [stderr] 245 | pub async fn get_app_deployments( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_deployment_with_build` is never used [INFO] [stderr] --> src/db/v1/queries/deployment.rs:267:14 [INFO] [stderr] | [INFO] [stderr] 267 | pub async fn get_deployment_with_build( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_instance` is never used [INFO] [stderr] --> src/db/v1/queries/instance.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | pub async fn create_instance( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_instance_status` is never used [INFO] [stderr] --> src/db/v1/queries/instance.rs:51:14 [INFO] [stderr] | [INFO] [stderr] 51 | pub async fn update_instance_status( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_instance` is never used [INFO] [stderr] --> src/db/v1/queries/instance.rs:80:14 [INFO] [stderr] | [INFO] [stderr] 80 | pub async fn delete_instance(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_running_instances` is never used [INFO] [stderr] --> src/db/v1/queries/instance.rs:93:14 [INFO] [stderr] | [INFO] [stderr] 93 | pub async fn get_running_instances(pool: &Pool, app_id: i64) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `count_running_instances` is never used [INFO] [stderr] --> src/db/v1/queries/instance.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | pub async fn count_running_instances(pool: &Pool, app_id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `terminate_all_instances` is never used [INFO] [stderr] --> src/db/v1/queries/instance.rs:120:14 [INFO] [stderr] | [INFO] [stderr] 120 | pub async fn terminate_all_instances(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_audit_logs_by_resource` is never used [INFO] [stderr] --> src/db/v1/queries/audit_log.rs:53:14 [INFO] [stderr] | [INFO] [stderr] 53 | pub async fn get_audit_logs_by_resource( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_audit_logs` is never used [INFO] [stderr] --> src/db/v1/queries/audit_log.rs:77:14 [INFO] [stderr] | [INFO] [stderr] 77 | pub async fn get_user_audit_logs( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_org_audit_logs` is never used [INFO] [stderr] --> src/db/v1/queries/audit_log.rs:99:14 [INFO] [stderr] | [INFO] [stderr] 99 | pub async fn get_org_audit_logs( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_roles` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | pub async fn list_roles(pool: &Pool) -> anyhow::Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_role_by_id` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:17:14 [INFO] [stderr] | [INFO] [stderr] 17 | pub async fn get_role_by_id(pool: &Pool, id: i64) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_role` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:29:14 [INFO] [stderr] | [INFO] [stderr] 29 | pub async fn create_role( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_role` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | pub async fn update_role( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_role` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:88:14 [INFO] [stderr] | [INFO] [stderr] 88 | pub async fn delete_role(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_permission` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:147:14 [INFO] [stderr] | [INFO] [stderr] 147 | pub async fn update_permission( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `assign_permission_to_role` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:209:14 [INFO] [stderr] | [INFO] [stderr] 209 | pub async fn assign_permission_to_role( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_permission_from_role` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:229:14 [INFO] [stderr] | [INFO] [stderr] 229 | pub async fn remove_permission_from_role( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_role_permissions` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:249:14 [INFO] [stderr] | [INFO] [stderr] 249 | pub async fn get_role_permissions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `assign_role_to_user` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:268:14 [INFO] [stderr] | [INFO] [stderr] 268 | pub async fn assign_role_to_user( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove_role_from_user` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:288:14 [INFO] [stderr] | [INFO] [stderr] 288 | pub async fn remove_role_from_user( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_roles` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:308:14 [INFO] [stderr] | [INFO] [stderr] 308 | pub async fn get_user_roles( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_permissions` is never used [INFO] [stderr] --> src/db/v1/queries/permission.rs:326:14 [INFO] [stderr] | [INFO] [stderr] 326 | pub async fn get_user_permissions( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_meta_table` is never used [INFO] [stderr] --> src/db/v1/queries/metadata.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn create_meta_table(pool: &Pool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `meta_table_exists` is never used [INFO] [stderr] --> src/db/v1/queries/metadata.rs:102:14 [INFO] [stderr] | [INFO] [stderr] 102 | pub async fn meta_table_exists(pool: &Pool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `cleanup_duplicate_keys` is never used [INFO] [stderr] --> src/db/v1/queries/metadata.rs:159:14 [INFO] [stderr] | [INFO] [stderr] 159 | pub async fn cleanup_duplicate_keys(pool: &Pool) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MetadataCache` is never constructed [INFO] [stderr] --> src/db/v1/queries/metadata.rs:201:12 [INFO] [stderr] | [INFO] [stderr] 201 | pub struct MetadataCache { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get`, `set`, and `refresh_cache` are never used [INFO] [stderr] --> src/db/v1/queries/metadata.rs:207:12 [INFO] [stderr] | [INFO] [stderr] 206 | impl MetadataCache { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 207 | pub fn new(pool: Pool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 214 | pub async fn get(&mut self, key: &str) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 229 | pub async fn set(&mut self, key: &str, value: &str) -> Result<()> { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | pub async fn refresh_cache(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_build` is never used [INFO] [stderr] --> src/db/v1/queries/build.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | pub async fn create_build( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `update_build` is never used [INFO] [stderr] --> src/db/v1/queries/build.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn update_build( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_build` is never used [INFO] [stderr] --> src/db/v1/queries/build.rs:94:14 [INFO] [stderr] | [INFO] [stderr] 94 | pub async fn delete_build(pool: &Pool, id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `delete_builds_for_app` is never used [INFO] [stderr] --> src/db/v1/queries/build.rs:105:14 [INFO] [stderr] | [INFO] [stderr] 105 | pub async fn delete_builds_for_app(pool: &Pool, app_id: i64) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `omni-orchestrator` (bin "omni-orchestrator" test) generated 86 warnings (run `cargo fix --bin "omni-orchestrator" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/omni_orchestrator-087fa8ffda5356e3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "66717169533ef04cdd5d9a21592dd7cbe81221cbb39af3c0d69fbc0bb6e135a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66717169533ef04cdd5d9a21592dd7cbe81221cbb39af3c0d69fbc0bb6e135a0", kill_on_drop: false }` [INFO] [stdout] 66717169533ef04cdd5d9a21592dd7cbe81221cbb39af3c0d69fbc0bb6e135a0