[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 try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWinterSunset95%2Ffyers_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/WinterSunset95/fyers_rust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8513ee57adaa38e69902e7a600b34e626f7276dd023b0b6d96dbd54c9edc6b6 [INFO] running `Command { std: "docker" "start" "-a" "e8513ee57adaa38e69902e7a600b34e626f7276dd023b0b6d96dbd54c9edc6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8513ee57adaa38e69902e7a600b34e626f7276dd023b0b6d96dbd54c9edc6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8513ee57adaa38e69902e7a600b34e626f7276dd023b0b6d96dbd54c9edc6b6", kill_on_drop: false }` [INFO] [stdout] e8513ee57adaa38e69902e7a600b34e626f7276dd023b0b6d96dbd54c9edc6b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8be79580e13c52bfcc6f9a93cd54fe5ab4c97a1dbc9841f242f7e1485b05699 [INFO] running `Command { std: "docker" "start" "-a" "d8be79580e13c52bfcc6f9a93cd54fe5ab4c97a1dbc9841f242f7e1485b05699", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [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 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 prost-derive v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling prost v0.12.6 [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_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Compiling icu_provider v2.0.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 tungstenite v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [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 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 52.15s [INFO] running `Command { std: "docker" "inspect" "d8be79580e13c52bfcc6f9a93cd54fe5ab4c97a1dbc9841f242f7e1485b05699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8be79580e13c52bfcc6f9a93cd54fe5ab4c97a1dbc9841f242f7e1485b05699", kill_on_drop: false }` [INFO] [stdout] d8be79580e13c52bfcc6f9a93cd54fe5ab4c97a1dbc9841f242f7e1485b05699 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10afa25503c7f9a703813fa3e0eab5051f8f61e119e3ab8cf985e501080a7cff [INFO] running `Command { std: "docker" "start" "-a" "10afa25503c7f9a703813fa3e0eab5051f8f61e119e3ab8cf985e501080a7cff", 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: `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) -> 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustccHGXOP/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libdotenvy-c158e10653a35757,libfyers_rust-14b9e9a4cb5723b1,libprost-00563639967b3722,libtokio_tungstenite-c3204a05745bc72e,libtungstenite-98c7aec7a6e592fa,libdata_encoding-6d465a39edfa29f6,librand-1aea495a78dc08f1,librand_chacha-e74b4d140f94f1db,libppv_lite86-d40de8daa0db893c,libzerocopy-70610920d7f7fd24,librand_core-c1e913bf87a902f7,libgetrandom-a47b853fa26c3665,libutf8-d75228722519eff6,libbyteorder-1efcbe4f07366651,libsha1-9e5e8166449605c9,libserde_with-70a8c73e9fb8526a,libthiserror-68451aeead1b7431,libsha2-ebc709dc1634e3c3,libcpufeatures-471354fefbcaf2d8,libdigest-1c0ded6696e33019,libblock_buffer-eb912e7657afff52,libcrypto_common-7fdbb27dd40ebdc7,libgeneric_array-4d1e7d2120c15a03,libtypenum-b636c2b461885073,libreqwest-bdce1fff88c96551,libserde_urlencoded-3a87440b3ffe17aa,librustls_pki_types-a7867074414b404a,libzeroize-ead98f074a37f829,libhyper_tls-bf147a8f19b977f2,libtokio_native_tls-aaa78538db43ca05,libmime-4b44681fdb2c65f7,libencoding_rs-81683899b9b068d2,libserde_json-3c9628c014cf5da2,libmemchr-2d97b38eddd0133f,libryu-0ea4bafc9bef6d8b,libtower_http-39a56e03ded024c9,libiri_string-a380f51e5b0b7b73,libtower-0c70e3f53bbba017,libtower_layer-d70c7e404336389b,libnative_tls-6af15f509af628cd,libopenssl_probe-cbab9b905ab83f66,libopenssl-49b6ff5a7907d298,libbitflags-999d889d9694453e,libforeign_types-0d5385f641bbbadd,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-8be86e198b2c515e,libhyper_util-712e7120cfe115fd,libbase64-2a03de3babadded3,libipnet-9aae67a4e846df6d,libtower_service-0d7df29686b13872,libhyper-7e635853d183d54c,libwant-0f3c3ee377cad37f,libtry_lock-aabba5e3d97e6b57,libhttparse-47a3d40564b60e09,libh2-ba53b709d9cd7e24,libtracing-092f07663e482c15,libtracing_core-181ee1ed942b4689,libonce_cell-0ba6aecba7086d38,libindexmap-2e054a1745df31ca,libequivalent-7e0e8cbe6c474a67,libhashbrown-76659aeb83761b81,libatomic_waker-001109810bdecbaa,libtokio_util-7b5cb60c1c4d5796,libfutures_channel-179401688c37d974,libfutures_util-31da81b9b5489553,libslab-8c0cbfb396425d81,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libtokio-8c12a015197e3f97,libsignal_hook_registry-dc432a6cbbcb6361,libsocket2-3ed8ac1c6dcd3fb1,libmio-42cc619f1990aa9e,libparking_lot-e88448a16c5060de,libparking_lot_core-093daee1af91a320,liblibc-a58beeab2e1413cc,libcfg_if-5a199b0ec0054672,liblock_api-0826b5028eacedf5,libscopeguard-d52bd00767847e44,libhttp_body_util-f2ff7a97002ec3c2,libpin_project_lite-bedc6e0acd72ff2a,libhttp_body-5d2c120e15cb3719,liblog-ba604b77dad33fe2,liburl-0980c23290031bf6,libidna-5c60ccfa70f6efb3,libutf8_iter-0d9be7b316c2b184,libidna_adapter-790a987dc72479b6,libicu_properties-d6e55870f9f44566,libicu_properties_data-9d163be0f8ec47fd,libicu_normalizer-ea46faf44130d792,libsmallvec-5854932b8c8b4991,libicu_normalizer_data-9919e82512efe734,libicu_collections-bb743bdc8d7093a2,libpotential_utf-96011e437752068b,libicu_provider-dbf1b8c5cf4cf1ae,libicu_locale_core-25b10698ad90fc54,libtinystr-0652206ec04d889b,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-5639f3425fb57f27,libzerotrie-7393825b85c451b0,libyoke-685b33c373746740,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-c09d3eaf9f9e9650,libform_urlencoded-332d45145277cfac,libpercent_encoding-c53c37e60dd2727e,libserde-fefc3453866357a9,libhttp-8a286151680a468c,libitoa-6b76ec393d6a2c41,libbytes-bfe11088fe358bd1,libfnv-2d77ec4f6f971b24,libsync_wrapper-5a27d2ea02cd7690,libfutures_core-fc6bb1738f00fc87}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustccHGXOP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/transaction_orders-5043aa425547fe55" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fyers_rust` (example "transaction_orders") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "10afa25503c7f9a703813fa3e0eab5051f8f61e119e3ab8cf985e501080a7cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10afa25503c7f9a703813fa3e0eab5051f8f61e119e3ab8cf985e501080a7cff", kill_on_drop: false }` [INFO] [stdout] 10afa25503c7f9a703813fa3e0eab5051f8f61e119e3ab8cf985e501080a7cff