[INFO] cloning repository https://github.com/bailzx5522/coincall-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bailzx5522/coincall-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbailzx5522%2Fcoincall-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbailzx5522%2Fcoincall-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90be900e3deee3f9bb64096eae9965bff8e1d15c [INFO] testing bailzx5522/coincall-rs/90be900e3deee3f9bb64096eae9965bff8e1d15c against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbailzx5522%2Fcoincall-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bailzx5522/coincall-rs on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bailzx5522/coincall-rs [INFO] finished tweaking git repo https://github.com/bailzx5522/coincall-rs [INFO] tweaked toml for git repo https://github.com/bailzx5522/coincall-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bailzx5522/coincall-rs 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.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fehler-macros v1.0.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.14.0 [INFO] [stderr] Downloaded fehler v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccf30e34459024a4da5677be927a2c09255c41a684ac7f3461949b6956c5f305 [INFO] running `Command { std: "docker" "start" "-a" "ccf30e34459024a4da5677be927a2c09255c41a684ac7f3461949b6956c5f305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccf30e34459024a4da5677be927a2c09255c41a684ac7f3461949b6956c5f305", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccf30e34459024a4da5677be927a2c09255c41a684ac7f3461949b6956c5f305", kill_on_drop: false }` [INFO] [stdout] ccf30e34459024a4da5677be927a2c09255c41a684ac7f3461949b6956c5f305 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ad738315919a9c46958b62646b535abaa925cbfc0368ced9cf704aaaac69dd5 [INFO] running `Command { std: "docker" "start" "-a" "6ad738315919a9c46958b62646b535abaa925cbfc0368ced9cf704aaaac69dd5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.52 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling anyhow v1.0.77 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.52 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling fehler-macros v1.0.0 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling fehler v1.0.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling coincall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::io::AsyncReadExt` [INFO] [stdout] --> src/credential.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alias`, `CtType`, `InstType`, `InstrumentState`, and `OptType` [INFO] [stdout] --> src/rest/models/ccpublic/ccpublic.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Alias, CtType, InstType, InstrumentState, OptType}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::urls::REST_URL` [INFO] [stdout] --> src/rest/ccclient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::urls::REST_URL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecondsFormat` [INFO] [stdout] --> src/rest/ccclient.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{SecondsFormat, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Message` [INFO] [stdout] --> src/websocket/ccws.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use super::message::{Action, Message}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/rest/ccclient.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let body = match R::METHOD { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `msg` are never read [INFO] [stdout] --> src/rest/client.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct OkExResponseEnvolope { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 112 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkExResponseEnvolope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `msg`, and `i18nArgs` are never read [INFO] [stdout] --> src/rest/ccclient.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct CCExResponseEnvolope { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 114 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | msg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | i18nArgs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CCExResponseEnvolope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inst_id`, `buy_lmt`, `sell_lmt`, and `ts` are never read [INFO] [stdout] --> src/websocket/models/price_limit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PriceLimit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | inst_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | #[serde(deserialize_with = "crate::parser::from_str")] [INFO] [stdout] 10 | buy_lmt: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | #[serde(deserialize_with = "crate::parser::from_str")] [INFO] [stdout] 12 | sell_lmt: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[serde(deserialize_with = "ts_milliseconds")] [INFO] [stdout] 14 | ts: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceLimit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `i18nArgs` should have a snake case name [INFO] [stdout] --> src/rest/ccclient.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | i18nArgs: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `i18n_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.32s [INFO] running `Command { std: "docker" "inspect" "6ad738315919a9c46958b62646b535abaa925cbfc0368ced9cf704aaaac69dd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ad738315919a9c46958b62646b535abaa925cbfc0368ced9cf704aaaac69dd5", kill_on_drop: false }` [INFO] [stdout] 6ad738315919a9c46958b62646b535abaa925cbfc0368ced9cf704aaaac69dd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d5f5d5c10e0ab438e1db7846582b59609ebe307a7823017483cd31c62e6e203 [INFO] running `Command { std: "docker" "start" "-a" "8d5f5d5c10e0ab438e1db7846582b59609ebe307a7823017483cd31c62e6e203", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stdout] warning: unused import: `futures::io::AsyncReadExt` [INFO] [stdout] --> src/credential.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alias`, `CtType`, `InstType`, `InstrumentState`, and `OptType` [INFO] [stdout] --> src/rest/models/ccpublic/ccpublic.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Alias, CtType, InstType, InstrumentState, OptType}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::urls::REST_URL` [INFO] [stdout] --> src/rest/ccclient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::urls::REST_URL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecondsFormat` [INFO] [stdout] --> src/rest/ccclient.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{SecondsFormat, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Message` [INFO] [stdout] --> src/websocket/ccws.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use super::message::{Action, Message}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/rest/ccclient.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let body = match R::METHOD { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `msg` are never read [INFO] [stdout] --> src/rest/client.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct OkExResponseEnvolope { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 112 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkExResponseEnvolope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `msg`, and `i18nArgs` are never read [INFO] [stdout] --> src/rest/ccclient.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct CCExResponseEnvolope { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 114 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | msg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | i18nArgs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CCExResponseEnvolope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inst_id`, `buy_lmt`, `sell_lmt`, and `ts` are never read [INFO] [stdout] --> src/websocket/models/price_limit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PriceLimit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | inst_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | #[serde(deserialize_with = "crate::parser::from_str")] [INFO] [stdout] 10 | buy_lmt: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | #[serde(deserialize_with = "crate::parser::from_str")] [INFO] [stdout] 12 | sell_lmt: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[serde(deserialize_with = "ts_milliseconds")] [INFO] [stdout] 14 | ts: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceLimit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `i18nArgs` should have a snake case name [INFO] [stdout] --> src/rest/ccclient.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | i18nArgs: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `i18n_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling coincall v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/list_instruments.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use okex::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/ws_instruments.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use okex::enums::InstType; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/ws_instruments.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use okex::websocket::{models::Instrument, Channel, Command, Message, OkExWebsocket}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/list_instruments.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[throws(Error)] [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 24 | / let resp = client [INFO] [stdout] 25 | | .request(InstrumentsRequest::inst_id(InstType::Swap, "LPT-USDT-SWAP")) [INFO] [stdout] 26 | | .await?; [INFO] [stdout] | |________________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/option_run.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use okex::{websocket::{models::{Ticker, Order}, Channel, Command, Message, OkExWebsocket, CCChannel, CCMessage, OrderBookData}, OkExError... [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/ws_tickers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use okex::{websocket::{models::Ticker, Channel, Command, Message, OkExWebsocket}, OkExError, enums::InstType}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/option_run.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use okex::{websocket::{CCExWebsocket}}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/option_run.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use okex::websocket::CCCommand; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `okex` [INFO] [stdout] --> examples/option_run.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use okex::{websocket::{models::{Ticker, Order}, Channel, Command, Message, OkExWebsocket, CCChannel, CCMessage, OrderBookData}, OkExError... [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `okex` [INFO] [stdout] --> examples/ws_tickers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use okex::{websocket::{models::Ticker, Channel, Command, Message, OkExWebsocket}, OkExError, enums::InstType}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/list_positions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use okex::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/ws_orderbook.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use okex::websocket::{models::Book, Channel, Command, Message, OkExWebsocket}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coincall` (example "list_instruments") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/ws_price_limit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use okex::websocket::{models::PriceLimit, Channel, Command, Message, OkExWebsocket}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/buy_and_cancel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use okex::websocket::{Channel, Command, OkExWebsocket}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `okex` [INFO] [stdout] --> examples/buy_and_cancel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use okex::{ [INFO] [stdout] | ^^^^ use of undeclared crate or module `okex` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `coincall` (example "list_positions") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> examples/option_run.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | let ak = env::var("CC_KEY").unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> examples/option_run.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | let sk = env::var("CC_SECRET").unwrap(); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use std::env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::Item` [INFO] [stdout] --> examples/option_run.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::format::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `future::join` [INFO] [stdout] --> examples/option_run.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::{SinkExt, StreamExt, future::join}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::response` [INFO] [stdout] --> examples/option_run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http::response; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::client` [INFO] [stdout] --> examples/option_run.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper::client; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/option_run.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[throws(Error)] [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 45 | let (tx_cc, mut rx) = mpsc::channel(1024); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coincall` (example "ws_price_limit") due to 1 previous error [INFO] [stderr] error: could not compile `coincall` (example "ws_orderbook") due to 1 previous error [INFO] [stderr] error: could not compile `coincall` (example "ws_instruments") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coincall` (example "ws_tickers") due to 2 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coincall` (example "buy_and_cancel") due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `coincall` (example "option_run") due to 6 previous errors; 5 warnings emitted [INFO] [stdout] warning: unused import: `futures::io::AsyncReadExt` [INFO] [stdout] --> src/credential.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alias`, `CtType`, `InstType`, `InstrumentState`, and `OptType` [INFO] [stdout] --> src/rest/models/ccpublic/ccpublic.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::enums::{Alias, CtType, InstType, InstrumentState, OptType}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::urls::REST_URL` [INFO] [stdout] --> src/rest/ccclient.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::urls::REST_URL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SecondsFormat` [INFO] [stdout] --> src/rest/ccclient.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{SecondsFormat, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Message` [INFO] [stdout] --> src/websocket/ccws.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use super::message::{Action, Message}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/rest/ccclient.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let body = match R::METHOD { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `msg` are never read [INFO] [stdout] --> src/rest/client.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct OkExResponseEnvolope { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 112 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 113 | msg: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OkExResponseEnvolope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `msg`, and `i18nArgs` are never read [INFO] [stdout] --> src/rest/ccclient.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct CCExResponseEnvolope { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 114 | code: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 115 | msg: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 116 | i18nArgs: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CCExResponseEnvolope` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inst_id`, `buy_lmt`, `sell_lmt`, and `ts` are never read [INFO] [stdout] --> src/websocket/models/price_limit.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PriceLimit { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | inst_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | #[serde(deserialize_with = "crate::parser::from_str")] [INFO] [stdout] 10 | buy_lmt: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | #[serde(deserialize_with = "crate::parser::from_str")] [INFO] [stdout] 12 | sell_lmt: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[serde(deserialize_with = "ts_milliseconds")] [INFO] [stdout] 14 | ts: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PriceLimit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `i18nArgs` should have a snake case name [INFO] [stdout] --> src/rest/ccclient.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | i18nArgs: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `i18n_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8d5f5d5c10e0ab438e1db7846582b59609ebe307a7823017483cd31c62e6e203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d5f5d5c10e0ab438e1db7846582b59609ebe307a7823017483cd31c62e6e203", kill_on_drop: false }` [INFO] [stdout] 8d5f5d5c10e0ab438e1db7846582b59609ebe307a7823017483cd31c62e6e203