[INFO] fetching crate okx-rs 0.1.1...
[INFO] checking okx-rs-0.1.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate okx-rs 0.1.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate okx-rs 0.1.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml
[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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bytecheck v0.6.9
[INFO] [stderr]   Downloaded bytecheck_derive v0.6.9
[INFO] [stderr]   Downloaded serde_with v3.8.1
[INFO] [stderr]   Downloaded rend v0.3.6
[INFO] [stderr]   Downloaded rkyv_derive v0.7.39
[INFO] [stderr]   Downloaded serde_with_macros v3.8.1
[INFO] [stderr]   Downloaded serde_qs v0.10.1
[INFO] [stderr]   Downloaded rkyv v0.7.39
[INFO] [stderr]   Downloaded rust_decimal v1.27.0
[INFO] [stderr]   Downloaded object v0.30.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a53960529c9c84a82f55d0e17fd52298cb5ff3ccde38a46140e1bcecc0409ff
[INFO] running `Command { std: "docker" "start" "-a" "0a53960529c9c84a82f55d0e17fd52298cb5ff3ccde38a46140e1bcecc0409ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a53960529c9c84a82f55d0e17fd52298cb5ff3ccde38a46140e1bcecc0409ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a53960529c9c84a82f55d0e17fd52298cb5ff3ccde38a46140e1bcecc0409ff", kill_on_drop: false }`
[INFO] [stdout] 0a53960529c9c84a82f55d0e17fd52298cb5ff3ccde38a46140e1bcecc0409ff
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 75d19e0cd7d87e19bbe4d924c5060f68831f85b5244dbbd26255b80b2e702a89
[INFO] running `Command { std: "docker" "start" "-a" "75d19e0cd7d87e19bbe4d924c5060f68831f85b5244dbbd26255b80b2e702a89", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling cc v1.0.78
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking bytes v1.3.0
[INFO] [stderr]     Checking itoa v1.0.5
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]    Compiling tokio v1.23.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling indexmap v1.9.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking subtle v2.5.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling thiserror v1.0.38
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking blobby v0.3.1
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling serde_json v1.0.91
[INFO] [stderr]     Checking gimli v0.27.0
[INFO] [stderr]     Checking ryu v1.0.12
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking object v0.30.0
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]    Compiling anyhow v1.0.68
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking base64 v0.21.7
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]    Compiling const_format_proc_macros v0.2.32
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]     Checking ipnet v2.7.0
[INFO] [stderr]     Checking cpufeatures v0.2.12
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking rustls-pemfile v1.0.4
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking const_format v0.2.32
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking 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]     Checking tokio-util v0.7.4
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]     Checking 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]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking hyper v0.14.23
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_with v3.8.1
[INFO] [stderr]     Checking serde_qs v0.10.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking okx-rs v0.1.1 (/opt/rustwide/workdir)
[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 undeclared crate or module `tungstenite`
[INFO] [stdout] 
[INFO] [stdout] 
[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] 15 | pub mod testkit;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] note: the item is gated behind the `example` feature
[INFO] [stdout]   --> /opt/rustwide/workdir/src/api/v5/mod.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[cfg(feature = "example")]
[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] 15 | pub mod testkit;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] note: the item is gated behind the `example` feature
[INFO] [stdout]   --> /opt/rustwide/workdir/src/api/v5/mod.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[cfg(feature = "example")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> examples/rest_get_funding_balances.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio`
[INFO] [stdout]  --> examples/rest_get_deposits.rs:4:3
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[tokio::main]
[INFO] [stdout]   |   ^^^^^ use of undeclared crate or module `tokio`
[INFO] [stdout] 
[INFO] [stdout] 
[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 undeclared crate or module `tungstenite`
[INFO] [stdout] 
[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[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] 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] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "rest_get_funding_balances") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `okx-rs` (example "rest_get_deposits") due to 3 previous errors
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `tungstenite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `tungstenite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `env_logger`
[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] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env_logger`
[INFO] [stdout]   --> examples/ws_account.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     env_logger::init();
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared crate or module `env_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `tungstenite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `okx-rs` (example "ws_instruments") due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[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 "rest_get_instruments") due to 1 previous error
[INFO] [stderr] error: could not compile `okx-rs` (example "ws_books") due to 1 previous error
[INFO] [stderr] error: could not compile `okx-rs` (example "ws_account") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "75d19e0cd7d87e19bbe4d924c5060f68831f85b5244dbbd26255b80b2e702a89", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75d19e0cd7d87e19bbe4d924c5060f68831f85b5244dbbd26255b80b2e702a89", kill_on_drop: false }`
[INFO] [stdout] 75d19e0cd7d87e19bbe4d924c5060f68831f85b5244dbbd26255b80b2e702a89
