[INFO] cloning repository https://github.com/specCon18/dsa-oxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/specCon18/dsa-oxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FspecCon18%2Fdsa-oxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FspecCon18%2Fdsa-oxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f4985f127a344f6a21faab207cfcef9da3eda18 [INFO] checking specCon18/dsa-oxide against master#0f442e265c165c0a78633bef98de18517815150c for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FspecCon18%2Fdsa-oxide" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/specCon18/dsa-oxide on toolchain 0f442e265c165c0a78633bef98de18517815150c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f442e265c165c0a78633bef98de18517815150c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/specCon18/dsa-oxide [INFO] finished tweaking git repo https://github.com/specCon18/dsa-oxide [INFO] tweaked toml for git repo https://github.com/specCon18/dsa-oxide written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/specCon18/dsa-oxide 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" "+0f442e265c165c0a78633bef98de18517815150c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking specCon18/dsa-oxide against try#774bd5ba31b89dab12d58c29690ad9f7e5c9f063 for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FspecCon18%2Fdsa-oxide" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/specCon18/dsa-oxide on toolchain 774bd5ba31b89dab12d58c29690ad9f7e5c9f063 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/specCon18/dsa-oxide [INFO] finished tweaking git repo https://github.com/specCon18/dsa-oxide [INFO] tweaked toml for git repo https://github.com/specCon18/dsa-oxide written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/specCon18/dsa-oxide 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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking specCon18/dsa-oxide against try#774bd5ba31b89dab12d58c29690ad9f7e5c9f063 for pr-129073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FspecCon18%2Fdsa-oxide" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/specCon18/dsa-oxide on toolchain 774bd5ba31b89dab12d58c29690ad9f7e5c9f063 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/specCon18/dsa-oxide [INFO] finished tweaking git repo https://github.com/specCon18/dsa-oxide [INFO] tweaked toml for git repo https://github.com/specCon18/dsa-oxide written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/specCon18/dsa-oxide 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" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce13178384b580297e568d1e7861bc60b673fe872db5c9299b6ef2fb1edc33f2 [INFO] running `Command { std: "docker" "start" "-a" "ce13178384b580297e568d1e7861bc60b673fe872db5c9299b6ef2fb1edc33f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce13178384b580297e568d1e7861bc60b673fe872db5c9299b6ef2fb1edc33f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce13178384b580297e568d1e7861bc60b673fe872db5c9299b6ef2fb1edc33f2", kill_on_drop: false }` [INFO] [stdout] ce13178384b580297e568d1e7861bc60b673fe872db5c9299b6ef2fb1edc33f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+774bd5ba31b89dab12d58c29690ad9f7e5c9f063" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5d496dbdff6207148cf48f0ca178df896f1ce35cfe00947026a20519f873dd9 [INFO] running `Command { std: "docker" "start" "-a" "b5d496dbdff6207148cf48f0ca178df896f1ce35cfe00947026a20519f873dd9", kill_on_drop: false }` [INFO] [stderr] Checking algos-in-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/radix_sort.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Bucket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | value: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bucket` 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: associated function `new` is never used [INFO] [stdout] --> src/radix_sort.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Bucket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | /// Creates a new Bucket instance with initial value 0 and an empty queue. [INFO] [stdout] 11 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `peek` are never used [INFO] [stdout] --> src/radix_sort.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Buckets { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn is_empty(&self, bucket_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn peek(&self, bucket_index: usize) -> Option<&u64> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_sort` is never used [INFO] [stdout] --> src/radix_sort.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn validate_sort(arr: Vec) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dijkstras_shortest_path` is never used [INFO] [stdout] --> src/dijkstras.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn dijkstras_shortest_path( source: usize, sink: usize, graph: WeightedAdjacencyList) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unvisited` is never used [INFO] [stdout] --> src/dijkstras.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn has_unvisited(seen: &[bool], dists: &[f64]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lowest_unvisited` is never used [INFO] [stdout] --> src/dijkstras.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_lowest_unvisited(seen: &[bool], dists: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used [INFO] [stdout] --> src/data_structures/queue.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Queue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `length`, `pop`, `push`, `is_empty`, and `peek` are never used [INFO] [stdout] --> src/data_structures/stack.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Stack { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinHeap` is never constructed [INFO] [stdout] --> src/data_structures/min_heap.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MinHeap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, `heapify_up`, and `heapify_down` are never used [INFO] [stdout] --> src/data_structures/min_heap.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl MinHeap { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn heapify_up(&mut self, mut index: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn heapify_down(&mut self, mut index: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_vertex`, `add_edge`, `get_weight`, `get_neighbors`, and `len` are never used [INFO] [stdout] --> src/data_structures/weighted_adj_list.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 19 | / impl WeightedAdjacencyList [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | T: std::hash::Hash + Eq + Clone, [INFO] [stdout] | |____________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn add_vertex(&mut self, vertex: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn add_edge(&mut self, from: T, to: T, weight: W) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_weight(&self, from: &T, to: &T) -> Option<&W> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_neighbors(&self, vertex: &T) -> Option<&HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/data_structures/weighted_adj_matrix.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl WeightedAdjacencyMatrix { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn get_value(&self, row: usize, col: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn transpose(&self) -> WeightedAdjacencyMatrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_row(&self, row_index: usize) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_column(&self, col_index: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn multiply_scalar(&mut self, scalar: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_matrix(&mut self, other: &WeightedAdjacencyMatrix) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn subtract_matrix(&mut self, other: &WeightedAdjacencyMatrix) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RingBuffer` is never constructed [INFO] [stdout] --> src/data_structures/ring_buffer.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct RingBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data_structures/ring_buffer.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl RingBuffer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 63 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/radix_sort.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Bucket { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | value: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bucket` 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: associated function `new` is never used [INFO] [stdout] --> src/radix_sort.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl Bucket { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | /// Creates a new Bucket instance with initial value 0 and an empty queue. [INFO] [stdout] 11 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `peek` are never used [INFO] [stdout] --> src/radix_sort.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Buckets { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 63 | fn is_empty(&self, bucket_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn peek(&self, bucket_index: usize) -> Option<&u64> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_sort` is never used [INFO] [stdout] --> src/radix_sort.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn validate_sort(arr: Vec) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_unvisited` is never used [INFO] [stdout] --> src/dijkstras.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn has_unvisited(seen: &[bool], dists: &[f64]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lowest_unvisited` is never used [INFO] [stdout] --> src/dijkstras.rs:90:4 [INFO] [stdout] | [INFO] [stdout] 90 | fn get_lowest_unvisited(seen: &[bool], dists: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `length`, `is_empty`, and `peek` are never used [INFO] [stdout] --> src/data_structures/queue.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Queue { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `length`, `pop`, `push`, `is_empty`, and `peek` are never used [INFO] [stdout] --> src/data_structures/stack.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Stack { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 7 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_weight` is never used [INFO] [stdout] --> src/data_structures/weighted_adj_list.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 19 | / impl WeightedAdjacencyList [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | T: std::hash::Hash + Eq + Clone, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn get_weight(&self, from: &T, to: &T) -> Option<&W> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/data_structures/weighted_adj_matrix.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl WeightedAdjacencyMatrix { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 10 | pub fn get_value(&self, row: usize, col: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn transpose(&self) -> WeightedAdjacencyMatrix { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_row(&self, row_index: usize) -> Option<&Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_column(&self, col_index: usize) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn multiply_scalar(&mut self, scalar: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn add_matrix(&mut self, other: &WeightedAdjacencyMatrix) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn subtract_matrix(&mut self, other: &WeightedAdjacencyMatrix) -> Option<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "b5d496dbdff6207148cf48f0ca178df896f1ce35cfe00947026a20519f873dd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5d496dbdff6207148cf48f0ca178df896f1ce35cfe00947026a20519f873dd9", kill_on_drop: false }` [INFO] [stdout] b5d496dbdff6207148cf48f0ca178df896f1ce35cfe00947026a20519f873dd9