[INFO] cloning repository https://github.com/Elli610/orderbook-td
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Elli610/orderbook-td" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElli610%2Forderbook-td", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElli610%2Forderbook-td'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b74585c7fd8a57ab0ec37649989e525e72f8189c
[INFO] testing Elli610/orderbook-td against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElli610%2Forderbook-td" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Elli610/orderbook-td
[INFO] finished tweaking git repo https://github.com/Elli610/orderbook-td
[INFO] tweaked toml for git repo https://github.com/Elli610/orderbook-td written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Elli610/orderbook-td on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Elli610/orderbook-td 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4d973565042bc6233d3ca1dba8021fcdc43fd1692c8a8549589be453e76d3042
[INFO] running `Command { std: "docker" "start" "-a" "4d973565042bc6233d3ca1dba8021fcdc43fd1692c8a8549589be453e76d3042", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4d973565042bc6233d3ca1dba8021fcdc43fd1692c8a8549589be453e76d3042", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4d973565042bc6233d3ca1dba8021fcdc43fd1692c8a8549589be453e76d3042", kill_on_drop: false }`
[INFO] [stdout] 4d973565042bc6233d3ca1dba8021fcdc43fd1692c8a8549589be453e76d3042
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 10e1ba294455095d26dcd909b1d302fae1d00cb7131cc9a9676b601e998b4de3
[INFO] running `Command { std: "docker" "start" "-a" "10e1ba294455095d26dcd909b1d302fae1d00cb7131cc9a9676b601e998b4de3", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/orderbook.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn apply_update(&mut self, update: Update) {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]   --> src/orderbook.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_quantity_at(&self, price: Price, side: Side) -> Option<Quantity> {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/orderbook.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_quantity_at(&self, price: Price, side: Side) -> Option<Quantity> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/orderbook.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)> {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/orderbook.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)> {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/orderbook.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_total_quantity(&self, side: Side) -> Quantity {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price`, `quantity`, and `side` are never read
[INFO] [stdout]   --> src/interfaces.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Set {
[INFO] [stdout]    |     --- fields in this variant
[INFO] [stdout] 28 |         price: Price,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 29 |         quantity: Quantity,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 30 |         side: Side,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Update` 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: variant `Remove` is never constructed
[INFO] [stdout]   --> src/interfaces.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum Update {
[INFO] [stdout]    |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 34 |     Remove { price: Price, side: Side },
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Update` 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: methods `get_top_levels` and `get_total_quantity` are never used
[INFO] [stdout]   --> src/interfaces.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait OrderBook: Send + Sync {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn get_total_quantity(&self, side: Side) -> Quantity;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s
[INFO] running `Command { std: "docker" "inspect" "10e1ba294455095d26dcd909b1d302fae1d00cb7131cc9a9676b601e998b4de3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10e1ba294455095d26dcd909b1d302fae1d00cb7131cc9a9676b601e998b4de3", kill_on_drop: false }`
[INFO] [stdout] 10e1ba294455095d26dcd909b1d302fae1d00cb7131cc9a9676b601e998b4de3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7a1298fcb9bf59e2dc330dc1f01860a0c59aaa72e54d019e63ee9fc3d676bd3f
[INFO] running `Command { std: "docker" "start" "-a" "7a1298fcb9bf59e2dc330dc1f01860a0c59aaa72e54d019e63ee9fc3d676bd3f", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-3 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `update`
[INFO] [stdout]   --> src/orderbook.rs:14:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn apply_update(&mut self, update: Update) {
[INFO] [stdout]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `price`
[INFO] [stdout]   --> src/orderbook.rs:30:31
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_quantity_at(&self, price: Price, side: Side) -> Option<Quantity> {
[INFO] [stdout]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/orderbook.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 |     fn get_quantity_at(&self, price: Price, side: Side) -> Option<Quantity> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/orderbook.rs:34:30
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)> {
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/orderbook.rs:34:42
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)> {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `side`
[INFO] [stdout]   --> src/orderbook.rs:38:34
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn get_total_quantity(&self, side: Side) -> Quantity {
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `price`, `quantity`, and `side` are never read
[INFO] [stdout]   --> src/interfaces.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     Set {
[INFO] [stdout]    |     --- fields in this variant
[INFO] [stdout] 28 |         price: Price,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 29 |         quantity: Quantity,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 30 |         side: Side,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Update` 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: fields `price` and `side` are never read
[INFO] [stdout]   --> src/interfaces.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |     Remove { price: Price, side: Side },
[INFO] [stdout]    |     ------   ^^^^^         ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Update` 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: methods `get_top_levels` and `get_total_quantity` are never used
[INFO] [stdout]   --> src/interfaces.rs:65:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub trait OrderBook: Send + Sync {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 65 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 68 |     fn get_total_quantity(&self, side: Side) -> Quantity;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] running `Command { std: "docker" "inspect" "7a1298fcb9bf59e2dc330dc1f01860a0c59aaa72e54d019e63ee9fc3d676bd3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a1298fcb9bf59e2dc330dc1f01860a0c59aaa72e54d019e63ee9fc3d676bd3f", kill_on_drop: false }`
[INFO] [stdout] 7a1298fcb9bf59e2dc330dc1f01860a0c59aaa72e54d019e63ee9fc3d676bd3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 149cd93fc4552a61bf85bd876a752de744940fa076f0baf5b5d4647bf44c97a9
[INFO] running `Command { std: "docker" "start" "-a" "149cd93fc4552a61bf85bd876a752de744940fa076f0baf5b5d4647bf44c97a9", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `update`
[INFO] [stderr]   --> src/orderbook.rs:14:32
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn apply_update(&mut self, update: Update) {
[INFO] [stderr]    |                                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `price`
[INFO] [stderr]   --> src/orderbook.rs:30:31
[INFO] [stderr]    |
[INFO] [stderr] 30 |     fn get_quantity_at(&self, price: Price, side: Side) -> Option<Quantity> {
[INFO] [stderr]    |                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_price`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `side`
[INFO] [stderr]   --> src/orderbook.rs:30:45
[INFO] [stderr]    |
[INFO] [stderr] 30 |     fn get_quantity_at(&self, price: Price, side: Side) -> Option<Quantity> {
[INFO] [stderr]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `side`
[INFO] [stderr]   --> src/orderbook.rs:34:30
[INFO] [stderr]    |
[INFO] [stderr] 34 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)> {
[INFO] [stderr]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]   --> src/orderbook.rs:34:42
[INFO] [stderr]    |
[INFO] [stderr] 34 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)> {
[INFO] [stderr]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `side`
[INFO] [stderr]   --> src/orderbook.rs:38:34
[INFO] [stderr]    |
[INFO] [stderr] 38 |     fn get_total_quantity(&self, side: Side) -> Quantity {
[INFO] [stderr]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_side`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `price`, `quantity`, and `side` are never read
[INFO] [stderr]   --> src/interfaces.rs:28:9
[INFO] [stderr]    |
[INFO] [stderr] 27 |     Set {
[INFO] [stderr]    |     --- fields in this variant
[INFO] [stderr] 28 |         price: Price,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr] 29 |         quantity: Quantity,
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 30 |         side: Side,
[INFO] [stderr]    |         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Update` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `price` and `side` are never read
[INFO] [stderr]   --> src/interfaces.rs:34:14
[INFO] [stderr]    |
[INFO] [stderr] 34 |     Remove { price: Price, side: Side },
[INFO] [stderr]    |     ------   ^^^^^         ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     fields in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Update` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_top_levels` and `get_total_quantity` are never used
[INFO] [stderr]   --> src/interfaces.rs:65:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub trait OrderBook: Send + Sync {
[INFO] [stderr]    |           --------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 65 |     fn get_top_levels(&self, side: Side, n: usize) -> Vec<(Price, Quantity)>;
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 68 |     fn get_total_quantity(&self, side: Side) -> Quantity;
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-3` (bin "rust-3" test) generated 9 warnings (run `cargo fix --bin "rust-3" -p rust-3 --tests` to apply 6 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_3-79012ad3ee238446)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::test_naive_implementation ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_naive_implementation stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_naive_implementation' (26) panicked at src/orderbook.rs:11:9:
[INFO] [stdout] Todo
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x649988251e22 - std[3b51380354919863]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x649988251e22 - std[3b51380354919863]::backtrace_rs::backtrace::trace_unsynchronized::<std[3b51380354919863]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x649988251e22 - std[3b51380354919863]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x649988251e22 - <<std[3b51380354919863]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[27de1724e4349be2]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x64998826664a - <core[27de1724e4349be2]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x64998826664a - core[27de1724e4349be2]::fmt::write
[INFO] [stdout]    6:     0x649988256c26 - std[3b51380354919863]::io::default_write_fmt::<alloc[a57f19327c0ad893]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x649988256c26 - <alloc[a57f19327c0ad893]::vec::Vec<u8> as std[3b51380354919863]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x6499882305bf - <std[3b51380354919863]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x6499882305bf - std[3b51380354919863]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x64998824a109 - std[3b51380354919863]::panicking::default_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x6499881e5b8e - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x6499881e5b8e - test[182b2e79ecd7bbd9]::test_main_with_exit_callback::<test[182b2e79ecd7bbd9]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x64998824a2c2 - <alloc[a57f19327c0ad893]::boxed::Box<dyn for<'a, 'b> core[27de1724e4349be2]::ops::function::Fn<(&'a std[3b51380354919863]::panic::PanicHookInfo<'b>,), Output = ()> + core[27de1724e4349be2]::marker::Sync + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::Fn<(&std[3b51380354919863]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x64998824a2c2 - std[3b51380354919863]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x6499882306aa - std[3b51380354919863]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x6499882258f9 - std[3b51380354919863]::sys::backtrace::__rust_end_short_backtrace::<std[3b51380354919863]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x6499882314cd - __rustc[d79c0ace40940972]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x649988266cbc - core[27de1724e4349be2]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x6499881d9a35 - <rust_3[6a43833f0e442b11]::orderbook::OrderBookImpl as rust_3[6a43833f0e442b11]::interfaces::OrderBook>::new
[INFO] [stdout]                                at /opt/rustwide/workdir/src/orderbook.rs:11:9
[INFO] [stdout]   20:     0x6499881d893c - rust_3[6a43833f0e442b11]::tests::test_basic_operations::<rust_3[6a43833f0e442b11]::orderbook::OrderBookImpl>
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:40:22
[INFO] [stdout]   21:     0x6499881d9436 - rust_3[6a43833f0e442b11]::tests::test_naive_implementation
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:113:9
[INFO] [stdout]   22:     0x6499881d9197 - rust_3[6a43833f0e442b11]::tests::test_naive_implementation::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:112:35
[INFO] [stdout]   23:     0x6499881d9e66 - <rust_3[6a43833f0e442b11]::tests::test_naive_implementation::{closure#0} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x6499881d9f3b - <fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x6499881d9f3b - test[182b2e79ecd7bbd9]::__rust_begin_short_backtrace::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, fn() -> core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x6499881e679a - test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x6499881e679a - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x6499881e679a - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x6499881e679a - std[3b51380354919863]::panicking::catch_unwind::<core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>, core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x6499881e679a - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<test[182b2e79ecd7bbd9]::run_test_in_process::{closure#0}>, core[27de1724e4349be2]::result::Result<(), alloc[a57f19327c0ad893]::string::String>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x6499881e679a - test[182b2e79ecd7bbd9]::run_test_in_process
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x6499881e679a - test[182b2e79ecd7bbd9]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x6499881e1d44 - test[182b2e79ecd7bbd9]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x6499881e1d44 - std[3b51380354919863]::sys::backtrace::__rust_begin_short_backtrace::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x6499881e9292 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x6499881e9292 - <core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x6499881e9292 - std[3b51380354919863]::panicking::catch_unwind::do_call::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x6499881e9292 - std[3b51380354919863]::panicking::catch_unwind::<(), core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x6499881e9292 - std[3b51380354919863]::panic::catch_unwind::<core[27de1724e4349be2]::panic::unwind_safe::AssertUnwindSafe<std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x6499881e9292 - std[3b51380354919863]::thread::lifecycle::spawn_unchecked::<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x6499881e9292 - <std[3b51380354919863]::thread::lifecycle::spawn_unchecked<test[182b2e79ecd7bbd9]::run_test::{closure#1}, ()>::{closure#1} as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x6499882516cf - <alloc[a57f19327c0ad893]::boxed::Box<dyn core[27de1724e4349be2]::ops::function::FnOnce<(), Output = ()> + core[27de1724e4349be2]::marker::Send> as core[27de1724e4349be2]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x6499882516cf - <std[3b51380354919863]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7ea426840aa4 - <unknown>
[INFO] [stdout]   45:     0x7ea4268cda64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_naive_implementation
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin rust-3`
[INFO] running `Command { std: "docker" "inspect" "149cd93fc4552a61bf85bd876a752de744940fa076f0baf5b5d4647bf44c97a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "149cd93fc4552a61bf85bd876a752de744940fa076f0baf5b5d4647bf44c97a9", kill_on_drop: false }`
[INFO] [stdout] 149cd93fc4552a61bf85bd876a752de744940fa076f0baf5b5d4647bf44c97a9
