[INFO] cloning repository https://github.com/JochemCrypDefi/crypdefi-rust-sdk
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JochemCrypDefi/crypdefi-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJochemCrypDefi%2Fcrypdefi-rust-sdk", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJochemCrypDefi%2Fcrypdefi-rust-sdk'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1781538c7e6b49621e40e40df30db9b623602aee
[INFO] testing JochemCrypDefi/crypdefi-rust-sdk against 1.97.0-beta.6 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJochemCrypDefi%2Fcrypdefi-rust-sdk" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JochemCrypDefi/crypdefi-rust-sdk
[INFO] finished tweaking git repo https://github.com/JochemCrypDefi/crypdefi-rust-sdk
[INFO] tweaked toml for git repo https://github.com/JochemCrypDefi/crypdefi-rust-sdk written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JochemCrypDefi/crypdefi-rust-sdk on toolchain 1.97.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JochemCrypDefi/crypdefi-rust-sdk 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.10
[INFO] [stderr]   Downloaded secp256k1 v0.31.1
[INFO] [stderr]   Downloaded bitcoin-io v0.1.3
[INFO] [stderr]   Downloaded miniz_oxide v0.8.5
[INFO] [stderr]   Downloaded icu_normalizer_data v1.5.1
[INFO] [stderr]   Downloaded litemap v0.7.5
[INFO] [stderr]   Downloaded base64ct v1.7.3
[INFO] [stderr]   Downloaded pem v3.0.5
[INFO] [stderr]   Downloaded bitcoin_hashes v0.14.0
[INFO] [stderr]   Downloaded hex-conservative v0.2.1
[INFO] [stderr]   Downloaded icu_locid_transform_data v1.5.1
[INFO] [stderr]   Downloaded const-hex v1.14.1
[INFO] [stderr]   Downloaded rustls-pki-types v1.11.0
[INFO] [stderr]   Downloaded clap v4.5.44
[INFO] [stderr]   Downloaded openssl-sys v0.9.106
[INFO] [stderr]   Downloaded indexmap v2.8.0
[INFO] [stderr]   Downloaded tokio-util v0.7.14
[INFO] [stderr]   Downloaded h2 v0.4.8
[INFO] [stderr]   Downloaded proptest v1.7.0
[INFO] [stderr]   Downloaded icu_properties_data v1.5.1
[INFO] [stderr]   Downloaded openssl v0.10.71
[INFO] [stderr]   Downloaded rustls v0.23.25
[INFO] [stderr]   Downloaded rustix v1.0.5
[INFO] [stderr]   Downloaded libc v0.2.171
[INFO] [stderr]   Downloaded tokio v1.44.1
[INFO] [stderr]   Downloaded rustls-webpki v0.103.1
[INFO] [stderr]   Downloaded secp256k1-sys v0.11.0
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2
[INFO] running `Command { std: "docker" "start" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling cc v1.2.17
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling base64ct v1.7.3
[INFO] [stderr]    Compiling writeable v0.5.5
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling litemap v0.7.5
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling openssl-sys v0.9.106
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling openssl v0.10.71
[INFO] [stderr]    Compiling hashbrown v0.15.2
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling indexmap v2.8.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling ff v0.13.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling write16 v1.0.0
[INFO] [stderr]    Compiling utf16_iter v1.0.5
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling secp256k1-sys v0.11.0
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling pem v3.0.5
[INFO] [stderr]    Compiling const-hex v1.14.1
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling p256 v0.13.2
[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 tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling tokio v1.44.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.7.5
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]    Compiling secp256k1 v0.31.1
[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 serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling h2 v0.4.8
[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.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.61s
[INFO] running `Command { std: "docker" "inspect" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling clap_builder v4.5.44
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.5.44
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling reqwest v0.12.15
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling crypdefi-bot-sdk v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 15.18s
[INFO] running `Command { std: "docker" "inspect" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crypdefi_bot_sdk-7c52413d9c2aeed9)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[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. 2 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 160) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::login (line 209) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::auth_expiration_unix_time (line 495) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::refresh (line 279) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::logout (line 422) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::get_wallets (line 341) ... FAILED
[INFO] [stdout] test src/user.rs - user::Bot::sign_transaction (line 373) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/user.rs - user::Bot::new (line 160) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/user.rs:161:1
[INFO] [stdout]     |
[INFO] [stdout] 161 | 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 209) stdout ----
[INFO] [stdout] error: expected item, found keyword `let`
[INFO] [stdout]    --> src/user.rs:210:1
[INFO] [stdout]     |
[INFO] [stdout] 210 | 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::auth_expiration_unix_time (line 495) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:500:27
[INFO] [stdout]     |
[INFO] [stdout] 500 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:503:45
[INFO] [stdout]     |
[INFO] [stdout] 495 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_495_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 503 | 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:505:33
[INFO] [stdout]     |
[INFO] [stdout] 495 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_495_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 505 | bot.auth_expiration_unix_time().await;
[INFO] [stdout]     |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserId` in this scope
[INFO] [stdout]    --> src/user.rs:502:15
[INFO] [stdout]     |
[INFO] [stdout] 502 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Bot` in this scope
[INFO] [stdout]    --> src/user.rs:503:11
[INFO] [stdout]     |
[INFO] [stdout] 503 | 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] 503 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 503 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[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 279) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:287:45
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_279_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 287 | 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:291:19
[INFO] [stdout]     |
[INFO] [stdout] 279 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_279_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 291 | bot.refresh(true).await.unwrap()
[INFO] [stdout]     |                   ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserId` in this scope
[INFO] [stdout]    --> src/user.rs:286:15
[INFO] [stdout]     |
[INFO] [stdout] 286 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Bot` in this scope
[INFO] [stdout]    --> src/user.rs:287:11
[INFO] [stdout]     |
[INFO] [stdout] 287 | 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] 287 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 287 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[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 422) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:427:27
[INFO] [stdout]     |
[INFO] [stdout] 427 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:430:45
[INFO] [stdout]     |
[INFO] [stdout] 422 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_422_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 430 | 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:432:14
[INFO] [stdout]     |
[INFO] [stdout] 422 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_422_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 432 | bot.logout().await.unwrap();
[INFO] [stdout]     |              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserId` in this scope
[INFO] [stdout]    --> src/user.rs:429:15
[INFO] [stdout]     |
[INFO] [stdout] 429 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Bot` in this scope
[INFO] [stdout]    --> src/user.rs:430:11
[INFO] [stdout]     |
[INFO] [stdout] 430 | 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] 430 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 430 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[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::get_wallets (line 341) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:346:27
[INFO] [stdout]     |
[INFO] [stdout] 346 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:349:45
[INFO] [stdout]     |
[INFO] [stdout] 341 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_341_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 349 | 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:351:33
[INFO] [stdout]     |
[INFO] [stdout] 341 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_341_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 351 | let wallets = bot.get_wallets().await.unwrap();
[INFO] [stdout]     |                                 ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `UserId` in this scope
[INFO] [stdout]    --> src/user.rs:348:15
[INFO] [stdout]     |
[INFO] [stdout] 348 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Bot` in this scope
[INFO] [stdout]    --> src/user.rs:349:11
[INFO] [stdout]     |
[INFO] [stdout] 349 | 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] 349 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 349 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[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 373) stdout ----
[INFO] [stdout] error: expected `;`, found `,`
[INFO] [stdout]    --> src/user.rs:378:27
[INFO] [stdout]     |
[INFO] [stdout] 378 | -----END PRIVATE KEY-----",
[INFO] [stdout]     |                           ^ help: change this to `;`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `http` in `crate`
[INFO] [stdout]    --> src/user.rs:386:56
[INFO] [stdout]     |
[INFO] [stdout] 386 | let signature = bot.sign_transaction(wallet_id, crate::http::SignatureRequestKind::Transaction, transaction_hex).await.unwrap();
[INFO] [stdout]     |                                                        ^^^^ could not find `http` in the crate root
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/user.rs:381:45
[INFO] [stdout]     |
[INFO] [stdout] 373 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_373_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 381 | 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:386:114
[INFO] [stdout]     |
[INFO] [stdout] 373 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_user_rs_373_0() {
[INFO] [stdout]     |                                      ------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 386 | 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[E0433]: cannot find type `UserId` in this scope
[INFO] [stdout]    --> src/user.rs:380:15
[INFO] [stdout]     |
[INFO] [stdout] 380 | let user_id = UserId::new(String::from("us-0000000000-1d09b044f88074ab7cfd"))?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `UserId`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Bot` in this scope
[INFO] [stdout]    --> src/user.rs:381:11
[INFO] [stdout]     |
[INFO] [stdout] 381 | 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] 381 - let bot = Bot::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout] 381 + let bot = Box::new(priv_key, user_id, None).await.unwrap();
[INFO] [stdout]     |
[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 495)
[INFO] [stdout]     src/user.rs - user::Bot::get_wallets (line 341)
[INFO] [stdout]     src/user.rs - user::Bot::login (line 209)
[INFO] [stdout]     src/user.rs - user::Bot::logout (line 422)
[INFO] [stdout]     src/user.rs - user::Bot::new (line 160)
[INFO] [stdout]     src/user.rs - user::Bot::refresh (line 279)
[INFO] [stdout]     src/user.rs - user::Bot::sign_transaction (line 373)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.24s; merged doctests compilation took 0.12s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2", kill_on_drop: false }`
[INFO] [stdout] 6cc4925071ca5b3c1698624af22b6e6aefe9dfc0b24e95a11d743d2bb4abc7d2
