[INFO] fetching crate weex_rust_sdk 0.6.1...
[INFO] testing weex_rust_sdk-0.6.1 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate weex_rust_sdk 0.6.1 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate weex_rust_sdk 0.6.1 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tungstenite v0.20.1
[INFO] [stderr]   Downloaded tokio-tungstenite v0.20.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.104
[INFO] [stderr]   Downloaded strum v0.25.0
[INFO] [stderr]   Downloaded rkyv_derive v0.7.45
[INFO] [stderr]   Downloaded rustls-native-certs v0.6.3
[INFO] [stderr]   Downloaded strum_macros v0.25.3
[INFO] [stderr]   Downloaded borsh-derive v1.6.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.56
[INFO] [stderr]   Downloaded hyper-rustls v0.24.2
[INFO] [stderr]   Downloaded sct v0.7.1
[INFO] [stderr]   Downloaded tokio-rustls v0.24.1
[INFO] [stderr]   Downloaded zmij v1.0.5
[INFO] [stderr]   Downloaded ryu v1.0.22
[INFO] [stderr]   Downloaded borsh v1.6.0
[INFO] [stderr]   Downloaded rkyv v0.7.45
[INFO] [stderr]   Downloaded rust_decimal v1.39.0
[INFO] [stderr]   Downloaded rustls-webpki v0.101.7
[INFO] [stderr]   Downloaded webpki-roots v0.25.4
[INFO] [stderr]   Downloaded rustls v0.21.12
[INFO] [stderr]   Downloaded syn v2.0.112
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7baaa0a723a9d45493c5ce605643ae8ee70f5962d37e7d1a72ea35f4ae4d2d0b
[INFO] running `Command { std: "docker" "start" "-a" "7baaa0a723a9d45493c5ce605643ae8ee70f5962d37e7d1a72ea35f4ae4d2d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7baaa0a723a9d45493c5ce605643ae8ee70f5962d37e7d1a72ea35f4ae4d2d0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7baaa0a723a9d45493c5ce605643ae8ee70f5962d37e7d1a72ea35f4ae4d2d0b", kill_on_drop: false }`
[INFO] [stdout] 7baaa0a723a9d45493c5ce605643ae8ee70f5962d37e7d1a72ea35f4ae4d2d0b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2f0386ae7155d6ef4a7670f060ef6c2603d2ba8451a05ee3f453ad8bbdf480b
[INFO] running `Command { std: "docker" "start" "-a" "e2f0386ae7155d6ef4a7670f060ef6c2603d2ba8451a05ee3f453ad8bbdf480b", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.104
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.178
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.6
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling bytes v1.11.0
[INFO] [stderr]    Compiling writeable v0.6.2
[INFO] [stderr]    Compiling litemap v0.8.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling cc v1.2.51
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling zerocopy v0.8.31
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling zmij v1.0.5
[INFO] [stderr]    Compiling ryu v1.0.22
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling syn v2.0.112
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling rust_decimal v1.39.0
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling serde_json v1.0.148
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling indexmap v2.12.1
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[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 futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[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 futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerotrie v0.2.3
[INFO] [stderr]    Compiling zerovec v0.11.5
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling strum v0.25.0
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[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 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_normalizer v2.1.1
[INFO] [stderr]    Compiling icu_properties v2.1.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling tokio-util v0.7.17
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling h2 v0.3.27
[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 1m 17s
[INFO] running `Command { std: "docker" "inspect" "e2f0386ae7155d6ef4a7670f060ef6c2603d2ba8451a05ee3f453ad8bbdf480b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2f0386ae7155d6ef4a7670f060ef6c2603d2ba8451a05ee3f453ad8bbdf480b", kill_on_drop: false }`
[INFO] [stdout] e2f0386ae7155d6ef4a7670f060ef6c2603d2ba8451a05ee3f453ad8bbdf480b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba48d048cfbe8333b30e4c1d698439dc8a38e50637ad6da04fca0ea08582c737
[INFO] running `Command { std: "docker" "start" "-a" "ba48d048cfbe8333b30e4c1d698439dc8a38e50637ad6da04fca0ea08582c737", 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] [stderr]    Compiling weex_rust_sdk v0.6.1 (/opt/rustwide/workdir)
[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] [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] 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[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] 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] 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] For more information about this error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `weex_rust_sdk` (example "market_maker") due to 1 previous error; 1 warning 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" "ba48d048cfbe8333b30e4c1d698439dc8a38e50637ad6da04fca0ea08582c737", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba48d048cfbe8333b30e4c1d698439dc8a38e50637ad6da04fca0ea08582c737", kill_on_drop: false }`
[INFO] [stdout] ba48d048cfbe8333b30e4c1d698439dc8a38e50637ad6da04fca0ea08582c737
