[INFO] cloning repository https://github.com/Aviral-Omar/upstox-rust-sdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aviral-Omar/upstox-rust-sdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Omar%2Fupstox-rust-sdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Omar%2Fupstox-rust-sdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90bce9f6de0b10e6df772609aea2689ba454c915 [INFO] testing Aviral-Omar/upstox-rust-sdk against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAviral-Omar%2Fupstox-rust-sdk" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aviral-Omar/upstox-rust-sdk on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aviral-Omar/upstox-rust-sdk [INFO] finished tweaking git repo https://github.com/Aviral-Omar/upstox-rust-sdk [INFO] tweaked toml for git repo https://github.com/Aviral-Omar/upstox-rust-sdk written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aviral-Omar/upstox-rust-sdk already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cron v0.12.1 [INFO] [stderr] Downloaded url_open v0.0.2 [INFO] [stderr] Downloaded darling v0.20.9 [INFO] [stderr] Downloaded stop-token v0.7.0 [INFO] [stderr] Downloaded atomic_enum v0.2.0 [INFO] [stderr] Downloaded quoted_printable v0.5.0 [INFO] [stderr] Downloaded enfync v0.1.6 [INFO] [stderr] Downloaded charset v0.1.3 [INFO] [stderr] Downloaded subtle v2.6.0 [INFO] [stderr] Downloaded serde_valid_derive v0.24.0 [INFO] [stderr] Downloaded imap-proto v0.16.5 [INFO] [stderr] Downloaded async-imap v0.9.7 [INFO] [stderr] Downloaded fantoccini v0.19.3 [INFO] [stderr] Downloaded protobuf-parse v3.5.0 [INFO] [stderr] Downloaded protobuf-codegen v3.5.0 [INFO] [stderr] Downloaded serde_with v3.8.1 [INFO] [stderr] Downloaded darling_core v0.20.9 [INFO] [stderr] Downloaded hyper-rustls v0.27.2 [INFO] [stderr] Downloaded object v0.36.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.4 [INFO] [stderr] Downloaded h2 v0.4.5 [INFO] [stderr] Downloaded protobuf v3.5.0 [INFO] [stderr] Downloaded syn v2.0.67 [INFO] [stderr] Downloaded reqwest v0.12.5 [INFO] [stderr] Downloaded ezsockets v0.6.2 [INFO] [stderr] Downloaded rustls-pki-types v1.7.0 [INFO] [stderr] Downloaded scraper v0.19.0 [INFO] [stderr] Downloaded serde_valid v0.24.0 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.10.2 [INFO] [stderr] Downloaded self_cell v1.0.4 [INFO] [stderr] Downloaded rustls v0.23.10 [INFO] [stderr] Downloaded async-native-tls v0.5.0 [INFO] [stderr] Downloaded wasmtimer v0.2.0 [INFO] [stderr] Downloaded webdriver v0.46.0 [INFO] [stderr] Downloaded mailparse v0.15.0 [INFO] [stderr] Downloaded protobuf-support v3.5.0 [INFO] [stderr] Downloaded tokio-tungstenite-wasm v0.2.1 [INFO] [stderr] Downloaded serde_valid_literal v0.24.0 [INFO] [stderr] Downloaded darling_macro v0.20.9 [INFO] [stderr] Downloaded serde_with_macros v3.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 202edc6344e542b5b5e1ddb4b3a3dd86fcf0e766c45da591a040baac912d748a [INFO] running `Command { std: "docker" "start" "-a" "202edc6344e542b5b5e1ddb4b3a3dd86fcf0e766c45da591a040baac912d748a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "202edc6344e542b5b5e1ddb4b3a3dd86fcf0e766c45da591a040baac912d748a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202edc6344e542b5b5e1ddb4b3a3dd86fcf0e766c45da591a040baac912d748a", kill_on_drop: false }` [INFO] [stdout] 202edc6344e542b5b5e1ddb4b3a3dd86fcf0e766c45da591a040baac912d748a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa6613eedf13c106190baf1713a2159698c58efb770ba9cb0ac4b153595b4f4 [INFO] running `Command { std: "docker" "start" "-a" "dfa6613eedf13c106190baf1713a2159698c58efb770ba9cb0ac4b153595b4f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling protobuf v3.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling serde_valid_literal v0.24.0 [INFO] [stderr] Compiling charset v0.1.3 [INFO] [stderr] Compiling stop-token v0.7.0 [INFO] [stderr] Compiling imap-proto v0.16.5 [INFO] [stderr] Compiling quoted_printable v0.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling self_cell v1.0.4 [INFO] [stderr] Compiling url_open v0.0.2 [INFO] [stderr] Compiling mailparse v0.15.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling atomic_enum v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_valid_derive v0.24.0 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.31.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling protobuf-support v3.5.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-parse v3.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling enfync v0.1.6 [INFO] [stderr] Compiling async-native-tls v0.5.0 [INFO] [stderr] Compiling async-imap v0.9.7 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-tungstenite-wasm v0.2.1 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling protobuf-codegen v3.5.0 [INFO] [stderr] Compiling webdriver v0.46.0 [INFO] [stderr] Compiling serde_valid v0.24.0 [INFO] [stderr] Compiling scraper v0.19.0 [INFO] [stderr] Compiling ezsockets v0.6.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling fantoccini v0.19.3 [INFO] [stderr] Compiling upstox-rust-sdk v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-8783df00a309703b/out/protos/market_data_feed.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.27s [INFO] running `Command { std: "docker" "inspect" "dfa6613eedf13c106190baf1713a2159698c58efb770ba9cb0ac4b153595b4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa6613eedf13c106190baf1713a2159698c58efb770ba9cb0ac4b153595b4f4", kill_on_drop: false }` [INFO] [stdout] dfa6613eedf13c106190baf1713a2159698c58efb770ba9cb0ac4b153595b4f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e91f8779c9523bdaa988c9cc82287873e37bddf7defd26ab57144e2be8238c4 [INFO] running `Command { std: "docker" "start" "-a" "8e91f8779c9523bdaa988c9cc82287873e37bddf7defd26ab57144e2be8238c4", kill_on_drop: false }` [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-8783df00a309703b/out/protos/market_data_feed.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling upstox-rust-sdk v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-8783df00a309703b/out/protos/market_data_feed.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "8e91f8779c9523bdaa988c9cc82287873e37bddf7defd26ab57144e2be8238c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e91f8779c9523bdaa988c9cc82287873e37bddf7defd26ab57144e2be8238c4", kill_on_drop: false }` [INFO] [stdout] 8e91f8779c9523bdaa988c9cc82287873e37bddf7defd26ab57144e2be8238c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eddc7363160f4d5b81cb379639b2bdb6b47d5efaa541a0a4834b36b6d913613e [INFO] running `Command { std: "docker" "start" "-a" "eddc7363160f4d5b81cb379639b2bdb6b47d5efaa541a0a4834b36b6d913613e", kill_on_drop: false }` [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-8783df00a309703b/out/protos/market_data_feed.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `upstox-rust-sdk` (lib) generated 1 warning [INFO] [stderr] warning: `upstox-rust-sdk` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/upstox_rust_sdk-b8a64a57092da38d) [INFO] [stdout] [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] [stderr] Doc-tests upstox_rust_sdk [INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] --> /opt/rustwide/target/debug/build/upstox-rust-sdk-8783df00a309703b/out/protos/market_data_feed.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #![allow(box_pointers)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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 98) ... FAILED [INFO] [stdout] test src/client.rs - client (line 215) ... FAILED [INFO] [stdout] test src/client.rs - client (line 148) ... 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] 5 | 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:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | 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 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env` [INFO] [stdout] --> src/client.rs:104:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 3 + 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:104:36 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 3 + 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:108:35 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 3 + 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:110:9 [INFO] [stdout] | [INFO] [stdout] 13 | LoginConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + 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:112:41 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 3 + 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:122:37 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 3 + 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:127:9 [INFO] [stdout] | [INFO] [stdout] 30 | WSConnectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + 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:131:59 [INFO] [stdout] | [INFO] [stdout] 34 | portfolio_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:132:61 [INFO] [stdout] | [INFO] [stdout] 35 | market_data_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/client.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 43 | _ = 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] 3 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dotenv` in this scope [INFO] [stdout] --> src/client.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = dotenv(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 215) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `dotenvy` [INFO] [stdout] --> src/client.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:241:5 [INFO] [stdout] | [INFO] [stdout] 28 | 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[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:280:58 [INFO] [stdout] | [INFO] [stdout] 67 | let _profile: SuccessResponse = api_client.get_profile().await.unwrap(); [INFO] [stdout] | -------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `SuccessResponse`, found `Result, ...>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SuccessResponse<_>` [INFO] [stdout] found enum `Result, ErrorResponse>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result, ErrorResponse>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 67 | let _profile: SuccessResponse = api_client.get_profile().await.unwrap().expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:281:73 [INFO] [stdout] | [INFO] [stdout] 68 | let _funds_and_margin: SuccessResponse = api_client [INFO] [stdout] | ________________________________--------------------------------------___^ [INFO] [stdout] | | | [INFO] [stdout] | | expected due to this [INFO] [stdout] 69 | | .get_fund_and_margin(Some(SegmentType::Sec)) [INFO] [stdout] 70 | | .await [INFO] [stdout] 71 | | .unwrap(); [INFO] [stdout] | |_____________________^ expected `SuccessResponse`, found `Result, ...>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `SuccessResponse<_>` [INFO] [stdout] found enum `Result, ErrorResponse>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result, ErrorResponse>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 71 | .unwrap().expect("REASON"); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client (line 148) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tracing_subscriber` [INFO] [stdout] --> src/client.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:154:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + 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:154:36 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 2 + 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:158:35 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 2 + 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:160:9 [INFO] [stdout] | [INFO] [stdout] 13 | LoginConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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:162:41 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 2 + 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:166:37 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 2 + 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:173:9 [INFO] [stdout] | [INFO] [stdout] 26 | WSConnectConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + 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:177:59 [INFO] [stdout] | [INFO] [stdout] 30 | portfolio_feed_callback: None::>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:178:61 [INFO] [stdout] | [INFO] [stdout] 31 | market_data_feed_callback: None::>, [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:186:25 [INFO] [stdout] | [INFO] [stdout] 39 | let api_client: MutexGuard< [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 2 + use futures::lock::MutexGuard; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::sync::MutexGuard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiClient` in this scope [INFO] [stdout] --> src/client.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 40 | ApiClient< [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::client::ApiClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PortfolioFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 41 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::models::ws::portfolio_feed_response::PortfolioFeedResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MarketDataFeedResponse` in this scope [INFO] [stdout] --> src/client.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 42 | Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExchangeSegment` [INFO] [stdout] --> src/client.rs:198:23 [INFO] [stdout] | [INFO] [stdout] 51 | .get(&ExchangeSegment::NseIndex) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ExchangeSegment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use upstox_rust_sdk::models::ExchangeSegment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `signal` [INFO] [stdout] --> src/client.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 61 | _ = 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] 2 + use tokio::signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dotenv` in this scope [INFO] [stdout] --> src/client.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 5 | let _ = dotenv(); [INFO] [stdout] | ^^^^^^ not found in this scope [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:203:27 [INFO] [stdout] | [INFO] [stdout] 56 | std::io::stdout().flush().unwrap(); [INFO] [stdout] | ^^^^^ method not found in `Stdout` [INFO] [stdout] --> /rustc/552a959051cebf8f88a8f558399baf733bec9ce0/library/std/src/io/mod.rs:1720:8 [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] 2 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client (line 148) [INFO] [stdout] src/client.rs - client (line 215) [INFO] [stdout] src/client.rs - client (line 6) [INFO] [stdout] src/client.rs - client (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eddc7363160f4d5b81cb379639b2bdb6b47d5efaa541a0a4834b36b6d913613e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eddc7363160f4d5b81cb379639b2bdb6b47d5efaa541a0a4834b36b6d913613e", kill_on_drop: false }` [INFO] [stdout] eddc7363160f4d5b81cb379639b2bdb6b47d5efaa541a0a4834b36b6d913613e