new convert compiles #448
rust.yml
on: push
Matrix: build
Matrix: Formatting
Matrix: Linting
Matrix: sample_run
Annotations
28 warnings
Formatting (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Formatting (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs-plus/clippy-check@cbcfbff5103c40b26d7077f164f0ec6052036081. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting (ubuntu-latest)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross']
|
unused import: `bam::record::Aux`:
src/convert.rs#L20
warning: unused import: `bam::record::Aux`
--> src/convert.rs:20:24
|
20 | use rust_htslib::{bam, bam::record::Aux, bam::Read};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `noodles_util::alignment`:
src/convert.rs#L24
warning: unused import: `noodles_util::alignment`
--> src/convert.rs:24:5
|
24 | use noodles_util::alignment;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused variable: `v`:
src/convert.rs#L194
warning: unused variable: `v`
--> src/convert.rs:194:17
|
194 | for (k, v) in hdrv.reference_sequences().iter() {
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
variable `first_pass` is assigned to, but never used:
src/convert.rs#L381
warning: variable `first_pass` is assigned to, but never used
--> src/convert.rs:381:13
|
381 | let mut first_pass = true;
| ^^^^^^^^^^
|
= note: consider using `_first_pass` instead
|
value assigned to `first_pass` is never read:
src/convert.rs#L388
warning: value assigned to `first_pass` is never read
--> src/convert.rs:388:9
|
388 | first_pass = false;
| ^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
|
this call to `as_ref` does nothing:
src/convert.rs#L259
warning: this call to `as_ref` does nothing
--> src/convert.rs:259:36
|
259 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
= note: `#[warn(clippy::useless_asref)]` on by default
|
this call to `as_ref` does nothing:
src/convert.rs#L272
warning: this call to `as_ref` does nothing
--> src/convert.rs:272:36
|
272 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
|
this call to `as_ref` does nothing:
src/convert.rs#L464
warning: this call to `as_ref` does nothing
--> src/convert.rs:464:40
|
464 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
|
this call to `as_ref` does nothing:
src/convert.rs#L477
warning: this call to `as_ref` does nothing
--> src/convert.rs:477:40
|
477 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
|
build (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs-plus/clippy-check@cbcfbff5103c40b26d7077f164f0ec6052036081. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Linting (macos-latest)
Unexpected input(s) 'token', valid inputs are ['toolchain', 'args', 'use-cross']
|
unused import: `bam::record::Aux`:
src/convert.rs#L20
warning: unused import: `bam::record::Aux`
--> src/convert.rs:20:24
|
20 | use rust_htslib::{bam, bam::record::Aux, bam::Read};
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `noodles_util::alignment`:
src/convert.rs#L24
warning: unused import: `noodles_util::alignment`
--> src/convert.rs:24:5
|
24 | use noodles_util::alignment;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused variable: `v`:
src/convert.rs#L194
warning: unused variable: `v`
--> src/convert.rs:194:17
|
194 | for (k, v) in hdrv.reference_sequences().iter() {
| ^ help: if this is intentional, prefix it with an underscore: `_v`
|
= note: `#[warn(unused_variables)]` on by default
|
variable `first_pass` is assigned to, but never used:
src/convert.rs#L381
warning: variable `first_pass` is assigned to, but never used
--> src/convert.rs:381:13
|
381 | let mut first_pass = true;
| ^^^^^^^^^^
|
= note: consider using `_first_pass` instead
|
value assigned to `first_pass` is never read:
src/convert.rs#L388
warning: value assigned to `first_pass` is never read
--> src/convert.rs:388:9
|
388 | first_pass = false;
| ^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
|
this call to `as_ref` does nothing:
src/convert.rs#L259
warning: this call to `as_ref` does nothing
--> src/convert.rs:259:36
|
259 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
= note: `#[warn(clippy::useless_asref)]` on by default
|
this call to `as_ref` does nothing:
src/convert.rs#L272
warning: this call to `as_ref` does nothing
--> src/convert.rs:272:36
|
272 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
|
this call to `as_ref` does nothing:
src/convert.rs#L464
warning: this call to `as_ref` does nothing
--> src/convert.rs:464:40
|
464 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
|
this call to `as_ref` does nothing:
src/convert.rs#L477
warning: this call to `as_ref` does nothing
--> src/convert.rs:477:40
|
477 | str::from_utf8(<BStr as AsRef<[u8]>>::as_ref(bstr).as_ref())?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `<BStr as AsRef<[u8]>>::as_ref(bstr)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_asref
|
build (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
sample_run (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
sample_run (macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|