omicsx 1.0.2

omicsx: SIMD-accelerated sequence alignment and bioinformatics analysis for petabyte-scale genomic data
Documentation
��cargo :    Compiling omics-simd v0.8.1 (D:\omicsx)

At line:1 char:1

+ cargo build --lib 2>&1 > build_output.txt; Get-Content build_output.t ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (   Compiling om...8.1 (D:\omicsx) 

   :String) [], RemoteException

    + FullyQualifiedErrorId : NativeCommandError

 

warning: unused import: `std::collections::BTreeMap`

  --> src\alignment\hmmer3_parser.rs:13:5

   |

13 | use std::collections::BTreeMap;

   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^

   |

   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default



warning: unused imports: `HashMap` and `VecDeque`

 --> src\futures\tree_refinement.rs:6:24

  |

6 | use std::collections::{HashMap, VecDeque};

  |                        ^^^^^^^  ^^^^^^^^



warning: unused import: `crate::error::Result`

 --> src\futures\phylogeny_parsimony.rs:5:5

  |

5 | use crate::error::Result;

  |     ^^^^^^^^^^^^^^^^^^^^



warning: unused import: `std::path::PathBuf`

  --> src\futures\gpu_jit_compiler.rs:15:5

   |

15 | use std::path::PathBuf;

   |     ^^^^^^^^^^^^^^^^^^



error[E0369]: cannot add `f32` to `&mut f32`

   --> src\futures\msa_profile_alignment.rs:202:31

    |

202 |                 *freq = (freq + pseudocount_strength * prior) / (1.0 + 

pseudocount_strength);

    |                          ---- ^ ---------------------------- f32

    |                          |

    |                          &mut f32

    |

help: `+` can be used on `f32` if you dereference the left-hand side

    |

202 |                 *freq = (*freq + pseudocount_strength * prior) / (1.0 + 

pseudocount_strength);

    |                          +



warning: unused variable: `extend_vec`

   --> src\alignment\kernel\striped_simd.rs:135:9

    |

135 |     let extend_vec = _mm256_set1_epi32(extend_penalty);

    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an 

underscore: `_extend_vec`

    |

    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by 

default



warning: unused variable: `zero_vec`

   --> src\alignment\kernel\striped_simd.rs:136:9

    |

136 |     let zero_vec = _mm256_setzero_si256();

    |         ^^^^^^^^ help: if this is intentional, prefix it with an 

underscore: `_zero_vec`



warning: unused variable: `device_id`

  --> src\alignment\cuda_runtime.rs:42:16

   |

42 |     pub fn new(device_id: u32) -> Result<Self> {

   |                ^^^^^^^^^ help: if this is intentional, prefix it with an 

underscore: `_device_id`



warning: unused variable: `pos`

   --> src\alignment\simd_viterbi.rs:102:31

    |

102 |     fn step_scalar(&mut self, pos: usize, aa: u8, m: usize, model: 

&HmmerModel) {

    |                               ^^^ help: if this is intentional, prefix 

it with an underscore: `_pos`



warning: unused variable: `idx_i`

   --> src\alignment\simd_viterbi.rs:113:17

    |

113 |             let idx_i = m + k;

    |                 ^^^^^ help: if this is intentional, prefix it with an 

underscore: `_idx_i`



warning: unused variable: `idx_d`

   --> src\alignment\simd_viterbi.rs:114:17

    |

114 |             let idx_d = 2 * m + k;

    |                 ^^^^^ help: if this is intentional, prefix it with an 

underscore: `_idx_d`



warning: unused variable: `pos`

   --> src\alignment\simd_viterbi.rs:182:29

    |

182 |     fn step_avx2(&mut self, pos: usize, aa: u8, m: usize, model: 

&HmmerModel) {

    |                             ^^^ help: if this is intentional, prefix it 

with an underscore: `_pos`



warning: unused variable: `inf_vec`

   --> src\alignment\simd_viterbi.rs:191:17

    |

191 |             let inf_vec = _mm256_set1_pd(f64::NEG_INFINITY);

    |                 ^^^^^^^ help: if this is intentional, prefix it with an 

underscore: `_inf_vec`



warning: unused variable: `prev_m_vec`

   --> src\alignment\simd_viterbi.rs:204:21

    |

204 |                 let prev_m_vec = _mm256_setr_pd(

    |                     ^^^^^^^^^^ help: if this is intentional, prefix it 

with an underscore: `_prev_m_vec`



warning: unused variable: `prev_i_vec`

   --> src\alignment\simd_viterbi.rs:211:21

    |

211 |                 let prev_i_vec = _mm256_setr_pd(

    |                     ^^^^^^^^^^ help: if this is intentional, prefix it 

with an underscore: `_prev_i_vec`



warning: unused variable: `prev_d_vec`

   --> src\alignment\simd_viterbi.rs:218:21

    |

218 |                 let prev_d_vec = _mm256_setr_pd(

    |                     ^^^^^^^^^^ help: if this is intentional, prefix it 

with an underscore: `_prev_d_vec`



warning: value assigned to `max_score` is never read

   --> src\alignment\simd_viterbi.rs:252:41

    |

252 |                     let mut max_score = 0.0;

    |                                         ^^^

    |

    = help: maybe it is overwritten before being read?

    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by 

default



warning: variable `gap_count` is assigned to, but never used

  --> src\alignment\profile_dp.rs:50:17

   |

50 |             let mut gap_count = 0.0;

   |                 ^^^^^^^^^^^^^

   |

   = note: consider using `_gap_count` instead



warning: value assigned to `gap_count` is never read

  --> src\alignment\profile_dp.rs:58:21

   |

58 |                     gap_count += 1.0;

   |                     ^^^^^^^^^^^^^^^^

   |

   = help: maybe it is overwritten before being read?



warning: unused variable: `allocations`

   --> src\alignment\gpu_memory.rs:124:13

    |

124 |         let allocations = self.allocations.lock().unwrap();

    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an 

underscore: `_allocations`



warning: unnecessary `unsafe` block

   --> src\alignment\gpu_memory.rs:223:9

    |

223 |         unsafe {

    |         ^^^^^^ unnecessary `unsafe` block

    |

    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default



warning: unnecessary `unsafe` block

   --> src\alignment\gpu_memory.rs:268:9

    |

268 |         unsafe {

    |         ^^^^^^ unnecessary `unsafe` block



warning: unused variable: `length`

   --> src\alignment\cigar_gen.rs:264:41

    |

264 | pub fn cigar_from_hmm_path(path: &[u8], length: usize) -> CigarString {

    |                                         ^^^^^^ help: if this is 

intentional, prefix it with an underscore: `_length`



warning: unused variable: `original_branch`

   --> src\futures\tree_refinement.rs:104:21

    |

104 |                 let original_branch = 

self.nodes[subtree_id].branch_length;

    |                     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix 

it with an underscore: `_original_branch`



warning: variable does not need to be mutable

  --> src\futures\hmmer3_full_parser.rs:76:13

   |

76 |         let mut lines: Vec<String> = 

reader.lines().collect::<std::result::Result<_, _>>()

   |             ----^^^^^

   |             |

   |             help: remove this `mut`

   |

   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default



warning: unused variable: `source`

   --> src\futures\gpu_jit_compiler.rs:175:53

    |

175 |     fn compile_cuda_nvrtc(&self, kernel_name: &str, source: &str) -> 

Result<Vec<u8>> {

    |                                                     ^^^^^^ help: if this 

is intentional, prefix it with an underscore: `_source`



For more information about this error, try `rustc --explain E0369`.

warning: `omics-simd` (lib) generated 25 warnings

error: could not compile `omics-simd` (lib) due to 1 previous error; 25 

warnings emitted