[INFO] cloning repository https://github.com/vimalsaraswat/agri-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vimalsaraswat/agri-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvimalsaraswat%2Fagri-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvimalsaraswat%2Fagri-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e20da733ea0786a86ef8593cefe590863875ffb0 [INFO] testing vimalsaraswat/agri-rust against 1.97.0-beta.6 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvimalsaraswat%2Fagri-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vimalsaraswat/agri-rust [INFO] finished tweaking git repo https://github.com/vimalsaraswat/agri-rust [INFO] tweaked toml for git repo https://github.com/vimalsaraswat/agri-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vimalsaraswat/agri-rust on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vimalsaraswat/agri-rust 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.115 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.115 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.115 [INFO] [stderr] Downloaded uuid v1.23.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.65 [INFO] [stderr] Downloaded fastrand v2.4.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.115 [INFO] [stderr] Downloaded openssl-sys v0.9.112 [INFO] [stderr] Downloaded mongodb-internal-macros v3.5.2 [INFO] [stderr] Downloaded cc v1.2.58 [INFO] [stderr] Downloaded js-sys v0.3.92 [INFO] [stderr] Downloaded zerocopy-derive v0.8.47 [INFO] [stderr] Downloaded zerocopy v0.8.47 [INFO] [stderr] Downloaded openssl v0.10.76 [INFO] [stderr] Downloaded multer v3.1.0 [INFO] [stderr] Downloaded mongodb v3.5.2 [INFO] [stderr] Downloaded web-sys v0.3.92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc [INFO] running `Command { std: "docker" "start" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling tagptr v0.2.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling resolv-conf v0.7.6 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling moka v0.12.15 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Compiling rustls-webpki v0.103.10 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling simple_asn1 v0.6.4 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Compiling mongodb-internal-macros v3.5.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling derive-where v1.6.1 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling serde_with_macros v3.18.0 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling typed-builder v0.22.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling serde_with v3.18.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling bson v2.15.0 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hickory-proto v0.25.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hickory-resolver v0.25.2 [INFO] [stderr] Compiling mongodb v3.5.2 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling agri-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/api/error.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/api/extractor.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AuthUser { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub user_id: String, [INFO] [stdout] 13 | pub role: UserRole, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthUser` 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 `find_by_phone` is never used [INFO] [stdout] --> src/application/repository.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait UserRepository: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | async fn find_by_phone(&self, phone: &str) -> Result, DomainError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_production` is never used [INFO] [stdout] --> src/config/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 10 | pub fn is_production(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 28s [INFO] running `Command { std: "docker" "inspect" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling agri-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Internal` is never constructed [INFO] [stdout] --> src/api/error.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ApiError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | Internal(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/api/extractor.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct AuthUser { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | pub user_id: String, [INFO] [stdout] 13 | pub role: UserRole, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthUser` 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 `find_by_phone` is never used [INFO] [stdout] --> src/application/repository.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait UserRepository: Send + Sync + 'static { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 21 | async fn find_by_phone(&self, phone: &str) -> Result, DomainError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_production` is never used [INFO] [stdout] --> src/config/mod.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Environment { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 10 | pub fn is_production(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.01s [INFO] running `Command { std: "docker" "inspect" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: variant `Internal` is never constructed [INFO] [stderr] --> src/api/error.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 28 | pub enum ApiError { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 33 | Internal(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `role` is never read [INFO] [stderr] --> src/api/extractor.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct AuthUser { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 12 | pub user_id: String, [INFO] [stderr] 13 | pub role: UserRole, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuthUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `find_by_phone` is never used [INFO] [stderr] --> src/application/repository.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 17 | pub trait UserRepository: Send + Sync + 'static { [INFO] [stderr] | -------------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 21 | async fn find_by_phone(&self, phone: &str) -> Result, DomainError>; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_production` is never used [INFO] [stderr] --> src/config/mod.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Environment { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] 10 | pub fn is_production(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `agri-rust` (bin "agri-rust" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agri_rust-89abedc6e0866fe7) [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" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc", kill_on_drop: false }` [INFO] [stdout] cccfcabbe5093b2b900c960e1aee97dffeed4f0e5919b13905e7c7e416bcd6fc