[INFO] cloning repository https://github.com/yeheng/monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yeheng/monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeheng%2Fmonitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeheng%2Fmonitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c50bbb361c761563c2630cb51dda9e11cc002c9d [INFO] checking yeheng/monitor against master#8f08b3a32478b8d0507732800ecb548a76e0fd0c for pr-144157 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyeheng%2Fmonitor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yeheng/monitor [INFO] finished tweaking git repo https://github.com/yeheng/monitor [INFO] tweaked toml for git repo https://github.com/yeheng/monitor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yeheng/monitor on toolchain 8f08b3a32478b8d0507732800ecb548a76e0fd0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yeheng/monitor 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" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded croner v2.2.0 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.14.0 [INFO] [stderr] Downloaded rquickjs-macro v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a5d55491efa7b0f8e50d5953a3ba5a53dc53771dbacf0d57092d627487a31f0 [INFO] running `Command { std: "docker" "start" "-a" "3a5d55491efa7b0f8e50d5953a3ba5a53dc53771dbacf0d57092d627487a31f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a5d55491efa7b0f8e50d5953a3ba5a53dc53771dbacf0d57092d627487a31f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5d55491efa7b0f8e50d5953a3ba5a53dc53771dbacf0d57092d627487a31f0", kill_on_drop: false }` [INFO] [stdout] 3a5d55491efa7b0f8e50d5953a3ba5a53dc53771dbacf0d57092d627487a31f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+8f08b3a32478b8d0507732800ecb548a76e0fd0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52f52211cf7bee0fbcc152b572be8931597436041f4b66a03876e0a53162125b [INFO] running `Command { std: "docker" "start" "-a" "52f52211cf7bee0fbcc152b572be8931597436041f4b66a03876e0a53162125b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling rustls v0.23.29 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking base64ct v1.8.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking backon v1.5.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling prettyplease v0.2.35 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling tokio-cron-scheduler v0.14.0 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking pear v0.2.9 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking croner v2.2.0 [INFO] [stderr] Checking cron v0.15.0 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling rquickjs-sys v0.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking redis v0.32.4 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking monitor-core v0.1.0 (/opt/rustwide/workdir/crates/monitor-core) [INFO] [stderr] Checking monitor-api v0.1.0 (/opt/rustwide/workdir/crates/monitor-api) [INFO] [stderr] Checking monitor-scheduler v0.1.0 (/opt/rustwide/workdir/crates/monitor-scheduler) [INFO] [stdout] warning: fields `auth` and `config` are never read [INFO] [stdout] --> crates/monitor-api/src/server.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub auth: AuthService, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `auth` and `config` are never read [INFO] [stdout] --> crates/monitor-api/src/server.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub auth: AuthService, [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | pub config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_owned` is never used [INFO] [stdout] --> crates/monitor-scheduler/src/distributed.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl DistributedLock { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn is_owned(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `script_id`, `job_id`, `next_execution`, and `is_active` are never read [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScheduledJob { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | pub script_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub job_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub cron_expression: String, [INFO] [stdout] 22 | pub next_execution: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduledJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl DistributedSchedulerService { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn is_leader(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub async fn get_cluster_status(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn load_and_schedule_scripts(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn get_enabled_scripts(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn schedule_script(&mut self, script: ScriptModel) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn calculate_next_execution(&self, cron_expression: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub async fn get_scheduled_jobs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub async fn get_node_info(&self) -> DistributedSchedulerNode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonitorScheduler` is never constructed [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct MonitorScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `load_and_schedule_scripts`, and `stop` are never used [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 405 | impl MonitorScheduler { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 406 | pub async fn new(db: DatabasePool) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub async fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub async fn load_and_schedule_scripts(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub async fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_owned` is never used [INFO] [stdout] --> crates/monitor-scheduler/src/distributed.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl DistributedLock { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub async fn is_owned(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `script_id`, `job_id`, `next_execution`, and `is_active` are never read [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScheduledJob { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 19 | pub script_id: Uuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub job_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub cron_expression: String, [INFO] [stdout] 22 | pub next_execution: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub is_active: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScheduledJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl DistributedSchedulerService { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn is_leader(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub async fn get_cluster_status(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub async fn load_and_schedule_scripts(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | async fn get_enabled_scripts(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn schedule_script(&mut self, script: ScriptModel) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | fn calculate_next_execution(&self, cron_expression: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub async fn get_scheduled_jobs(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub async fn get_node_info(&self) -> DistributedSchedulerNode { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MonitorScheduler` is never constructed [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:401:12 [INFO] [stdout] | [INFO] [stdout] 401 | pub struct MonitorScheduler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `load_and_schedule_scripts`, and `stop` are never used [INFO] [stdout] --> crates/monitor-scheduler/src/scheduler.rs:406:18 [INFO] [stdout] | [INFO] [stdout] 405 | impl MonitorScheduler { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 406 | pub async fn new(db: DatabasePool) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub async fn start(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | pub async fn load_and_schedule_scripts(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub async fn stop(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rquickjs-core v0.9.0 [INFO] [stderr] Checking rquickjs v0.9.0 [INFO] [stderr] Checking monitor-scripting v0.1.0 (/opt/rustwide/workdir/crates/monitor-scripting) [INFO] [stdout] warning: fields `client`, `timeout`, and `max_response_size` are never read [INFO] [stdout] --> crates/monitor-scripting/src/runtime/fetch.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SecureFetch { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | /// HTTP client for making requests [INFO] [stdout] 13 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | timeout: Duration, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | /// Maximum response size in bytes [INFO] [stdout] 19 | max_response_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecureFetch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_async`, `parse_fetch_options`, `get_status_text`, and `try_parse_json` are never used [INFO] [stdout] --> crates/monitor-scripting/src/runtime/fetch.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 32 | impl SecureFetch { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | async fn fetch_async( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn parse_fetch_options( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn get_status_text(&self, status: u16) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn try_parse_json(&self, body: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `duration` are never read [INFO] [stdout] --> crates/monitor-scripting/src/runtime/timers.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct TimerInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 21 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | created_at: Instant, [INFO] [stdout] 23 | duration: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimerInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timer_exists` is never used [INFO] [stdout] --> crates/monitor-scripting/src/runtime/timers.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl SecureTimers { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | fn timer_exists(&self, timer_id: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> crates/monitor-scripting/tests/security_test.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let result = engine [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> crates/monitor-scripting/tests/security_test.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | let result = engine [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> crates/monitor-scripting/tests/security_test.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let result = engine [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> crates/monitor-scripting/src/runtime/fetch.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SecureFetch { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | /// HTTP client for making requests [INFO] [stdout] 13 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SecureFetch` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_async`, `get_status_text`, and `try_parse_json` are never used [INFO] [stdout] --> crates/monitor-scripting/src/runtime/fetch.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 32 | impl SecureFetch { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | async fn fetch_async( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | fn get_status_text(&self, status: u16) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | fn try_parse_json(&self, body: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `duration` are never read [INFO] [stdout] --> crates/monitor-scripting/src/runtime/timers.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct TimerInfo { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 21 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | created_at: Instant, [INFO] [stdout] 23 | duration: Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimerInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `timer_exists` is never used [INFO] [stdout] --> crates/monitor-scripting/src/runtime/timers.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl SecureTimers { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 179 | fn timer_exists(&self, timer_id: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "52f52211cf7bee0fbcc152b572be8931597436041f4b66a03876e0a53162125b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f52211cf7bee0fbcc152b572be8931597436041f4b66a03876e0a53162125b", kill_on_drop: false }` [INFO] [stdout] 52f52211cf7bee0fbcc152b572be8931597436041f4b66a03876e0a53162125b