[INFO] fetching crate binance-futures-rs 0.1.2... [INFO] testing binance-futures-rs-0.1.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate binance-futures-rs 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate binance-futures-rs 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate binance-futures-rs 0.1.2 [INFO] tweaked toml for crates.io crate binance-futures-rs 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate binance-futures-rs 0.1.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate binance-futures-rs 0.1.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ba4971ca845bd0314ee2d4a61654784ee9b12a920f117beee651ae0c299b777 [INFO] running `Command { std: "docker" "start" "-a" "3ba4971ca845bd0314ee2d4a61654784ee9b12a920f117beee651ae0c299b777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ba4971ca845bd0314ee2d4a61654784ee9b12a920f117beee651ae0c299b777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba4971ca845bd0314ee2d4a61654784ee9b12a920f117beee651ae0c299b777", kill_on_drop: false }` [INFO] [stdout] 3ba4971ca845bd0314ee2d4a61654784ee9b12a920f117beee651ae0c299b777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c751128a2e5319a98e9edc3d54ce6cd6ff773e11fbc0e2fd3355654bf3fdbe1b [INFO] running `Command { std: "docker" "start" "-a" "c751128a2e5319a98e9edc3d54ce6cd6ff773e11fbc0e2fd3355654bf3fdbe1b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling serde_core v1.0.221 [INFO] [stderr] Compiling serde v1.0.221 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling serde_json v1.0.144 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [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 serde_derive v1.0.221 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.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-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling binance-futures-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "c751128a2e5319a98e9edc3d54ce6cd6ff773e11fbc0e2fd3355654bf3fdbe1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c751128a2e5319a98e9edc3d54ce6cd6ff773e11fbc0e2fd3355654bf3fdbe1b", kill_on_drop: false }` [INFO] [stdout] c751128a2e5319a98e9edc3d54ce6cd6ff773e11fbc0e2fd3355654bf3fdbe1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7839707e657fb806aea5a579628effc2acec3e2971e98bbc1e8a9e7d08107b34 [INFO] running `Command { std: "docker" "start" "-a" "7839707e657fb806aea5a579628effc2acec3e2971e98bbc1e8a9e7d08107b34", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [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 zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.221 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.221 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_provider v2.0.0 [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.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [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 binance-futures-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `account_api` [INFO] [stdout] --> src/api/account.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let account_api = AccountApi::new(client); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_api` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `market_api` [INFO] [stdout] --> src/api/market.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let market_api = MarketApi::new(client); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `market_api` [INFO] [stdout] --> src/api/market.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let market_api = MarketApi::new(client); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trading_api` [INFO] [stdout] --> src/api/trading.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let trading_api = TradingApi::new(client); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trading_api` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "7839707e657fb806aea5a579628effc2acec3e2971e98bbc1e8a9e7d08107b34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7839707e657fb806aea5a579628effc2acec3e2971e98bbc1e8a9e7d08107b34", kill_on_drop: false }` [INFO] [stdout] 7839707e657fb806aea5a579628effc2acec3e2971e98bbc1e8a9e7d08107b34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1cd34f6255338bdf1e5d7671548f5d9577a7b611812a1a9ae091b2a46efc5e7e [INFO] running `Command { std: "docker" "start" "-a" "1cd34f6255338bdf1e5d7671548f5d9577a7b611812a1a9ae091b2a46efc5e7e", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `account_api` [INFO] [stderr] --> src/api/account.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | let account_api = AccountApi::new(client); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_account_api` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `market_api` [INFO] [stderr] --> src/api/market.rs:215:13 [INFO] [stderr] | [INFO] [stderr] 215 | let market_api = MarketApi::new(client); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_api` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `market_api` [INFO] [stderr] --> src/api/market.rs:223:13 [INFO] [stderr] | [INFO] [stderr] 223 | let market_api = MarketApi::new(client); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_market_api` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `trading_api` [INFO] [stderr] --> src/api/trading.rs:221:13 [INFO] [stderr] | [INFO] [stderr] 221 | let trading_api = TradingApi::new(client); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_trading_api` [INFO] [stderr] [INFO] [stderr] warning: `binance-futures-rs` (lib test) generated 4 warnings (run `cargo fix --lib -p binance-futures-rs --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/binance_futures_rs-26a996623a25ecb4) [INFO] [stdout] [INFO] [stdout] running 29 tests [INFO] [stdout] test client::auth::tests::test_sign_request ... ok [INFO] [stdout] test client::auth::tests::test_sign ... ok [INFO] [stdout] test api::trading::tests::test_trading_api_creation ... ok [INFO] [stdout] test api::market::tests::test_market_api_creation ... ok [INFO] [stdout] test client::http::tests::test_client_creation ... ok [INFO] [stdout] test client::http::tests::test_client_with_credentials ... ok [INFO] [stdout] test types::account::tests::test_account_info_deserialization ... ok [INFO] [stdout] test types::common::tests::test_kline_interval_display ... ok [INFO] [stdout] test types::common::tests::test_order_side_serialization ... ok [INFO] [stdout] test types::market::tests::test_kline_from_vec ... ok [INFO] [stdout] test types::trading::tests::test_cancel_order_request ... ok [INFO] [stdout] test types::trading::tests::test_new_order_request_builder ... ok [INFO] [stdout] test utils::tests::test_build_query_string ... ok [INFO] [stdout] test utils::tests::test_format_decimal ... ok [INFO] [stdout] test utils::tests::test_get_timestamp ... ok [INFO] [stdout] test websocket::stream::tests::test_parse_depth_message ... ok [INFO] [stdout] test websocket::stream::tests::test_stream_builder ... ok [INFO] [stdout] test websocket::stream::tests::test_stream_names ... ok [INFO] [stdout] test websocket::types::tests::test_depth_update_deserialization ... ok [INFO] [stdout] test api::trading::tests::test_order_to_params ... ok [INFO] [stdout] test websocket::user_data::tests::test_user_data_stream_config ... ok [INFO] [stdout] test websocket::user_data::tests::test_user_data_stream_manager ... ok [INFO] [stdout] test client::http::tests::test_testnet_client ... ok [INFO] [stdout] test api::market::tests::test_ping ... ok [INFO] [stdout] test api::account::tests::test_account_api_creation ... ok [INFO] [stdout] test tests::test_client_with_credentials ... ok [INFO] [stdout] test tests::test_client_creation ... ok [INFO] [stdout] test tests::test_testnet_client ... ok [INFO] [stdout] test websocket::user_data::tests::test_keepalive_timing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 29 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s [INFO] [stdout] [INFO] [stderr] Doc-tests binance_futures_rs [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 42) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 71) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 102) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 42) stdout ---- [INFO] [stdout] error[E0061]: this method takes 1 argument but 10 arguments were supplied [INFO] [stdout] --> src/lib.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let order = client.trading().new_order( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | "BTCUSDT", [INFO] [stdout] | --------- expected `NewOrderRequest`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/trading.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn new_order(&self, order: NewOrderRequest) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: remove the extra arguments [INFO] [stdout] | [INFO] [stdout] 56 - "BTCUSDT", [INFO] [stdout] 56 + /* NewOrderRequest */, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 102) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Credentials` [INFO] [stdout] --> src/lib.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let credentials = Credentials::new( [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Credentials` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use binance_futures_rs::Credentials; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0599]: no method named `server_time` found for struct `MarketApi` in the current scope [INFO] [stdout] --> src/lib.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | let time = client.market().server_time().await?; [INFO] [stdout] | ^^^^^^^^^^^ method not found in `MarketApi` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | let ticker = client.market().ticker_24hr("BTCUSDT").await?; [INFO] [stdout] | ----------- ^^^^^^^^^ expected `Option<&str>`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&'static str` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/api/market.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | pub async fn ticker_24hr(&self, symbol: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 34 | let ticker = client.market().ticker_24hr(Some("BTCUSDT")).await?; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_price` on type `Vec` [INFO] [stdout] --> src/lib.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 35 | println!("BTC price: {}", ticker.last_price); [INFO] [stdout] | ^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0609. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 102) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/lib.rs - (line 42) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1cd34f6255338bdf1e5d7671548f5d9577a7b611812a1a9ae091b2a46efc5e7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd34f6255338bdf1e5d7671548f5d9577a7b611812a1a9ae091b2a46efc5e7e", kill_on_drop: false }` [INFO] [stdout] 1cd34f6255338bdf1e5d7671548f5d9577a7b611812a1a9ae091b2a46efc5e7e