[INFO] fetching crate upstox-rust-sdk 1.0.1... [INFO] testing upstox-rust-sdk-1.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate upstox-rust-sdk 1.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate upstox-rust-sdk 1.0.1 [INFO] finished tweaking crates.io crate upstox-rust-sdk 1.0.1 [INFO] tweaked toml for crates.io crate upstox-rust-sdk 1.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate upstox-rust-sdk 1.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate upstox-rust-sdk 1.0.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba27b70780c646f30d40adeed66d1c026cf922fb00ce211721eccb27e0802a93 [INFO] running `Command { std: "docker" "start" "-a" "ba27b70780c646f30d40adeed66d1c026cf922fb00ce211721eccb27e0802a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba27b70780c646f30d40adeed66d1c026cf922fb00ce211721eccb27e0802a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba27b70780c646f30d40adeed66d1c026cf922fb00ce211721eccb27e0802a93", kill_on_drop: false }` [INFO] [stdout] ba27b70780c646f30d40adeed66d1c026cf922fb00ce211721eccb27e0802a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc2338e40b18eae90aecd98d18e03dd619f7210db3571dd3d551d88e315be5ae [INFO] running `Command { std: "docker" "start" "-a" "fc2338e40b18eae90aecd98d18e03dd619f7210db3571dd3d551d88e315be5ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling icu_segmenter_data v1.5.1 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling web_atoms v0.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling selectors v0.31.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.14.0 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling croner v2.1.0 [INFO] [stderr] Compiling serde_valid_literal v1.0.5 [INFO] [stderr] Compiling uuid v1.9.1 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling imap-proto v0.16.5 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling quoted_printable v0.5.0 [INFO] [stderr] Compiling charset v0.1.3 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling url_open v0.0.2 [INFO] [stderr] Compiling mailparse v0.16.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling atomic_enum v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling match_token v0.35.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling cssparser v0.35.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_valid_derive v1.0.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_segmenter v1.5.0 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling enfync v0.1.6 [INFO] [stderr] Compiling async-imap v0.11.1 [INFO] [stderr] Compiling async-native-tls v0.5.0 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling markup5ever v0.35.0 [INFO] [stderr] Compiling html5ever v0.35.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling tokio-tungstenite-wasm v0.5.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling webdriver v0.53.0 [INFO] [stderr] Compiling serde_valid v1.0.5 [INFO] [stderr] Compiling scraper v0.24.0 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling ezsockets v0.7.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling upstox-rust-sdk v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling fantoccini v0.22.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.45s [INFO] running `Command { std: "docker" "inspect" "fc2338e40b18eae90aecd98d18e03dd619f7210db3571dd3d551d88e315be5ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2338e40b18eae90aecd98d18e03dd619f7210db3571dd3d551d88e315be5ae", kill_on_drop: false }` [INFO] [stdout] fc2338e40b18eae90aecd98d18e03dd619f7210db3571dd3d551d88e315be5ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 263d9bb307543e9706689fdd15160c76d7b0cdaed6d3c6717e26aceae9c9f42b [INFO] running `Command { std: "docker" "start" "-a" "263d9bb307543e9706689fdd15160c76d7b0cdaed6d3c6717e26aceae9c9f42b", kill_on_drop: false }` [INFO] [stderr] Compiling upstox-rust-sdk v1.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.33s [INFO] running `Command { std: "docker" "inspect" "263d9bb307543e9706689fdd15160c76d7b0cdaed6d3c6717e26aceae9c9f42b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "263d9bb307543e9706689fdd15160c76d7b0cdaed6d3c6717e26aceae9c9f42b", kill_on_drop: false }` [INFO] [stdout] 263d9bb307543e9706689fdd15160c76d7b0cdaed6d3c6717e26aceae9c9f42b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3d5ae9e57aec1e24dc3dd6f72da66d0a9591d26118f9d64cdb867b780f27e1fa [INFO] running `Command { std: "docker" "start" "-a" "3d5ae9e57aec1e24dc3dd6f72da66d0a9591d26118f9d64cdb867b780f27e1fa", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/upstox_rust_sdk-4e22052e2e04b692) [INFO] [stdout] [INFO] [stderr] Doc-tests upstox_rust_sdk [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/client.rs - client (line 6) ... FAILED [INFO] [stdout] test src/client.rs - client (line 204) ... FAILED [INFO] [stdout] test src/client.rs - client (line 92) ... FAILED [INFO] [stdout] test src/client.rs - client (line 143) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dotenvy` [INFO] [stdout] --> src/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | dotenvy::dotenv, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `dotenvy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenvy`, use `cargo add dotenvy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 204) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dotenvy` [INFO] [stdout] --> src/client.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | dotenvy::dotenv, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `dotenvy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dotenvy`, use `cargo add dotenvy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/client.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/client.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env` [INFO] [stdout] --> src/client.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `env` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 93 + use std::env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPLINK_API_KEY_ENV` in this scope [INFO] [stdout] --> src/client.rs:97:36 [INFO] [stdout] | [INFO] [stdout] 97 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::constants::UPLINK_API_KEY_ENV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiClient` [INFO] [stdout] --> src/client.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | let (_api_client, tasks_vec) = ApiClient::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ApiClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoginConfig` in this scope [INFO] [stdout] --> src/client.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | LoginConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::client::LoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutomateLoginConfig` in this scope [INFO] [stdout] --> src/client.rs:104:41 [INFO] [stdout] | [INFO] [stdout] 104 | automate_login_config: Some(AutomateLoginConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::client::AutomateLoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MailProvider` [INFO] [stdout] --> src/client.rs:113:37 [INFO] [stdout] | [INFO] [stdout] 113 | mail_provider: Some(MailProvider::Google), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MailProvider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::client::MailProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WSConnectConfig` in this scope [INFO] [stdout] --> src/client.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | WSConnectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::client::WSConnectConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PortfolioFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | portfolio_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 93 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedV3Response` in this scope [INFO] [stdout] --> src/client.rs:124:31 [INFO] [stdout] | [INFO] [stdout] 124 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `join_all` in this scope [INFO] [stdout] --> src/client.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | _ = join_all(tasks_vec) => {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 93 + use futures::future::join_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/client.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | _ = signal::ctrl_c() => {} [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 93 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dotenv` in this scope [INFO] [stdout] --> src/client.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let _ = dotenv(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:100:36 [INFO] [stdout] | [INFO] [stdout] 100 | let (_api_client, tasks_vec) = ApiClient::new( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 101 | | &api_key, [INFO] [stdout] 102 | | LoginConfig { [INFO] [stdout] 103 | | authorize: true, [INFO] [stdout] ... | [INFO] [stdout] 128 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 143) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/client.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tracing_subscriber`, use `cargo add tracing_subscriber` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env` [INFO] [stdout] --> src/client.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `env` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 144 + use std::env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `UPLINK_API_KEY_ENV` in this scope [INFO] [stdout] --> src/client.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | let api_key: String = env::var(UPLINK_API_KEY_ENV).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::constants::UPLINK_API_KEY_ENV; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiClient` [INFO] [stdout] --> src/client.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let (api_client, tasks_vec) = ApiClient::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ApiClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoginConfig` in this scope [INFO] [stdout] --> src/client.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | LoginConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::client::LoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AutomateLoginConfig` in this scope [INFO] [stdout] --> src/client.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | automate_login_config: Some(AutomateLoginConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::client::AutomateLoginConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MailProvider` [INFO] [stdout] --> src/client.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | mail_provider: Some(MailProvider::Google), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MailProvider` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::client::MailProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WSConnectConfig` in this scope [INFO] [stdout] --> src/client.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | WSConnectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::client::WSConnectConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PortfolioFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:170:59 [INFO] [stdout] | [INFO] [stdout] 170 | portfolio_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedV3Response` in this scope [INFO] [stdout] --> src/client.rs:172:31 [INFO] [stdout] | [INFO] [stdout] 172 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MutexGuard` in this scope [INFO] [stdout] --> src/client.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let api_client: MutexGuard = api_client.lock().await; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 144 + use std::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 144 + use std::sync::nonpoison::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 144 + use futures::lock::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 144 + use tokio::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiClient` in this scope [INFO] [stdout] --> src/client.rs:180:36 [INFO] [stdout] | [INFO] [stdout] 180 | let api_client: MutexGuard = api_client.lock().await; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExchangeSegment` [INFO] [stdout] --> src/client.rs:187:23 [INFO] [stdout] | [INFO] [stdout] 187 | .get(&ExchangeSegment::NseIndex) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ExchangeSegment` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::models::ExchangeSegment; [INFO] [stdout] | [INFO] [stdout] 144 + use upstox_rust_sdk::models::orders::ExchangeSegment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `join_all` in this scope [INFO] [stdout] --> src/client.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | _ = join_all(tasks_vec) => {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 144 + use futures::future::join_all; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/client.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | _ = signal::ctrl_c() => {} [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `signal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `signal`, use `cargo add signal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 144 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dotenv` in this scope [INFO] [stdout] --> src/client.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let _ = dotenv(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let (api_client, tasks_vec) = ApiClient::new( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 152 | | &api_key, [INFO] [stdout] 153 | | LoginConfig { [INFO] [stdout] 154 | | authorize: false, [INFO] [stdout] ... | [INFO] [stdout] 176 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/client.rs:180:49 [INFO] [stdout] | [INFO] [stdout] 180 | let api_client: MutexGuard = api_client.lock().await; [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `flush` found for struct `std::io::Stdout` in the current scope [INFO] [stdout] --> src/client.rs:192:27 [INFO] [stdout] | [INFO] [stdout] 192 | std::io::stdout().flush().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `std::io::Stdout` [INFO] [stdout] | [INFO] [stdout] --> /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1801:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::io::Stdout` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `flush` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 144 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client (line 143) [INFO] [stdout] src/client.rs - client (line 204) [INFO] [stdout] src/client.rs - client (line 6) [INFO] [stdout] src/client.rs - client (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.56s; merged doctests compilation took 0.64s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3d5ae9e57aec1e24dc3dd6f72da66d0a9591d26118f9d64cdb867b780f27e1fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d5ae9e57aec1e24dc3dd6f72da66d0a9591d26118f9d64cdb867b780f27e1fa", kill_on_drop: false }` [INFO] [stdout] 3d5ae9e57aec1e24dc3dd6f72da66d0a9591d26118f9d64cdb867b780f27e1fa