[INFO] cloning repository https://github.com/rocha19/isi-dev-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rocha19/isi-dev-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocha19%2Fisi-dev-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocha19%2Fisi-dev-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 480226dad84832a5cc95ce1287d457b3c5139c38 [INFO] checking rocha19/isi-dev-server against master#292be5c7c05138d753bbd4b30db7a3f1a5c914f7 for pr-148271-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocha19%2Fisi-dev-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rocha19/isi-dev-server [INFO] finished tweaking git repo https://github.com/rocha19/isi-dev-server [INFO] tweaked toml for git repo https://github.com/rocha19/isi-dev-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rocha19/isi-dev-server on toolchain 292be5c7c05138d753bbd4b30db7a3f1a5c914f7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rocha19/isi-dev-server 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" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator v0.16.1 [INFO] [stderr] Downloaded serial_test v3.2.0 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded postgres-types v0.2.9 [INFO] [stderr] Downloaded serial_test_derive v3.2.0 [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded deadpool-postgres v0.12.1 [INFO] [stderr] Downloaded deadpool v0.12.2 [INFO] [stderr] Downloaded deadpool v0.10.0 [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded tokio-postgres v0.7.13 [INFO] [stderr] Downloaded postgres-protocol v0.6.8 [INFO] [stderr] Downloaded h2 v0.4.10 [INFO] [stderr] Downloaded reqwest v0.12.20 [INFO] [stderr] Downloaded scc v2.3.4 [INFO] [stderr] Downloaded idna v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d178565bc3c93406266706d6789d79a5ed6ef7a1a71eaab5f3b46689b15fb8c2 [INFO] running `Command { std: "docker" "start" "-a" "d178565bc3c93406266706d6789d79a5ed6ef7a1a71eaab5f3b46689b15fb8c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d178565bc3c93406266706d6789d79a5ed6ef7a1a71eaab5f3b46689b15fb8c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d178565bc3c93406266706d6789d79a5ed6ef7a1a71eaab5f3b46689b15fb8c2", kill_on_drop: false }` [INFO] [stdout] d178565bc3c93406266706d6789d79a5ed6ef7a1a71eaab5f3b46689b15fb8c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+292be5c7c05138d753bbd4b30db7a3f1a5c914f7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db19dd70ae620283ac1ffd1b053fccfd78503d99cab627144ff7e4700056092c [INFO] running `Command { std: "docker" "start" "-a" "db19dd70ae620283ac1ffd1b053fccfd78503d99cab627144ff7e4700056092c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerotrie v0.2.2 [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] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking deadpool-postgres v0.12.1 [INFO] [stderr] Checking deadpool v0.12.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking sdd v3.0.8 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking reqwest v0.12.20 [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 isi-dev v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/frameworks/axum/handler/coupon/get_coupons.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | query: Query, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/frameworks/axum/handler/coupon/get_coupons.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | query: Query, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/frameworks/axum/handler/coupon/get_coupons.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | query: Query, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/frameworks/axum/handler/coupon/get_coupons.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | query: Query, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryCouponRepository` is never constructed [INFO] [stdout] --> src/application/repository/coupon_in_memory_repository.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct InMemoryCouponRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/repository/coupon_in_memory_repository.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl InMemoryCouponRepository { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryProductRepository` is never constructed [INFO] [stdout] --> src/application/repository/product_in_memory_repository.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InMemoryProductRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/repository/product_in_memory_repository.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl InMemoryProductRepository { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/entity/coupon_entity.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Coupon { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(coupon: CreateCoupon) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/entity/coupon_entity.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl UpdateCoupon { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 107 | pub fn new(coupon: UpdateCoupon) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplyPercentDiscount` is never constructed [INFO] [stdout] --> src/domain/entity/product_entity.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ApplyPercentDiscount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplyCoupon` is never constructed [INFO] [stdout] --> src/domain/entity/product_entity.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ApplyCoupon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_valid_coupon_by_code` and `increment_uses` are never used [INFO] [stdout] --> src/domain/repository/coupon_repository.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CouponRepository: Send + Sync { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | async fn find_valid_coupon_by_code(&self, code: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | async fn increment_uses(&self, coupon_id: String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryCouponRepository` is never constructed [INFO] [stdout] --> src/application/repository/coupon_in_memory_repository.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct InMemoryCouponRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/repository/coupon_in_memory_repository.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl InMemoryCouponRepository { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InMemoryProductRepository` is never constructed [INFO] [stdout] --> src/application/repository/product_in_memory_repository.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InMemoryProductRepository { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/application/repository/product_in_memory_repository.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl InMemoryProductRepository { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 20 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/entity/coupon_entity.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl Coupon { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 77 | pub fn new(coupon: CreateCoupon) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/domain/entity/coupon_entity.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl UpdateCoupon { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 107 | pub fn new(coupon: UpdateCoupon) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplyPercentDiscount` is never constructed [INFO] [stdout] --> src/domain/entity/product_entity.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct ApplyPercentDiscount { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApplyCoupon` is never constructed [INFO] [stdout] --> src/domain/entity/product_entity.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct ApplyCoupon { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_valid_coupon_by_code` and `increment_uses` are never used [INFO] [stdout] --> src/domain/repository/coupon_repository.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait CouponRepository: Send + Sync { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | async fn find_valid_coupon_by_code(&self, code: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | async fn increment_uses(&self, coupon_id: String); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 06s [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 2` [INFO] running `Command { std: "docker" "inspect" "db19dd70ae620283ac1ffd1b053fccfd78503d99cab627144ff7e4700056092c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db19dd70ae620283ac1ffd1b053fccfd78503d99cab627144ff7e4700056092c", kill_on_drop: false }` [INFO] [stdout] db19dd70ae620283ac1ffd1b053fccfd78503d99cab627144ff7e4700056092c