[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] testing dxlee0807/stock_trading_system_simulation against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [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 b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39d7f3ead3bfac90244e689d4dd00d36d39532db0aec74ec5e08a7034ca38391 [INFO] running `Command { std: "docker" "start" "-a" "39d7f3ead3bfac90244e689d4dd00d36d39532db0aec74ec5e08a7034ca38391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39d7f3ead3bfac90244e689d4dd00d36d39532db0aec74ec5e08a7034ca38391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d7f3ead3bfac90244e689d4dd00d36d39532db0aec74ec5e08a7034ca38391", kill_on_drop: false }` [INFO] [stdout] 39d7f3ead3bfac90244e689d4dd00d36d39532db0aec74ec5e08a7034ca38391 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b2404d5a0e930b9077703b1c01e4afd6b456feb89bdd564cbf1426ea2d1bd7 [INFO] running `Command { std: "docker" "start" "-a" "27b2404d5a0e930b9077703b1c01e4afd6b456feb89bdd564cbf1426ea2d1bd7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling encode_unicode v1.0.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling prettytable-rs v0.10.0 [INFO] [stderr] Compiling bma-benchmark-proc v0.0.18 [INFO] [stderr] Compiling bma-benchmark v0.0.24 [INFO] [stderr] Compiling 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)]` 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)]` 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: 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)]` on by default [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)]` 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>>,stock_selector_tx:crossbeam_channel::Sender) { [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>>,sender:std::sync::mpsc::Sender){ [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>>, [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)]` 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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcRrHtvR/symbols.o" "<9 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstrum-84069d4afdd52428.rlib,librand-d5e9a113553b3291.rlib,librand_chacha-a2997681640b7857.rlib,libppv_lite86-4250c766b4729968.rlib,librand_core-58f3e01d640778a8.rlib,libgetrandom-8b45c0a6bc04dc11.rlib,libscheduled_thread_pool-905e181b9069fe84.rlib,libparking_lot-6947d15f4f379664.rlib,libparking_lot_core-d9e96692d2b09834.rlib,libsmallvec-8045c56aeb050430.rlib,liblock_api-3fb6d768978ba04b.rlib,libscopeguard-d52bd00767847e44.rlib,libcrossbeam_channel-8a08a655d5180a12.rlib,libcrossbeam_utils-0c17b997a9c52013.rlib,libbma_benchmark-1901a4f5651f9cdc.rlib,libterminal_size-bb50e8b91162158a.rlib,libnum_format-ad41b3bdfe41fa6c.rlib,libarrayvec-f942e8c771b56381.rlib,libcolored-1a1a0e533dc37546.rlib,libprettytable-ddca886e211efa0f.rlib,libis_terminal-c120d73f1cb32292.rlib,libcsv-7b18364bdb19d677.rlib,libryu-0f2a15b68b451590.rlib,libitoa-4c6598116a867907.rlib,libcsv_core-c5c1a25f2e8233fc.rlib,libmemchr-7e9ddcc3522c55af.rlib,libserde-27832cc8ccf7d366.rlib,libunicode_width-ff8848b4c91bc42d.rlib,libencode_unicode-d7286f5348fd1458.rlib,libterm-9ab9a63fb65d2a51.rlib,libdirs_next-c19bf45202a09c30.rlib,libdirs_sys_next-54f0158a971c40ce.rlib,liblibc-21d71f812ea07b39.rlib,libcfg_if-33ef6c02a07f9fec.rlib,liblazy_static-2bb390fee0230a38.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcRrHtvR/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/benchmark-068ce82c67d47cd9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stock_trading_system_simulation` (bin "benchmark") due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcJphIlG/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libstrum-84069d4afdd52428.rlib,librand-d5e9a113553b3291.rlib,librand_chacha-a2997681640b7857.rlib,libppv_lite86-4250c766b4729968.rlib,librand_core-58f3e01d640778a8.rlib,libgetrandom-8b45c0a6bc04dc11.rlib,libscheduled_thread_pool-905e181b9069fe84.rlib,libparking_lot-6947d15f4f379664.rlib,libparking_lot_core-d9e96692d2b09834.rlib,liblibc-21d71f812ea07b39.rlib,libcfg_if-33ef6c02a07f9fec.rlib,libsmallvec-8045c56aeb050430.rlib,liblock_api-3fb6d768978ba04b.rlib,libscopeguard-d52bd00767847e44.rlib,libcrossbeam_channel-8a08a655d5180a12.rlib,libcrossbeam_utils-0c17b997a9c52013.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcJphIlG/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/bursa-b26c9eebd0d59f65" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stock_trading_system_simulation` (bin "bursa") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "27b2404d5a0e930b9077703b1c01e4afd6b456feb89bdd564cbf1426ea2d1bd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b2404d5a0e930b9077703b1c01e4afd6b456feb89bdd564cbf1426ea2d1bd7", kill_on_drop: false }` [INFO] [stdout] 27b2404d5a0e930b9077703b1c01e4afd6b456feb89bdd564cbf1426ea2d1bd7