[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] testing WinterSunset95/fyers_rust against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinterSunset95%2Ffyers_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/WinterSunset95/fyers_rust on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "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" "+1.98.0-beta.1" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df
[INFO] running `Command { std: "docker" "start" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.97
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling indexmap v2.10.0
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling syn v2.0.105
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling multimap v0.10.1
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling iri-string v0.7.8
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling prost-derive v0.12.6
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling prost v0.12.6
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling prost-types v0.12.6
[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 prost-build v0.12.6
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling tungstenite v0.23.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.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 serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling serde_with v3.14.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 h2 v0.4.12
[INFO] [stderr]    Compiling tower-http v0.6.6
[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<SingleOrderRequest>) -> Result<MultipleOrdersResponse, FyersError> {
[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<WsStream>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.28s
[INFO] running `Command { std: "docker" "inspect" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[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<SingleOrderRequest>) -> Result<MultipleOrdersResponse, FyersError> {
[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<WsStream>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling fyers_rust v0.1.0 (/opt/rustwide/workdir)
[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: 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<SingleOrderRequest>) -> Result<MultipleOrdersResponse, FyersError> {
[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<WsStream>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.56s
[INFO] running `Command { std: "docker" "inspect" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::error::FyersError`
[INFO] [stderr]  --> src/websocket/general_socket.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::error::FyersError;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models::market_data`
[INFO] [stderr]  --> src/websocket/general_socket.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::models::market_data;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `SinkExt` and `StreamExt`
[INFO] [stderr]  --> src/websocket/general_socket.rs:3:20
[INFO] [stderr]   |
[INFO] [stderr] 3 | use futures_util::{StreamExt, SinkExt};
[INFO] [stderr]   |                    ^^^^^^^^^  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `connect_async` and `tungstenite::protocol::Message`
[INFO] [stderr]  --> src/websocket/general_socket.rs:5:25
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tokio_tungstenite::{connect_async, tungstenite::protocol::Message, MaybeTlsStream, WebSocketStream};
[INFO] [stderr]   |                         ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `url::Url`
[INFO] [stderr]  --> src/websocket/general_socket.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use url::Url;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `prost::Message as ProstMessage`
[INFO] [stderr]  --> src/websocket/general_socket.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use prost::Message as ProstMessage;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `orders`
[INFO] [stderr]   --> src/orders.rs:74:41
[INFO] [stderr]    |
[INFO] [stderr] 74 |     pub async fn multiple_orders(&self, orders: &Vec<SingleOrderRequest>) -> Result<MultipleOrdersResponse, FyersError> {
[INFO] [stderr]    |                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_orders`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TBTWS_URL_REST_ENDPOINT` is never used
[INFO] [stderr]   --> src/websocket/market_data.rs:21:7
[INFO] [stderr]    |
[INFO] [stderr] 21 | const TBTWS_URL_REST_ENDPOINT: &str = "https://api-t1.fyers.in/indus/home/tbtws";
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `http_client` is never read
[INFO] [stderr]   --> src/websocket/market_data.rs:26:5
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct MarketDataSocket {
[INFO] [stderr]    |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 26 |     http_client: Client,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `app_id`, `access_token`, and `stream` are never read
[INFO] [stderr]   --> src/websocket/general_socket.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct GeneralSocket {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] 12 |     app_id: String,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 13 |     access_token: String,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 14 |     stream: Option<WsStream>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fyers_rust` (lib) generated 10 warnings (run `cargo fix --lib -p fyers_rust` to apply 7 suggestions)
[INFO] [stderr] warning: `fyers_rust` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr] warning: unused import: `market_data`
[INFO] [stderr]  --> examples/websocket.rs:2:26
[INFO] [stderr]   |
[INFO] [stderr] 2 | use fyers_rust::models::{market_data, SubscriptionMode};
[INFO] [stderr]   |                          ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `websocket::GeneralSocket`
[INFO] [stderr]  --> examples/websocket.rs:3:18
[INFO] [stderr]   |
[INFO] [stderr] 3 | use fyers_rust::{websocket::GeneralSocket, websocket::MarketDataSocket};
[INFO] [stderr]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `fs` and `io`
[INFO] [stderr]  --> examples/websocket.rs:7:11
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::{fs, io};
[INFO] [stderr]   |           ^^  ^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fyers_rust` (example "websocket") generated 3 warnings (run `cargo fix --example "websocket" -p fyers_rust` to apply 3 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fyers_rust-e9d8539a6a1896c0)
[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 fyers_rust
[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] running `Command { std: "docker" "inspect" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df", kill_on_drop: false }`
[INFO] [stdout] 5c9ee43786ee915e61ddfc28f4dbf29785291bee957d329b17a6fd80aa69e4df
