[INFO] cloning repository https://github.com/LykAunn/Trade-Matching-Engine
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LykAunn/Trade-Matching-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLykAunn%2FTrade-Matching-Engine", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLykAunn%2FTrade-Matching-Engine'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f87d4ac2e589e9253361e5c8605507a4b98326c8
[INFO] checking LykAunn/Trade-Matching-Engine against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLykAunn%2FTrade-Matching-Engine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LykAunn/Trade-Matching-Engine
[INFO] finished tweaking git repo https://github.com/LykAunn/Trade-Matching-Engine
[INFO] tweaked toml for git repo https://github.com/LykAunn/Trade-Matching-Engine written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LykAunn/Trade-Matching-Engine on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LykAunn/Trade-Matching-Engine 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2
[INFO] running `Command { std: "docker" "start" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2", 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" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2", 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" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]    Compiling thiserror v2.0.19
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking either v1.17.0
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking unicode-width v0.2.2
[INFO] [stderr]     Checking hashbrown v0.17.1
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking itoa v1.0.18
[INFO] [stderr]    Compiling instability v0.3.12
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]     Checking ryu v1.0.23
[INFO] [stderr]     Checking compact_str v0.9.1
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking lru v0.18.1
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking critical-section v1.2.0
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking time-core v0.1.9
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking num-conv v0.2.2
[INFO] [stderr]     Checking unicode-truncate v2.0.1
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking line-clipping v0.3.7
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]     Checking time v0.3.54
[INFO] [stderr]     Checking rand_distr v0.6.0
[INFO] [stderr]     Checking chrono v0.4.45
[INFO] [stderr]     Checking kasuari v0.4.12
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling strum_macros v0.28.0
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking strum v0.28.0
[INFO] [stderr]     Checking ratatui-core v0.1.2
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]     Checking ratatui-widgets v0.3.2
[INFO] [stderr]     Checking ratatui-crossterm v0.1.2
[INFO] [stderr]     Checking ratatui-macros v0.7.2
[INFO] [stderr]     Checking ratatui v0.30.2
[INFO] [stderr]     Checking Trade_Matching_Engine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RestingFulfilled`
[INFO] [stdout]  --> src/orderbook.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::order::{Event::{self, RestingFulfilled}, Order, Side, TradeType};
[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 imports: `MapResolution` and `Map`
[INFO] [stdout]   --> src/main.rs:20:46
[INFO] [stdout]    |
[INFO] [stdout] 20 | use ratatui::widgets::canvas::{Canvas, Line, Map, MapResolution, Rectangle};
[INFO] [stdout]    |                                              ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `order::Side`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use order::Side;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RestingFulfilled`
[INFO] [stdout]  --> src/orderbook.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::order::{Event::{self, RestingFulfilled}, Order, Side, TradeType};
[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 imports: `MapResolution` and `Map`
[INFO] [stdout]   --> src/main.rs:20:46
[INFO] [stdout]    |
[INFO] [stdout] 20 | use ratatui::widgets::canvas::{Canvas, Line, Map, MapResolution, Rectangle};
[INFO] [stdout]    |                                              ^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `order::Side`
[INFO] [stdout]   --> src/main.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | use order::Side;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Cancelled` and `Rejected` are never constructed
[INFO] [stdout]   --> src/order.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum Event {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |     Cancelled {
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     Rejected {
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Event` 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 `format_timestamp` is never used
[INFO] [stdout]   --> src/order.rs:71:4
[INFO] [stdout]    |
[INFO] [stdout] 71 | fn format_timestamp(nanos: u64) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_log_line` is never used
[INFO] [stdout]   --> src/order.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl Event {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] 78 |
[INFO] [stdout] 79 |     pub fn to_log_line(&self) -> String {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_timestamp` is never used
[INFO] [stdout]   --> src/orderbook.rs:19:4
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn format_timestamp(nanos: u64) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_outstanding_orders` and `cancel_trade` are never used
[INFO] [stdout]    --> src/orderbook.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout]  25 | impl OrderBook {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 122 |     pub fn get_outstanding_orders(&self, side: Side) -> Vec<Order> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     pub fn cancel_trade(&mut self, id: u64) -> Vec<Event> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `rate_per_second` and `volatility` are never read
[INFO] [stdout]   --> src/feed_simulator.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub struct FeedSimulator {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout]  9 |     rate_per_second: f64, // orders per second
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     volatility: f64,      // size of random walk step
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `start_time` is never read
[INFO] [stdout]   --> src/statistics.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct Candle {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub start_time: u64,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_outstanding` found for struct `orderbook::OrderBook` in the current scope
[INFO] [stdout]    --> src/orderbook.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout]   6 | pub struct OrderBook {
[INFO] [stdout]     | -------------------- method `get_outstanding` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 276 |         let outstanding = book.get_outstanding(Side::Buy);
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `get_outstanding_orders` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 276 |         let outstanding = book.get_outstanding_orders(Side::Buy);
[INFO] [stdout]     |                                               +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Trade_Matching_Engine` (bin "Trade_Matching_Engine" test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2", kill_on_drop: false }`
[INFO] [stdout] 001a701a2d8ddb1237db74409aa43efa9bc830a77cca924a270c2341c874efb2
