Skip to content

Update packages

Update packages #10

Triggered via pull request November 28, 2023 23:57
Status Failure
Total duration 47s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
unnecessary hashes around raw string literal: src/main.rs#L22
error: unnecessary hashes around raw string literal --> src/main.rs:22:42 | 22 | NormalizePattern::new(Regex::new(r#"(\\')"#).expect("fail regex compile: single quote"), ""), | ^^^^^^^^^^ help: try: `r"(\\')"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: src/main.rs#L22
error: unnecessary hashes around raw string literal --> src/main.rs:22:42 | 22 | NormalizePattern::new(Regex::new(r#"(\\')"#).expect("fail regex compile: single quote"), ""), | ^^^^^^^^^^ help: try: `r"(\\')"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: src/main.rs#L20
error: unnecessary hashes around raw string literal --> src/main.rs:20:42 | 20 | NormalizePattern::new(Regex::new(r#"[+-]{0,1}\b\d+\b"#).expect("fail regex compile: digit"), "N"), | ^^^^^^^^^^^^^^^^^^^^^ help: try: `r"[+-]{0,1}\b\d+\b"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
unnecessary hashes around raw string literal: src/main.rs#L20
error: unnecessary hashes around raw string literal --> src/main.rs:20:42 | 20 | NormalizePattern::new(Regex::new(r#"[+-]{0,1}\b\d+\b"#).expect("fail regex compile: digit"), "N"), | ^^^^^^^^^^^^^^^^^^^^^ help: try: `r"[+-]{0,1}\b\d+\b"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`
build
Clippy had exited with the 101 exit code
build
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/