[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#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FspecCon18%2Fdsa-oxide" "/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/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/specCon18/dsa-oxide on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cd5ac8d48891c5c45443302ec46467c58569f80d73197f35bc7782ffd2cd34e [INFO] running `Command { std: "docker" "start" "-a" "5cd5ac8d48891c5c45443302ec46467c58569f80d73197f35bc7782ffd2cd34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cd5ac8d48891c5c45443302ec46467c58569f80d73197f35bc7782ffd2cd34e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd5ac8d48891c5c45443302ec46467c58569f80d73197f35bc7782ffd2cd34e", kill_on_drop: false }` [INFO] [stdout] 5cd5ac8d48891c5c45443302ec46467c58569f80d73197f35bc7782ffd2cd34e [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1da798a8beab6d1d5d15b76bba92c10e2ad1b05e64804575003e6bbbbccf7936 [INFO] running `Command { std: "docker" "start" "-a" "1da798a8beab6d1d5d15b76bba92c10e2ad1b05e64804575003e6bbbbccf7936", 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: struct `Stack` is never constructed [INFO] [stdout] --> src/data_structures/stack.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Stack { [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: struct `WeightedAdjacencyList` is never constructed [INFO] [stdout] --> src/data_structures/weighted_adj_list.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct WeightedAdjacencyList { [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: 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: struct `Stack` is never constructed [INFO] [stdout] --> src/data_structures/stack.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Stack { [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "1da798a8beab6d1d5d15b76bba92c10e2ad1b05e64804575003e6bbbbccf7936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da798a8beab6d1d5d15b76bba92c10e2ad1b05e64804575003e6bbbbccf7936", kill_on_drop: false }` [INFO] [stdout] 1da798a8beab6d1d5d15b76bba92c10e2ad1b05e64804575003e6bbbbccf7936