[INFO] cloning repository https://github.com/pkking/feitu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pkking/feitu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkking%2Ffeitu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkking%2Ffeitu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89130208c7920a2005c4d76da7f9d16ae24d49be [INFO] checking pkking/feitu against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkking%2Ffeitu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pkking/feitu on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pkking/feitu [INFO] finished tweaking git repo https://github.com/pkking/feitu [INFO] tweaked toml for git repo https://github.com/pkking/feitu written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pkking/feitu 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log4rs v0.13.0 [INFO] [stderr] Downloaded simple-log v1.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90085004065c72d977508f3b0b3884f20092e840633b055cfb2c596327d283d9 [INFO] running `Command { std: "docker" "start" "-a" "90085004065c72d977508f3b0b3884f20092e840633b055cfb2c596327d283d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90085004065c72d977508f3b0b3884f20092e840633b055cfb2c596327d283d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90085004065c72d977508f3b0b3884f20092e840633b055cfb2c596327d283d9", kill_on_drop: false }` [INFO] [stdout] 90085004065c72d977508f3b0b3884f20092e840633b055cfb2c596327d283d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a97801075ee90cfd70f5fed09849b69f6cf3312fd9f44f20802e4108c10120ec [INFO] running `Command { std: "docker" "start" "-a" "a97801075ee90cfd70f5fed09849b69f6cf3312fd9f44f20802e4108c10120ec", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking is_debug v1.0.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking log4rs v0.13.0 [INFO] [stderr] Checking simple-log v1.3.3 [INFO] [stderr] Checking solution v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `csv` is imported redundantly [INFO] [stdout] --> src/strategy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv; [INFO] [stdout] | ^^^ the item `csv` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tick::Tick` [INFO] [stdout] --> src/strategy.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::tick::Tick; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `csv` is imported redundantly [INFO] [stdout] --> src/strategy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use csv; [INFO] [stdout] | ^^^ the item `csv` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tick::Tick` [INFO] [stdout] --> src/strategy.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::tick::Tick; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `order` should have an upper camel case name [INFO] [stdout] --> src/strategy.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct order { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Order` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `config` should have an upper camel case name [INFO] [stdout] --> src/strategy.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct config { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/transaction.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, FixedOffset, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `transaction` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transaction::read_trans_data_from_file` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use transaction::read_trans_data_from_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `order` should have an upper camel case name [INFO] [stdout] --> src/strategy.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct order { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Order` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `config` should have an upper camel case name [INFO] [stdout] --> src/strategy.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct config { [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TimeZone` [INFO] [stdout] --> src/transaction.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, FixedOffset, TimeZone}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `transaction` should have an upper camel case name [INFO] [stdout] --> src/transaction.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct transaction { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `transaction::read_trans_data_from_file` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use transaction::read_trans_data_from_file; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trans_data` is never read [INFO] [stdout] --> src/strategy.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub trans_data: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trans` is never read [INFO] [stdout] --> src/strategy.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct StockSys { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub trans: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tick.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Tick { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | pub chWindCode: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub nTime: u64, [INFO] [stdout] 45 | pub Status: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub PreClose: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub Open: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub High: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub Low: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub nMatchItems: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | pub TotalVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | pub TotalTurnover: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub TotalBidVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub TotalAskVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub WeightedAvgBidPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | pub WeightedAvgAskPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub IOPV: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | pub YieldToMaturity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tick` 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: multiple fields are never read [INFO] [stdout] --> src/transaction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub Tkr: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub Time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub dt: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub Index: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub Price: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub Volume: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub Turnover: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub BSFlag: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub OrderKind: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub FunctionCode: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | pub AskOrder: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub BidOrder: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `transaction` 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: function `read_trans_data_from_file` is never used [INFO] [stdout] --> src/transaction.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn read_trans_data_from_file(path :&str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `chWindCode` should have a snake case name [INFO] [stdout] --> src/tick.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub chWindCode: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ch_wind_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTime` should have a snake case name [INFO] [stdout] --> src/tick.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub nTime: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `n_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Status` should have a snake case name [INFO] [stdout] --> src/tick.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub Status: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PreClose` should have a snake case name [INFO] [stdout] --> src/tick.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub PreClose: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Open` should have a snake case name [INFO] [stdout] --> src/tick.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub Open: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `open` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `High` should have a snake case name [INFO] [stdout] --> src/tick.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub High: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Low` should have a snake case name [INFO] [stdout] --> src/tick.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub Low: u64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `low` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nPrice` should have a snake case name [INFO] [stdout] --> src/tick.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub nPrice: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `n_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice1` should have a snake case name [INFO] [stdout] --> src/tick.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub nAskPrice1: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice2` should have a snake case name [INFO] [stdout] --> src/tick.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub nAskPrice2: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice3` should have a snake case name [INFO] [stdout] --> src/tick.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub nAskPrice3: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice4` should have a snake case name [INFO] [stdout] --> src/tick.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub nAskPrice4: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice5` should have a snake case name [INFO] [stdout] --> src/tick.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub nAskPrice5: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice6` should have a snake case name [INFO] [stdout] --> src/tick.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub nAskPrice6: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice7` should have a snake case name [INFO] [stdout] --> src/tick.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub nAskPrice7: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice8` should have a snake case name [INFO] [stdout] --> src/tick.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub nAskPrice8: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice9` should have a snake case name [INFO] [stdout] --> src/tick.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub nAskPrice9: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice10` should have a snake case name [INFO] [stdout] --> src/tick.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub nAskPrice10: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume1` should have a snake case name [INFO] [stdout] --> src/tick.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub nAskVolume1: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume2` should have a snake case name [INFO] [stdout] --> src/tick.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub nAskVolume2: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume3` should have a snake case name [INFO] [stdout] --> src/tick.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub nAskVolume3: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume4` should have a snake case name [INFO] [stdout] --> src/tick.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub nAskVolume4: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume5` should have a snake case name [INFO] [stdout] --> src/tick.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub nAskVolume5: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume6` should have a snake case name [INFO] [stdout] --> src/tick.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub nAskVolume6: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume7` should have a snake case name [INFO] [stdout] --> src/tick.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub nAskVolume7: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume8` should have a snake case name [INFO] [stdout] --> src/tick.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub nAskVolume8: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume9` should have a snake case name [INFO] [stdout] --> src/tick.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub nAskVolume9: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume10` should have a snake case name [INFO] [stdout] --> src/tick.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub nAskVolume10: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice1` should have a snake case name [INFO] [stdout] --> src/tick.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub nBidPrice1: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice2` should have a snake case name [INFO] [stdout] --> src/tick.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub nBidPrice2: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice3` should have a snake case name [INFO] [stdout] --> src/tick.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub nBidPrice3: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice4` should have a snake case name [INFO] [stdout] --> src/tick.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub nBidPrice4: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice5` should have a snake case name [INFO] [stdout] --> src/tick.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub nBidPrice5: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice6` should have a snake case name [INFO] [stdout] --> src/tick.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub nBidPrice6: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice7` should have a snake case name [INFO] [stdout] --> src/tick.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub nBidPrice7: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice8` should have a snake case name [INFO] [stdout] --> src/tick.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub nBidPrice8: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice9` should have a snake case name [INFO] [stdout] --> src/tick.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub nBidPrice9: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice10` should have a snake case name [INFO] [stdout] --> src/tick.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub nBidPrice10: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume1` should have a snake case name [INFO] [stdout] --> src/tick.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub nBidVolume1: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume2` should have a snake case name [INFO] [stdout] --> src/tick.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub nBidVolume2: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume3` should have a snake case name [INFO] [stdout] --> src/tick.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub nBidVolume3: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume4` should have a snake case name [INFO] [stdout] --> src/tick.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub nBidVolume4: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume5` should have a snake case name [INFO] [stdout] --> src/tick.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub nBidVolume5: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume6` should have a snake case name [INFO] [stdout] --> src/tick.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub nBidVolume6: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume7` should have a snake case name [INFO] [stdout] --> src/tick.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub nBidVolume7: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume8` should have a snake case name [INFO] [stdout] --> src/tick.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub nBidVolume8: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume9` should have a snake case name [INFO] [stdout] --> src/tick.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub nBidVolume9: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trans_data` is never read [INFO] [stdout] --> src/strategy.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub trans_data: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume10` should have a snake case name [INFO] [stdout] --> src/tick.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub nBidVolume10: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nMatchItems` should have a snake case name [INFO] [stdout] --> src/tick.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub nMatchItems: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_match_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `trans` is never read [INFO] [stdout] --> src/strategy.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct StockSys { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub trans: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalVolume` should have a snake case name [INFO] [stdout] --> src/tick.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub TotalVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalTurnover` should have a snake case name [INFO] [stdout] --> src/tick.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub TotalTurnover: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_turnover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalBidVolume` should have a snake case name [INFO] [stdout] --> src/tick.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub TotalBidVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_bid_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalAskVolume` should have a snake case name [INFO] [stdout] --> src/tick.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub TotalAskVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_ask_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WeightedAvgBidPrice` should have a snake case name [INFO] [stdout] --> src/tick.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub WeightedAvgBidPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `weighted_avg_bid_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/tick.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Tick { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 43 | pub chWindCode: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | pub nTime: u64, [INFO] [stdout] 45 | pub Status: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | pub PreClose: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 47 | pub Open: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | pub High: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub Low: u64, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub nMatchItems: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 92 | pub TotalVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 93 | pub TotalTurnover: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 94 | pub TotalBidVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 95 | pub TotalAskVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 96 | pub WeightedAvgBidPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 97 | pub WeightedAvgAskPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub IOPV: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | pub YieldToMaturity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tick` 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 `WeightedAvgAskPrice` should have a snake case name [INFO] [stdout] --> src/tick.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub WeightedAvgAskPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `weighted_avg_ask_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IOPV` should have a snake case name [INFO] [stdout] --> src/tick.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub IOPV: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `iopv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `YieldToMaturity` should have a snake case name [INFO] [stdout] --> src/tick.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub YieldToMaturity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `yield_to_maturity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/transaction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct transaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 11 | pub Tkr: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | pub Time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub dt: DateTime, [INFO] [stdout] | ^^ [INFO] [stdout] 16 | pub Index: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub Price: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub Volume: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub Turnover: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | pub BSFlag: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub OrderKind: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub FunctionCode: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 23 | pub AskOrder: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub BidOrder: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `transaction` 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 `HighLimited` should have a snake case name [INFO] [stdout] --> src/tick.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub HighLimited: u64, // tick数据中的涨停价比普通值少了一位,需要特殊处理 [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `high_limited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LowLimited` should have a snake case name [INFO] [stdout] --> src/tick.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub LowLimited: u64, //tick数据中的跌停价比普通值少了一位,需要特殊处理 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `low_limited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_trans_data_from_file` is never used [INFO] [stdout] --> src/transaction.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn read_trans_data_from_file(path :&str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tkr` should have a snake case name [INFO] [stdout] --> src/transaction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub Tkr: String, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tkr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Time` should have a snake case name [INFO] [stdout] --> src/transaction.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub Time: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/transaction.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub Index: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Price` should have a snake case name [INFO] [stdout] --> src/transaction.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub Price: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Volume` should have a snake case name [INFO] [stdout] --> src/transaction.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub Volume: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Turnover` should have a snake case name [INFO] [stdout] --> src/transaction.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub Turnover: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `turnover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BSFlag` should have a snake case name [INFO] [stdout] --> src/transaction.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub BSFlag: char, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bsflag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OrderKind` should have a snake case name [INFO] [stdout] --> src/transaction.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub OrderKind: u64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `order_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FunctionCode` should have a snake case name [INFO] [stdout] --> src/transaction.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub FunctionCode: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `function_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AskOrder` should have a snake case name [INFO] [stdout] --> src/transaction.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub AskOrder: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ask_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BidOrder` should have a snake case name [INFO] [stdout] --> src/transaction.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub BidOrder: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bid_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `chWindCode` should have a snake case name [INFO] [stdout] --> src/tick.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub chWindCode: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ch_wind_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nTime` should have a snake case name [INFO] [stdout] --> src/tick.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub nTime: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `n_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Status` should have a snake case name [INFO] [stdout] --> src/tick.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | pub Status: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PreClose` should have a snake case name [INFO] [stdout] --> src/tick.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub PreClose: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `pre_close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Open` should have a snake case name [INFO] [stdout] --> src/tick.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub Open: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `open` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `High` should have a snake case name [INFO] [stdout] --> src/tick.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub High: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `high` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Low` should have a snake case name [INFO] [stdout] --> src/tick.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub Low: u64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `low` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nPrice` should have a snake case name [INFO] [stdout] --> src/tick.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub nPrice: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `n_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice1` should have a snake case name [INFO] [stdout] --> src/tick.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub nAskPrice1: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice2` should have a snake case name [INFO] [stdout] --> src/tick.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub nAskPrice2: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice3` should have a snake case name [INFO] [stdout] --> src/tick.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub nAskPrice3: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice4` should have a snake case name [INFO] [stdout] --> src/tick.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub nAskPrice4: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice5` should have a snake case name [INFO] [stdout] --> src/tick.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub nAskPrice5: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice6` should have a snake case name [INFO] [stdout] --> src/tick.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub nAskPrice6: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice7` should have a snake case name [INFO] [stdout] --> src/tick.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub nAskPrice7: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice8` should have a snake case name [INFO] [stdout] --> src/tick.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub nAskPrice8: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice9` should have a snake case name [INFO] [stdout] --> src/tick.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub nAskPrice9: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskPrice10` should have a snake case name [INFO] [stdout] --> src/tick.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub nAskPrice10: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_price10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume1` should have a snake case name [INFO] [stdout] --> src/tick.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub nAskVolume1: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume2` should have a snake case name [INFO] [stdout] --> src/tick.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub nAskVolume2: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume3` should have a snake case name [INFO] [stdout] --> src/tick.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub nAskVolume3: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume4` should have a snake case name [INFO] [stdout] --> src/tick.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub nAskVolume4: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume5` should have a snake case name [INFO] [stdout] --> src/tick.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub nAskVolume5: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume6` should have a snake case name [INFO] [stdout] --> src/tick.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub nAskVolume6: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume7` should have a snake case name [INFO] [stdout] --> src/tick.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub nAskVolume7: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume8` should have a snake case name [INFO] [stdout] --> src/tick.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub nAskVolume8: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume9` should have a snake case name [INFO] [stdout] --> src/tick.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub nAskVolume9: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nAskVolume10` should have a snake case name [INFO] [stdout] --> src/tick.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub nAskVolume10: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `n_ask_volume10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice1` should have a snake case name [INFO] [stdout] --> src/tick.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub nBidPrice1: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice2` should have a snake case name [INFO] [stdout] --> src/tick.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub nBidPrice2: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice3` should have a snake case name [INFO] [stdout] --> src/tick.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub nBidPrice3: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice4` should have a snake case name [INFO] [stdout] --> src/tick.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub nBidPrice4: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice5` should have a snake case name [INFO] [stdout] --> src/tick.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub nBidPrice5: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice6` should have a snake case name [INFO] [stdout] --> src/tick.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub nBidPrice6: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice7` should have a snake case name [INFO] [stdout] --> src/tick.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub nBidPrice7: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice8` should have a snake case name [INFO] [stdout] --> src/tick.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub nBidPrice8: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice9` should have a snake case name [INFO] [stdout] --> src/tick.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub nBidPrice9: u64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidPrice10` should have a snake case name [INFO] [stdout] --> src/tick.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | pub nBidPrice10: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_price10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume1` should have a snake case name [INFO] [stdout] --> src/tick.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub nBidVolume1: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume2` should have a snake case name [INFO] [stdout] --> src/tick.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | pub nBidVolume2: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume3` should have a snake case name [INFO] [stdout] --> src/tick.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub nBidVolume3: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume4` should have a snake case name [INFO] [stdout] --> src/tick.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub nBidVolume4: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume5` should have a snake case name [INFO] [stdout] --> src/tick.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub nBidVolume5: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume6` should have a snake case name [INFO] [stdout] --> src/tick.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub nBidVolume6: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume7` should have a snake case name [INFO] [stdout] --> src/tick.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub nBidVolume7: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume8` should have a snake case name [INFO] [stdout] --> src/tick.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub nBidVolume8: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume9` should have a snake case name [INFO] [stdout] --> src/tick.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub nBidVolume9: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nBidVolume10` should have a snake case name [INFO] [stdout] --> src/tick.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | pub nBidVolume10: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `n_bid_volume10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `nMatchItems` should have a snake case name [INFO] [stdout] --> src/tick.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | pub nMatchItems: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `n_match_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalVolume` should have a snake case name [INFO] [stdout] --> src/tick.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub TotalVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalTurnover` should have a snake case name [INFO] [stdout] --> src/tick.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | pub TotalTurnover: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_turnover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalBidVolume` should have a snake case name [INFO] [stdout] --> src/tick.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | pub TotalBidVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_bid_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `TotalAskVolume` should have a snake case name [INFO] [stdout] --> src/tick.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub TotalAskVolume: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `total_ask_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WeightedAvgBidPrice` should have a snake case name [INFO] [stdout] --> src/tick.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub WeightedAvgBidPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `weighted_avg_bid_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WeightedAvgAskPrice` should have a snake case name [INFO] [stdout] --> src/tick.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | pub WeightedAvgAskPrice: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `weighted_avg_ask_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IOPV` should have a snake case name [INFO] [stdout] --> src/tick.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | pub IOPV: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `iopv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `YieldToMaturity` should have a snake case name [INFO] [stdout] --> src/tick.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub YieldToMaturity: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `yield_to_maturity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HighLimited` should have a snake case name [INFO] [stdout] --> src/tick.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub HighLimited: u64, // tick数据中的涨停价比普通值少了一位,需要特殊处理 [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `high_limited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LowLimited` should have a snake case name [INFO] [stdout] --> src/tick.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub LowLimited: u64, //tick数据中的跌停价比普通值少了一位,需要特殊处理 [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `low_limited` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Tkr` should have a snake case name [INFO] [stdout] --> src/transaction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub Tkr: String, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tkr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Time` should have a snake case name [INFO] [stdout] --> src/transaction.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub Time: u64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Index` should have a snake case name [INFO] [stdout] --> src/transaction.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub Index: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Price` should have a snake case name [INFO] [stdout] --> src/transaction.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub Price: u64, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Volume` should have a snake case name [INFO] [stdout] --> src/transaction.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub Volume: u64, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Turnover` should have a snake case name [INFO] [stdout] --> src/transaction.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub Turnover: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `turnover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BSFlag` should have a snake case name [INFO] [stdout] --> src/transaction.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub BSFlag: char, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `bsflag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OrderKind` should have a snake case name [INFO] [stdout] --> src/transaction.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub OrderKind: u64, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `order_kind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FunctionCode` should have a snake case name [INFO] [stdout] --> src/transaction.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub FunctionCode: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `function_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AskOrder` should have a snake case name [INFO] [stdout] --> src/transaction.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub AskOrder: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `ask_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `BidOrder` should have a snake case name [INFO] [stdout] --> src/transaction.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub BidOrder: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `bid_order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "a97801075ee90cfd70f5fed09849b69f6cf3312fd9f44f20802e4108c10120ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97801075ee90cfd70f5fed09849b69f6cf3312fd9f44f20802e4108c10120ec", kill_on_drop: false }` [INFO] [stdout] a97801075ee90cfd70f5fed09849b69f6cf3312fd9f44f20802e4108c10120ec [INFO] checking pkking/feitu against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpkking%2Ffeitu" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pkking/feitu on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pkking/feitu [INFO] finished tweaking git repo https://github.com/pkking/feitu [INFO] tweaked toml for git repo https://github.com/pkking/feitu written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pkking/feitu 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14c46959831d339325b84eb99d22c71bc3700a6cc6cacdc8dfda01dccb560154 [INFO] running `Command { std: "docker" "start" "-a" "14c46959831d339325b84eb99d22c71bc3700a6cc6cacdc8dfda01dccb560154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14c46959831d339325b84eb99d22c71bc3700a6cc6cacdc8dfda01dccb560154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c46959831d339325b84eb99d22c71bc3700a6cc6cacdc8dfda01dccb560154", kill_on_drop: false }` [INFO] [stdout] 14c46959831d339325b84eb99d22c71bc3700a6cc6cacdc8dfda01dccb560154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a16976ec9ba2762edb7f13504722fa440eb26b030fe047b2e4e4c07b2dca77 [INFO] running `Command { std: "docker" "start" "-a" "58a16976ec9ba2762edb7f13504722fa440eb26b030fe047b2e4e4c07b2dca77", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking is_debug v1.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/miniz_oxide-0.4.4/src/inflate/core.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | / match state { [INFO] [stdout] 1061 | | Start => generate_state!(state, 'state_machine, { [INFO] [stdout] 1062 | | l.bit_buf = 0; [INFO] [stdout] 1063 | | l.num_bits = 0; [INFO] [stdout] ... | [INFO] [stdout] 1592 | | _ => break TINFLStatus::Failed, [INFO] [stdout] 1593 | | }; [INFO] [stdout] | |_________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `miniz_oxide` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "58a16976ec9ba2762edb7f13504722fa440eb26b030fe047b2e4e4c07b2dca77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a16976ec9ba2762edb7f13504722fa440eb26b030fe047b2e4e4c07b2dca77", kill_on_drop: false }` [INFO] [stdout] 58a16976ec9ba2762edb7f13504722fa440eb26b030fe047b2e4e4c07b2dca77