[INFO] cloning repository https://github.com/sarvesh1327/polybot-rs-template
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sarvesh1327/polybot-rs-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarvesh1327%2Fpolybot-rs-template", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarvesh1327%2Fpolybot-rs-template'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 04b7c6efbc5ea60a6e1926d77c92910facaa21fa
[INFO] checking sarvesh1327/polybot-rs-template against 1ed2df61a19042f231709eb05d032ae9e2cb2084 for pr-160235
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsarvesh1327%2Fpolybot-rs-template" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sarvesh1327/polybot-rs-template
[INFO] finished tweaking git repo https://github.com/sarvesh1327/polybot-rs-template
[INFO] tweaked toml for git repo https://github.com/sarvesh1327/polybot-rs-template written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sarvesh1327/polybot-rs-template on toolchain 1ed2df61a19042f231709eb05d032ae9e2cb2084
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sarvesh1327/polybot-rs-template 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" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tungstenite v0.26.2
[INFO] [stderr]   Downloaded rc-box v1.3.0
[INFO] [stderr]   Downloaded keccak-asm v0.1.7
[INFO] [stderr]   Downloaded teloxide-macros v0.8.0
[INFO] [stderr]   Downloaded takecell v0.1.1
[INFO] [stderr]   Downloaded tokio-tungstenite v0.26.2
[INFO] [stderr]   Downloaded erasable v1.3.0
[INFO] [stderr]   Downloaded dptree v0.3.0
[INFO] [stderr]   Downloaded http v1.4.1
[INFO] [stderr]   Downloaded teloxide v0.13.0
[INFO] [stderr]   Downloaded brotli-decompressor v5.0.1
[INFO] [stderr]   Downloaded teloxide-core v0.10.1
[INFO] [stderr]   Downloaded sha3-asm v0.1.7
[INFO] [stderr]   Downloaded brotli v8.0.3
[INFO] [stderr]   Downloaded aquamarine v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92
[INFO] running `Command { std: "docker" "start" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92" "/opt/rustwide/cargo-home/bin/cargo" "+1ed2df61a19042f231709eb05d032ae9e2cb2084" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking log v0.4.30
[INFO] [stderr]     Checking memchr v2.8.1
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling zerocopy v0.8.50
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling cc v1.2.63
[INFO] [stderr]     Checking http v1.4.1
[INFO] [stderr]    Compiling openssl v0.10.80
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking simd-adler32 v0.3.9
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking uuid v1.23.2
[INFO] [stderr]     Checking generic-array v0.14.9
[INFO] [stderr]     Checking der v0.7.10
[INFO] [stderr]     Checking compression-core v0.4.32
[INFO] [stderr]     Checking brotli-decompressor v5.0.1
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling erasable v1.3.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-bigint v0.5.5
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking spki v0.7.3
[INFO] [stderr]     Checking sec1 v0.7.3
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking ruint v1.18.0
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking signature v2.2.0
[INFO] [stderr]     Checking const-hex v1.19.1
[INFO] [stderr]     Checking rfc6979 v0.4.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking brotli v8.0.3
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling include_dir_macros v0.7.4
[INFO] [stderr]     Checking sha3 v0.10.9
[INFO] [stderr]     Checking rc-box v1.3.0
[INFO] [stderr]     Checking takecell v0.1.1
[INFO] [stderr]     Checking either v1.16.0
[INFO] [stderr]    Compiling openssl-sys v0.9.116
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]     Checking take_mut v0.2.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling include_dir v0.7.4
[INFO] [stderr]     Checking elliptic-curve v0.13.8
[INFO] [stderr]     Checking ecdsa v0.16.9
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking k256 v0.13.4
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling teloxide-macros v0.8.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling macro-string v0.1.4
[INFO] [stderr]    Compiling syn-solidity v0.8.26
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking rand v0.9.4
[INFO] [stderr]     Checking compression-codecs v0.4.38
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]    Compiling aquamarine v0.5.0
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking hashlink v0.9.1
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking dashmap v6.2.1
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]    Compiling alloy-sol-macro-input v0.8.26
[INFO] [stderr]    Compiling alloy-sol-macro-expander v0.8.26
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking serde_with v1.14.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking alloy-primitives v0.8.26
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking pb-core v0.1.0 (/opt/rustwide/workdir/crates/pb-core)
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking dptree v0.3.0
[INFO] [stderr]     Checking tungstenite v0.26.2
[INFO] [stderr]    Compiling alloy-sol-macro v0.8.26
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking async-compression v0.4.42
[INFO] [stderr]     Checking alloy-sol-types v0.8.26
[INFO] [stderr]     Checking tokio-tungstenite v0.26.2
[INFO] [stderr]     Checking h2 v0.4.14
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking rusqlite v0.32.1
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking pb-feeds v0.1.0 (/opt/rustwide/workdir/crates/pb-feeds)
[INFO] [stderr]     Checking teloxide-core v0.10.1
[INFO] [stderr]     Checking pb-exchange v0.1.0 (/opt/rustwide/workdir/crates/pb-exchange)
[INFO] [stderr]     Checking teloxide v0.13.0
[INFO] [stderr]     Checking pb-dashboard v0.1.0 (/opt/rustwide/workdir/crates/pb-dashboard)
[INFO] [stderr]     Checking pb-bot v0.1.0 (/opt/rustwide/workdir/crates/pb-bot)
[INFO] [stdout] warning: field `reset_wr` is never read
[INFO] [stdout]   --> crates/pb-bot/src/circuit_breaker.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct CircuitBreakerConfig {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub reset_wr: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CircuitBreakerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ts` is never read
[INFO] [stdout]   --> crates/pb-bot/src/circuit_breaker.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct TradeResult {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 50 |     ts: f64,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradeResult` 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: methods `is_tripped` and `reset` are never used
[INFO] [stdout]    --> crates/pb-bot/src/circuit_breaker.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout]  70 | impl CircuitBreaker {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn is_tripped(&mut self, now: f64) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     fn reset(&mut self, now: f64) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_trade` is never used
[INFO] [stdout]    --> crates/pb-bot/src/journal.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub fn update_trade(conn: &Connection, trade: &PaperTrade) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prune_old_trades` is never used
[INFO] [stdout]    --> crates/pb-bot/src/journal.rs:250:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub fn prune_old_trades(conn: &Connection, keep_days: u32) -> Result<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_historical_stats` is never used
[INFO] [stdout]    --> crates/pb-bot/src/journal.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn get_historical_stats(conn: &Connection) -> AggregateStats {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ask_snapshot` is never read
[INFO] [stdout]   --> crates/pb-bot/src/pipeline.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct EntryOrder {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub ask_snapshot: Vec<(f64, f64)>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EntryOrder` 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 `exit_strategy` is never read
[INFO] [stdout]   --> crates/pb-bot/src/position.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OpenPosition {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub exit_strategy: crate::pipeline::ExitStrategy,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpenPosition` 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: methods `count_for_market_strategy` and `exposure_for_market` are never used
[INFO] [stdout]   --> crates/pb-bot/src/position.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl PositionState {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn count_for_market_strategy(&self, condition_id: &str, strategy: &str) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn exposure_for_market(&self, condition_id: &str) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `reset_wr` is never read
[INFO] [stdout]   --> crates/pb-bot/src/circuit_breaker.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct CircuitBreakerConfig {
[INFO] [stdout]    |            -------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub reset_wr: f64,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CircuitBreakerConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ts` is never read
[INFO] [stdout]   --> crates/pb-bot/src/circuit_breaker.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | struct TradeResult {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 50 |     ts: f64,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TradeResult` 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: function `update_trade` is never used
[INFO] [stdout]    --> crates/pb-bot/src/journal.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 | pub fn update_trade(conn: &Connection, trade: &PaperTrade) -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `prune_old_trades` is never used
[INFO] [stdout]    --> crates/pb-bot/src/journal.rs:250:8
[INFO] [stdout]     |
[INFO] [stdout] 250 | pub fn prune_old_trades(conn: &Connection, keep_days: u32) -> Result<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_historical_stats` is never used
[INFO] [stdout]    --> crates/pb-bot/src/journal.rs:307:8
[INFO] [stdout]     |
[INFO] [stdout] 307 | pub fn get_historical_stats(conn: &Connection) -> AggregateStats {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `ask_snapshot` is never read
[INFO] [stdout]   --> crates/pb-bot/src/pipeline.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct EntryOrder {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub ask_snapshot: Vec<(f64, f64)>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EntryOrder` 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 `exit_strategy` is never read
[INFO] [stdout]   --> crates/pb-bot/src/position.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct OpenPosition {
[INFO] [stdout]    |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub exit_strategy: crate::pipeline::ExitStrategy,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `OpenPosition` 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: methods `count_for_market_strategy` and `exposure_for_market` are never used
[INFO] [stdout]   --> crates/pb-bot/src/position.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl PositionState {
[INFO] [stdout]    | ------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn count_for_market_strategy(&self, condition_id: &str, strategy: &str) -> usize {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub fn exposure_for_market(&self, condition_id: &str) -> f64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 23s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7`
[INFO] running `Command { std: "docker" "inspect" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92", kill_on_drop: false }`
[INFO] [stdout] ff9cbfde5060af69fa16213a6356b628ec48a8bab6635288ca7ab8eba52dfe92
