[INFO] cloning repository https://github.com/keithyin/poa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/keithyin/poa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fpoa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fpoa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83d783a833cefc84942de25a4c4f6d7286fbed30 [INFO] building keithyin/poa against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkeithyin%2Fpoa" "/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/keithyin/poa on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/keithyin/poa [INFO] finished tweaking git repo https://github.com/keithyin/poa [INFO] tweaked toml for git repo https://github.com/keithyin/poa written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/keithyin/poa 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa85336ee7aa56c381b8dbe7ddebe85133e6c74e73f959b3fb8cc83ebda6f9a8 [INFO] running `Command { std: "docker" "start" "-a" "aa85336ee7aa56c381b8dbe7ddebe85133e6c74e73f959b3fb8cc83ebda6f9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa85336ee7aa56c381b8dbe7ddebe85133e6c74e73f959b3fb8cc83ebda6f9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa85336ee7aa56c381b8dbe7ddebe85133e6c74e73f959b3fb8cc83ebda6f9a8", kill_on_drop: false }` [INFO] [stdout] aa85336ee7aa56c381b8dbe7ddebe85133e6c74e73f959b3fb8cc83ebda6f9a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98ece259c0b08e04dddc55d584f5e31a4fb71788f062a73af7443b68659d1cb0 [INFO] running `Command { std: "docker" "start" "-a" "98ece259c0b08e04dddc55d584f5e31a4fb71788f062a73af7443b68659d1cb0", kill_on_drop: false }` [INFO] [stderr] Compiling POA v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `csr::Csr`, `graphmap::GraphMap`, and `matrix_graph::MatrixGraph` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use petgraph::{graphmap::GraphMap, matrix_graph::MatrixGraph, csr::Csr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/poa.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{alignment::{*, self}, dna_utils::reverse_complement}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poa.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let mut target_node = self.graph.node_weight_mut(target[target_cursor]).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartialOrderAlignment` is never constructed [INFO] [stdout] --> src/poa.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PartialOrderAlignment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/poa.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PartialOrderAlignment { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub fn new(align_config: AlignConfig, score_threshold: f32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_read(&mut self, read: &[u8]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_consensus(&self) -> LinkedList{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn add_first_read(&mut self, read: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn add_more_read(&mut self, read: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn alignment(&self, target: &Vec, read: &[u8]) -> AlignMatrix{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn commit_add(&mut self, target: &Vec, read: &[u8], align_matrix: &AlignMatrix) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn spanning_dfs(&self, start: NodeIndex, end: NodeIndex) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn tag_spanning_nodes(&mut self, spanning_nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoaNode` is never constructed [INFO] [stdout] --> src/poa.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct PoaNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoaNode` 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: associated function `new` is never used [INFO] [stdout] --> src/poa.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 350 | impl PoaNode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 351 | pub fn new(base: u8, num_reads: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoaEdge` is never constructed [INFO] [stdout] --> src/poa.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | pub struct PoaEdge { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoaEdge` 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: associated function `new` is never used [INFO] [stdout] --> src/poa.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 367 | impl PoaEdge { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 368 | pub fn new(weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignConfig` is never constructed [INFO] [stdout] --> src/alignment.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AlignConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/alignment.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl AlignConfig { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 7 | pub fn new(align_mode: AlignMode, align_params: AlignParams) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AlignMode` is never used [INFO] [stdout] --> src/alignment.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AlignMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignParams` is never constructed [INFO] [stdout] --> src/alignment.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct AlignParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/alignment.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl AlignParams { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 31 | pub fn new(match_score: i32, mismatch_score: i32, insertion_score: i32, deletion_score: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `START`, `MATCH`, `INSERT`, `DELETE`, and `END` are never constructed [INFO] [stdout] --> src/alignment.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum TransMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | START, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | MATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | INSERT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | END [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignPosition` is never constructed [INFO] [stdout] --> src/alignment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct AlignPosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignPosition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/alignment.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AlignPosition { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 57 | pub fn new(score: i32, pre_trans_mode: TransMode, pre_colunm: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignMatrix` is never constructed [INFO] [stdout] --> src/alignment.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct AlignMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set`, `get`, `get_max_score`, and `get_max_score_positions` are never used [INFO] [stdout] --> src/alignment.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl AlignMatrix { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 77 | [INFO] [stdout] 78 | pub fn new(num_rows: usize, num_cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn set(&mut self, row: usize, col: usize, align_pos: AlignPosition) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get(&self, row: usize, col: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_max_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_max_score_positions(&self) -> &Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align` is never used [INFO] [stdout] --> src/alignment.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn align(s1: &[u8], s2: &[u8], align_cfg: &AlignConfig) -> AlignMatrix{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_complement` is never used [INFO] [stdout] --> src/dna_utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn reverse_complement(read: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "98ece259c0b08e04dddc55d584f5e31a4fb71788f062a73af7443b68659d1cb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ece259c0b08e04dddc55d584f5e31a4fb71788f062a73af7443b68659d1cb0", kill_on_drop: false }` [INFO] [stdout] 98ece259c0b08e04dddc55d584f5e31a4fb71788f062a73af7443b68659d1cb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a745c2ca9f5efe66f29c43dbd5fea95e3d79b5ef66307556a37094ad131b36 [INFO] running `Command { std: "docker" "start" "-a" "40a745c2ca9f5efe66f29c43dbd5fea95e3d79b5ef66307556a37094ad131b36", kill_on_drop: false }` [INFO] [stderr] Compiling POA v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `csr::Csr`, `graphmap::GraphMap`, and `matrix_graph::MatrixGraph` [INFO] [stdout] --> src/main.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use petgraph::{graphmap::GraphMap, matrix_graph::MatrixGraph, csr::Csr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/poa.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{alignment::{*, self}, dna_utils::reverse_complement}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/poa.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let mut target_node = self.graph.node_weight_mut(target[target_cursor]).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartialOrderAlignment` is never constructed [INFO] [stdout] --> src/poa.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PartialOrderAlignment { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/poa.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl PartialOrderAlignment { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 20 | [INFO] [stdout] 21 | pub fn new(align_config: AlignConfig, score_threshold: f32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn add_read(&mut self, read: &[u8]) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_consensus(&self) -> LinkedList{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | fn add_first_read(&mut self, read: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | fn add_more_read(&mut self, read: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn alignment(&self, target: &Vec, read: &[u8]) -> AlignMatrix{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn commit_add(&mut self, target: &Vec, read: &[u8], align_matrix: &AlignMatrix) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn spanning_dfs(&self, start: NodeIndex, end: NodeIndex) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | fn tag_spanning_nodes(&mut self, spanning_nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoaNode` is never constructed [INFO] [stdout] --> src/poa.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct PoaNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoaNode` 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: associated function `new` is never used [INFO] [stdout] --> src/poa.rs:351:12 [INFO] [stdout] | [INFO] [stdout] 350 | impl PoaNode { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 351 | pub fn new(base: u8, num_reads: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoaEdge` is never constructed [INFO] [stdout] --> src/poa.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 363 | pub struct PoaEdge { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoaEdge` 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: associated function `new` is never used [INFO] [stdout] --> src/poa.rs:368:12 [INFO] [stdout] | [INFO] [stdout] 367 | impl PoaEdge { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 368 | pub fn new(weight: u32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignConfig` is never constructed [INFO] [stdout] --> src/alignment.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct AlignConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/alignment.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl AlignConfig { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 7 | pub fn new(align_mode: AlignMode, align_params: AlignParams) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AlignMode` is never used [INFO] [stdout] --> src/alignment.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AlignMode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignParams` is never constructed [INFO] [stdout] --> src/alignment.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct AlignParams { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/alignment.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl AlignParams { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 31 | pub fn new(match_score: i32, mismatch_score: i32, insertion_score: i32, deletion_score: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `START`, `MATCH`, `INSERT`, `DELETE`, and `END` are never constructed [INFO] [stdout] --> src/alignment.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum TransMode { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 42 | START, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 43 | MATCH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | INSERT, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | DELETE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | END [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransMode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignPosition` is never constructed [INFO] [stdout] --> src/alignment.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct AlignPosition { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignPosition` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `default` are never used [INFO] [stdout] --> src/alignment.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl AlignPosition { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 57 | pub fn new(score: i32, pre_trans_mode: TransMode, pre_colunm: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignMatrix` is never constructed [INFO] [stdout] --> src/alignment.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct AlignMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set`, `get`, `get_max_score`, and `get_max_score_positions` are never used [INFO] [stdout] --> src/alignment.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl AlignMatrix { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 77 | [INFO] [stdout] 78 | pub fn new(num_rows: usize, num_cols: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn set(&mut self, row: usize, col: usize, align_pos: AlignPosition) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get(&self, row: usize, col: usize) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_max_score(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get_max_score_positions(&self) -> &Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align` is never used [INFO] [stdout] --> src/alignment.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn align(s1: &[u8], s2: &[u8], align_cfg: &AlignConfig) -> AlignMatrix{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reverse_complement` is never used [INFO] [stdout] --> src/dna_utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn reverse_complement(read: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "40a745c2ca9f5efe66f29c43dbd5fea95e3d79b5ef66307556a37094ad131b36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a745c2ca9f5efe66f29c43dbd5fea95e3d79b5ef66307556a37094ad131b36", kill_on_drop: false }` [INFO] [stdout] 40a745c2ca9f5efe66f29c43dbd5fea95e3d79b5ef66307556a37094ad131b36