[INFO] fetching crate crypdefi-bot-sdk 0.1.8...
[INFO] testing crypdefi-bot-sdk-0.1.8 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate crypdefi-bot-sdk 0.1.8 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate crypdefi-bot-sdk 0.1.8
[INFO] finished tweaking crates.io crate crypdefi-bot-sdk 0.1.8
[INFO] tweaked toml for crates.io crate crypdefi-bot-sdk 0.1.8 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate crypdefi-bot-sdk 0.1.8 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate crypdefi-bot-sdk 0.1.8 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d40d5aac89cbccd773d2ab8b8caa375fac82e6a207f695e0cd80fcc71fb7734f
[INFO] running `Command { std: "docker" "start" "-a" "d40d5aac89cbccd773d2ab8b8caa375fac82e6a207f695e0cd80fcc71fb7734f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d40d5aac89cbccd773d2ab8b8caa375fac82e6a207f695e0cd80fcc71fb7734f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d40d5aac89cbccd773d2ab8b8caa375fac82e6a207f695e0cd80fcc71fb7734f", kill_on_drop: false }`
[INFO] [stdout] d40d5aac89cbccd773d2ab8b8caa375fac82e6a207f695e0cd80fcc71fb7734f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6312b58b551a17d4965cac811189abba89bd24ca7602e8033ad4c3c11734c728
[INFO] running `Command { std: "docker" "start" "-a" "6312b58b551a17d4965cac811189abba89bd24ca7602e8033ad4c3c11734c728", kill_on_drop: false }`
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]    Compiling tokio-util v0.7.14
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.8
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling hyper-util v0.1.11
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling crypdefi-bot-sdk v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.88s
[INFO] running `Command { std: "docker" "inspect" "6312b58b551a17d4965cac811189abba89bd24ca7602e8033ad4c3c11734c728", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6312b58b551a17d4965cac811189abba89bd24ca7602e8033ad4c3c11734c728", kill_on_drop: false }`
[INFO] [stdout] 6312b58b551a17d4965cac811189abba89bd24ca7602e8033ad4c3c11734c728
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1dd465250c39277cfd6616a8bc06db267a71aa82d870673997199d665aa8f602
[INFO] running `Command { std: "docker" "start" "-a" "1dd465250c39277cfd6616a8bc06db267a71aa82d870673997199d665aa8f602", kill_on_drop: false }`
[INFO] [stderr]    Compiling crypdefi-bot-sdk v0.1.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "1dd465250c39277cfd6616a8bc06db267a71aa82d870673997199d665aa8f602", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1dd465250c39277cfd6616a8bc06db267a71aa82d870673997199d665aa8f602", kill_on_drop: false }`
[INFO] [stdout] 1dd465250c39277cfd6616a8bc06db267a71aa82d870673997199d665aa8f602
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b974354b5f9d07dd2c4894212a0751f6d979f4c005b5d2b6e69007cf68beda16
[INFO] running `Command { std: "docker" "start" "-a" "b974354b5f9d07dd2c4894212a0751f6d979f4c005b5d2b6e69007cf68beda16", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypdefi_bot_sdk-975d8c385b0a6d5a)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test http::tests::test_encode_integer_positive ... ok
[INFO] [stdout] test http::tests::test_encode_integer_remove_leading_zeros ... ok
[INFO] [stdout] test http::tests::test_signature_to_der ... ok
[INFO] [stdout] test http::tests::test_signature_to_der_2 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bot.rs (/opt/rustwide/target/debug/deps/crypdefi_bot-1e5b57f7e6f986b0)
[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 crypdefi_bot_sdk
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/user.rs - user::Bot::new (line 124) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::login (line 176) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::get_wallets (line 291) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::refresh (line 240) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::logout (line 359) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::auth_expiration_unix_time (line 403) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::sign_transaction (line 321) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/user.rs - user::Bot::new (line 124) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/user.rs:125:1
[INFO] [stdout]     |
[INFO] [stdout] 125 | let priv_key =   "-----BEGIN PRIVATE KEY-----
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/user.rs - user::Bot::login (line 176) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/user.rs:177:1
[INFO] [stdout]     |
[INFO] [stdout] 177 | let priv_key =   "-----BEGIN PRIVATE KEY-----
[INFO] [stdout]     | ^^^
[INFO] [stdout]     | |
[INFO] [stdout]     | `let` cannot be used for global variables
[INFO] [stdout]     | help: consider using `static` or `const` instead of `let`
[INFO] [stdout]     |
[INFO] [stdout]     = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/user.rs - user::Bot::get_wallets (line 291) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:296:27
[INFO] [stdout]     |
[INFO] [stdout] 296 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId`
[INFO] [stdout]    --> src/user.rs:298:15
[INFO] [stdout]     |
[INFO] [stdout] 298 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 291 + use crypdefi_bot_sdk::user::UserId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bot`
[INFO] [stdout]    --> src/user.rs:299:11
[INFO] [stdout]     |
[INFO] [stdout] 299 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |           ^^^ use of undeclared type `Bot`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 299 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 299 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 291 + use crypdefi_bot_sdk::user::Bot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:299:45
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_291_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 299 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:301:33
[INFO] [stdout]     |
[INFO] [stdout] 291 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_291_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 301 | let wallets = bot.get_wallets().await.unwrap();
[INFO] [stdout]     |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/user.rs - user::Bot::refresh (line 240) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:245:27
[INFO] [stdout]     |
[INFO] [stdout] 245 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId`
[INFO] [stdout]    --> src/user.rs:247:15
[INFO] [stdout]     |
[INFO] [stdout] 247 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 240 + use crypdefi_bot_sdk::user::UserId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bot`
[INFO] [stdout]    --> src/user.rs:248:11
[INFO] [stdout]     |
[INFO] [stdout] 248 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |           ^^^ use of undeclared type `Bot`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 248 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 248 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 240 + use crypdefi_bot_sdk::user::Bot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:248:45
[INFO] [stdout]     |
[INFO] [stdout] 240 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_240_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 248 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:252:19
[INFO] [stdout]     |
[INFO] [stdout] 240 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_240_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 252 | bot.refresh(true).await.unwrap()
[INFO] [stdout]     |                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/user.rs - user::Bot::logout (line 359) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:364:27
[INFO] [stdout]     |
[INFO] [stdout] 364 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId`
[INFO] [stdout]    --> src/user.rs:366:15
[INFO] [stdout]     |
[INFO] [stdout] 366 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 359 + use crypdefi_bot_sdk::user::UserId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bot`
[INFO] [stdout]    --> src/user.rs:367:11
[INFO] [stdout]     |
[INFO] [stdout] 367 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |           ^^^ use of undeclared type `Bot`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 367 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 367 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 359 + use crypdefi_bot_sdk::user::Bot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:367:45
[INFO] [stdout]     |
[INFO] [stdout] 359 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_359_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 367 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:369:14
[INFO] [stdout]     |
[INFO] [stdout] 359 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_359_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 369 | bot.logout().await.unwrap();
[INFO] [stdout]     |              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/user.rs - user::Bot::auth_expiration_unix_time (line 403) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:408:27
[INFO] [stdout]     |
[INFO] [stdout] 408 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId`
[INFO] [stdout]    --> src/user.rs:410:15
[INFO] [stdout]     |
[INFO] [stdout] 410 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 403 + use crypdefi_bot_sdk::user::UserId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bot`
[INFO] [stdout]    --> src/user.rs:411:11
[INFO] [stdout]     |
[INFO] [stdout] 411 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |           ^^^ use of undeclared type `Bot`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 411 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 411 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 403 + use crypdefi_bot_sdk::user::Bot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:411:45
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_403_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 411 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:413:33
[INFO] [stdout]     |
[INFO] [stdout] 403 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_403_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 413 | bot.auth_expiration_unix_time().await;
[INFO] [stdout]     |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/user.rs - user::Bot::sign_transaction (line 321) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:326:27
[INFO] [stdout]     |
[INFO] [stdout] 326 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UserId`
[INFO] [stdout]    --> src/user.rs:328:15
[INFO] [stdout]     |
[INFO] [stdout] 328 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 321 + use crypdefi_bot_sdk::user::UserId;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bot`
[INFO] [stdout]    --> src/user.rs:329:11
[INFO] [stdout]     |
[INFO] [stdout] 329 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |           ^^^ use of undeclared type `Bot`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 329 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 329 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 321 + use crypdefi_bot_sdk::user::Bot;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]    --> src/user.rs:334:56
[INFO] [stdout]     |
[INFO] [stdout] 334 | let signature = bot.sign_transaction(wallet_id, crate::http::SignatureRequestKind::Transaction, transaction_hex).await.unwrap();
[INFO] [stdout]     |                                                        ^^^^ unresolved import
[INFO] [stdout]     |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]     |
[INFO] [stdout] 334 | let signature = bot.sign_transaction(wallet_id, crate::crypdefi_bot_sdk::http::SignatureRequestKind::Transaction, transaction_hex).await.unwrap();
[INFO] [stdout]     |                                                        ++++++++++++++++++
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]     |
[INFO] [stdout] 321 + use crypdefi_bot_sdk::http::SignatureRequestKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `SignatureRequestKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 334 - let signature = bot.sign_transaction(wallet_id, crate::http::SignatureRequestKind::Transaction, transaction_hex).await.unwrap();
[INFO] [stdout] 334 + let signature = bot.sign_transaction(wallet_id, SignatureRequestKind::Transaction, transaction_hex).await.unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:329:45
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_321_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 329 | let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |                                             ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:334:114
[INFO] [stdout]     |
[INFO] [stdout] 321 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_321_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 334 | let signature = bot.sign_transaction(wallet_id, crate::http::SignatureRequestKind::Transaction, transaction_hex).await.unwrap();
[INFO] [stdout]     |                                                                                                                  ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/user.rs - user::Bot::auth_expiration_unix_time (line 403)
[INFO] [stdout]     src/user.rs - user::Bot::get_wallets (line 291)
[INFO] [stdout]     src/user.rs - user::Bot::login (line 176)
[INFO] [stdout]     src/user.rs - user::Bot::logout (line 359)
[INFO] [stdout]     src/user.rs - user::Bot::new (line 124)
[INFO] [stdout]     src/user.rs - user::Bot::refresh (line 240)
[INFO] [stdout]     src/user.rs - user::Bot::sign_transaction (line 321)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.23s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b974354b5f9d07dd2c4894212a0751f6d979f4c005b5d2b6e69007cf68beda16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b974354b5f9d07dd2c4894212a0751f6d979f4c005b5d2b6e69007cf68beda16", kill_on_drop: false }`
[INFO] [stdout] b974354b5f9d07dd2c4894212a0751f6d979f4c005b5d2b6e69007cf68beda16
