[INFO] cloning repository https://github.com/overrule/ICE_Exchange
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/overrule/ICE_Exchange" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverrule%2FICE_Exchange", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverrule%2FICE_Exchange'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b60af5e49e60f9c104aae053a86b0f52119015f
[INFO] checking overrule/ICE_Exchange against c397dae808f70caebab1fc4e11b3edf7e59f58c7 for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foverrule%2FICE_Exchange" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/overrule/ICE_Exchange
[INFO] finished tweaking git repo https://github.com/overrule/ICE_Exchange
[INFO] tweaked toml for git repo https://github.com/overrule/ICE_Exchange written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/overrule/ICE_Exchange on toolchain c397dae808f70caebab1fc4e11b3edf7e59f58c7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/overrule/ICE_Exchange 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" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded generic-array v0.14.6
[INFO] [stderr]   Downloaded md-5 v0.10.5
[INFO] [stderr]   Downloaded block-buffer v0.10.3
[INFO] [stderr]   Downloaded digest v0.10.5
[INFO] [stderr]   Downloaded indexmap v1.9.1
[INFO] [stderr]   Downloaded priority-queue v1.2.3
[INFO] [stderr]   Downloaded typenum v1.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3
[INFO] running `Command { std: "docker" "start" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3", 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" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3", 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" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3" "/opt/rustwide/cargo-home/bin/cargo" "+c397dae808f70caebab1fc4e11b3edf7e59f58c7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling priority-queue v1.2.3
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking digest v0.10.5
[INFO] [stderr]     Checking md-5 v0.10.5
[INFO] [stderr]     Checking ICE_Exchange v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `orderbook`
[INFO] [stdout]  --> src/exchange/stock_future.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod orderbook;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `orderbook`, create file "src/exchange/stock_future/orderbook.rs" or "src/exchange/stock_future/orderbook/mod.rs"
[INFO] [stdout]   = note: if there is a `mod orderbook` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::stock`
[INFO] [stdout]  --> src/exchange/stock_future.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::stock::Stock;
[INFO] [stdout]   |            ^^^^^ unresolved import
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::exchange::stock::Stock;
[INFO] [stdout]   |            ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Eq`
[INFO] [stdout]  --> src/contest_dates.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Eq;
[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 import: `Exchange`
[INFO] [stdout]  --> src/exchange/stock_option.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Exchange,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `orderbook`
[INFO] [stdout]  --> src/exchange/stock_future.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod orderbook;
[INFO] [stdout]   | ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `orderbook`, create file "src/exchange/stock_future/orderbook.rs" or "src/exchange/stock_future/orderbook/mod.rs"
[INFO] [stdout]   = note: if there is a `mod orderbook` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/exchange/stock_future.rs:27:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |         self.total_stock_obligation[tr.user1.user_id] -= tr.size;
[INFO] [stdout]    |                                                          ^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract-assign `u32` from `i32`
[INFO] [stdout]   --> src/exchange/stock_future.rs:27:55
[INFO] [stdout]    |
[INFO] [stdout] 27 |         self.total_stock_obligation[tr.user1.user_id] -= tr.size;
[INFO] [stdout]    |                                                       ^^ no implementation for `i32 -= u32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SubAssign<u32>` is not implemented for `i32`
[INFO] [stdout] help: `i32` implements trait `SubAssign<Rhs>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SubAssign<&i32>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:857:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SubAssign`
[INFO] [stdout]   ::: /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:870:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]    = note: this error originates in the macro `forward_ref_op_assign` which comes from the expansion of the macro `sub_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/exchange/stock_future.rs:28:58
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.total_stock_obligation[tr.user2.user_id] += tr.size;
[INFO] [stdout]    |                                                          ^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `u32` to `i32`
[INFO] [stdout]   --> src/exchange/stock_future.rs:28:55
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.total_stock_obligation[tr.user2.user_id] += tr.size;
[INFO] [stdout]    |                                                       ^^ no implementation for `i32 += u32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AddAssign<u32>` is not implemented for `i32`
[INFO] [stdout] help: `i32` implements trait `AddAssign<Rhs>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AddAssign<&i32>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:786:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AddAssign`
[INFO] [stdout]   ::: /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:799:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]    = note: this error originates in the macro `forward_ref_op_assign` which comes from the expansion of the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.trade_ptr` as mutable more than once at a time
[INFO] [stdout]    --> src/orderbook.rs:104:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let update_bid = self.trade_ptr.get_mut(&best_bid.tradeID).unwrap();
[INFO] [stdout]     |                          -------------- first mutable borrow occurs here
[INFO] [stdout] 104 |         let update_ask = self.trade_ptr.get_mut(&best_ask.tradeID).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 105 |         update_ask.user_order.filled += trade_qty;
[INFO] [stdout] 106 |         update_bid.user_order.filled += trade_qty;
[INFO] [stdout]     |         ----------------------------------------- first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::stock`
[INFO] [stdout]  --> src/exchange/stock_future.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::stock::Stock;
[INFO] [stdout]   |            ^^^^^ unresolved import
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::exchange::stock::Stock;
[INFO] [stdout]   |            ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Eq`
[INFO] [stdout]  --> src/contest_dates.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::Eq;
[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 import: `Exchange`
[INFO] [stdout]  --> src/exchange/stock_option.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     Exchange,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0499, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ICE_Exchange` (bin "ICE_Exchange") due to 7 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/exchange/stock_future.rs:27:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |         self.total_stock_obligation[tr.user1.user_id] -= tr.size;
[INFO] [stdout]    |                                                          ^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot subtract-assign `u32` from `i32`
[INFO] [stdout]   --> src/exchange/stock_future.rs:27:55
[INFO] [stdout]    |
[INFO] [stdout] 27 |         self.total_stock_obligation[tr.user1.user_id] -= tr.size;
[INFO] [stdout]    |                                                       ^^ no implementation for `i32 -= u32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SubAssign<u32>` is not implemented for `i32`
[INFO] [stdout] help: `i32` implements trait `SubAssign<Rhs>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SubAssign<&i32>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:857:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SubAssign`
[INFO] [stdout]   ::: /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:870:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]    = note: this error originates in the macro `forward_ref_op_assign` which comes from the expansion of the macro `sub_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/exchange/stock_future.rs:28:58
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.total_stock_obligation[tr.user2.user_id] += tr.size;
[INFO] [stdout]    |                                                          ^^^^^^^ expected `i32`, found `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add-assign `u32` to `i32`
[INFO] [stdout]   --> src/exchange/stock_future.rs:28:55
[INFO] [stdout]    |
[INFO] [stdout] 28 |         self.total_stock_obligation[tr.user2.user_id] += tr.size;
[INFO] [stdout]    |                                                       ^^ no implementation for `i32 += u32`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `AddAssign<u32>` is not implemented for `i32`
[INFO] [stdout] help: `i32` implements trait `AddAssign<Rhs>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/internal_macros.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AddAssign<&i32>`
[INFO] [stdout]   --> /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:786:8
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AddAssign`
[INFO] [stdout]   ::: /rustc/c397dae808f70caebab1fc4e11b3edf7e59f58c7/library/core/src/ops/arith.rs:799:0
[INFO] [stdout]    |
[INFO] [stdout]    = note: in this macro invocation
[INFO] [stdout]    = note: this error originates in the macro `forward_ref_op_assign` which comes from the expansion of the macro `add_assign_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `self.trade_ptr` as mutable more than once at a time
[INFO] [stdout]    --> src/orderbook.rs:104:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let update_bid = self.trade_ptr.get_mut(&best_bid.tradeID).unwrap();
[INFO] [stdout]     |                          -------------- first mutable borrow occurs here
[INFO] [stdout] 104 |         let update_ask = self.trade_ptr.get_mut(&best_ask.tradeID).unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^ second mutable borrow occurs here
[INFO] [stdout] 105 |         update_ask.user_order.filled += trade_qty;
[INFO] [stdout] 106 |         update_bid.user_order.filled += trade_qty;
[INFO] [stdout]     |         ----------------------------------------- first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0432, E0499, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ICE_Exchange` (bin "ICE_Exchange" test) due to 7 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3", kill_on_drop: false }`
[INFO] [stdout] 39e59c7dd1f29794c9f37417e16571413ebc08987460743e81670d94c43c97d3
