[INFO] cloning repository https://github.com/arthurkeeng/agro-app-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arthurkeeng/agro-app-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurkeeng%2Fagro-app-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurkeeng%2Fagro-app-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 029e2283a4e2adf8fb9c04e1f0968e9ac8f03cfe
[INFO] checking arthurkeeng/agro-app-backend against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farthurkeeng%2Fagro-app-backend" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/arthurkeeng/agro-app-backend
[INFO] finished tweaking git repo https://github.com/arthurkeeng/agro-app-backend
[INFO] tweaked toml for git repo https://github.com/arthurkeeng/agro-app-backend written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/arthurkeeng/agro-app-backend on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/arthurkeeng/agro-app-backend 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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v1.17.0
[INFO] [stderr]   Downloaded jobserver v0.1.33
[INFO] [stderr]   Downloaded serde_json v1.0.141
[INFO] [stderr]   Downloaded cc v1.2.30
[INFO] [stderr]   Downloaded tokio v1.47.0
[INFO] [stderr]   Downloaded actix-web v4.11.0
[INFO] [stderr]   Downloaded ghash v0.5.1
[INFO] [stderr]   Downloaded base64 v0.20.0
[INFO] [stderr]   Downloaded actix-http v3.11.0
[INFO] [stderr]   Downloaded actix-cors v0.7.1
[INFO] [stderr]   Downloaded actix-session v0.10.1
[INFO] [stderr]   Downloaded brotli v8.0.1
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 80188094068c415c8b33bce74ca310b4aef0047ebed5f0ceeadeaf579785e623
[INFO] running `Command { std: "docker" "start" "-a" "80188094068c415c8b33bce74ca310b4aef0047ebed5f0ceeadeaf579785e623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "80188094068c415c8b33bce74ca310b4aef0047ebed5f0ceeadeaf579785e623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "80188094068c415c8b33bce74ca310b4aef0047ebed5f0ceeadeaf579785e623", kill_on_drop: false }`
[INFO] [stdout] 80188094068c415c8b33bce74ca310b4aef0047ebed5f0ceeadeaf579785e623
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5c22d8919fa7cdaa9025006d82062450825742a5c0690353a1cab8aba60cdb9a
[INFO] running `Command { std: "docker" "start" "-a" "5c22d8919fa7cdaa9025006d82062450825742a5c0690353a1cab8aba60cdb9a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]     Checking inout v0.1.4
[INFO] [stderr]    Compiling tokio v1.47.0
[INFO] [stderr]     Checking cipher v0.4.4
[INFO] [stderr]     Checking universal-hash v0.5.1
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling tinyvec v1.9.0
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking polyval v0.6.2
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.24
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling bigdecimal v0.3.1
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]     Checking ghash v0.5.1
[INFO] [stderr]     Checking aes v0.8.4
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking ctr v0.9.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking brotli-decompressor v5.0.0
[INFO] [stderr]     Checking aead v0.5.2
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling bytestring v1.4.0
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling unicode-properties v0.1.3
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking brotli v8.0.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking aes-gcm v0.10.3
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling home v0.5.11
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]    Compiling whoami v1.6.0
[INFO] [stderr]     Checking base64 v0.20.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking env_logger v0.10.2
[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 serde_derive v1.0.219
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]    Compiling derive_more-impl v1.0.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking derive_more v1.0.0
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking actix-router v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking actix-server v2.6.0
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]     Checking sqlx-postgres v0.7.4
[INFO] [stderr]     Checking actix-http v3.11.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking actix-web v4.11.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking actix-cors v0.7.1
[INFO] [stderr]     Checking actix-session v0.10.1
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking rust-backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]  --> src/main.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_session::{storage::CookieSessionStore, Session, SessionMiddleware};
[INFO] [stdout]   |                                                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `farm_activity::*`
[INFO] [stdout]   --> src/models/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use farm_activity::*; // Added line
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `product::*`
[INFO] [stdout]   --> src/models/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use product::*; // Added line
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateFarmRequest`
[INFO] [stdout]  --> src/handlers/farmers.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     models::{CreateFarmRequest, CreateFarmerRequest, FarmResponse, Farmer, FarmerLogin, FarmerSession, SendOtpRequest, VerifyPhoneReq...
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/database.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{PgPool, Row};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::App`
[INFO] [stdout]  --> src/services/farmer_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::App;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sms_service`
[INFO] [stdout]   --> src/services/farmer_service.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     services::{self, sms_service}, 
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/services/sms_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Session`
[INFO] [stdout]  --> src/main.rs:1:50
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_session::{storage::CookieSessionStore, Session, SessionMiddleware};
[INFO] [stdout]   |                                                  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `farm_activity::*`
[INFO] [stdout]   --> src/models/mod.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub use farm_activity::*; // Added line
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `product::*`
[INFO] [stdout]   --> src/models/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use product::*; // Added line
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CreateFarmRequest`
[INFO] [stdout]  --> src/handlers/farmers.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 |     models::{CreateFarmRequest, CreateFarmerRequest, FarmResponse, Farmer, FarmerLogin, FarmerSession, SendOtpRequest, VerifyPhoneReq...
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Row`
[INFO] [stdout]  --> src/database.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sqlx::{PgPool, Row};
[INFO] [stdout]   |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::App`
[INFO] [stdout]  --> src/services/farmer_service.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::App;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sms_service`
[INFO] [stdout]   --> src/services/farmer_service.rs:10:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |     services::{self, sms_service}, 
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/services/sms_service.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/services/sms_service.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |         return Ok(());
[INFO] [stdout]    |         ------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 40 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/services/sms_service.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |         return Ok(());
[INFO] [stdout]    |         ------------- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 40 |     Ok(())
[INFO] [stdout]    |     ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/handlers/farmers.rs:159:40
[INFO] [stdout]     |
[INFO] [stdout] 159 |         Err (AppError::ValidationError(msg)) => {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginResponse` is never constructed
[INFO] [stdout]   --> src/models/farmer.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct LoginResponse{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhoneVerification` is never constructed
[INFO] [stdout]  --> src/models/verification.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PhoneVerification {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SendOtpRequest` is never constructed
[INFO] [stdout]   --> src/models/verification.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SendOtpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FarmActivity` is never constructed
[INFO] [stdout]  --> src/models/farm_activity.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FarmActivity {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InputUsed` is never constructed
[INFO] [stdout]   --> src/models/farm_activity.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct InputUsed {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateFarmActivityRequest` is never constructed
[INFO] [stdout]   --> src/models/farm_activity.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct CreateFarmActivityRequest{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateFarmActivityRequest` is never constructed
[INFO] [stdout]   --> src/models/farm_activity.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct UpdateFarmActivityRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resend_otp` is never used
[INFO] [stdout]    --> src/handlers/farmers.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub async fn resend_otp(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dashboard` is never used
[INFO] [stdout]    --> src/handlers/farmers.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn dashboard(session : Session) -> impl Responder{
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logout` is never used
[INFO] [stdout]    --> src/handlers/farmers.rs:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub async fn logout(session : Session) -> impl Responder{
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `login_farmer_after_otp` is never used
[INFO] [stdout]    --> src/services/farmer_service.rs:181:14
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub async fn login_farmer_after_otp(db: &Database, request: VerifyPhoneRequest) -> AppResult<LoginResponse> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound` and `Unauthorized` are never constructed
[INFO] [stdout]   --> src/errors.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Quantity` should have a snake case name
[INFO] [stdout]   --> src/models/farm_activity.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub Quantity : f64 , 
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `quantity`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `msg`
[INFO] [stdout]    --> src/handlers/farmers.rs:159:40
[INFO] [stdout]     |
[INFO] [stdout] 159 |         Err (AppError::ValidationError(msg)) => {
[INFO] [stdout]     |                                        ^^^ help: if this is intentional, prefix it with an underscore: `_msg`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LoginResponse` is never constructed
[INFO] [stdout]   --> src/models/farmer.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct LoginResponse{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhoneVerification` is never constructed
[INFO] [stdout]  --> src/models/verification.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct PhoneVerification {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SendOtpRequest` is never constructed
[INFO] [stdout]   --> src/models/verification.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct SendOtpRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FarmActivity` is never constructed
[INFO] [stdout]  --> src/models/farm_activity.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct FarmActivity {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InputUsed` is never constructed
[INFO] [stdout]   --> src/models/farm_activity.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct InputUsed {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CreateFarmActivityRequest` is never constructed
[INFO] [stdout]   --> src/models/farm_activity.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct CreateFarmActivityRequest{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateFarmActivityRequest` is never constructed
[INFO] [stdout]   --> src/models/farm_activity.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct UpdateFarmActivityRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resend_otp` is never used
[INFO] [stdout]    --> src/handlers/farmers.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub async fn resend_otp(
[INFO] [stdout]     |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dashboard` is never used
[INFO] [stdout]    --> src/handlers/farmers.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn dashboard(session : Session) -> impl Responder{
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `logout` is never used
[INFO] [stdout]    --> src/handlers/farmers.rs:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub async fn logout(session : Session) -> impl Responder{
[INFO] [stdout]     |              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `login_farmer_after_otp` is never used
[INFO] [stdout]    --> src/services/farmer_service.rs:181:14
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub async fn login_farmer_after_otp(db: &Database, request: VerifyPhoneRequest) -> AppResult<LoginResponse> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `NotFound` and `Unauthorized` are never constructed
[INFO] [stdout]   --> src/errors.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum AppError {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout]  9 |     NotFound(String),
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 10 |     Unauthorized(String),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `Quantity` should have a snake case name
[INFO] [stdout]   --> src/models/farm_activity.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub Quantity : f64 , 
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `quantity`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 59s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: 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 1`
[INFO] running `Command { std: "docker" "inspect" "5c22d8919fa7cdaa9025006d82062450825742a5c0690353a1cab8aba60cdb9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c22d8919fa7cdaa9025006d82062450825742a5c0690353a1cab8aba60cdb9a", kill_on_drop: false }`
[INFO] [stdout] 5c22d8919fa7cdaa9025006d82062450825742a5c0690353a1cab8aba60cdb9a
