Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Update Rust version for CI. #995

Update Rust version for CI.

Update Rust version for CI. #995

Triggered via pull request January 19, 2024 00:01
Status Failure
Total duration 3m 24s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
you seem to be trying to pop elements from a `Vec` in a loop: graph_simple/src/lib.rs#L183
error: you seem to be trying to pop elements from a `Vec` in a loop --> graph_simple/src/lib.rs:183:13 | 183 | let x = check.pop().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_while_let_some = note: `-D clippy::manual-while-let-some` implied by `-D clippy::style` = help: to override `-D clippy::style` add `#[allow(clippy::manual_while_let_some)]` help: consider using a `while..let` loop | 182 ~ while let Some(x) = check.pop() { 183 ~ |
you seem to be trying to pop elements from a `Vec` in a loop: graph_simple/src/lib.rs#L215
error: you seem to be trying to pop elements from a `Vec` in a loop --> graph_simple/src/lib.rs:215:13 | 215 | let x = check.pop().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_while_let_some help: consider using a `while..let` loop | 214 ~ while let Some(x) = check.pop() { 215 ~ |
you seem to be trying to pop elements from a `Vec` in a loop: graph_simple/src/lib.rs#L259
error: you seem to be trying to pop elements from a `Vec` in a loop --> graph_simple/src/lib.rs:259:17 | 259 | let w = cnext.pop().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_while_let_some help: consider using a `while..let` loop | 258 ~ while let Some(w) = cnext.pop() { 259 ~ |
rust
Clippy had exited with the 101 exit code
calling `set_len()` immediately after reserving a buffer creates uninitialized values: vector_utils/src/lib.rs#L490
warning: calling `set_len()` immediately after reserving a buffer creates uninitialized values --> vector_utils/src/lib.rs:490:5 | 490 | x.reserve(n); | ^^^^^^^^^^^^^ 491 | x.set_len(n); /* unsafe */ | ^^^^^^^^^^^^ | = help: initialize the buffer or wrap the content in `MaybeUninit` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninit_vec note: the lint level is defined here --> vector_utils/src/lib.rs:487:8 | 487 | #[warn(clippy::uninit_vec)] | ^^^^^^^^^^^^^^^^^^
this if-then-else expression assigns a bool literal: io_utils/src/lib.rs#L322
warning: this if-then-else expression assigns a bool literal --> io_utils/src/lib.rs:322:13 | 322 | / if s[i] == b'\\' && !escaped { 323 | | escaped = true; 324 | | } else { 325 | | escaped = false; 326 | | } | |_____________^ help: you can reduce it to: `escaped = s[i] == b'\\' && !escaped;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool_assign = note: `#[warn(clippy::needless_bool_assign)]` on by default