[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#fe55364329579d361b1ab565728bc033a7dba07e for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocha19%2Fisi-dev-server" "/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/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-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rocha19/isi-dev-server on toolchain fe55364329579d361b1ab565728bc033a7dba07e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "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" "+fe55364329579d361b1ab565728bc033a7dba07e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b309ea096fc27fd687b7ee791cfc0118dfa4a76d3fcb87ac7e94c876eb08e6e [INFO] running `Command { std: "docker" "start" "-a" "7b309ea096fc27fd687b7ee791cfc0118dfa4a76d3fcb87ac7e94c876eb08e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b309ea096fc27fd687b7ee791cfc0118dfa4a76d3fcb87ac7e94c876eb08e6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b309ea096fc27fd687b7ee791cfc0118dfa4a76d3fcb87ac7e94c876eb08e6e", kill_on_drop: false }` [INFO] [stdout] 7b309ea096fc27fd687b7ee791cfc0118dfa4a76d3fcb87ac7e94c876eb08e6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+fe55364329579d361b1ab565728bc033a7dba07e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 989442575a634f52241f26a66e954813ba9e4b2beedfc64b2633f37f9a319574 [INFO] running `Command { std: "docker" "start" "-a" "989442575a634f52241f26a66e954813ba9e4b2beedfc64b2633f37f9a319574", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling base64 v0.21.7 [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] Checking phf_shared v0.11.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking deadpool v0.12.2 [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 tower-http v0.6.6 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking deadpool-postgres v0.12.1 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking validator v0.16.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [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)]` (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 1m 31s [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 5` [INFO] running `Command { std: "docker" "inspect" "989442575a634f52241f26a66e954813ba9e4b2beedfc64b2633f37f9a319574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "989442575a634f52241f26a66e954813ba9e4b2beedfc64b2633f37f9a319574", kill_on_drop: false }` [INFO] [stdout] 989442575a634f52241f26a66e954813ba9e4b2beedfc64b2633f37f9a319574