[INFO] cloning repository https://github.com/ZangaiFamily/matching [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZangaiFamily/matching" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZangaiFamily%2Fmatching", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZangaiFamily%2Fmatching'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a29e668dd3a058a482cf0193b1156ea6f6c2787 [INFO] testing ZangaiFamily/matching against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZangaiFamily%2Fmatching" "/workspace/builds/worker-16/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-16/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZangaiFamily/matching on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZangaiFamily/matching [INFO] finished tweaking git repo https://github.com/ZangaiFamily/matching [INFO] tweaked toml for git repo https://github.com/ZangaiFamily/matching written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate git repo https://github.com/ZangaiFamily/matching already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded ryu v0.2.5 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded rust_decimal v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 141adec0ee5b673379d77aa4bf292b66fab97b6cfab2aa3ab772e4e21ada0e00 [INFO] running `Command { std: "docker" "start" "-a" "141adec0ee5b673379d77aa4bf292b66fab97b6cfab2aa3ab772e4e21ada0e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "141adec0ee5b673379d77aa4bf292b66fab97b6cfab2aa3ab772e4e21ada0e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "141adec0ee5b673379d77aa4bf292b66fab97b6cfab2aa3ab772e4e21ada0e00", kill_on_drop: false }` [INFO] [stdout] 141adec0ee5b673379d77aa4bf292b66fab97b6cfab2aa3ab772e4e21ada0e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46ee120a8d64abc27dc79db50473c2492f2507c192a18b0695ca14b21d2fce81 [INFO] running `Command { std: "docker" "start" "-a" "46ee120a8d64abc27dc79db50473c2492f2507c192a18b0695ca14b21d2fce81", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling ryu v0.2.5 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling rust_decimal v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling matching v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Value` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{Value, Error}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> src/structs/order_book.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ord` [INFO] [stdout] --> src/structs/order_book.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/structs/order_book.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal::Decimal` [INFO] [stdout] --> src/structs/order_book.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rust_decimal::Decimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ord` [INFO] [stdout] --> src/ds/list.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ord; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/ds/list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::Bencher` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/ds/heap.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | let start = 0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_limit_orders` [INFO] [stdout] --> src/matching/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn consume_limit_orders (order: &mut Order, order_book: &mut OrderBook) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `consume_market_orders` [INFO] [stdout] --> src/matching/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn consume_market_orders (order: &mut Order, order_book: &mut OrderBook) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `start_match` [INFO] [stdout] --> src/matching/mod.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn start_match (mut order: Order, market: &mut Market) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `subtract_volume` [INFO] [stdout] --> src/matching/mod.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn subtract_volume(order_a: &mut Order, order_b: &mut Order) -> (bool, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Limit` [INFO] [stdout] --> src/structs/order.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | Limit, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OrderKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structs/order.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Market` [INFO] [stdout] --> src/structs/order.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | Market [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OrderKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structs/order.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Ask` [INFO] [stdout] --> src/structs/order.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 14 | Ask, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `OrderSide` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structs/order.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bid` [INFO] [stdout] --> src/structs/order.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 15 | Bid [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: `OrderSide` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/structs/order.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structs/order.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new(id: u64, price: &str, volume: &str, kind: OrderKind, side: OrderSide) -> Order { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_fulfilled` [INFO] [stdout] --> src/structs/order.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn is_fulfilled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `volume_remained` [INFO] [stdout] --> src/structs/order.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn volume_remained(&self) -> Decimal { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structs/order_book.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(side: OrderSide) -> OrderBook { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_order` [INFO] [stdout] --> src/structs/order_book.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cancel_order` [INFO] [stdout] --> src/structs/order_book.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn cancel_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Market` [INFO] [stdout] --> src/structs/market.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Market { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/structs/market.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(id: u64) -> Market { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_order` [INFO] [stdout] --> src/structs/market.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cancel_order` [INFO] [stdout] --> src/structs/market.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn cancel_order(&mut self, order: Order) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vec` [INFO] [stdout] --> src/ds/heap.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | vec: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Heap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/heap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/ds/heap.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | map: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Heap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/heap.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ds/heap.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new() -> Heap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parent` [INFO] [stdout] --> src/ds/heap.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parent(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left` [INFO] [stdout] --> src/ds/heap.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn left(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right` [INFO] [stdout] --> src/ds/heap.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn right(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_up` [INFO] [stdout] --> src/ds/heap.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn sift_up(&mut self, from: usize) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sift_down` [INFO] [stdout] --> src/ds/heap.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn sift_down(&mut self, from: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/ds/heap.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `swap` [INFO] [stdout] --> src/ds/heap.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn swap(&mut self, idx_a: usize, idx_b: usize) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/ds/heap.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn remove(&mut self, id: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek` [INFO] [stdout] --> src/ds/heap.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_mut` [INFO] [stdout] --> src/ds/heap.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/ds/heap.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pop(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/ds/heap.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/ds/list.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | map: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `head` [INFO] [stdout] --> src/ds/list.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | head: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tail` [INFO] [stdout] --> src/ds/list.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 10 | tail: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `len` [INFO] [stdout] --> src/ds/list.rs:11:2 [INFO] [stdout] | [INFO] [stdout] 11 | len: usize [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev` [INFO] [stdout] --> src/ds/list.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | prev: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/ds/list.rs:17:2 [INFO] [stdout] | [INFO] [stdout] 17 | next: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/ds/list.rs:18:2 [INFO] [stdout] | [INFO] [stdout] 18 | data: T [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ds/list.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/ds/list.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> List { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/ds/list.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `front` [INFO] [stdout] --> src/ds/list.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `front_mut` [INFO] [stdout] --> src/ds/list.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn front_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_back` [INFO] [stdout] --> src/ds/list.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn push_back(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/ds/list.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn remove(&mut self, id: u64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_front` [INFO] [stdout] --> src/ds/list.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn pop_front(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matching` due to 2 previous errors; 60 warnings emitted [INFO] running `Command { std: "docker" "inspect" "46ee120a8d64abc27dc79db50473c2492f2507c192a18b0695ca14b21d2fce81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ee120a8d64abc27dc79db50473c2492f2507c192a18b0695ca14b21d2fce81", kill_on_drop: false }` [INFO] [stdout] 46ee120a8d64abc27dc79db50473c2492f2507c192a18b0695ca14b21d2fce81