[INFO] fetching crate lgx-runtime 0.1.0... [INFO] checking lgx-runtime-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate lgx-runtime 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lgx-runtime 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate lgx-runtime 0.1.0 [INFO] tweaked toml for crates.io crate lgx-runtime 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lgx-runtime 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate lgx-runtime 0.1.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-flame v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4ad91205e9bca0be1bb4871f6c4b09cb9ce72b27dad76cdc2fb450da37afe6d [INFO] running `Command { std: "docker" "start" "-a" "e4ad91205e9bca0be1bb4871f6c4b09cb9ce72b27dad76cdc2fb450da37afe6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4ad91205e9bca0be1bb4871f6c4b09cb9ce72b27dad76cdc2fb450da37afe6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ad91205e9bca0be1bb4871f6c4b09cb9ce72b27dad76cdc2fb450da37afe6d", kill_on_drop: false }` [INFO] [stdout] e4ad91205e9bca0be1bb4871f6c4b09cb9ce72b27dad76cdc2fb450da37afe6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55fd539f2117cf1099144c3aac21e6bff63ed072d72a35be9129f07a63694d82 [INFO] running `Command { std: "docker" "start" "-a" "55fd539f2117cf1099144c3aac21e6bff63ed072d72a35be9129f07a63694d82", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking tracing-flame v0.2.0 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking redis v0.23.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking lgx-runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Config` is never constructed [INFO] [stdout] --> src/config/mod.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Config { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ServerConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatabaseConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct DatabaseConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RedisConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct RedisConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LoggingConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_env` and `default` are never used [INFO] [stdout] --> src/config/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 39 | pub fn from_env() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/services/cache.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheService` is never constructed [INFO] [stdout] --> src/services/cache.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CacheService { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `set`, `delete`, `exists`, and `clear_expired` are never used [INFO] [stdout] --> src/services/cache.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl CacheService { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn set(&self, key: &str, value: &Value, ttl: Option) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn delete(&self, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn exists(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn clear_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthService` is never constructed [INFO] [stdout] --> src/services/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AuthService { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate_token`, `authenticate_user`, and `authorize_action` are never used [INFO] [stdout] --> src/services/auth.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AuthService { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn validate_token(&self, token: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn authenticate_user(&self, credentials: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn authorize_action(&self, user_id: &str, action: &str, resource: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_string` is never used [INFO] [stdout] --> src/utils/crypto.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hash_string(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_token` is never used [INFO] [stdout] --> src/utils/crypto.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn generate_token() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_signature` is never used [INFO] [stdout] --> src/utils/crypto.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn verify_signature(data: &str, signature: &str, public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_data` is never used [INFO] [stdout] --> src/utils/crypto.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn encrypt_data(data: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_data` is never used [INFO] [stdout] --> src/utils/crypto.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn decrypt_data(encrypted_data: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_current_timestamp() -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn format_timestamp(timestamp: DateTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_timestamp(timestamp_str: &str) -> Result, chrono::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_execution_time` is never used [INFO] [stdout] --> src/utils/time.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_execution_time(start: DateTime, end: DateTime) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_email` is never used [INFO] [stdout] --> src/utils/validation.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn validate_email(email: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_uuid` is never used [INFO] [stdout] --> src/utils/validation.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn validate_uuid(uuid_str: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sanitize_input` is never used [INFO] [stdout] --> src/utils/validation.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn sanitize_input(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_json_schema` is never used [INFO] [stdout] --> src/utils/validation.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn validate_json_schema(json: &serde_json::Value, schema: &serde_json::Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_json_value` is never used [INFO] [stdout] --> src/utils/validation.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn validate_json_value(value: &serde_json::Value, schema: &serde_json::Value) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_required_fields` is never used [INFO] [stdout] --> src/utils/validation.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn validate_required_fields(data: &serde_json::Value, required_fields: &[String]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool_size` is never read [INFO] [stdout] --> src/config/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct RedisConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 28 | pub url: String, [INFO] [stdout] 29 | pub pool_size: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RedisConfig` 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: field `format` is never read [INFO] [stdout] --> src/config/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LoggingConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 34 | pub level: String, [INFO] [stdout] 35 | pub format: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoggingConfig` 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: associated function `from_env` is never used [INFO] [stdout] --> src/config/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 39 | pub fn from_env() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/services/cache.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheService` is never constructed [INFO] [stdout] --> src/services/cache.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct CacheService { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `set`, `delete`, `exists`, and `clear_expired` are never used [INFO] [stdout] --> src/services/cache.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl CacheService { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get(&self, key: &str) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn set(&self, key: &str, value: &Value, ttl: Option) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn delete(&self, key: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn exists(&self, key: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub async fn clear_expired(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AuthService` is never constructed [INFO] [stdout] --> src/services/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct AuthService { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `validate_token`, `authenticate_user`, and `authorize_action` are never used [INFO] [stdout] --> src/services/auth.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl AuthService { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn validate_token(&self, token: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn authenticate_user(&self, credentials: &Value) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub async fn authorize_action(&self, user_id: &str, action: &str, resource: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash_string` is never used [INFO] [stdout] --> src/utils/crypto.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn hash_string(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_token` is never used [INFO] [stdout] --> src/utils/crypto.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn generate_token() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_signature` is never used [INFO] [stdout] --> src/utils/crypto.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn verify_signature(data: &str, signature: &str, public_key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt_data` is never used [INFO] [stdout] --> src/utils/crypto.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn encrypt_data(data: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_data` is never used [INFO] [stdout] --> src/utils/crypto.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn decrypt_data(encrypted_data: &str, key: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn get_current_timestamp() -> DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn format_timestamp(timestamp: DateTime) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_timestamp` is never used [INFO] [stdout] --> src/utils/time.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse_timestamp(timestamp_str: &str) -> Result, chrono::ParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_execution_time` is never used [INFO] [stdout] --> src/utils/time.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_execution_time(start: DateTime, end: DateTime) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4, redis v0.23.3, sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "55fd539f2117cf1099144c3aac21e6bff63ed072d72a35be9129f07a63694d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55fd539f2117cf1099144c3aac21e6bff63ed072d72a35be9129f07a63694d82", kill_on_drop: false }` [INFO] [stdout] 55fd539f2117cf1099144c3aac21e6bff63ed072d72a35be9129f07a63694d82