[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 try#dd2d87b6cc31907ae305875eb6be399783dc0256 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocha19%2Fisi-dev-server" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rocha19/isi-dev-server on toolchain dd2d87b6cc31907ae305875eb6be399783dc0256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "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" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df1b130d45e8fb9443409ecacabd8cfb15675207f2a1579aca261a0f0a7a4977 [INFO] running `Command { std: "docker" "start" "-a" "df1b130d45e8fb9443409ecacabd8cfb15675207f2a1579aca261a0f0a7a4977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df1b130d45e8fb9443409ecacabd8cfb15675207f2a1579aca261a0f0a7a4977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1b130d45e8fb9443409ecacabd8cfb15675207f2a1579aca261a0f0a7a4977", kill_on_drop: false }` [INFO] [stdout] df1b130d45e8fb9443409ecacabd8cfb15675207f2a1579aca261a0f0a7a4977 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+dd2d87b6cc31907ae305875eb6be399783dc0256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a9104347b1e84e5178fa50b0342e9b63521fa3bc5cfd2a8927f7012a0d94b3b [INFO] running `Command { std: "docker" "start" "-a" "7a9104347b1e84e5178fa50b0342e9b63521fa3bc5cfd2a8927f7012a0d94b3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking http-body v1.0.1 [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] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Checking ipnet v2.11.0 [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] Checking num_cpus v1.17.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking sdd v3.0.8 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.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 tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking deadpool v0.12.2 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking deadpool-postgres v0.12.1 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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 1m 32s [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" "7a9104347b1e84e5178fa50b0342e9b63521fa3bc5cfd2a8927f7012a0d94b3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9104347b1e84e5178fa50b0342e9b63521fa3bc5cfd2a8927f7012a0d94b3b", kill_on_drop: false }` [INFO] [stdout] 7a9104347b1e84e5178fa50b0342e9b63521fa3bc5cfd2a8927f7012a0d94b3b