[INFO] cloning repository https://github.com/dxlee0807/stock_trading_system_simulation
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dxlee0807/stock_trading_system_simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxlee0807%2Fstock_trading_system_simulation", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxlee0807%2Fstock_trading_system_simulation'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12b2e6a4b59f3089340abbbf2931c6fb5ce91cba
[INFO] checking dxlee0807/stock_trading_system_simulation against master#485ec3fbcc12fa14ef6596dabb125ad710499c9e for pr-157710
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdxlee0807%2Fstock_trading_system_simulation" "/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/dxlee0807/stock_trading_system_simulation
[INFO] finished tweaking git repo https://github.com/dxlee0807/stock_trading_system_simulation
[INFO] tweaked toml for git repo https://github.com/dxlee0807/stock_trading_system_simulation written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dxlee0807/stock_trading_system_simulation on toolchain 485ec3fbcc12fa14ef6596dabb125ad710499c9e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dxlee0807/stock_trading_system_simulation 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" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strum v0.26.2
[INFO] [stderr]   Downloaded strum_macros v0.26.2
[INFO] [stderr]   Downloaded terminal_size v0.1.17
[INFO] [stderr]   Downloaded bma-benchmark-proc v0.0.18
[INFO] [stderr]   Downloaded redox_users v0.4.5
[INFO] [stderr]   Downloaded thiserror-impl v1.0.58
[INFO] [stderr]   Downloaded thiserror v1.0.58
[INFO] [stderr]   Downloaded getrandom v0.2.12
[INFO] [stderr]   Downloaded colored v2.1.0
[INFO] [stderr]   Downloaded bma-benchmark v0.0.24
[INFO] [stderr]   Downloaded syn v2.0.57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056
[INFO] running `Command { std: "docker" "start" "3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056" "/opt/rustwide/cargo-home/bin/cargo" "+485ec3fbcc12fa14ef6596dabb125ad710499c9e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling proc-macro2 v1.0.79
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking encode_unicode v1.0.0
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr]     Checking strum v0.26.2
[INFO] [stderr]     Checking num-format v0.4.4
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.57
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking scheduled-thread-pool v0.2.7
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking csv v1.3.0
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]     Checking prettytable-rs v0.10.0
[INFO] [stderr]    Compiling bma-benchmark-proc v0.0.18
[INFO] [stderr]     Checking bma-benchmark v0.0.24
[INFO] [stderr]     Checking stock_trading_system_simulation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `stock`
[INFO] [stdout]    --> src/bin/bursa.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let stock = &mut stock_mutex[i];
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let mut stock_vector = read_stock_file_to_vector("./src/data/stocks.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let mut stock_with_user_rules = read_user_rule_file_to_hashmap("./src/data/user_rules.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock`
[INFO] [stdout]    --> src/bin/bursa.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let stock = &mut stock_mutex[i];
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock`
[INFO] [stdout]    --> src/bin/bursa.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let stock = &mut stock_mutex[i];
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let mut stock_vector = read_stock_file_to_vector("./src/data/stocks.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let mut stock_with_user_rules = read_user_rule_file_to_hashmap("./src/data/user_rules.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock`
[INFO] [stdout]    --> src/bin/bursa.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let stock = &mut stock_mutex[i];
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_stock`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock_selector_rx`
[INFO] [stdout]   --> src/bin/benchmark.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let (stock_selector_tx, stock_selector_rx) = unbounded();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stock_selector_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock_updater_rx`
[INFO] [stdout]   --> src/bin/benchmark.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let (stock_updater_tx, stock_updater_rx) = channel();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stock_updater_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `user_id` is never read
[INFO] [stdout]   --> src/bin/bursa.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct UserRule{
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 32 |     pub user_id:i32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `select_and_send_stock` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn select_and_send_stock(stock_arc_used_by_selector:Arc<Mutex<Vec<Stock>>>,stock_selector_tx:crossbeam_channel::Sender<Order>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_stock_price` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn update_stock_price(_i:i32,order:Order,stock_arc_used_by_updater:Arc<Mutex<Vec<Stock>>>,sender:std::sync::mpsc::Sender<usize>){
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_user_order` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:193:8
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub fn process_user_order(_i:i32,stock_arc_used_by_broker:Arc<Mutex<Vec<Stock>>>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:259:8
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub fn main(){
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let mut stock_vector = read_stock_file_to_vector("./src/data/stocks.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let mut stock_with_user_rules = read_user_rule_file_to_hashmap("./src/data/user_rules.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock_selector_rx`
[INFO] [stdout]   --> src/bin/benchmark.rs:26:29
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let (stock_selector_tx, stock_selector_rx) = unbounded();
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stock_selector_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stock_updater_rx`
[INFO] [stdout]   --> src/bin/benchmark.rs:27:28
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let (stock_updater_tx, stock_updater_rx) = channel();
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stock_updater_rx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `user_id` is never read
[INFO] [stdout]   --> src/bin/bursa.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct UserRule{
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 32 |     pub user_id:i32,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `UserRule` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `select_and_send_stock` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn select_and_send_stock(stock_arc_used_by_selector:Arc<Mutex<Vec<Stock>>>,stock_selector_tx:crossbeam_channel::Sender<Order>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_stock_price` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:122:8
[INFO] [stdout]     |
[INFO] [stdout] 122 | pub fn update_stock_price(_i:i32,order:Order,stock_arc_used_by_updater:Arc<Mutex<Vec<Stock>>>,sender:std::sync::mpsc::Sender<usize>){
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_user_order` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:193:8
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub fn process_user_order(_i:i32,stock_arc_used_by_broker:Arc<Mutex<Vec<Stock>>>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/bin/bursa.rs:259:8
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub fn main(){
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:262:9
[INFO] [stdout]     |
[INFO] [stdout] 262 |     let mut stock_vector = read_stock_file_to_vector("./src/data/stocks.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/bin/bursa.rs:266:9
[INFO] [stdout]     |
[INFO] [stdout] 266 |     let mut stock_with_user_rules = read_user_rule_file_to_hashmap("./src/data/user_rules.txt");
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.15s
[INFO] running `Command { std: "docker" "inspect" "3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056", kill_on_drop: false }`
[INFO] [stdout] 3c329c350b129173ff94bf50472f385e9ab23dec2e4937f18ddd68646b6ff056
