[INFO] cloning repository https://github.com/litch/account-demo-message-db [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/litch/account-demo-message-db" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitch%2Faccount-demo-message-db", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitch%2Faccount-demo-message-db'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b7ce6acac5ad5685ccd5f7e821371fdb3875a40 [INFO] checking litch/account-demo-message-db against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitch%2Faccount-demo-message-db" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/litch/account-demo-message-db [INFO] finished tweaking git repo https://github.com/litch/account-demo-message-db [INFO] tweaked toml for git repo https://github.com/litch/account-demo-message-db written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/litch/account-demo-message-db on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/litch/account-demo-message-db 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.4.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c06a4633b1753d3453ebfdcbb7a80b36e1df766031b5b35eddcb1d1a1a67fcd [INFO] running `Command { std: "docker" "start" "-a" "5c06a4633b1753d3453ebfdcbb7a80b36e1df766031b5b35eddcb1d1a1a67fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c06a4633b1753d3453ebfdcbb7a80b36e1df766031b5b35eddcb1d1a1a67fcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c06a4633b1753d3453ebfdcbb7a80b36e1df766031b5b35eddcb1d1a1a67fcd", kill_on_drop: false }` [INFO] [stdout] 5c06a4633b1753d3453ebfdcbb7a80b36e1df766031b5b35eddcb1d1a1a67fcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c34ad4f34a295e339f0c93ce259e55f7cc0fc52df71acf0d011e8dc1f28f477e [INFO] running `Command { std: "docker" "start" "-a" "c34ad4f34a295e339f0c93ce259e55f7cc0fc52df71acf0d011e8dc1f28f477e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking predicates v3.1.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling mockall_derive v0.12.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking mockall v0.12.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [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 account-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error as SqlxError` [INFO] [stdout] --> src/db/postgres.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Pool, Postgres, postgres::PgPoolOptions, Error as SqlxError}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/db/postgres.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/postgres.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::global_asm` [INFO] [stdout] --> src/messaging/consumer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::arch::global_asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/messaging/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SqlxError` [INFO] [stdout] --> src/db/postgres.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Pool, Postgres, postgres::PgPoolOptions, Error as SqlxError}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/db/postgres.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/postgres.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::global_asm` [INFO] [stdout] --> src/messaging/consumer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::arch::global_asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/messaging/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/messaging/message.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | time: NaiveDateTime::from_timestamp(0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/messaging/message.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | time: NaiveDateTime::from_timestamp(0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SqlxError` [INFO] [stdout] --> src/db/postgres.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Pool, Postgres, postgres::PgPoolOptions, Error as SqlxError}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/db/postgres.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/postgres.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::global_asm` [INFO] [stdout] --> src/messaging/consumer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::arch::global_asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/messaging/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `events::Event` [INFO] [stdout] --> src/messaging/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use events::Event; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error as SqlxError` [INFO] [stdout] --> src/db/postgres.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use sqlx::{Pool, Postgres, postgres::PgPoolOptions, Error as SqlxError}; [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: `std::collections::HashMap` [INFO] [stdout] --> src/db/postgres.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/db/postgres.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::arch::global_asm` [INFO] [stdout] --> src/messaging/consumer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::arch::global_asm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/messaging/message.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `events::Event` [INFO] [stdout] --> src/messaging/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use events::Event; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/messaging/message.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | time: NaiveDateTime::from_timestamp(0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/messaging/message.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | time: NaiveDateTime::from_timestamp(0, 0), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Database` is never used [INFO] [stdout] --> src/db/postgres.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amount` is never read [INFO] [stdout] --> src/domain/commands.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Deposit { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 72 | pub account_id: String, [INFO] [stdout] 73 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deposit` 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: field `amount` is never read [INFO] [stdout] --> src/domain/commands.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Withdraw { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 109 | pub account_id: String, [INFO] [stdout] 110 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Withdraw` 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: fields `position` and `message` are never read [INFO] [stdout] --> src/domain/events.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Opened { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub position: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | #[serde(skip_serializing)] [INFO] [stdout] 16 | pub message: Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opened` 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: fields `balance` and `status` are never read [INFO] [stdout] --> src/domain/account.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StreamConsumer` is never used [INFO] [stdout] --> src/messaging/consumer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait StreamConsumer: Consumer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `time` are never read [INFO] [stdout] --> src/messaging/message.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub time: NaiveDateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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 `message` is never used [INFO] [stdout] --> src/messaging/events.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Event { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn message(&self) -> &Message; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `position` are never read [INFO] [stdout] --> src/messaging/events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Recorded { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub message: Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | #[serde(skip_serializing)] [INFO] [stdout] 22 | pub position: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recorded` 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 `position` is never used [INFO] [stdout] --> src/messaging/position_store.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl PositionStore { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn position(&self, account_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Database` is never used [INFO] [stdout] --> src/db/postgres.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Database { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `amount` is never read [INFO] [stdout] --> src/domain/commands.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Deposit { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 72 | pub account_id: String, [INFO] [stdout] 73 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deposit` 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: field `amount` is never read [INFO] [stdout] --> src/domain/commands.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct Withdraw { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 109 | pub account_id: String, [INFO] [stdout] 110 | pub amount: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Withdraw` 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: fields `position` and `message` are never read [INFO] [stdout] --> src/domain/events.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Opened { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub position: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | #[serde(skip_serializing)] [INFO] [stdout] 16 | pub message: Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opened` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.11s [INFO] [stdout] warning: fields `balance` and `status` are never read [INFO] [stdout] --> src/domain/account.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Account { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub balance: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StreamConsumer` is never used [INFO] [stdout] --> src/messaging/consumer.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait StreamConsumer: Consumer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `time` are never read [INFO] [stdout] --> src/messaging/message.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Message { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub metadata: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | pub time: NaiveDateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` 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 `message` is never used [INFO] [stdout] --> src/messaging/events.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Event { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn message(&self) -> &Message; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `position` are never read [INFO] [stdout] --> src/messaging/events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Recorded { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub message: Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | #[serde(skip_serializing)] [INFO] [stdout] 22 | pub position: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recorded` 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 `position` is never used [INFO] [stdout] --> src/messaging/position_store.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl PositionStore { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub async fn position(&self, account_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 16` [INFO] running `Command { std: "docker" "inspect" "c34ad4f34a295e339f0c93ce259e55f7cc0fc52df71acf0d011e8dc1f28f477e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c34ad4f34a295e339f0c93ce259e55f7cc0fc52df71acf0d011e8dc1f28f477e", kill_on_drop: false }` [INFO] [stdout] c34ad4f34a295e339f0c93ce259e55f7cc0fc52df71acf0d011e8dc1f28f477e