[INFO] cloning repository https://github.com/keirjames/fm-rust-trader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keirjames/fm-rust-trader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeirjames%2Ffm-rust-trader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeirjames%2Ffm-rust-trader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3be89163b84f42718993514b2ac4e0780ab2a0e2
[INFO] testing keirjames/fm-rust-trader against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeirjames%2Ffm-rust-trader" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/keirjames/fm-rust-trader
[INFO] finished tweaking git repo https://github.com/keirjames/fm-rust-trader
[INFO] tweaked toml for git repo https://github.com/keirjames/fm-rust-trader written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/keirjames/fm-rust-trader on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/keirjames/fm-rust-trader 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-xid v0.2.1
[INFO] [stderr]   Downloaded serde v1.0.123
[INFO] [stderr]   Downloaded itoa v0.4.7
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded quote v1.0.9
[INFO] [stderr]   Downloaded proc-macro2 v1.0.24
[INFO] [stderr]   Downloaded byteorder v1.4.2
[INFO] [stderr]   Downloaded memchr v2.3.4
[INFO] [stderr]   Downloaded ryu v1.0.5
[INFO] [stderr]   Downloaded serde_derive v1.0.123
[INFO] [stderr]   Downloaded serde_json v1.0.62
[INFO] [stderr]   Downloaded regex-automata v0.1.9
[INFO] [stderr]   Downloaded syn v1.0.60
[INFO] [stderr]   Downloaded bstr v0.2.15
[INFO] [stderr]   Downloaded libc v0.2.86
[INFO] [stderr]   Downloaded csv v1.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8059020147a5d8e953d0d5a95dc4e90f9f252f420ab1cd432bd191997cacd37a
[INFO] running `Command { std: "docker" "start" "-a" "8059020147a5d8e953d0d5a95dc4e90f9f252f420ab1cd432bd191997cacd37a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8059020147a5d8e953d0d5a95dc4e90f9f252f420ab1cd432bd191997cacd37a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8059020147a5d8e953d0d5a95dc4e90f9f252f420ab1cd432bd191997cacd37a", kill_on_drop: false }`
[INFO] [stdout] 8059020147a5d8e953d0d5a95dc4e90f9f252f420ab1cd432bd191997cacd37a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] afffa3aca21b5fe3109f2eff7bb55cb88033866853f2b659421d857172836d54
[INFO] running `Command { std: "docker" "start" "-a" "afffa3aca21b5fe3109f2eff7bb55cb88033866853f2b659421d857172836d54", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling byteorder v1.4.2
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling serde_json v1.0.62
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling bstr v0.2.15
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling csv v1.1.5
[INFO] [stderr]    Compiling fm-rust-trader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::data::HistoricDataHandler`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::data::HistoricDataHandler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let config = load_config();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trader` is never constructed
[INFO] [stdout]   --> src/config.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Trader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_MARKET` is never used
[INFO] [stdout]  --> src/model.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const EVENT_TYPE_MARKET: &str = "MARKET_EVENT";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_SIGNAL` is never used
[INFO] [stdout]  --> src/model.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const EVENT_TYPE_SIGNAL: &str = "SIGNAL_EVENT";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_ORDER` is never used
[INFO] [stdout]  --> src/model.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const EVENT_TYPE_ORDER: &str = "ORDER_EVENT";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_FILL` is never used
[INFO] [stdout]  --> src/model.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const EVENT_TYPE_FILL: &str = "FILL_EVENT";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketEvent` is never constructed
[INFO] [stdout]   --> src/model.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MarketEvent {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bar` is never constructed
[INFO] [stdout]   --> src/model.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Bar {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SymbolData` is never constructed
[INFO] [stdout]   --> src/model.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct SymbolData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_bar` is never used
[INFO] [stdout]   --> src/model.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl SymbolData {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 47 |     pub fn add_bar(&mut self, bar: &Bar) -> &mut SymbolData {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_DIRECTORY` is never used
[INFO] [stdout]  --> src/data.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DATA_DIRECTORY: &str = "resources/data/";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricDataHandler` is never constructed
[INFO] [stdout]  --> src/data.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct HistoricDataHandler {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `should_continue`, `update_data`, and `get_latest_data` are never used
[INFO] [stdout]   --> src/data.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl HistoricDataHandler {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(cfg: &Trader, event_q: Vec<MarketEvent>) -> HistoricDataHandler {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn should_continue(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_data(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn get_latest_data(&self) -> (&SymbolData, usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_csv_symbol_data` is never used
[INFO] [stdout]   --> src/data.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn load_csv_symbol_data(cfg: &Trader) -> Result<SymbolData, csv::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_csv_file_path` is never used
[INFO] [stdout]   --> src/data.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn build_csv_file_path(cfg: &Trader) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.05s
[INFO] running `Command { std: "docker" "inspect" "afffa3aca21b5fe3109f2eff7bb55cb88033866853f2b659421d857172836d54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afffa3aca21b5fe3109f2eff7bb55cb88033866853f2b659421d857172836d54", kill_on_drop: false }`
[INFO] [stdout] afffa3aca21b5fe3109f2eff7bb55cb88033866853f2b659421d857172836d54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7e37c707591f36c605be50ad9870e0d163729577ced39a02fa0c09c49a33c66a
[INFO] running `Command { std: "docker" "start" "-a" "7e37c707591f36c605be50ad9870e0d163729577ced39a02fa0c09c49a33c66a", kill_on_drop: false }`
[INFO] [stderr]    Compiling fm-rust-trader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::data::HistoricDataHandler`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::data::HistoricDataHandler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let config = load_config();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trader` is never constructed
[INFO] [stdout]   --> src/config.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Trader {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_MARKET` is never used
[INFO] [stdout]  --> src/model.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub const EVENT_TYPE_MARKET: &str = "MARKET_EVENT";
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_SIGNAL` is never used
[INFO] [stdout]  --> src/model.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const EVENT_TYPE_SIGNAL: &str = "SIGNAL_EVENT";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_ORDER` is never used
[INFO] [stdout]  --> src/model.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | const EVENT_TYPE_ORDER: &str = "ORDER_EVENT";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EVENT_TYPE_FILL` is never used
[INFO] [stdout]  --> src/model.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const EVENT_TYPE_FILL: &str = "FILL_EVENT";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MarketEvent` is never constructed
[INFO] [stdout]   --> src/model.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct MarketEvent {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bar` is never constructed
[INFO] [stdout]   --> src/model.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub struct Bar {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SymbolData` is never constructed
[INFO] [stdout]   --> src/model.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct SymbolData {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_bar` is never used
[INFO] [stdout]   --> src/model.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl SymbolData {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 47 |     pub fn add_bar(&mut self, bar: &Bar) -> &mut SymbolData {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_DIRECTORY` is never used
[INFO] [stdout]  --> src/data.rs:4:7
[INFO] [stdout]   |
[INFO] [stdout] 4 | const DATA_DIRECTORY: &str = "resources/data/";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistoricDataHandler` is never constructed
[INFO] [stdout]  --> src/data.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct HistoricDataHandler {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `should_continue`, `update_data`, and `get_latest_data` are never used
[INFO] [stdout]   --> src/data.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl HistoricDataHandler {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(cfg: &Trader, event_q: Vec<MarketEvent>) -> HistoricDataHandler {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn should_continue(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn update_data(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub fn get_latest_data(&self) -> (&SymbolData, usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `load_csv_symbol_data` is never used
[INFO] [stdout]   --> src/data.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn load_csv_symbol_data(cfg: &Trader) -> Result<SymbolData, csv::Error> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_csv_file_path` is never used
[INFO] [stdout]   --> src/data.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn build_csv_file_path(cfg: &Trader) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.70s
[INFO] running `Command { std: "docker" "inspect" "7e37c707591f36c605be50ad9870e0d163729577ced39a02fa0c09c49a33c66a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e37c707591f36c605be50ad9870e0d163729577ced39a02fa0c09c49a33c66a", kill_on_drop: false }`
[INFO] [stdout] 7e37c707591f36c605be50ad9870e0d163729577ced39a02fa0c09c49a33c66a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 50ab70ea924744c91d8abb16a66baa44376a8f18c274c1d4100346f4b322f6ac
[INFO] running `Command { std: "docker" "start" "-a" "50ab70ea924744c91d8abb16a66baa44376a8f18c274c1d4100346f4b322f6ac", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `crate::data::HistoricDataHandler`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use crate::data::HistoricDataHandler;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/main.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let config = load_config();
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Trader` is never constructed
[INFO] [stderr]   --> src/config.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub struct Trader {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EVENT_TYPE_MARKET` is never used
[INFO] [stderr]  --> src/model.rs:5:11
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub const EVENT_TYPE_MARKET: &str = "MARKET_EVENT";
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EVENT_TYPE_SIGNAL` is never used
[INFO] [stderr]  --> src/model.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const EVENT_TYPE_SIGNAL: &str = "SIGNAL_EVENT";
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EVENT_TYPE_ORDER` is never used
[INFO] [stderr]  --> src/model.rs:7:7
[INFO] [stderr]   |
[INFO] [stderr] 7 | const EVENT_TYPE_ORDER: &str = "ORDER_EVENT";
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `EVENT_TYPE_FILL` is never used
[INFO] [stderr]  --> src/model.rs:8:7
[INFO] [stderr]   |
[INFO] [stderr] 8 | const EVENT_TYPE_FILL: &str = "FILL_EVENT";
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `MarketEvent` is never constructed
[INFO] [stderr]   --> src/model.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct MarketEvent {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Bar` is never constructed
[INFO] [stderr]   --> src/model.rs:20:12
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub struct Bar {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SymbolData` is never constructed
[INFO] [stderr]   --> src/model.rs:36:12
[INFO] [stderr]    |
[INFO] [stderr] 36 | pub struct SymbolData {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `add_bar` is never used
[INFO] [stderr]   --> src/model.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 46 | impl SymbolData {
[INFO] [stderr]    | --------------- method in this implementation
[INFO] [stderr] 47 |     pub fn add_bar(&mut self, bar: &Bar) -> &mut SymbolData {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DATA_DIRECTORY` is never used
[INFO] [stderr]  --> src/data.rs:4:7
[INFO] [stderr]   |
[INFO] [stderr] 4 | const DATA_DIRECTORY: &str = "resources/data/";
[INFO] [stderr]   |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `HistoricDataHandler` is never constructed
[INFO] [stderr]  --> src/data.rs:6:12
[INFO] [stderr]   |
[INFO] [stderr] 6 | pub struct HistoricDataHandler {
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `should_continue`, `update_data`, and `get_latest_data` are never used
[INFO] [stderr]   --> src/data.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl HistoricDataHandler {
[INFO] [stderr]    | ------------------------ associated items in this implementation
[INFO] [stderr] 15 |     pub fn new(cfg: &Trader, event_q: Vec<MarketEvent>) -> HistoricDataHandler {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub fn should_continue(&self) -> bool {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 39 |     pub fn update_data(&mut self) {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 64 |     pub fn get_latest_data(&self) -> (&SymbolData, usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `load_csv_symbol_data` is never used
[INFO] [stderr]   --> src/data.rs:70:4
[INFO] [stderr]    |
[INFO] [stderr] 70 | fn load_csv_symbol_data(cfg: &Trader) -> Result<SymbolData, csv::Error> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `build_csv_file_path` is never used
[INFO] [stderr]   --> src/data.rs:88:4
[INFO] [stderr]    |
[INFO] [stderr] 88 | fn build_csv_file_path(cfg: &Trader) -> String {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `fm-rust-trader` (bin "fm-rust-trader" test) generated 16 warnings (run `cargo fix --bin "fm-rust-trader" -p fm-rust-trader --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fm_rust_trader-1438fa31c17cc4f9)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "50ab70ea924744c91d8abb16a66baa44376a8f18c274c1d4100346f4b322f6ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50ab70ea924744c91d8abb16a66baa44376a8f18c274c1d4100346f4b322f6ac", kill_on_drop: false }`
[INFO] [stdout] 50ab70ea924744c91d8abb16a66baa44376a8f18c274c1d4100346f4b322f6ac
