[INFO] cloning repository https://github.com/WinterSunset95/fyers_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WinterSunset95/fyers_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinterSunset95%2Ffyers_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinterSunset95%2Ffyers_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 157c25f329ab9f82414f85873543b88a4b7b045d [INFO] building WinterSunset95/fyers_rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinterSunset95%2Ffyers_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/WinterSunset95/fyers_rust [INFO] finished tweaking git repo https://github.com/WinterSunset95/fyers_rust [INFO] tweaked toml for git repo https://github.com/WinterSunset95/fyers_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WinterSunset95/fyers_rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/WinterSunset95/fyers_rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded prost-types v0.12.6 [INFO] [stderr] Downloaded prost-build v0.12.6 [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded prost v0.12.6 [INFO] [stderr] Downloaded tokio-tungstenite v0.23.1 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded tungstenite v0.23.0 [INFO] [stderr] Downloaded time v0.3.43 [INFO] [stderr] Downloaded prost-derive v0.12.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edfc42782efa1b90fffdd5309ba6b59e3f8d9d27a3b6b5cff19f4cfaeb8e3966 [INFO] running `Command { std: "docker" "start" "-a" "edfc42782efa1b90fffdd5309ba6b59e3f8d9d27a3b6b5cff19f4cfaeb8e3966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edfc42782efa1b90fffdd5309ba6b59e3f8d9d27a3b6b5cff19f4cfaeb8e3966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edfc42782efa1b90fffdd5309ba6b59e3f8d9d27a3b6b5cff19f4cfaeb8e3966", kill_on_drop: false }` [INFO] [stdout] edfc42782efa1b90fffdd5309ba6b59e3f8d9d27a3b6b5cff19f4cfaeb8e3966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a386c4739b0ca132f60bdaba2b54070c65c9f31616cc1670f20e08627d71609 [INFO] running `Command { std: "docker" "start" "-a" "5a386c4739b0ca132f60bdaba2b54070c65c9f31616cc1670f20e08627d71609", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tungstenite v0.23.0 [INFO] [stderr] Compiling fyers_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.23.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stdout] warning: unused import: `crate::error::FyersError` [INFO] [stdout] --> src/websocket/general_socket.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::FyersError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::market_data` [INFO] [stdout] --> src/websocket/general_socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::market_data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SinkExt` and `StreamExt` [INFO] [stdout] --> src/websocket/general_socket.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect_async` and `tungstenite::protocol::Message` [INFO] [stdout] --> src/websocket/general_socket.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_tungstenite::{connect_async, tungstenite::protocol::Message, MaybeTlsStream, WebSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/websocket/general_socket.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message as ProstMessage` [INFO] [stdout] --> src/websocket/general_socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use prost::Message as ProstMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orders` [INFO] [stdout] --> src/orders.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn multiple_orders(&self, orders: &Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_orders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TBTWS_URL_REST_ENDPOINT` is never used [INFO] [stdout] --> src/websocket/market_data.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const TBTWS_URL_REST_ENDPOINT: &str = "https://api-t1.fyers.in/indus/home/tbtws"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_client` is never read [INFO] [stdout] --> src/websocket/market_data.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MarketDataSocket { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | http_client: Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_id`, `access_token`, and `stream` are never read [INFO] [stdout] --> src/websocket/general_socket.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GeneralSocket { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | app_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | stream: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "5a386c4739b0ca132f60bdaba2b54070c65c9f31616cc1670f20e08627d71609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a386c4739b0ca132f60bdaba2b54070c65c9f31616cc1670f20e08627d71609", kill_on_drop: false }` [INFO] [stdout] 5a386c4739b0ca132f60bdaba2b54070c65c9f31616cc1670f20e08627d71609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7501f7a3ec83fe97928910159de370a6f5bdd074f9c3d7b8984c2c49066a99dc [INFO] running `Command { std: "docker" "start" "-a" "7501f7a3ec83fe97928910159de370a6f5bdd074f9c3d7b8984c2c49066a99dc", kill_on_drop: false }` [INFO] [stderr] Compiling fyers_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::error::FyersError` [INFO] [stdout] --> src/websocket/general_socket.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::FyersError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::market_data` [INFO] [stdout] --> src/websocket/general_socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::market_data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SinkExt` and `StreamExt` [INFO] [stdout] --> src/websocket/general_socket.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect_async` and `tungstenite::protocol::Message` [INFO] [stdout] --> src/websocket/general_socket.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_tungstenite::{connect_async, tungstenite::protocol::Message, MaybeTlsStream, WebSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/websocket/general_socket.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message as ProstMessage` [INFO] [stdout] --> src/websocket/general_socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use prost::Message as ProstMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orders` [INFO] [stdout] --> src/orders.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn multiple_orders(&self, orders: &Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_orders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TBTWS_URL_REST_ENDPOINT` is never used [INFO] [stdout] --> src/websocket/market_data.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const TBTWS_URL_REST_ENDPOINT: &str = "https://api-t1.fyers.in/indus/home/tbtws"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_client` is never read [INFO] [stdout] --> src/websocket/market_data.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MarketDataSocket { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | http_client: Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_id`, `access_token`, and `stream` are never read [INFO] [stdout] --> src/websocket/general_socket.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GeneralSocket { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | app_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | stream: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::FyersError` [INFO] [stdout] --> src/websocket/general_socket.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::FyersError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::market_data` [INFO] [stdout] --> src/websocket/general_socket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::market_data; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SinkExt` and `StreamExt` [INFO] [stdout] --> src/websocket/general_socket.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use futures_util::{StreamExt, SinkExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connect_async` and `tungstenite::protocol::Message` [INFO] [stdout] --> src/websocket/general_socket.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_tungstenite::{connect_async, tungstenite::protocol::Message, MaybeTlsStream, WebSocketStream}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `url::Url` [INFO] [stdout] --> src/websocket/general_socket.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::Url; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prost::Message as ProstMessage` [INFO] [stdout] --> src/websocket/general_socket.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use prost::Message as ProstMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orders` [INFO] [stdout] --> src/orders.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn multiple_orders(&self, orders: &Vec) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_orders` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `market_data` [INFO] [stdout] --> examples/websocket.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use fyers_rust::models::{market_data, SubscriptionMode}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `websocket::GeneralSocket` [INFO] [stdout] --> examples/websocket.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use fyers_rust::{websocket::GeneralSocket, websocket::MarketDataSocket}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs` and `io` [INFO] [stdout] --> examples/websocket.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{fs, io}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TBTWS_URL_REST_ENDPOINT` is never used [INFO] [stdout] --> src/websocket/market_data.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | const TBTWS_URL_REST_ENDPOINT: &str = "https://api-t1.fyers.in/indus/home/tbtws"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_client` is never read [INFO] [stdout] --> src/websocket/market_data.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MarketDataSocket { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | http_client: Client, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `app_id`, `access_token`, and `stream` are never read [INFO] [stdout] --> src/websocket/general_socket.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GeneralSocket { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 12 | app_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | access_token: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | stream: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.60s [INFO] running `Command { std: "docker" "inspect" "7501f7a3ec83fe97928910159de370a6f5bdd074f9c3d7b8984c2c49066a99dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7501f7a3ec83fe97928910159de370a6f5bdd074f9c3d7b8984c2c49066a99dc", kill_on_drop: false }` [INFO] [stdout] 7501f7a3ec83fe97928910159de370a6f5bdd074f9c3d7b8984c2c49066a99dc