[INFO] cloning repository https://github.com/saibaneer/fictional-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/saibaneer/fictional-orderbook-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibaneer%2Ffictional-orderbook-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibaneer%2Ffictional-orderbook-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbb6ebdeb9e808782fb880c1655af4064ef119e6 [INFO] checking saibaneer/fictional-orderbook-engine against master#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaibaneer%2Ffictional-orderbook-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/saibaneer/fictional-orderbook-engine on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/saibaneer/fictional-orderbook-engine [INFO] finished tweaking git repo https://github.com/saibaneer/fictional-orderbook-engine [INFO] tweaked toml for git repo https://github.com/saibaneer/fictional-orderbook-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/saibaneer/fictional-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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bba9e69d698e2ccd1c3e068710c27ca80b4e7ba8d203fd32964e5f2f8bd093f0 [INFO] running `Command { std: "docker" "start" "-a" "bba9e69d698e2ccd1c3e068710c27ca80b4e7ba8d203fd32964e5f2f8bd093f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bba9e69d698e2ccd1c3e068710c27ca80b4e7ba8d203fd32964e5f2f8bd093f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba9e69d698e2ccd1c3e068710c27ca80b4e7ba8d203fd32964e5f2f8bd093f0", kill_on_drop: false }` [INFO] [stdout] bba9e69d698e2ccd1c3e068710c27ca80b4e7ba8d203fd32964e5f2f8bd093f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33a8eb85ccbc16fec362dcc7eb4d20eee0c204c79714337ef6be0fe4eb3b6818 [INFO] running `Command { std: "docker" "start" "-a" "33a8eb85ccbc16fec362dcc7eb4d20eee0c204c79714337ef6be0fe4eb3b6818", kill_on_drop: false }` [INFO] [stderr] Checking matching-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::types::BidOrAsk` [INFO] [stdout] --> src/matcher/limit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::types::BidOrAsk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/matcher/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::types::BidOrAsk` [INFO] [stdout] --> src/matcher/limit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use super::types::BidOrAsk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/matcher/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eth_pair` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let eth_pair = TradingPair::new("ETH".to_string(), "USD".to_string()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eth_pair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price` is never read [INFO] [stdout] --> src/matcher/limit.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Limit { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | pub price: Price, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Limit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `total_volume` and `fill_order` are never used [INFO] [stdout] --> src/matcher/limit.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Limit { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | fn total_volume(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn fill_order(&mut self, market_order: &mut Order) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/matcher/order.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Order { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 5 | pub size: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Order` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_filled` is never used [INFO] [stdout] --> src/matcher/order.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Order { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn is_filled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ask_limits`, `bid_limits`, and `fill_market_order` are never used [INFO] [stdout] --> src/matcher/orderbook.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Orderbook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn ask_limits(&mut self) -> Vec<&mut Limit> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn bid_limits(&mut self) -> Vec<&mut Limit> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn fill_market_order(&mut self, market_order: &mut Order) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eth_pair` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let eth_pair = TradingPair::new("ETH".to_string(), "USD".to_string()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eth_pair` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `price` is never read [INFO] [stdout] --> src/matcher/limit.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Limit { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 9 | pub price: Price, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Limit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ask_limits`, `bid_limits`, and `fill_market_order` are never used [INFO] [stdout] --> src/matcher/orderbook.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Orderbook { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | fn ask_limits(&mut self) -> Vec<&mut Limit> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn bid_limits(&mut self) -> Vec<&mut Limit> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn fill_market_order(&mut self, market_order: &mut Order) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "33a8eb85ccbc16fec362dcc7eb4d20eee0c204c79714337ef6be0fe4eb3b6818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a8eb85ccbc16fec362dcc7eb4d20eee0c204c79714337ef6be0fe4eb3b6818", kill_on_drop: false }` [INFO] [stdout] 33a8eb85ccbc16fec362dcc7eb4d20eee0c204c79714337ef6be0fe4eb3b6818