[INFO] cloning repository https://github.com/weestack/rust-grid-trader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weestack/rust-grid-trader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweestack%2Frust-grid-trader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweestack%2Frust-grid-trader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07ad35d1ef63056e7543b764285279199bd47c9d [INFO] testing weestack/rust-grid-trader against master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweestack%2Frust-grid-trader" "/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/weestack/rust-grid-trader [INFO] finished tweaking git repo https://github.com/weestack/rust-grid-trader [INFO] tweaked toml for git repo https://github.com/weestack/rust-grid-trader written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/weestack/rust-grid-trader on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/weestack/rust-grid-trader 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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded barter-execution v0.6.0 [INFO] [stderr] Downloaded barter-macro v0.2.0 [INFO] [stderr] Downloaded barter-instrument v0.3.1 [INFO] [stderr] Downloaded barter-integration v0.9.2 [INFO] [stderr] Downloaded vecmap-rs v0.2.3 [INFO] [stderr] Downloaded barter-data v0.10.2 [INFO] [stderr] Downloaded barter v0.12.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1cd02f0a666f47aff9dcc616f51c31e7b6bf7cf384b244afb86f4b9f5a5b351 [INFO] running `Command { std: "docker" "start" "-a" "c1cd02f0a666f47aff9dcc616f51c31e7b6bf7cf384b244afb86f4b9f5a5b351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1cd02f0a666f47aff9dcc616f51c31e7b6bf7cf384b244afb86f4b9f5a5b351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1cd02f0a666f47aff9dcc616f51c31e7b6bf7cf384b244afb86f4b9f5a5b351", kill_on_drop: false }` [INFO] [stdout] c1cd02f0a666f47aff9dcc616f51c31e7b6bf7cf384b244afb86f4b9f5a5b351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09d26fcaadffb98a9cb1198d41bb4a2bbb980ecf195d7bbc1348efddf6ebd959 [INFO] running `Command { std: "docker" "start" "-a" "09d26fcaadffb98a9cb1198d41bb4a2bbb980ecf195d7bbc1348efddf6ebd959", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.23.28 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling webpki-roots v1.0.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling vecmap-rs v0.2.3 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling barter-macro v0.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling rust_decimal_macros v1.37.1 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling serde_qs v0.13.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling barter-instrument v0.3.1 [INFO] [stderr] Compiling barter-integration v0.9.2 [INFO] [stderr] Compiling barter-data v0.10.2 [INFO] [stderr] Compiling barter-execution v0.6.0 [INFO] [stderr] Compiling barter v0.12.3 [INFO] [stderr] Compiling trading-suite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::algorithm::vwap::Vwap` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::algorithm::vwap::Vwap; [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 variable: `tma` [INFO] [stdout] --> src/algorithm/grid.rs:197:60 [INFO] [stdout] | [INFO] [stdout] 197 | fn generate_grid_levels(&self, current_price: Decimal, tma: Decimal, volatility: Decimal) -> (BTreeSet, BTreeSet) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tma` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `avg_price` [INFO] [stdout] --> src/algorithm/grid.rs:348:36 [INFO] [stdout] | [INFO] [stdout] 348 | let (min_price, max_price, avg_price) = self.analyze_price_ranges(&grid_state.price_history); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_avg_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 156 | barter::system::config::ExecutionConfig::Mock(mock_config) => { [INFO] [stdout] | ---------------------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 167 | _ => continue, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_periods` is never used [INFO] [stdout] --> src/algorithm/data.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl AlgorithmData { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn new_with_periods(rsi_period: usize, sma_period: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_risk` is never used [INFO] [stdout] --> src/algorithm/vwap.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Vwap { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn with_risk(wallet_size: Decimal, risk_percentage: Decimal) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_ready` and `reset` are never used [INFO] [stdout] --> src/algorithm/indicators/sma.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl SMA { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_wallet_size`, `update_risk_percentage`, `wallet_size`, and `risk_amount` are never used [INFO] [stdout] --> src/algorithm/position.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PositionSizer { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn update_wallet_size(&mut self, new_wallet_size: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn update_risk_percentage(&mut self, new_risk_percentage: Decimal) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn wallet_size(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn risk_amount(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GridLevel` is never constructed [INFO] [stdout] --> src/algorithm/grid.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | struct GridLevel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tma_period` is never read [INFO] [stdout] --> src/algorithm/grid.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 91 | tma_period: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trading-suite` (bin "trading-suite"); 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/bin/rustc --crate-name trading_suite --edition=2024 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ddc62cd8526c03ad -C extra-filename=-bcb06dae5bd9356f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern barter=/opt/rustwide/target/debug/deps/libbarter-d6484b2649110617.rlib --extern barter_data=/opt/rustwide/target/debug/deps/libbarter_data-5b05b011c7721e50.rlib --extern barter_execution=/opt/rustwide/target/debug/deps/libbarter_execution-87b58ae1213a7715.rlib --extern barter_instrument=/opt/rustwide/target/debug/deps/libbarter_instrument-a5c71e715dd26861.rlib --extern barter_integration=/opt/rustwide/target/debug/deps/libbarter_integration-f29884c8aee37492.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-7f9a96cb3e9c9416.rlib --extern fnv=/opt/rustwide/target/debug/deps/libfnv-2d77ec4f6f971b24.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-5a7308ce1a01ff04.rlib --extern itertools=/opt/rustwide/target/debug/deps/libitertools-3db4797dc23645d3.rlib --extern rust_decimal=/opt/rustwide/target/debug/deps/librust_decimal-a7a363246fc4b1be.rlib --extern rust_decimal_macros=/opt/rustwide/target/debug/deps/librust_decimal_macros-4919142be71a4971.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-055de53f88305d45.rlib --extern smol_str=/opt/rustwide/target/debug/deps/libsmol_str-2c3e00472d745c8c.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-b62034b2feed791a.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-5b4fad722c2b14ee.rlib --extern uuid=/opt/rustwide/target/debug/deps/libuuid-cc0265757dade7f5.rlib --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-89450aef6b8060ab/out` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "09d26fcaadffb98a9cb1198d41bb4a2bbb980ecf195d7bbc1348efddf6ebd959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09d26fcaadffb98a9cb1198d41bb4a2bbb980ecf195d7bbc1348efddf6ebd959", kill_on_drop: false }` [INFO] [stdout] 09d26fcaadffb98a9cb1198d41bb4a2bbb980ecf195d7bbc1348efddf6ebd959