[INFO] fetching crate cefi-rs 0.1.0... [INFO] testing cefi-rs-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cefi-rs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate cefi-rs 0.1.0 [INFO] finished tweaking crates.io crate cefi-rs 0.1.0 [INFO] tweaked toml for crates.io crate cefi-rs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cefi-rs 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cefi-rs 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cefi-rs-bybit v0.1.0 [INFO] [stderr] Downloaded cefi-rs-binance v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 689407b09a19a4b2aaee6e369d52fb14d4d9f0cfa689e129e7094bfb487c1585 [INFO] running `Command { std: "docker" "start" "-a" "689407b09a19a4b2aaee6e369d52fb14d4d9f0cfa689e129e7094bfb487c1585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "689407b09a19a4b2aaee6e369d52fb14d4d9f0cfa689e129e7094bfb487c1585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689407b09a19a4b2aaee6e369d52fb14d4d9f0cfa689e129e7094bfb487c1585", kill_on_drop: false }` [INFO] [stdout] 689407b09a19a4b2aaee6e369d52fb14d4d9f0cfa689e129e7094bfb487c1585 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5a57ccc12f4f7929e7586c82e8bb015bae1f464529aeca72aa77700ed882176 [INFO] running `Command { std: "docker" "start" "-a" "e5a57ccc12f4f7929e7586c82e8bb015bae1f464529aeca72aa77700ed882176", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling time-core v0.1.3 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling cefi-rs-bybit v0.1.0 [INFO] [stderr] Compiling cefi-rs-binance v0.1.0 [INFO] [stderr] Compiling cefi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `orderbook` [INFO] [stdout] --> src/exchanges/binance.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let orderbook = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/binance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | async fn place_order(&self, params: &PlaceOrderParams) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/binance.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | async fn cancel_order(&self, order_id: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/exchanges/binance.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | async fn cancel_all_orders(&self, symbol: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/binance.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/binance.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | params: &AmendOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/bybit.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | params: &crate::trade::PlaceOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/bybit.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/exchanges/bybit.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | symbol: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/bybit.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/bybit.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | params: &crate::trade::AmendOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_binance_orderbook` is never used [INFO] [stdout] --> src/exchanges/binance.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Orderbook { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 69 | fn from_binance_orderbook(orderbook: BinanceOrderBook, symbol: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.23s [INFO] running `Command { std: "docker" "inspect" "e5a57ccc12f4f7929e7586c82e8bb015bae1f464529aeca72aa77700ed882176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a57ccc12f4f7929e7586c82e8bb015bae1f464529aeca72aa77700ed882176", kill_on_drop: false }` [INFO] [stdout] e5a57ccc12f4f7929e7586c82e8bb015bae1f464529aeca72aa77700ed882176 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de62a0801de0e822cf7f7bff68a0a66ec6ea0007c83f5cc1c4a5c05de3f2e819 [INFO] running `Command { std: "docker" "start" "-a" "de62a0801de0e822cf7f7bff68a0a66ec6ea0007c83f5cc1c4a5c05de3f2e819", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `orderbook` [INFO] [stdout] --> src/exchanges/binance.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let orderbook = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/binance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | async fn place_order(&self, params: &PlaceOrderParams) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/binance.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | async fn cancel_order(&self, order_id: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/exchanges/binance.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | async fn cancel_all_orders(&self, symbol: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/binance.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/binance.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | params: &AmendOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/bybit.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | params: &crate::trade::PlaceOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/bybit.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/exchanges/bybit.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | symbol: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/bybit.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cefi-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/bybit.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | params: &crate::trade::AmendOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_binance_orderbook` is never used [INFO] [stdout] --> src/exchanges/binance.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Orderbook { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 69 | fn from_binance_orderbook(orderbook: BinanceOrderBook, symbol: String) -> 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: unused variable: `orderbook` [INFO] [stdout] --> src/exchanges/binance.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let orderbook = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/binance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | async fn place_order(&self, params: &PlaceOrderParams) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/binance.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | async fn cancel_order(&self, order_id: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/exchanges/binance.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | async fn cancel_all_orders(&self, symbol: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/binance.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/binance.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | params: &AmendOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/bybit.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | params: &crate::trade::PlaceOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/bybit.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `symbol` [INFO] [stdout] --> src/exchanges/bybit.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | symbol: &String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/exchanges/bybit.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | order_id: &String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/exchanges/bybit.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | params: &crate::trade::AmendOrderParams, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_binance_orderbook` is never used [INFO] [stdout] --> src/exchanges/binance.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Orderbook { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 69 | fn from_binance_orderbook(orderbook: BinanceOrderBook, symbol: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "de62a0801de0e822cf7f7bff68a0a66ec6ea0007c83f5cc1c4a5c05de3f2e819", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de62a0801de0e822cf7f7bff68a0a66ec6ea0007c83f5cc1c4a5c05de3f2e819", kill_on_drop: false }` [INFO] [stdout] de62a0801de0e822cf7f7bff68a0a66ec6ea0007c83f5cc1c4a5c05de3f2e819 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3b0ed514987e5185257d5d6ee123806cf25d900d80531861168572f62db9a7d4 [INFO] running `Command { std: "docker" "start" "-a" "3b0ed514987e5185257d5d6ee123806cf25d900d80531861168572f62db9a7d4", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `orderbook` [INFO] [stderr] --> src/exchanges/binance.rs:37:13 [INFO] [stderr] | [INFO] [stderr] 37 | let orderbook = self [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/exchanges/binance.rs:47:33 [INFO] [stderr] | [INFO] [stderr] 47 | async fn place_order(&self, params: &PlaceOrderParams) -> anyhow::Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/exchanges/binance.rs:51:34 [INFO] [stderr] | [INFO] [stderr] 51 | async fn cancel_order(&self, order_id: &String) -> anyhow::Result { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `symbol` [INFO] [stderr] --> src/exchanges/binance.rs:55:39 [INFO] [stderr] | [INFO] [stderr] 55 | async fn cancel_all_orders(&self, symbol: &String) -> anyhow::Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/exchanges/binance.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | order_id: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/exchanges/binance.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | params: &AmendOrderParams, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/exchanges/bybit.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | params: &crate::trade::PlaceOrderParams, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/exchanges/bybit.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | order_id: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `symbol` [INFO] [stderr] --> src/exchanges/bybit.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | symbol: &String, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_symbol` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/exchanges/bybit.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | order_id: &String, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `params` [INFO] [stderr] --> src/exchanges/bybit.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | params: &crate::trade::AmendOrderParams, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stderr] [INFO] [stderr] warning: associated function `from_binance_orderbook` is never used [INFO] [stderr] --> src/exchanges/binance.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 68 | impl Orderbook { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 69 | fn from_binance_orderbook(orderbook: BinanceOrderBook, symbol: String) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `cefi-rs` (lib) generated 12 warnings [INFO] [stderr] warning: `cefi-rs` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cefi_rs-332d2bea9112936b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] [INFO] [stderr] thread 'exchanges::bybit::tests::test_get_orderbook' (26) has overflowed its stack [INFO] [stderr] fatal runtime error: stack overflow, aborting [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/cefi_rs-332d2bea9112936b` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "3b0ed514987e5185257d5d6ee123806cf25d900d80531861168572f62db9a7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0ed514987e5185257d5d6ee123806cf25d900d80531861168572f62db9a7d4", kill_on_drop: false }` [INFO] [stdout] 3b0ed514987e5185257d5d6ee123806cf25d900d80531861168572f62db9a7d4