[INFO] fetching crate okx-rs 0.1.1...
[INFO] testing okx-rs-0.1.1 against 1.91.0 for beta-1.92-2
[INFO] extracting crate okx-rs 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml
[INFO] started tweaking crates.io crate okx-rs 0.1.1
[INFO] finished tweaking crates.io crate okx-rs 0.1.1
[INFO] tweaked toml for crates.io crate okx-rs 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate okx-rs 0.1.1 on toolchain 1.91.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate okx-rs 0.1.1 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.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded data-encoding v2.5.0
[INFO] [stderr]   Downloaded tokio-macros v1.8.2
[INFO] [stderr]   Downloaded value-trait v0.8.1
[INFO] [stderr]   Downloaded bytecheck v0.6.9
[INFO] [stderr]   Downloaded pkg-config v0.3.26
[INFO] [stderr]   Downloaded ipnet v2.7.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.80
[INFO] [stderr]   Downloaded bytecheck_derive v0.6.9
[INFO] [stderr]   Downloaded serde_with_macros v3.8.1
[INFO] [stderr]   Downloaded lexical-parse-integer v0.8.6
[INFO] [stderr]   Downloaded ref-cast-impl v1.0.22
[INFO] [stderr]   Downloaded const_format_proc_macros v0.2.32
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.33
[INFO] [stderr]   Downloaded anyhow v1.0.68
[INFO] [stderr]   Downloaded toml v0.5.10
[INFO] [stderr]   Downloaded rkyv v0.7.39
[INFO] [stderr]   Downloaded const_format v0.2.32
[INFO] [stderr]   Downloaded rust_decimal v1.27.0
[INFO] [stderr]   Downloaded zerocopy v0.7.32
[INFO] [stderr]   Downloaded hyper v0.14.23
[INFO] [stderr]   Downloaded serde_with v3.8.1
[INFO] [stderr]   Downloaded openssl v0.10.45
[INFO] [stderr]   Downloaded lexical-parse-float v0.8.5
[INFO] [stderr]   Downloaded syn v2.0.55
[INFO] [stderr]   Downloaded lexical-write-float v0.8.5
[INFO] [stderr]   Downloaded simd-json v0.13.9
[INFO] [stderr]   Downloaded object v0.30.0
[INFO] [stderr]   Downloaded darling_core v0.20.8
[INFO] [stderr]   Downloaded lexical-util v0.8.5
[INFO] [stderr]   Downloaded zerocopy-derive v0.7.32
[INFO] [stderr]   Downloaded serde v1.0.200
[INFO] [stderr]   Downloaded rend v0.3.6
[INFO] [stderr]   Downloaded lexical-write-integer v0.8.5
[INFO] [stderr]   Downloaded lexical-core v0.8.5
[INFO] [stderr]   Downloaded ahash v0.8.6
[INFO] [stderr]   Downloaded serde_derive v1.0.200
[INFO] [stderr]   Downloaded serde_qs v0.10.1
[INFO] [stderr]   Downloaded darling v0.20.8
[INFO] [stderr]   Downloaded halfbrown v0.2.5
[INFO] [stderr]   Downloaded rkyv_derive v0.7.39
[INFO] [stderr]   Downloaded ref-cast v1.0.22
[INFO] [stderr]   Downloaded tokio v1.23.0
[INFO] [stderr]   Downloaded simdutf8 v0.1.4
[INFO] [stderr]   Downloaded libc v0.2.153
[INFO] [stderr]   Downloaded darling_macro v0.20.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bb4badf411fa7cb28d7b9446d684e1bcf146e77061cfda7033ad5490cb1d190a
[INFO] running `Command { std: "docker" "start" "-a" "bb4badf411fa7cb28d7b9446d684e1bcf146e77061cfda7033ad5490cb1d190a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb4badf411fa7cb28d7b9446d684e1bcf146e77061cfda7033ad5490cb1d190a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb4badf411fa7cb28d7b9446d684e1bcf146e77061cfda7033ad5490cb1d190a", kill_on_drop: false }`
[INFO] [stdout] bb4badf411fa7cb28d7b9446d684e1bcf146e77061cfda7033ad5490cb1d190a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 793721c0fa72c12cd9647cab6f34c3da72cc69ed9c7154fa87e3d549e0b67fb2
[INFO] running `Command { std: "docker" "start" "-a" "793721c0fa72c12cd9647cab6f34c3da72cc69ed9c7154fa87e3d549e0b67fb2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling log v0.4.21
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling bytes v1.3.0
[INFO] [stderr]    Compiling itoa v1.0.5
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.12
[INFO] [stderr]    Compiling gimli v0.27.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling blobby v0.3.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling object v0.30.0
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling iana-time-zone v0.1.53
[INFO] [stderr]    Compiling ipnet v2.7.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling socket2 v0.4.7
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.32
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling const_format v0.2.32
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling addr2line v0.19.0
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling darling_core v0.20.8
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling darling_macro v0.20.8
[INFO] [stderr]    Compiling darling v0.20.8
[INFO] [stderr]    Compiling serde_with_macros v3.8.1
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_with v3.8.1
[INFO] [stderr]    Compiling serde_qs v0.10.1
[INFO] [stderr]    Compiling hyper v0.14.23
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling okx-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/api/v5/model.rs:1173:17
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     pub fn iter(&self) -> impl Iterator<Item = &Level> + '_ {
[INFO] [stdout]      |                 ^^^^^                          ^^^^^^    ^^ the same lifetime is elided here
[INFO] [stdout]      |                 |                              ||
[INFO] [stdout]      |                 |                              |the same lifetime is hidden here
[INFO] [stdout]      |                 |                              the same lifetime is elided here
[INFO] [stdout]      |                 the lifetime is elided here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     pub fn iter(&self) -> impl Iterator<Item = &Level<'_>> + '_ {
[INFO] [stdout]      |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.09s
[INFO] running `Command { std: "docker" "inspect" "793721c0fa72c12cd9647cab6f34c3da72cc69ed9c7154fa87e3d549e0b67fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "793721c0fa72c12cd9647cab6f34c3da72cc69ed9c7154fa87e3d549e0b67fb2", kill_on_drop: false }`
[INFO] [stdout] 793721c0fa72c12cd9647cab6f34c3da72cc69ed9c7154fa87e3d549e0b67fb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa44cdc97da1b8c8f9f8d43986b2c1ecca61f5f78ec8006ad4dc0214aaac8eb7
[INFO] running `Command { std: "docker" "start" "-a" "fa44cdc97da1b8c8f9f8d43986b2c1ecca61f5f78ec8006ad4dc0214aaac8eb7", kill_on_drop: false }`
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/api/v5/model.rs:1173:17
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     pub fn iter(&self) -> impl Iterator<Item = &Level> + '_ {
[INFO] [stdout]      |                 ^^^^^                          ^^^^^^    ^^ the same lifetime is elided here
[INFO] [stdout]      |                 |                              ||
[INFO] [stdout]      |                 |                              |the same lifetime is hidden here
[INFO] [stdout]      |                 |                              the same lifetime is elided here
[INFO] [stdout]      |                 the lifetime is elided here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     pub fn iter(&self) -> impl Iterator<Item = &Level<'_>> + '_ {
[INFO] [stdout]      |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling okx-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `okx_rs::api::v5::testkit`
[INFO] [stdout]   --> examples/rest_get_deposits.rs:1:22
[INFO] [stdout]    |
[INFO] [stdout]  1 | use okx_rs::api::v5::testkit::with_env_private_client;
[INFO] [stdout]    |                      ^^^^^^^ could not find `testkit` in `v5`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/api/v5/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[cfg(feature = "example")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `example` feature
[INFO] [stdout] 15 | pub mod testkit;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `okx_rs::api::v5::testkit`
[INFO] [stdout]   --> examples/rest_get_funding_balances.rs:2:22
[INFO] [stdout]    |
[INFO] [stdout]  2 | use okx_rs::api::v5::testkit::with_env_private_client;
[INFO] [stdout]    |                      ^^^^^^^ could not find `testkit` in `v5`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> /opt/rustwide/workdir/src/api/v5/mod.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[cfg(feature = "example")]
[INFO] [stdout]    |       ------------------- the item is gated behind the `example` feature
[INFO] [stdout] 15 | pub mod testkit;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> examples/rest_get_funding_balances.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]  --> examples/rest_get_deposits.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> examples/rest_get_deposits.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]  --> examples/rest_get_funding_balances.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | async fn main() {
[INFO] [stdout]   | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]  --> examples/rest_get_instruments.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     env_logger::try_init().unwrap();
[INFO] [stdout]   |     ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "rest_get_deposits") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `tungstenite`
[INFO] [stdout]  --> examples/ws_instruments.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tungstenite::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "rest_get_funding_balances") due to 3 previous errors
[INFO] [stdout] error[E0432]: unresolved import `tungstenite`
[INFO] [stdout]  --> examples/ws_account.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use tungstenite::Message;
[INFO] [stdout]   |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "rest_get_instruments") due to 1 previous error
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]  --> examples/ws_books.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     let (mut client, response) = tungstenite::connect(Production.public_websocket()).unwrap();
[INFO] [stdout]   |                                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]   --> examples/ws_instruments.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         tungstenite::connect("wss://ws.okx.com:8443/ws/v5/public").unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "ws_books") due to 1 previous error
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "ws_instruments") due to 2 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]   --> examples/ws_account.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     env_logger::init();
[INFO] [stdout]    |     ^^^^^^^^^^ use of unresolved module or unlinked crate `env_logger`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env_logger`, use `cargo add env_logger` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]   --> examples/ws_account.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let (mut client, response) = tungstenite::connect(DemoTrading.private_websocket()).unwrap();
[INFO] [stdout]    |                                  ^^^^^^^^^^^ use of unresolved module or unlinked crate `tungstenite`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `tungstenite`, use `cargo add tungstenite` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "ws_account") due to 3 previous errors
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]     --> src/api/v5/model.rs:1173:17
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     pub fn iter(&self) -> impl Iterator<Item = &Level> + '_ {
[INFO] [stdout]      |                 ^^^^^                          ^^^^^^    ^^ the same lifetime is elided here
[INFO] [stdout]      |                 |                              ||
[INFO] [stdout]      |                 |                              |the same lifetime is hidden here
[INFO] [stdout]      |                 |                              the same lifetime is elided here
[INFO] [stdout]      |                 the lifetime is elided here
[INFO] [stdout]      |
[INFO] [stdout]      = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]      |
[INFO] [stdout] 1173 |     pub fn iter(&self) -> impl Iterator<Item = &Level<'_>> + '_ {
[INFO] [stdout]      |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "fa44cdc97da1b8c8f9f8d43986b2c1ecca61f5f78ec8006ad4dc0214aaac8eb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa44cdc97da1b8c8f9f8d43986b2c1ecca61f5f78ec8006ad4dc0214aaac8eb7", kill_on_drop: false }`
[INFO] [stdout] fa44cdc97da1b8c8f9f8d43986b2c1ecca61f5f78ec8006ad4dc0214aaac8eb7
