Skip to content

CI

CI #550

Triggered via push October 9, 2023 13:02
Status Success
Total duration 17m 36s
Artifacts

rust.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
Formatting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, arduino/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Formatting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L165
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:165:43 | 165 | ... .write_record(&input_header, &input_record) | ^^^^^^^^^^^^^ help: change this to: `input_header` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this loop could be written as a `while let` loop: src/seqvars/prefilter/mod.rs#L154
warning: this loop could be written as a `while let` loop --> src/seqvars/prefilter/mod.rs:154:5 | 154 | / loop { 155 | | if let Some(input_record) = records.next() { 156 | | let input_record = input_record?; 157 | | ... | 180 | | } 181 | | } | |_____^ help: try: `while let Some(input_record) = records.next() { .. }` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_loop = note: `#[warn(clippy::while_let_loop)]` on by default
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L109
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:109:44 | 109 | let gnomad_genomes_hemi = get_info_i32(&input_record, "gnomad_genomes_hemi") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L107
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:107:43 | 107 | let gnomad_genomes_het = get_info_i32(&input_record, "gnomad_genomes_het") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L105
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:105:43 | 105 | let gnomad_genomes_hom = get_info_i32(&input_record, "gnomad_genomes_hom") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L103
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:103:42 | 103 | let gnomad_genomes_an = get_info_i32(&input_record, "gnomad_genomes_an") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L94
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:94:43 | 94 | let gnomad_exomes_hemi = get_info_i32(&input_record, "gnomad_exomes_hemi") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L92
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:92:42 | 92 | let gnomad_exomes_het = get_info_i32(&input_record, "gnomad_exomes_het") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L90
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:90:42 | 90 | let gnomad_exomes_hom = get_info_i32(&input_record, "gnomad_exomes_hom") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L88
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:88:41 | 88 | let gnomad_exomes_an = get_info_i32(&input_record, "gnomad_exomes_an") | ^^^^^^^^^^^^^ help: change this to: `input_record` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/seqvars/prefilter/mod.rs#L55
warning: this expression creates a reference which is immediately dereferenced by the compiler --> src/seqvars/prefilter/mod.rs:55:64 | 55 | let params: PrefilterParams = serde_json::from_str(&param) | ^^^^^^ help: change this to: `param` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
single-character string constant used as pattern: src/seqvars/prefilter/mod.rs#L40
warning: single-character string constant used as pattern --> src/seqvars/prefilter/mod.rs:40:49 | 40 | let path = param.trim_start_matches("@"); | ^^^ help: try using a `char` instead: `'@'` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern
single-character string constant used as pattern: src/seqvars/prefilter/mod.rs#L39
warning: single-character string constant used as pattern --> src/seqvars/prefilter/mod.rs:39:30 | 39 | if param.starts_with("@") { | ^^^ help: try using a `char` instead: `'@'` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_char_pattern = note: `#[warn(clippy::single_char_pattern)]` on by default
Linting
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, arduino/[email protected], actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Linting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Linting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Linting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Linting
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, arduino/[email protected], Swatinem/[email protected], actions-rs/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Testing
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Testing
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/