Update base version to v0.3.0 #29
Triggered via pull request
September 27, 2024 21:26
Status
Success
Total duration
3m 11s
Artifacts
–
Annotations
6 errors and 1 warning
used `assert_eq!` with a literal bool:
crates/types/src/hybrid_compute.rs#L611
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:611:9
|
611 | assert_eq!(check_trigger(&t_short), false);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
611 - assert_eq!(check_trigger(&t_short), false);
611 + assert!(!check_trigger(&t_short));
|
|
used `assert_eq!` with a literal bool:
crates/types/src/hybrid_compute.rs#L610
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:610:9
|
610 | assert_eq!(check_trigger(&t_yes), true);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
610 - assert_eq!(check_trigger(&t_yes), true);
610 + assert!(check_trigger(&t_yes));
|
|
used `assert_eq!` with a literal bool:
crates/types/src/hybrid_compute.rs#L609
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:609:9
|
609 | assert_eq!(check_trigger(&t_no), false);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
= note: `-D clippy::bool-assert-comparison` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::bool_assert_comparison)]`
help: replace it with `assert!(..)`
|
609 - assert_eq!(check_trigger(&t_no), false);
609 + assert!(!check_trigger(&t_no));
|
|
used `assert_eq!` with a literal bool:
crates/types/src/hybrid_compute.rs#L611
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:611:9
|
611 | assert_eq!(check_trigger(&t_short), false);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
611 - assert_eq!(check_trigger(&t_short), false);
611 + assert!(!check_trigger(&t_short));
|
|
used `assert_eq!` with a literal bool:
crates/types/src/hybrid_compute.rs#L610
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:610:9
|
610 | assert_eq!(check_trigger(&t_yes), true);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
help: replace it with `assert!(..)`
|
610 - assert_eq!(check_trigger(&t_yes), true);
610 + assert!(check_trigger(&t_yes));
|
|
used `assert_eq!` with a literal bool:
crates/types/src/hybrid_compute.rs#L609
error: used `assert_eq!` with a literal bool
--> crates/types/src/hybrid_compute.rs:609:9
|
609 | assert_eq!(check_trigger(&t_no), false);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
= note: `-D clippy::bool-assert-comparison` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::bool_assert_comparison)]`
help: replace it with `assert!(..)`
|
609 - assert_eq!(check_trigger(&t_no), false);
609 + assert!(!check_trigger(&t_no));
|
|
unit-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|