[INFO] fetching crate gateio-rs 0.1.0...
[INFO] testing gateio-rs-0.1.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate gateio-rs 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate gateio-rs 0.1.0
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate gateio-rs 0.1.0
[INFO] tweaked toml for crates.io crate gateio-rs 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate gateio-rs 0.1.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate gateio-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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ureq-proto v0.4.2
[INFO] [stderr]   Downloaded ureq v3.0.12
[INFO] [stderr]   Downloaded webpki-roots v1.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a5847255237ba9731ad94eea4e8728b1e57b442377733eac735376008aec4b42
[INFO] running `Command { std: "docker" "start" "-a" "a5847255237ba9731ad94eea4e8728b1e57b442377733eac735376008aec4b42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5847255237ba9731ad94eea4e8728b1e57b442377733eac735376008aec4b42", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5847255237ba9731ad94eea4e8728b1e57b442377733eac735376008aec4b42", kill_on_drop: false }`
[INFO] [stdout] a5847255237ba9731ad94eea4e8728b1e57b442377733eac735376008aec4b42
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 976dd1a146a6a5fa4912c4ed2f321543de02f0956cb85bc4cd4fd1b8dfcb8d6a
[INFO] running `Command { std: "docker" "start" "-a" "976dd1a146a6a5fa4912c4ed2f321543de02f0956cb85bc4cd4fd1b8dfcb8d6a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]    Compiling webpki-roots v1.0.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling syn v2.0.102
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling der v0.7.10
[INFO] [stderr]    Compiling flate2 v1.1.2
[INFO] [stderr]    Compiling ureq-proto v0.4.2
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling rustls-webpki v0.103.3
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling ed25519-dalek v2.1.1
[INFO] [stderr]    Compiling ureq v3.0.12
[INFO] [stderr]    Compiling gateio-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.27s
[INFO] running `Command { std: "docker" "inspect" "976dd1a146a6a5fa4912c4ed2f321543de02f0956cb85bc4cd4fd1b8dfcb8d6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "976dd1a146a6a5fa4912c4ed2f321543de02f0956cb85bc4cd4fd1b8dfcb8d6a", kill_on_drop: false }`
[INFO] [stdout] 976dd1a146a6a5fa4912c4ed2f321543de02f0956cb85bc4cd4fd1b8dfcb8d6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ac7ce2996b7363abe55cca66eefee187f9065830f61f77451fa1102bd199f9b7
[INFO] running `Command { std: "docker" "start" "-a" "ac7ce2996b7363abe55cca66eefee187f9065830f61f77451fa1102bd199f9b7", kill_on_drop: false }`
[INFO] [stderr]    Compiling gateio-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Order`, `create_batch_orders`, and `create_order`
[INFO] [stdout]  --> examples/async_example.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use gateio_rs::api::spot::{Order, create_batch_orders, create_order};
[INFO] [stdout]   |                            ^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 10.52s
[INFO] running `Command { std: "docker" "inspect" "ac7ce2996b7363abe55cca66eefee187f9065830f61f77451fa1102bd199f9b7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac7ce2996b7363abe55cca66eefee187f9065830f61f77451fa1102bd199f9b7", kill_on_drop: false }`
[INFO] [stdout] ac7ce2996b7363abe55cca66eefee187f9065830f61f77451fa1102bd199f9b7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6dd1b552eefcd0e5b9f0da8de09b3612a8a214f2142ac3de35de51bd608ccb47
[INFO] running `Command { std: "docker" "start" "-a" "6dd1b552eefcd0e5b9f0da8de09b3612a8a214f2142ac3de35de51bd608ccb47", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Order`, `create_batch_orders`, and `create_order`
[INFO] [stderr]  --> examples/async_example.rs:1:28
[INFO] [stderr]   |
[INFO] [stderr] 1 | use gateio_rs::api::spot::{Order, create_batch_orders, create_order};
[INFO] [stderr]   |                            ^^^^^  ^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `gateio-rs` (example "async_example") generated 1 warning (run `cargo fix --example "async_example" -p gateio-rs` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gateio_rs-c637e9c6f04eab9e)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests gateio_rs
[INFO] [stdout] 
[INFO] [stdout] running 13 tests
[INFO] [stdout] test src/ureq/client.rs - ureq::client::GateHttpClient (line 25) - compile ... FAILED
[INFO] [stdout] test src/api/spot/get_ticker.rs - api::spot::get_ticker::GetTicker (line 13) - compile ... FAILED
[INFO] [stdout] test src/api/spot/create_order.rs - api::spot::create_order::CreateOrder (line 17) - compile ... FAILED
[INFO] [stdout] test src/api/spot/mod.rs - api::spot::create_order (line 328) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED
[INFO] [stdout] test src/api/spot/mod.rs - api::spot (line 53) - compile ... FAILED
[INFO] [stdout] test src/ureq/mod.rs - ureq (line 18) - compile ... ok
[INFO] [stdout] test src/api/spot/mod.rs - api::spot::get_ticker (line 215) - compile ... FAILED
[INFO] [stdout] test src/ureq/client.rs - ureq::client::GateHttpClient (line 36) - compile ... FAILED
[INFO] [stdout] test src/api/spot/mod.rs - api::spot::get_account (line 272) - compile ... FAILED
[INFO] [stdout] test src/ureq/mod.rs - ureq (line 39) ... ok
[INFO] [stdout] test src/ureq/mod.rs - ureq (line 53) ... FAILED
[INFO] [stdout] test src/ureq/client.rs - ureq::client::GateHttpClient (line 52) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/ureq/client.rs - ureq::client::GateHttpClient (line 25) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/ureq/client.rs:31:36
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ureq_client_rs_25_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 31 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 26 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ureq_client_rs_25_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 27 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 32 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 33 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/spot/get_ticker.rs - api::spot::get_ticker::GetTicker (line 13) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/api/spot/get_ticker.rs:23:36
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_get_ticker_rs_13_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 23 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 14 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_get_ticker_rs_13_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 15 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 28 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 29 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/api/spot/get_ticker.rs:27:36
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_get_ticker_rs_13_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 27 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 14 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_get_ticker_rs_13_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 15 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 28 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 29 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/spot/create_order.rs - api::spot::create_order::CreateOrder (line 17) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/api/spot/create_order.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_create_order_rs_17_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 34 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 18 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_create_order_rs_17_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 19 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 40 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 41 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/api/spot/create_order.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_create_order_rs_17_0() {
[INFO] [stdout]    |                                      ---------------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 39 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 18 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_create_order_rs_17_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 19 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 40 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 41 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/spot/mod.rs - api::spot::create_order (line 328) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/api/spot/mod.rs:344:36
[INFO] [stdout]     |
[INFO] [stdout] 329 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_328_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 344 | let response = client.send(request)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 329 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_328_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 330 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 350 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 351 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/api/spot/mod.rs:349:36
[INFO] [stdout]     |
[INFO] [stdout] 329 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_328_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 349 | let response = client.send(request)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 329 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_328_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 330 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 350 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 351 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 21 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  8 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  9 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 22 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 23 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/spot/mod.rs - api::spot (line 53) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/api/spot/mod.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_53_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 64 | let response = client.send(ticker_req)?;
[INFO] [stdout]    |                                       ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 54 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_53_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 55 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 71 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 72 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/api/spot/mod.rs:70:38
[INFO] [stdout]    |
[INFO] [stdout] 54 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_53_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 70 | let response = client.send(order_req)?;
[INFO] [stdout]    |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 54 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_53_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 55 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 71 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 72 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/spot/mod.rs - api::spot::get_ticker (line 215) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/api/spot/mod.rs:223:36
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_215_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 223 | let response = client.send(request)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 216 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_215_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 217 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 228 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 229 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/api/spot/mod.rs:227:36
[INFO] [stdout]     |
[INFO] [stdout] 216 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_215_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 227 | let response = client.send(request)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 216 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_215_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 217 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 228 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 229 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ureq/client.rs - ureq::client::GateHttpClient (line 36) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/ureq/client.rs:47:36
[INFO] [stdout]    |
[INFO] [stdout] 37 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ureq_client_rs_36_0() {
[INFO] [stdout]    |                                      ------------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 47 | let response = client.send(request)?;
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 37 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ureq_client_rs_36_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 38 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 48 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 49 +     Ok(())
[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 E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/api/spot/mod.rs - api::spot::get_account (line 272) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/api/spot/mod.rs:285:36
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_272_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 285 | let response = client.send(request)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 273 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_272_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 274 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 290 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 291 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/api/spot/mod.rs:289:36
[INFO] [stdout]     |
[INFO] [stdout] 273 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_272_0() {
[INFO] [stdout]     |                                      -------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 289 | let response = client.send(request)?;
[INFO] [stdout]     |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 273 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_272_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 274 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 290 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 291 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ureq/mod.rs - ureq (line 53) stdout ----
[INFO] [stdout] error[E0599]: no method named `timeout_request` found for struct `ConfigBuilder<Scope>` in the current scope
[INFO] [stdout]   --> src/ureq/mod.rs:60:6
[INFO] [stdout]    |
[INFO] [stdout] 59 |   let agent: Agent = Agent::config_builder()
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 60 | |     .timeout_request(Duration::from_secs(10))
[INFO] [stdout]    | |_____-^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `timeout_send_request` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 60 |     .timeout_send_request(Duration::from_secs(10))
[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 E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/api/spot/create_order.rs - api::spot::create_order::CreateOrder (line 17)
[INFO] [stdout]     src/api/spot/get_ticker.rs - api::spot::get_ticker::GetTicker (line 13)
[INFO] [stdout]     src/api/spot/mod.rs - api::spot (line 53)
[INFO] [stdout]     src/api/spot/mod.rs - api::spot::create_order (line 328)
[INFO] [stdout]     src/api/spot/mod.rs - api::spot::get_account (line 272)
[INFO] [stdout]     src/api/spot/mod.rs - api::spot::get_ticker (line 215)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout]     src/ureq/client.rs - ureq::client::GateHttpClient (line 25)
[INFO] [stdout]     src/ureq/client.rs - ureq::client::GateHttpClient (line 36)
[INFO] [stdout]     src/ureq/mod.rs - ureq (line 53)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.89s; merged doctests compilation took 0.21s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6dd1b552eefcd0e5b9f0da8de09b3612a8a214f2142ac3de35de51bd608ccb47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dd1b552eefcd0e5b9f0da8de09b3612a8a214f2142ac3de35de51bd608ccb47", kill_on_drop: false }`
[INFO] [stdout] 6dd1b552eefcd0e5b9f0da8de09b3612a8a214f2142ac3de35de51bd608ccb47
