[INFO] cloning repository https://github.com/AdityaSingh25/exchange-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AdityaSingh25/exchange-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdityaSingh25%2Fexchange-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdityaSingh25%2Fexchange-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ef9ac1998cfa73f8e0ca314efde2bce90d87df9 [INFO] testing AdityaSingh25/exchange-simulation against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAdityaSingh25%2Fexchange-simulation" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AdityaSingh25/exchange-simulation [INFO] finished tweaking git repo https://github.com/AdityaSingh25/exchange-simulation [INFO] tweaked toml for git repo https://github.com/AdityaSingh25/exchange-simulation written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AdityaSingh25/exchange-simulation on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AdityaSingh25/exchange-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3597e18a63fea75b8f63a5b3cc89d0547113ffb7e4403bae9bbb6f01d81123a [INFO] running `Command { std: "docker" "start" "-a" "b3597e18a63fea75b8f63a5b3cc89d0547113ffb7e4403bae9bbb6f01d81123a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3597e18a63fea75b8f63a5b3cc89d0547113ffb7e4403bae9bbb6f01d81123a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3597e18a63fea75b8f63a5b3cc89d0547113ffb7e4403bae9bbb6f01d81123a", kill_on_drop: false }` [INFO] [stdout] b3597e18a63fea75b8f63a5b3cc89d0547113ffb7e4403bae9bbb6f01d81123a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 512bacc7f269cb66fedbe732c32fe959cb20a42035d099f560ecc56a6f93db0d [INFO] running `Command { std: "docker" "start" "-a" "512bacc7f269cb66fedbe732c32fe959cb20a42035d099f560ecc56a6f93db0d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling atomic v0.6.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.6 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling exchange-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/websocket.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::{self, Receiver}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_type` [INFO] [stdout] --> src/order_book.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let order_type = limit_order.order_type; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_price` [INFO] [stdout] --> src/order_book.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let order_price = limit_order.price; // Clone the price if necessary [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/order_book.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let order_id = limit_order.id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 41s [INFO] running `Command { std: "docker" "inspect" "512bacc7f269cb66fedbe732c32fe959cb20a42035d099f560ecc56a6f93db0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512bacc7f269cb66fedbe732c32fe959cb20a42035d099f560ecc56a6f93db0d", kill_on_drop: false }` [INFO] [stdout] 512bacc7f269cb66fedbe732c32fe959cb20a42035d099f560ecc56a6f93db0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6402bd28a63d6afa39e785a3e256dc6af86047e7aeba6a2ea89a672cd9364dd [INFO] running `Command { std: "docker" "start" "-a" "b6402bd28a63d6afa39e785a3e256dc6af86047e7aeba6a2ea89a672cd9364dd", kill_on_drop: false }` [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling actix-cors v0.7.1 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling exchange-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/websocket.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::{self, Receiver}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_type` [INFO] [stdout] --> src/order_book.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let order_type = limit_order.order_type; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_price` [INFO] [stdout] --> src/order_book.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let order_price = limit_order.price; // Clone the price if necessary [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/order_book.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let order_id = limit_order.id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/websocket.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::mpsc::{self, Receiver}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | timestamp: u64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_type` [INFO] [stdout] --> src/order_book.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let order_type = limit_order.order_type; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_price` [INFO] [stdout] --> src/order_book.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let order_price = limit_order.price; // Clone the price if necessary [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/order_book.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let order_id = limit_order.id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "b6402bd28a63d6afa39e785a3e256dc6af86047e7aeba6a2ea89a672cd9364dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6402bd28a63d6afa39e785a3e256dc6af86047e7aeba6a2ea89a672cd9364dd", kill_on_drop: false }` [INFO] [stdout] b6402bd28a63d6afa39e785a3e256dc6af86047e7aeba6a2ea89a672cd9364dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 757e8436d09282f53183d94fd828e997bec32f1fe1c6e4fac3ca76f4d7cebf67 [INFO] running `Command { std: "docker" "start" "-a" "757e8436d09282f53183d94fd828e997bec32f1fe1c6e4fac3ca76f4d7cebf67", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/websocket.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::sync::mpsc::{self, Receiver}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `timestamp` [INFO] [stderr] --> src/models.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | timestamp: u64, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_type` [INFO] [stderr] --> src/order_book.rs:279:13 [INFO] [stderr] | [INFO] [stderr] 279 | let order_type = limit_order.order_type; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_price` [INFO] [stderr] --> src/order_book.rs:281:13 [INFO] [stderr] | [INFO] [stderr] 281 | let order_price = limit_order.price; // Clone the price if necessary [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_price` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `order_id` [INFO] [stderr] --> src/order_book.rs:282:13 [INFO] [stderr] | [INFO] [stderr] 282 | let order_id = limit_order.id; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stderr] [INFO] [stderr] warning: `exchange-simulation` (lib) generated 5 warnings (run `cargo fix --lib -p exchange-simulation` to apply 1 suggestion) [INFO] [stderr] warning: `exchange-simulation` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/exchange_simulation-cfaafc3ce9006c7d) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test order_book::tests::cancel_existing_order ... ok [INFO] [stdout] test order_book::tests::test_match_limit_order_bid_hits_ask ... ok [INFO] [stdout] test order_book::tests::test_add_limit_bid_order ... ok [INFO] [stdout] test order_book::tests::test_cancel_nonexistent_order ... ok [INFO] [stdout] test order_book::tests::test_partial_fill ... ok [INFO] [stdout] test order_book::tests::test_add_limit_ask_order ... ok [INFO] [stdout] test order_book::tests::test_best_bid_and_ask ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/exchange_simulation-d13ea1940d92e760) [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests exchange_simulation [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] [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" "757e8436d09282f53183d94fd828e997bec32f1fe1c6e4fac3ca76f4d7cebf67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "757e8436d09282f53183d94fd828e997bec32f1fe1c6e4fac3ca76f4d7cebf67", kill_on_drop: false }` [INFO] [stdout] 757e8436d09282f53183d94fd828e997bec32f1fe1c6e4fac3ca76f4d7cebf67