[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] checking SheldonNico/ctp-rs against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSheldonNico%2Fctp-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SheldonNico/ctp-rs on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1411af5aa36518817fa30d105a1c0ba5a92d49958f3d24ff1261223b9f36fdac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1411af5aa36518817fa30d105a1c0ba5a92d49958f3d24ff1261223b9f36fdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1411af5aa36518817fa30d105a1c0ba5a92d49958f3d24ff1261223b9f36fdac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1411af5aa36518817fa30d105a1c0ba5a92d49958f3d24ff1261223b9f36fdac", kill_on_drop: false }` [INFO] [stdout] 1411af5aa36518817fa30d105a1c0ba5a92d49958f3d24ff1261223b9f36fdac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c0c4611062939a72383f927f8263e1f6a5746529c09288cbc809a04661523da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9c0c4611062939a72383f927f8263e1f6a5746529c09288cbc809a04661523da", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling libloading v0.6.4 [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 nom v5.1.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling clang-sys v1.0.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling bindgen v0.55.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: 1 warning emitted [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 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 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: `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 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: `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 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: `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 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] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "9c0c4611062939a72383f927f8263e1f6a5746529c09288cbc809a04661523da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c0c4611062939a72383f927f8263e1f6a5746529c09288cbc809a04661523da", kill_on_drop: false }` [INFO] [stdout] 9c0c4611062939a72383f927f8263e1f6a5746529c09288cbc809a04661523da