[INFO] fetching crate tqsdk-rs 0.1.1... [INFO] testing tqsdk-rs-0.1.1 against try#bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b for pr-154756 [INFO] extracting crate tqsdk-rs 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tqsdk-rs 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tqsdk-rs 0.1.1 [INFO] tweaked toml for crates.io crate tqsdk-rs 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tqsdk-rs 0.1.1 on toolchain bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tqsdk-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" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cddc8f2c1137d2dcfe39b59eac27dacc0e5e19e816d8d28b84eb202fad362cca [INFO] running `Command { std: "docker" "start" "-a" "cddc8f2c1137d2dcfe39b59eac27dacc0e5e19e816d8d28b84eb202fad362cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cddc8f2c1137d2dcfe39b59eac27dacc0e5e19e816d8d28b84eb202fad362cca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddc8f2c1137d2dcfe39b59eac27dacc0e5e19e816d8d28b84eb202fad362cca", kill_on_drop: false }` [INFO] [stdout] cddc8f2c1137d2dcfe39b59eac27dacc0e5e19e816d8d28b84eb202fad362cca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a6b9aad7de2f48f67de2e7f0f2cad2cf9edf490a9bc52fde674c5d6fe27873 [INFO] running `Command { std: "docker" "start" "-a" "37a6b9aad7de2f48f67de2e7f0f2cad2cf9edf490a9bc52fde674c5d6fe27873", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.7 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling zlib-rs v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling libz-rs-sys v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling compression-core v0.4.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling compression-codecs v0.4.33 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling async-compression v0.4.34 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling pem v3.0.6 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling jsonwebtoken v10.2.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling yawc v0.2.7 [INFO] [stderr] Compiling tqsdk-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "37a6b9aad7de2f48f67de2e7f0f2cad2cf9edf490a9bc52fde674c5d6fe27873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a6b9aad7de2f48f67de2e7f0f2cad2cf9edf490a9bc52fde674c5d6fe27873", kill_on_drop: false }` [INFO] [stdout] 37a6b9aad7de2f48f67de2e7f0f2cad2cf9edf490a9bc52fde674c5d6fe27873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ef45f37922f9780a1617737e40621275f03fec7470119938117908e6aef832f [INFO] running `Command { std: "docker" "start" "-a" "8ef45f37922f9780a1617737e40621275f03fec7470119938117908e6aef832f", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling tracing-appender v0.2.4 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling async-compression v0.4.34 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tower-http v0.6.7 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.18 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling yawc v0.2.7 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling tqsdk-rs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `history_kline_with_focus_example` is never used [INFO] [stdout] --> examples/history.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | async fn history_kline_with_focus_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quote_subscription_example` is never used [INFO] [stdout] --> examples/quote.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | async fn quote_subscription_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multi_kline_subscription_example` is never used [INFO] [stdout] --> examples/quote.rs:229:10 [INFO] [stdout] | [INFO] [stdout] 229 | async fn multi_kline_subscription_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tick_subscription_example` is never used [INFO] [stdout] --> examples/quote.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | async fn tick_subscription_example() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.50s [INFO] running `Command { std: "docker" "inspect" "8ef45f37922f9780a1617737e40621275f03fec7470119938117908e6aef832f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef45f37922f9780a1617737e40621275f03fec7470119938117908e6aef832f", kill_on_drop: false }` [INFO] [stdout] 8ef45f37922f9780a1617737e40621275f03fec7470119938117908e6aef832f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 064fce2643d741fec12f09f023019623c3e1e8be6ed1146c35650eee79be2f76 [INFO] running `Command { std: "docker" "start" "-a" "064fce2643d741fec12f09f023019623c3e1e8be6ed1146c35650eee79be2f76", kill_on_drop: false }` [INFO] [stderr] warning: function `quote_subscription_example` is never used [INFO] [stderr] --> examples/quote.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | async fn quote_subscription_example() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `multi_kline_subscription_example` is never used [INFO] [stderr] --> examples/quote.rs:229:10 [INFO] [stderr] | [INFO] [stderr] 229 | async fn multi_kline_subscription_example() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `tick_subscription_example` is never used [INFO] [stderr] --> examples/quote.rs:313:10 [INFO] [stderr] | [INFO] [stderr] 313 | async fn tick_subscription_example() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `history_kline_with_focus_example` is never used [INFO] [stderr] --> examples/history.rs:163:10 [INFO] [stderr] | [INFO] [stderr] 163 | async fn history_kline_with_focus_example() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tqsdk-rs` (example "quote") generated 3 warnings [INFO] [stderr] warning: `tqsdk-rs` (example "history") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tqsdk_rs-94f560e99dbb9e1f) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test utils::tests::test_datetime_conversion ... ok [INFO] [stdout] test logger::tests::test_log_level_from_str ... ok [INFO] [stdout] test datamanager::tests::test_merge_data ... ok [INFO] [stdout] test types::tests::test_quote_deserialize_with_nulls ... ok [INFO] [stdout] test datamanager::tests::test_is_changing ... ok [INFO] [stdout] test utils::tests::test_get_exchange ... ok [INFO] [stdout] test utils::tests::test_split_symbol ... ok [INFO] [stdout] test utils::tests::test_generate_chart_id ... ok [INFO] [stdout] test utils::tests::test_is_nan_string ... ok [INFO] [stdout] test logger::tests::test_log_level_as_str ... ok [INFO] [stderr] Doc-tests tqsdk_rs [INFO] [stdout] test auth::tests::test_tq_auth_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test src/client.rs - client::Client::get_auth (line 285) - compile ... ok [INFO] [stdout] test src/client.rs - client::ClientBuilder::new (line 58) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::ClientBuilder::auth (line 108) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 13) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::create_trade_session (line 336) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::new (line 180) - compile ... FAILED [INFO] [stdout] test src/client.rs - client::Client::set_auth (line 259) - compile ... ok [INFO] [stdout] test src/client.rs - client::Client::builder (line 203) - compile ... ok [INFO] [stdout] test src/utils.rs - utils::fetch_json (line 29) - compile ... ok [INFO] [stdout] test src/logger.rs - logger::init_logger (line 116) - compile ... ok [INFO] [stdout] test src/logger.rs - logger::create_logger_layer (line 63) - compile ... ok [INFO] [stdout] test src/utils.rs - utils::split_symbol (line 123) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::ClientBuilder::new (line 58) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ClientBuilder` in this scope [INFO] [stdout] --> src/client.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | let client = ClientBuilder::new("username", "password") [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ClientBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 57 + use reqwest::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] 57 + use tqsdk_rs::client::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0596]: cannot borrow `client` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | client.init_market().await?; [INFO] [stdout] | ^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 20 | let mut client = Client::new("username", "password", ClientConfig::default()).await?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::Client::new (line 180) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `ClientBuilder` in this scope [INFO] [stdout] --> src/client.rs:184:14 [INFO] [stdout] | [INFO] [stdout] 184 | let client = ClientBuilder::new("username", "password") [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ClientBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 179 + use reqwest::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] 179 + use tqsdk_rs::client::ClientBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::Client::new (line 180) [INFO] [stdout] src/client.rs - client::ClientBuilder::new (line 58) [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.71s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "064fce2643d741fec12f09f023019623c3e1e8be6ed1146c35650eee79be2f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "064fce2643d741fec12f09f023019623c3e1e8be6ed1146c35650eee79be2f76", kill_on_drop: false }` [INFO] [stdout] 064fce2643d741fec12f09f023019623c3e1e8be6ed1146c35650eee79be2f76