[INFO] fetching crate gateio-rs 0.1.0...
[INFO] testing gateio-rs-0.1.0 against beta-2025-09-21 for beta-1.91-3
[INFO] extracting crate gateio-rs 0.1.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate gateio-rs 0.1.0 on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 91c4fc929ec77a03eddbe32be52d257b6a1766dc00e62aee15497bddfcac2fc8
[INFO] running `Command { std: "docker" "start" "-a" "91c4fc929ec77a03eddbe32be52d257b6a1766dc00e62aee15497bddfcac2fc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "91c4fc929ec77a03eddbe32be52d257b6a1766dc00e62aee15497bddfcac2fc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91c4fc929ec77a03eddbe32be52d257b6a1766dc00e62aee15497bddfcac2fc8", kill_on_drop: false }`
[INFO] [stdout] 91c4fc929ec77a03eddbe32be52d257b6a1766dc00e62aee15497bddfcac2fc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 094c8d9e1974d308c6b6d8f29f02f0d31a4f6a97717964b3b67a478c6c1fff68
[INFO] running `Command { std: "docker" "start" "-a" "094c8d9e1974d308c6b6d8f29f02f0d31a4f6a97717964b3b67a478c6c1fff68", kill_on_drop: false }`
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]    Compiling base64ct v1.8.0
[INFO] [stderr]    Compiling syn v2.0.102
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling webpki-roots v1.0.0
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling ureq-proto v0.4.2
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling der v0.7.10
[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 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 41.46s
[INFO] running `Command { std: "docker" "inspect" "094c8d9e1974d308c6b6d8f29f02f0d31a4f6a97717964b3b67a478c6c1fff68", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "094c8d9e1974d308c6b6d8f29f02f0d31a4f6a97717964b3b67a478c6c1fff68", kill_on_drop: false }`
[INFO] [stdout] 094c8d9e1974d308c6b6d8f29f02f0d31a4f6a97717964b3b67a478c6c1fff68
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 41a557d6d6413349575454a48427a0747c5909ada45ea6f271aa3b57d35c3985
[INFO] running `Command { std: "docker" "start" "-a" "41a557d6d6413349575454a48427a0747c5909ada45ea6f271aa3b57d35c3985", 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 14.70s
[INFO] running `Command { std: "docker" "inspect" "41a557d6d6413349575454a48427a0747c5909ada45ea6f271aa3b57d35c3985", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "41a557d6d6413349575454a48427a0747c5909ada45ea6f271aa3b57d35c3985", kill_on_drop: false }`
[INFO] [stdout] 41a557d6d6413349575454a48427a0747c5909ada45ea6f271aa3b57d35c3985
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 966bc1adfb6420b376e34c1e9056cd893ab019e7cd9e3db6c6f5a2e3aa0c511e
[INFO] running `Command { std: "docker" "start" "-a" "966bc1adfb6420b376e34c1e9056cd893ab019e7cd9e3db6c6f5a2e3aa0c511e", 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"` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gateio_rs-e544f42a5b3c53f7)
[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/api/spot/mod.rs - api::spot (line 53) - compile ... FAILED
[INFO] [stdout] test src/api/spot/mod.rs - api::spot::create_order (line 328) - compile ... FAILED
[INFO] [stdout] test src/api/spot/mod.rs - api::spot::get_ticker (line 215) - 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::get_account (line 272) - compile ... FAILED
[INFO] [stdout] test src/ureq/client.rs - ureq::client::GateHttpClient (line 25) - compile ... FAILED
[INFO] [stdout] test src/ureq/client.rs - ureq::client::GateHttpClient (line 52) ... ok
[INFO] [stdout] test src/ureq/mod.rs - ureq (line 53) ... FAILED
[INFO] [stdout] test src/ureq/client.rs - ureq::client::GateHttpClient (line 36) - compile ... FAILED
[INFO] [stdout] test src/ureq/mod.rs - ureq (line 18) - compile ... ok
[INFO] [stdout] test src/api/spot/get_ticker.rs - api::spot::get_ticker::GetTicker (line 13) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 7) - compile ... FAILED
[INFO] [stdout] test src/ureq/mod.rs - ureq (line 39) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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]  4 | 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] 14 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_53_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 21 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 22 +     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]  4 | 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] 20 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_53_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 21 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 22 +     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]  4 | 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] 19 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_328_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 25 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 26 +     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]  4 | 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] 24 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_328_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 25 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 26 +     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]  4 | 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] 11 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_215_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 16 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 17 +     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]  4 | 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] 15 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_215_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 16 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 17 +     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]  4 | 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] 20 | 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]  4 ~ 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]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 26 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 27 +     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]  4 | 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] 25 | 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]  4 ~ 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]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 26 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 27 +     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_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]  4 | 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] 16 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_272_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 21 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 22 +     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]  4 | 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] 20 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_api_spot_mod_rs_272_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 21 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 22 +     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 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] 4 | 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] 9 | 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] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ureq_client_rs_25_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 10| Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 11+     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/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]  9 |   let agent: Agent = Agent::config_builder()
[INFO] [stdout]    |  ____________________-
[INFO] [stdout] 10 | |     .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] 10 |     .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] ---- 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]  4 | 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] 14 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ureq_client_rs_36_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 15 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 16 +     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]  4 | 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] 13 | 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]  4 ~ 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]  5 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 18 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 19 +     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]  4 | 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] 17 | 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]  4 ~ 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]  5 | use gateio_rs::{api::spot::get_ticker, ureq::GateHttpClient};
[INFO] [stdout] ...
[INFO] [stdout] 18 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 19 +     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]  4 | 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] 17 | 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]  4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  5 | use gateio_rs::{
[INFO] [stdout] ...
[INFO] [stdout] 18 | Ok::<(), Box<dyn std::error::Error>>(()).expect("");
[INFO] [stdout] 19 +     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] 
[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 1.16s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 1.36s; merged doctests compilation took 0.19s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "966bc1adfb6420b376e34c1e9056cd893ab019e7cd9e3db6c6f5a2e3aa0c511e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "966bc1adfb6420b376e34c1e9056cd893ab019e7cd9e3db6c6f5a2e3aa0c511e", kill_on_drop: false }`
[INFO] [stdout] 966bc1adfb6420b376e34c1e9056cd893ab019e7cd9e3db6c6f5a2e3aa0c511e
