[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] testing litch/account-demo-message-db against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitch%2Faccount-demo-message-db" "/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/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/litch/account-demo-message-db on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.199
[INFO] [stderr]   Downloaded serde v1.0.199
[INFO] [stderr]   Downloaded sqlformat v0.2.3
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9246ac199ced3b679d86beaaef935c4b46c8f76c9741a42ce9be462846b33ce3
[INFO] running `Command { std: "docker" "start" "-a" "9246ac199ced3b679d86beaaef935c4b46c8f76c9741a42ce9be462846b33ce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9246ac199ced3b679d86beaaef935c4b46c8f76c9741a42ce9be462846b33ce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9246ac199ced3b679d86beaaef935c4b46c8f76c9741a42ce9be462846b33ce3", kill_on_drop: false }`
[INFO] [stdout] 9246ac199ced3b679d86beaaef935c4b46c8f76c9741a42ce9be462846b33ce3
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a34041bba88a6ee138991a709b01b3ba0e0afc5a7a622ef63e84175bbd038da4
[INFO] running `Command { std: "docker" "start" "-a" "a34041bba88a6ee138991a709b01b3ba0e0afc5a7a622ef63e84175bbd038da4", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling bytes v1.6.0
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]    Compiling getrandom v0.2.14
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling syn v2.0.58
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling cc v1.0.94
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling serde_json v1.0.115
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tokio v1.37.0
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling rustix v0.38.32
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling http-body v1.0.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling chrono v0.4.37
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling fastrand v2.0.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling axum-core v0.4.3
[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 sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling predicates-core v1.0.6
[INFO] [stderr]    Compiling tower-layer v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling http-body-util v0.1.1
[INFO] [stderr]    Compiling axum v0.7.5
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling termtree v0.4.1
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling predicates-tree v1.0.9
[INFO] [stderr]    Compiling predicates v3.1.0
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling mockall_derive v0.12.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling fragile v2.0.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.1
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling uuid v1.8.0
[INFO] [stderr]    Compiling hyper v1.3.1
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling hyper-util v0.1.3
[INFO] [stderr]    Compiling mockall v0.12.1
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling sqlx-postgres v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling 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: 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: 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<i64>,
[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<i64>,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub status: Option<String>,
[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<T: Handler + Send + Sync + Clone + 'static>: 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<String>,
[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<i64>,
[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<i64, String> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 14s
[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" "a34041bba88a6ee138991a709b01b3ba0e0afc5a7a622ef63e84175bbd038da4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a34041bba88a6ee138991a709b01b3ba0e0afc5a7a622ef63e84175bbd038da4", kill_on_drop: false }`
[INFO] [stdout] a34041bba88a6ee138991a709b01b3ba0e0afc5a7a622ef63e84175bbd038da4
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 81b71cf9fb6190622ccb095f650e9e681de7abb698df8a3921cbae94ac9202f7
[INFO] running `Command { std: "docker" "start" "-a" "81b71cf9fb6190622ccb095f650e9e681de7abb698df8a3921cbae94ac9202f7", kill_on_drop: false }`
[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] [stderr]    Compiling account-demo v0.1.0 (/opt/rustwide/workdir)
[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: 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: 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<i64>,
[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<i64>,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 7 |     pub status: Option<String>,
[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<T: Handler + Send + Sync + Clone + 'static>: 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<String>,
[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<i64>,
[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<i64, String> {
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.40s
[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" "81b71cf9fb6190622ccb095f650e9e681de7abb698df8a3921cbae94ac9202f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "81b71cf9fb6190622ccb095f650e9e681de7abb698df8a3921cbae94ac9202f7", kill_on_drop: false }`
[INFO] [stdout] 81b71cf9fb6190622ccb095f650e9e681de7abb698df8a3921cbae94ac9202f7
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 312e4d81510fb8b12a443ed998fd46e48e3d2f312b409fec180db3ff76b537e4
[INFO] running `Command { std: "docker" "start" "-a" "312e4d81510fb8b12a443ed998fd46e48e3d2f312b409fec180db3ff76b537e4", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `Error as SqlxError`
[INFO] [stderr]  --> src/db/postgres.rs:1:53
[INFO] [stderr]   |
[INFO] [stderr] 1 | use sqlx::{Pool, Postgres, postgres::PgPoolOptions, Error as SqlxError};
[INFO] [stderr]   |                                                     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::collections::HashMap`
[INFO] [stderr]  --> src/db/postgres.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::collections::HashMap;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Arc` and `Mutex`
[INFO] [stderr]  --> src/db/postgres.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::sync::{Arc, Mutex};
[INFO] [stderr]   |                 ^^^  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::arch::global_asm`
[INFO] [stderr]  --> src/messaging/consumer.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::arch::global_asm;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::default`
[INFO] [stderr]  --> src/messaging/message.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::default;
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stderr]   --> src/messaging/message.rs:26:34
[INFO] [stderr]    |
[INFO] [stderr] 26 |             time: NaiveDateTime::from_timestamp(0, 0),
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `account-demo` (lib) generated 6 warnings (run `cargo fix --lib -p account-demo` to apply 5 suggestions)
[INFO] [stderr] warning: `account-demo` (lib test) generated 6 warnings (6 duplicates)
[INFO] [stderr] warning: unused import: `events::Event`
[INFO] [stderr]   --> src/messaging/mod.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub use events::Event;
[INFO] [stderr]    |         ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Database` is never used
[INFO] [stderr]  --> src/db/postgres.rs:9:11
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub trait Database {
[INFO] [stderr]   |           ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `amount` is never read
[INFO] [stderr]   --> src/domain/commands.rs:73:9
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub struct Deposit {
[INFO] [stderr]    |            ------- field in this struct
[INFO] [stderr] 72 |     pub account_id: String,
[INFO] [stderr] 73 |     pub amount: f64,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Deposit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `amount` is never read
[INFO] [stderr]    --> src/domain/commands.rs:110:9
[INFO] [stderr]     |
[INFO] [stderr] 108 | pub struct Withdraw {
[INFO] [stderr]     |            -------- field in this struct
[INFO] [stderr] 109 |     pub account_id: String,
[INFO] [stderr] 110 |     pub amount: f64,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `Withdraw` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `position` and `message` are never read
[INFO] [stderr]   --> src/domain/events.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct Opened {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 14 |     pub position: Option<i64>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 15 |     #[serde(skip_serializing)]
[INFO] [stderr] 16 |     pub message: Message,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opened` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `balance` and `status` are never read
[INFO] [stderr]  --> src/domain/account.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub struct Account {
[INFO] [stderr]   |            ------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 6 |     pub balance: Option<i64>,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr] 7 |     pub status: Option<String>,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `StreamConsumer` is never used
[INFO] [stderr]   --> src/messaging/consumer.rs:14:11
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub trait StreamConsumer<T: Handler + Send + Sync + Clone + 'static>: Consumer {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `metadata` and `time` are never read
[INFO] [stderr]   --> src/messaging/message.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct Message {
[INFO] [stderr]    |            ------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 14 |     pub metadata: Option<String>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 15 |     pub time: NaiveDateTime,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `message` is never used
[INFO] [stderr]   --> src/messaging/events.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub trait Event {
[INFO] [stderr]    |           ----- method in this trait
[INFO] [stderr] ...
[INFO] [stderr] 11 |     fn message(&self) -> &Message;
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `message` and `position` are never read
[INFO] [stderr]   --> src/messaging/events.rs:20:9
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Recorded {
[INFO] [stderr]    |            -------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 20 |     pub message: Message,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr] 21 |     #[serde(skip_serializing)]
[INFO] [stderr] 22 |     pub position: Option<i64>,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Recorded` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: method `position` is never used
[INFO] [stderr]   --> src/messaging/position_store.rs:50:18
[INFO] [stderr]    |
[INFO] [stderr] 19 | impl PositionStore {
[INFO] [stderr]    | ------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 50 |     pub async fn position(&self, account_id: &str) -> Result<i64, String> {
[INFO] [stderr]    |                  ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `account-demo` (bin "account_demo" test) generated 17 warnings (6 duplicates) (run `cargo fix --bin "account_demo" -p account-demo --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.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 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/account_demo-7734a11e8ee43efc)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/account_demo-a10fcc54d3a54a2e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/inject_messages.rs (/opt/rustwide/target/debug/deps/inject_messages-c6b8c95d9cce10e2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests account_demo
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "312e4d81510fb8b12a443ed998fd46e48e3d2f312b409fec180db3ff76b537e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "312e4d81510fb8b12a443ed998fd46e48e3d2f312b409fec180db3ff76b537e4", kill_on_drop: false }`
[INFO] [stdout] 312e4d81510fb8b12a443ed998fd46e48e3d2f312b409fec180db3ff76b537e4
