[INFO] cloning repository https://github.com/SheldonNico/ctp-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SheldonNico/ctp-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonNico%2Fctp-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonNico%2Fctp-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ce9c10338983463f425b6c3d53f402e8f019215 [INFO] testing SheldonNico/ctp-rs against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonNico%2Fctp-rs" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SheldonNico/ctp-rs on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SheldonNico/ctp-rs [INFO] finished tweaking git repo https://github.com/SheldonNico/ctp-rs [INFO] tweaked toml for git repo https://github.com/SheldonNico/ctp-rs written to /workspace/builds/worker-34/source/Cargo.toml [INFO] crate git repo https://github.com/SheldonNico/ctp-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d966f9f8f3f571e3bbe879156d9cfdafcee76e915f8adae7ab7a24167acb7348 [INFO] running `Command { std: "docker" "start" "-a" "d966f9f8f3f571e3bbe879156d9cfdafcee76e915f8adae7ab7a24167acb7348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d966f9f8f3f571e3bbe879156d9cfdafcee76e915f8adae7ab7a24167acb7348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d966f9f8f3f571e3bbe879156d9cfdafcee76e915f8adae7ab7a24167acb7348", kill_on_drop: false }` [INFO] [stdout] d966f9f8f3f571e3bbe879156d9cfdafcee76e915f8adae7ab7a24167acb7348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 973b75d42f56974d1fe1f330c4ef719f3640ac5d9337ffe5e229347b50dc181f [INFO] running `Command { std: "docker" "start" "-a" "973b75d42f56974d1fe1f330c4ef719f3640ac5d9337ffe5e229347b50dc181f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.6.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clang-sys v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling ctp_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:94:51 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(pattern.captures(&buf).is_some(), format!("`{}` not found in source code", trait_extern)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 94 | assert!(pattern.captures(&buf).is_some(), "`{}` not found in source code", trait_extern); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.58s [INFO] running `Command { std: "docker" "inspect" "973b75d42f56974d1fe1f330c4ef719f3640ac5d9337ffe5e229347b50dc181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "973b75d42f56974d1fe1f330c4ef719f3640ac5d9337ffe5e229347b50dc181f", kill_on_drop: false }` [INFO] [stdout] 973b75d42f56974d1fe1f330c4ef719f3640ac5d9337ffe5e229347b50dc181f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 105cc15633e5615ad1a0e8e0ca393e8de5bac9d26eb8b9422b402442607c9660 [INFO] running `Command { std: "docker" "start" "-a" "105cc15633e5615ad1a0e8e0ca393e8de5bac9d26eb8b9422b402442607c9660", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> build.rs:94:51 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(pattern.captures(&buf).is_some(), format!("`{}` not found in source code", trait_extern)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 94 | assert!(pattern.captures(&buf).is_some(), "`{}` not found in source code", trait_extern); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling ctp_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration`, `Instant` [INFO] [stdout] --> examples/tdapi.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/tdapi.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> examples/mdapi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> examples/tdapi.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> examples/tdapi.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Condvar`, `Mutex` [INFO] [stdout] --> examples/tdapi.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex, Condvar}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/mdapi.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `select` [INFO] [stdout] --> examples/tdapi.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | use crossbeam::{channel::{self, Sender, Receiver}, select}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet` [INFO] [stdout] --> examples/mdapi.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> examples/mdapi.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Condvar`, `Mutex` [INFO] [stdout] --> examples/mdapi.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::{Arc, Mutex, Condvar}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> examples/tdapi.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> examples/mdapi.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pRspUserLogin` [INFO] [stdout] --> examples/mdapi.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | fn on_rsp_user_login(&mut self, pRspUserLogin: *mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: :... [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pRspUserLogin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pRspInfo` [INFO] [stdout] --> examples/mdapi.rs:54:86 [INFO] [stdout] | [INFO] [stdout] 54 | ...hostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pRspInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nRequestID` [INFO] [stdout] --> examples/mdapi.rs:54:125 [INFO] [stdout] | [INFO] [stdout] 54 | ... CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nRequestID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bIsLast` [INFO] [stdout] --> examples/mdapi.rs:54:160 [INFO] [stdout] | [INFO] [stdout] 54 | ...tID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bIsLast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nReason` [INFO] [stdout] --> examples/mdapi.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | fn on_front_disconnected(&mut self, nReason: ::std::os::raw::c_int) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nReason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nTimeLapse` [INFO] [stdout] --> examples/mdapi.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn on_heart_beat_warning(&mut self, nTimeLapse: ::std::os::raw::c_int) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nTimeLapse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pRspInfo` [INFO] [stdout] --> examples/mdapi.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pRspInfo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nRequestID` [INFO] [stdout] --> examples/mdapi.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nRequestID` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bIsLast` [INFO] [stdout] --> examples/mdapi.rs:67:106 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bIsLast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pRspUserLogin` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | fn on_rsp_user_login(&mut self, pRspUserLogin: *mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: :... [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `p_rsp_user_login` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pRspInfo` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:54:86 [INFO] [stdout] | [INFO] [stdout] 54 | ...*mut CThostFtdcRspUserLoginField, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `p_rsp_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nRequestID` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:54:125 [INFO] [stdout] | [INFO] [stdout] 54 | ...o: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bIsLast` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:54:160 [INFO] [stdout] | [INFO] [stdout] 54 | ...nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_is_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nReason` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | fn on_front_disconnected(&mut self, nReason: ::std::os::raw::c_int) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `n_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nTimeLapse` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | fn on_heart_beat_warning(&mut self, nTimeLapse: ::std::os::raw::c_int) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_time_lapse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pRspInfo` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `p_rsp_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nRequestID` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_request_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bIsLast` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:67:106 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_rsp_error(&mut self, pRspInfo: *mut CThostFtdcRspInfoField, nRequestID: ::std::os::raw::c_int, bIsLast: bool) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `b_is_last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pDepthMarketData` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:71:44 [INFO] [stdout] | [INFO] [stdout] 71 | fn on_rtn_depth_market_data(&mut self, pDepthMarketData: *mut CThostFtdcDepthMarketDataField) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `p_depth_market_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pDepthMarketData` should have a snake case name [INFO] [stdout] --> examples/mdapi.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let pDepthMarketData = unsafe { &mut *pDepthMarketData }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `p_depth_market_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.tdapi.bda37dec-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2.14rlys2q43aiv8ls.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ctp_rs-24e7ba3ea70fb423/out" "-L" "/opt/rustwide/workdir/shared/md/unix.x86_64" "-L" "/opt/rustwide/workdir/shared/td/unix.x86_64" "-L" "/opt/rustwide/workdir/shared/data_collect/unix.x86_64" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-eb728f464338e24c.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libatty-99c5d0d60571e90b.rlib" "/opt/rustwide/target/debug/deps/liblibc-e171e2c553c740c1.rlib" "/opt/rustwide/target/debug/deps/libhumantime-a3db86d0f937abe4.rlib" "/opt/rustwide/target/debug/deps/libquick_error-92792d7d5dc6f90c.rlib" "/opt/rustwide/target/debug/deps/libregex-60d8c352c8b6730f.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-73c4e738f2a90440.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-081ed184a4ffb22b.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libdotenv-6ba0247c906f31d1.rlib" "/opt/rustwide/target/debug/deps/libserde-a71c0a50f7304a06.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-d5077e73f3e86d04.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-5f7a9e9b842f8e24.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-ed55d1d135a221c6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-d22294df84f8ecfa.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-82747da3270d63d4.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-33487413c0d3941b.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a57a6a52cef5676e.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-5da883e17939ef96.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/libctp_rs-81d9369f43be3705.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lLinuxDataCollect" "-lthostmduserapi_se" "-lthosttraderapi_se" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/tdapi-c0d715bc9dea3fe2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lLinuxDataCollect [INFO] [stdout] /usr/bin/ld: cannot find -lthostmduserapi_se [INFO] [stdout] /usr/bin/ld: cannot find -lthosttraderapi_se [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ctp_rs` due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.13.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.14.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.15.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.mdapi.248d65c1-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c.2lhf4l5sdg9wsruk.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ctp_rs-24e7ba3ea70fb423/out" "-L" "/opt/rustwide/workdir/shared/md/unix.x86_64" "-L" "/opt/rustwide/workdir/shared/td/unix.x86_64" "-L" "/opt/rustwide/workdir/shared/data_collect/unix.x86_64" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-eb728f464338e24c.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-42ba0c722a422d99.rlib" "/opt/rustwide/target/debug/deps/libatty-99c5d0d60571e90b.rlib" "/opt/rustwide/target/debug/deps/liblibc-e171e2c553c740c1.rlib" "/opt/rustwide/target/debug/deps/libhumantime-a3db86d0f937abe4.rlib" "/opt/rustwide/target/debug/deps/libquick_error-92792d7d5dc6f90c.rlib" "/opt/rustwide/target/debug/deps/libregex-60d8c352c8b6730f.rlib" "/opt/rustwide/target/debug/deps/libthread_local-fca49ebfe19b2a13.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-73c4e738f2a90440.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-081ed184a4ffb22b.rlib" "/opt/rustwide/target/debug/deps/libmemchr-15ff39dbd52f8080.rlib" "/opt/rustwide/target/debug/deps/libdotenv-6ba0247c906f31d1.rlib" "/opt/rustwide/target/debug/deps/libserde-a71c0a50f7304a06.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-d5077e73f3e86d04.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-5f7a9e9b842f8e24.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-ed55d1d135a221c6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-d22294df84f8ecfa.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-82747da3270d63d4.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-33487413c0d3941b.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a57a6a52cef5676e.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-5da883e17939ef96.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/liblog-5bfb20592c7a6792.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-4dc40f94662accb2.rlib" "/opt/rustwide/target/debug/deps/libctp_rs-81d9369f43be3705.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lLinuxDataCollect" "-lthostmduserapi_se" "-lthosttraderapi_se" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/mdapi-087791c7fdd5c45c" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lLinuxDataCollect [INFO] [stdout] /usr/bin/ld: cannot find -lthostmduserapi_se [INFO] [stdout] /usr/bin/ld: cannot find -lthosttraderapi_se [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.ctp_rs.c3e01168-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52.120gi5j23d7ddd2z.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ctp_rs-24e7ba3ea70fb423/out" "-L" "/opt/rustwide/workdir/shared/md/unix.x86_64" "-L" "/opt/rustwide/workdir/shared/td/unix.x86_64" "-L" "/opt/rustwide/workdir/shared/data_collect/unix.x86_64" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "-lwrapper" "-Wl,--no-whole-archive" "-Wl,-Bdynamic" "-lstdc++" "-lLinuxDataCollect" "-lthostmduserapi_se" "-lthosttraderapi_se" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-ae0b9de85e81d76f.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-dd17e7b765638f54.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-e55ce254123a1c62.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c91921c83bf98d74.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ctp_rs-e4136f99e85c4c52" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lLinuxDataCollect [INFO] [stdout] /usr/bin/ld: cannot find -lthostmduserapi_se [INFO] [stdout] /usr/bin/ld: cannot find -lthosttraderapi_se [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "105cc15633e5615ad1a0e8e0ca393e8de5bac9d26eb8b9422b402442607c9660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105cc15633e5615ad1a0e8e0ca393e8de5bac9d26eb8b9422b402442607c9660", kill_on_drop: false }` [INFO] [stdout] 105cc15633e5615ad1a0e8e0ca393e8de5bac9d26eb8b9422b402442607c9660