[INFO] cloning repository https://github.com/maxkuttner/openoms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxkuttner/openoms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxkuttner%2Fopenoms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxkuttner%2Fopenoms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f27fbc9ae4a9dcaf886261677c18ee434a930790 [INFO] checking maxkuttner/openoms against master#2aabf3ce0569dd7c8c2d2a27944850056dcf2566 for pr-156508 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxkuttner%2Fopenoms" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maxkuttner/openoms [INFO] finished tweaking git repo https://github.com/maxkuttner/openoms [INFO] tweaked toml for git repo https://github.com/maxkuttner/openoms written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maxkuttner/openoms on toolchain 2aabf3ce0569dd7c8c2d2a27944850056dcf2566 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maxkuttner/openoms 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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-sys v0.9.116 [INFO] [stderr] Downloaded utoipa v4.2.3 [INFO] [stderr] Downloaded utoipa-gen v4.3.1 [INFO] [stderr] Downloaded openssl v0.10.80 [INFO] [stderr] Downloaded redox_syscall v0.7.0 [INFO] [stderr] Downloaded rust-embed-utils v8.11.0 [INFO] [stderr] Downloaded axum-extra v0.12.6 [INFO] [stderr] Downloaded rust-embed-impl v8.11.0 [INFO] [stderr] Downloaded scalar_api_reference v0.1.5 [INFO] [stderr] Downloaded reqwest v0.13.1 [INFO] [stderr] Downloaded webpki-root-certs v1.0.5 [INFO] [stderr] Downloaded rdkafka v0.34.0 [INFO] [stderr] Downloaded aws-lc-rs v1.15.4 [INFO] [stderr] Downloaded rust-embed v8.11.0 [INFO] [stderr] Downloaded rdkafka-sys v4.10.0+2.12.1 [INFO] [stderr] Downloaded aws-lc-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29bf92e6c8636128157ce9cfba83fedce00656ab15280e9e5466e470d520ec19 [INFO] running `Command { std: "docker" "start" "-a" "29bf92e6c8636128157ce9cfba83fedce00656ab15280e9e5466e470d520ec19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29bf92e6c8636128157ce9cfba83fedce00656ab15280e9e5466e470d520ec19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29bf92e6c8636128157ce9cfba83fedce00656ab15280e9e5466e470d520ec19", kill_on_drop: false }` [INFO] [stdout] 29bf92e6c8636128157ce9cfba83fedce00656ab15280e9e5466e470d520ec19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+2aabf3ce0569dd7c8c2d2a27944850056dcf2566" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 255ba85c5f5ee80db92a4f079b74cf1eb3e120e0e3536e572fc46b9bfd8be964 [INFO] running `Command { std: "docker" "start" "-a" "255ba85c5f5ee80db92a4f079b74cf1eb3e120e0e3536e572fc46b9bfd8be964", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Compiling zerocopy v0.8.35 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling uuid v1.22.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking ryu v1.0.22 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling rdkafka-sys v4.10.0+2.12.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling utoipa-gen v4.3.1 [INFO] [stderr] Checking num_enum v0.7.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking utoipa v4.2.3 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking axum-extra v0.12.6 [INFO] [stderr] Checking scalar_api_reference v0.1.5 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking rdkafka v0.34.0 [INFO] [stderr] Checking rustoms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CancelOrder` and `SubmitOrder` [INFO] [stdout] --> src/handlers.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::domain::orders::commands::{OrderCommand, RouteOrder, SubmitOrder, CancelOrder}; [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 imports: `CancelOrder` and `SubmitOrder` [INFO] [stdout] --> src/handlers.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::domain::orders::commands::{OrderCommand, RouteOrder, SubmitOrder, CancelOrder}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `external_account_ref` is never read [INFO] [stdout] --> src/adapters/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BrokerOrderRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub external_account_ref: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cancel_order` is never used [INFO] [stdout] --> src/adapters/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait BrokerAdapter: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 50 | async fn submit_order(&self, req: &BrokerOrderRequest) -> Result; [INFO] [stdout] 51 | async fn cancel_order(&self, external_order_id: &str) -> Result<(), BrokerError>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `environment` are never read [INFO] [stdout] --> src/adapters/ibkr.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IbkrAdapter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub environment: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderEventRecord` is never constructed [INFO] [stdout] --> src/event_store.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OrderEventRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_version` and `appended` are never read [INFO] [stdout] --> src/event_store.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AppendResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 39 | pub last_version: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub appended: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppendResult` 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 `expected` and `actual` are never read [INFO] [stdout] --> src/event_store.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ConcurrencyError { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 45 | pub expected: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | pub actual: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcurrencyError` 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 `0` is never read [INFO] [stdout] --> src/event_store.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | Sqlx(sqlx::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - Sqlx(sqlx::Error), [INFO] [stdout] 51 + Sqlx(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event_store.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | Concurrency(ConcurrencyError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - Concurrency(ConcurrencyError), [INFO] [stdout] 52 + Concurrency(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/event_store.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct OrderEventStore { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 66 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderEventStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_stream` and `append_events` are never used [INFO] [stdout] --> src/event_store.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl OrderEventStore { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn load_stream(&self, order_id: Uuid) -> Result, EventStoreError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn append_events( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderRequest` is never constructed [INFO] [stdout] --> src/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OrderRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderSide` is never used [INFO] [stdout] --> src/models.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OrderSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl OrderSide { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 27 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderType` is never used [INFO] [stdout] --> src/models.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum OrderType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderStatus` is never used [INFO] [stdout] --> src/models.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum OrderStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl OrderStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 59 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderEventType` is never used [INFO] [stdout] --> src/models.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum OrderEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl OrderEventType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 89 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventSource` is never used [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum EventSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl EventSource { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 113 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `projector_group_id` is never read [INFO] [stdout] --> src/kafka.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KafkaConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub projector_group_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KafkaConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_client_config` and `create_projector_consumer` are never used [INFO] [stdout] --> src/kafka.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl KafkaConfig { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn base_client_config(&self, client_id: &str) -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn create_projector_consumer(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `external_account_ref` is never read [INFO] [stdout] --> src/adapters/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct BrokerOrderRequest { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub external_account_ref: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cancel_order` is never used [INFO] [stdout] --> src/adapters/mod.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub trait BrokerAdapter: Send + Sync { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 50 | async fn submit_order(&self, req: &BrokerOrderRequest) -> Result; [INFO] [stdout] 51 | async fn cancel_order(&self, external_order_id: &str) -> Result<(), BrokerError>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url` and `environment` are never read [INFO] [stdout] --> src/adapters/ibkr.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct IbkrAdapter { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub environment: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderEventRecord` is never constructed [INFO] [stdout] --> src/event_store.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OrderEventRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_version` and `appended` are never read [INFO] [stdout] --> src/event_store.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct AppendResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 39 | pub last_version: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | pub appended: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppendResult` 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 `expected` and `actual` are never read [INFO] [stdout] --> src/event_store.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ConcurrencyError { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 45 | pub expected: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 46 | pub actual: i64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConcurrencyError` 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 `0` is never read [INFO] [stdout] --> src/event_store.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | Sqlx(sqlx::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 51 - Sqlx(sqlx::Error), [INFO] [stdout] 51 + Sqlx(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/event_store.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | Concurrency(ConcurrencyError), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EventStoreError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - Concurrency(ConcurrencyError), [INFO] [stdout] 52 + Concurrency(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/event_store.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct OrderEventStore { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 66 | pool: PgPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OrderEventStore` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `load_stream` and `append_events` are never used [INFO] [stdout] --> src/event_store.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 69 | impl OrderEventStore { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub async fn load_stream(&self, order_id: Uuid) -> Result, EventStoreError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub async fn append_events( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `rehydrate` is never used [INFO] [stdout] --> src/domain/orders/aggregate.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl OrderAggregate { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn rehydrate(events: &[OrderDomainEvent]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrderRequest` is never constructed [INFO] [stdout] --> src/models.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct OrderRequest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderSide` is never used [INFO] [stdout] --> src/models.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum OrderSide { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl OrderSide { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 27 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderType` is never used [INFO] [stdout] --> src/models.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum OrderType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderStatus` is never used [INFO] [stdout] --> src/models.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum OrderStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl OrderStatus { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 59 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OrderEventType` is never used [INFO] [stdout] --> src/models.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum OrderEventType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl OrderEventType { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 89 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventSource` is never used [INFO] [stdout] --> src/models.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum EventSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/models.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl EventSource { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 113 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `projector_group_id` is never read [INFO] [stdout] --> src/kafka.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct KafkaConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub projector_group_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KafkaConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_client_config` and `create_projector_consumer` are never used [INFO] [stdout] --> src/kafka.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl KafkaConfig { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn base_client_config(&self, client_id: &str) -> ClientConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn create_projector_consumer(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 51s [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" "255ba85c5f5ee80db92a4f079b74cf1eb3e120e0e3536e572fc46b9bfd8be964", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "255ba85c5f5ee80db92a4f079b74cf1eb3e120e0e3536e572fc46b9bfd8be964", kill_on_drop: false }` [INFO] [stdout] 255ba85c5f5ee80db92a4f079b74cf1eb3e120e0e3536e572fc46b9bfd8be964