[INFO] fetching crate weex_rust_sdk 0.6.1...
[INFO] testing weex_rust_sdk-0.6.1 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate weex_rust_sdk 0.6.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate weex_rust_sdk 0.6.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate weex_rust_sdk 0.6.1
[INFO] tweaked toml for crates.io crate weex_rust_sdk 0.6.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate weex_rust_sdk 0.6.1 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate weex_rust_sdk 0.6.1 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb66ffda0c1ada8a797a290b753b051ecdc31277256f24ca6066412241541a81
[INFO] running `Command { std: "docker" "start" "-a" "eb66ffda0c1ada8a797a290b753b051ecdc31277256f24ca6066412241541a81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb66ffda0c1ada8a797a290b753b051ecdc31277256f24ca6066412241541a81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb66ffda0c1ada8a797a290b753b051ecdc31277256f24ca6066412241541a81", kill_on_drop: false }`
[INFO] [stdout] eb66ffda0c1ada8a797a290b753b051ecdc31277256f24ca6066412241541a81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9372f36c5670dbac8d118c1be018ceaa1d532183212dea563f43a59ea563fdf
[INFO] running `Command { std: "docker" "start" "-a" "e9372f36c5670dbac8d118c1be018ceaa1d532183212dea563f43a59ea563fdf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling zmij v1.0.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling syn v2.0.112
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling synstructure v0.13.2
[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 serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling tinystr v0.8.2
[INFO] [stderr]    Compiling potential_utf v0.1.4
[INFO] [stderr]    Compiling icu_collections v2.1.1
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling icu_locale_core v2.1.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling icu_provider v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling icu_normalizer v2.1.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-rustls v0.24.2
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling weex_rust_sdk v0.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `WS_PUBLIC_URL`
[INFO] [stdout]  --> src/ws/handler.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ws::client::{WeexWebsocket, WsMessage, WS_PUBLIC_URL};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/ws/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventHandler`
[INFO] [stdout]  --> src/engine.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ws::handler::{MarketEvent, AccountEvent, EventHandler};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OrderType` and `Side`
[INFO] [stdout]  --> src/engine.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::{Side, OrderType};
[INFO] [stdout]   |                    ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OpenOptions`
[INFO] [stdout]  --> src/state.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/state.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufReader, BufWriter, Write};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/alerts.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]   --> src/engine.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         strategy: S,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/engine.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   let context = Context {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/engine.rs:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Signal::Buy { symbol, size, price } => {
[INFO] [stdout]     |                                         ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/engine.rs:109:42
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Signal::Sell { symbol, size, price } => {
[INFO] [stdout]     |                                          ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `exchange` and `position_sizer` are never read
[INFO] [stdout]   --> src/engine.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Engine<E: Exchange + Clone + Send + Sync + 'static> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 30 |     exchange: E,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 31 |     position_sizer: PositionSizer,
[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 47.57s
[INFO] running `Command { std: "docker" "inspect" "e9372f36c5670dbac8d118c1be018ceaa1d532183212dea563f43a59ea563fdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9372f36c5670dbac8d118c1be018ceaa1d532183212dea563f43a59ea563fdf", kill_on_drop: false }`
[INFO] [stdout] e9372f36c5670dbac8d118c1be018ceaa1d532183212dea563f43a59ea563fdf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 552326a15374f81b017899583ba3e5c8594981150d94a3c1f7aef3dd2647597e
[INFO] running `Command { std: "docker" "start" "-a" "552326a15374f81b017899583ba3e5c8594981150d94a3c1f7aef3dd2647597e", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `WS_PUBLIC_URL`
[INFO] [stdout]  --> src/ws/handler.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ws::client::{WeexWebsocket, WsMessage, WS_PUBLIC_URL};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/ws/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventHandler`
[INFO] [stdout]  --> src/engine.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ws::handler::{MarketEvent, AccountEvent, EventHandler};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OrderType` and `Side`
[INFO] [stdout]  --> src/engine.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::{Side, OrderType};
[INFO] [stdout]   |                    ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OpenOptions`
[INFO] [stdout]  --> src/state.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/state.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufReader, BufWriter, Write};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/alerts.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]   --> src/engine.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         strategy: S,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/engine.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   let context = Context {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/engine.rs:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Signal::Buy { symbol, size, price } => {
[INFO] [stdout]     |                                         ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/engine.rs:109:42
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Signal::Sell { symbol, size, price } => {
[INFO] [stdout]     |                                          ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `exchange` and `position_sizer` are never read
[INFO] [stdout]   --> src/engine.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Engine<E: Exchange + Clone + Send + Sync + 'static> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 30 |     exchange: E,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 31 |     position_sizer: PositionSizer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling weex_rust_sdk v0.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Exchange` and `WeexClient`
[INFO] [stdout]  --> examples/market_maker.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use weex_rust_sdk::{WeexClient, Strategy, Exchange, OrderManager, Context};
[INFO] [stdout]   |                     ^^^^^^^^^^            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing fields `balance`, `position`, `price` and 1 other field in initializer of `weex_rust_sdk::Context`
[INFO] [stdout]   --> examples/market_maker.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut ctx = Context { exchange_name: "WEEX".to_string() };
[INFO] [stdout]    |                   ^^^^^^^ missing `balance`, `position`, `price` and 1 other field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rust_decimal::Decimal`
[INFO] [stdout]  --> examples/full_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rust_decimal::Decimal;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> examples/full_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weex_rust_sdk` (example "market_maker") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/full_test.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |         .api_key(api_key)
[INFO] [stdout]    |          ------- ^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/builder.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn api_key(mut self, key: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 20 |         .api_key(&api_key)
[INFO] [stdout]    |                  +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/full_test.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .secret_key(secret)
[INFO] [stdout]    |          ---------- ^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/builder.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn secret_key(mut self, secret: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .secret_key(&secret)
[INFO] [stdout]    |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> examples/full_test.rs:22:21
[INFO] [stdout]    |
[INFO] [stdout] 22 |         .passphrase(passphrase)
[INFO] [stdout]    |          ---------- ^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |          |
[INFO] [stdout]    |          arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/builder.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn passphrase(mut self, phrase: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 22 |         .passphrase(&passphrase)
[INFO] [stdout]    |                     +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weex_rust_sdk` (example "full_test") due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] warning: unused import: `WS_PUBLIC_URL`
[INFO] [stdout]  --> src/ws/handler.rs:1:51
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::ws::client::{WeexWebsocket, WsMessage, WS_PUBLIC_URL};
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/ws/handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EventHandler`
[INFO] [stdout]  --> src/engine.rs:3:53
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::ws::handler::{MarketEvent, AccountEvent, EventHandler};
[INFO] [stdout]   |                                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `OrderType` and `Side`
[INFO] [stdout]  --> src/engine.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::types::{Side, OrderType};
[INFO] [stdout]   |                    ^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OpenOptions`
[INFO] [stdout]  --> src/state.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::fs::{File, OpenOptions};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/state.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{BufReader, BufWriter, Write};
[INFO] [stdout]   |                                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/alerts.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `strategy`
[INFO] [stdout]   --> src/engine.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |         strategy: S,
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `context`
[INFO] [stdout]   --> src/engine.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 64 | ...                   let context = Context {
[INFO] [stdout]    |                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/engine.rs:105:41
[INFO] [stdout]     |
[INFO] [stdout] 105 |             Signal::Buy { symbol, size, price } => {
[INFO] [stdout]     |                                         ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]    --> src/engine.rs:109:42
[INFO] [stdout]     |
[INFO] [stdout] 109 |             Signal::Sell { symbol, size, price } => {
[INFO] [stdout]     |                                          ^^^^^ help: try ignoring the field: `price: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `exchange` and `position_sizer` are never read
[INFO] [stdout]   --> src/engine.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct Engine<E: Exchange + Clone + Send + Sync + 'static> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 30 |     exchange: E,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 31 |     position_sizer: PositionSizer,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "552326a15374f81b017899583ba3e5c8594981150d94a3c1f7aef3dd2647597e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "552326a15374f81b017899583ba3e5c8594981150d94a3c1f7aef3dd2647597e", kill_on_drop: false }`
[INFO] [stdout] 552326a15374f81b017899583ba3e5c8594981150d94a3c1f7aef3dd2647597e
