[INFO] cloning repository https://github.com/Taher2512/Rust-Orderbook-Engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Taher2512/Rust-Orderbook-Engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaher2512%2FRust-Orderbook-Engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaher2512%2FRust-Orderbook-Engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b574201bda71326aa47637e903dea9ef2882f312 [INFO] building Taher2512/Rust-Orderbook-Engine against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTaher2512%2FRust-Orderbook-Engine" "/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/Taher2512/Rust-Orderbook-Engine [INFO] finished tweaking git repo https://github.com/Taher2512/Rust-Orderbook-Engine [INFO] tweaked toml for git repo https://github.com/Taher2512/Rust-Orderbook-Engine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Taher2512/Rust-Orderbook-Engine on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Taher2512/Rust-Orderbook-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.30 [INFO] [stderr] Downloaded serde_json v1.0.141 [INFO] [stderr] Downloaded tokio v1.47.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0328d1bb0a2e19f7d26ecc86781435d22c7f45bc6c0e233e0af884e26bb7fd08 [INFO] running `Command { std: "docker" "start" "-a" "0328d1bb0a2e19f7d26ecc86781435d22c7f45bc6c0e233e0af884e26bb7fd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0328d1bb0a2e19f7d26ecc86781435d22c7f45bc6c0e233e0af884e26bb7fd08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0328d1bb0a2e19f7d26ecc86781435d22c7f45bc6c0e233e0af884e26bb7fd08", kill_on_drop: false }` [INFO] [stdout] 0328d1bb0a2e19f7d26ecc86781435d22c7f45bc6c0e233e0af884e26bb7fd08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22d005ddbe7d841931d2bc78178093b5a415928b6f70daedbe92a71c07aa06ef [INFO] running `Command { std: "docker" "start" "-a" "22d005ddbe7d841931d2bc78178093b5a415928b6f70daedbe92a71c07aa06ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling brotli v8.0.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling socket2 v0.5.10 [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 zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling actix-http v3.11.0 [INFO] [stderr] Compiling actix-web v4.11.0 [INFO] [stderr] Compiling superdevs-week-2-class-orderbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `orderbook` [INFO] [stdout] --> src/routes.rs:24:58 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn delete_order(Json(body): Json, orderbook: Data>>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/routes.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let order_id = body.order_id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades` [INFO] [stdout] --> src/orderbook.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let trades = self.process_limit_order(order); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trades` is never read [INFO] [stdout] --> src/orderbook.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut trades = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastUpdateId` should have a snake case name [INFO] [stdout] --> src/outputs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub lastUpdateId: String [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_update_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "22d005ddbe7d841931d2bc78178093b5a415928b6f70daedbe92a71c07aa06ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d005ddbe7d841931d2bc78178093b5a415928b6f70daedbe92a71c07aa06ef", kill_on_drop: false }` [INFO] [stdout] 22d005ddbe7d841931d2bc78178093b5a415928b6f70daedbe92a71c07aa06ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a513af46a406dfc58ef8855d8f63b09a7352c09a60eaf2d9234e894bf5c9e792 [INFO] running `Command { std: "docker" "start" "-a" "a513af46a406dfc58ef8855d8f63b09a7352c09a60eaf2d9234e894bf5c9e792", kill_on_drop: false }` [INFO] [stderr] Compiling superdevs-week-2-class-orderbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `orderbook` [INFO] [stdout] --> src/routes.rs:24:58 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn delete_order(Json(body): Json, orderbook: Data>>) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orderbook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `order_id` [INFO] [stdout] --> src/routes.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let order_id = body.order_id; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_order_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `trades` [INFO] [stdout] --> src/orderbook.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | let trades = self.process_limit_order(order); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_trades` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `trades` is never read [INFO] [stdout] --> src/orderbook.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let mut trades = Vec::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastUpdateId` should have a snake case name [INFO] [stdout] --> src/outputs.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub lastUpdateId: String [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `last_update_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "a513af46a406dfc58ef8855d8f63b09a7352c09a60eaf2d9234e894bf5c9e792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a513af46a406dfc58ef8855d8f63b09a7352c09a60eaf2d9234e894bf5c9e792", kill_on_drop: false }` [INFO] [stdout] a513af46a406dfc58ef8855d8f63b09a7352c09a60eaf2d9234e894bf5c9e792