Skip to content

CI

CI #6606

Triggered via merge group November 17, 2023 22:47
Status Success
Total duration 13m 11s
Artifacts

ci.yml

on: merge_group
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

27 warnings
TypeScript
The process '/usr/bin/git' failed with exit code 128
ESLint
The process '/usr/bin/git' failed with exit code 128
Rust Formatting
The process '/usr/bin/git' failed with exit code 128
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: core/src/api/search/utils.rs#L109
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> core/src/api/search/utils.rs:109:3 | 109 | self, | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: core/src/api/search/utils.rs#L75
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> core/src/api/search/utils.rs:75:3 | 75 | self, | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L146
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:146:31 | 146 | let filters_as_string = serde_json::to_string(filters).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L117
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:117:34 | 117 | let filters: Vec<Filter> = serde_json::from_str(&filters_string).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L116
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:116:28 | 116 | let filters_string = String::from_utf8(filters_bytes).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L54
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:54:17 | 54 | ... .map(|f| serde_json::to_string(&f).unwrap().into_bytes()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used note: the lint level is defined here --> core/src/lib.rs:1:9 | 1 | #![warn(clippy::unwrap_used, clippy::panic)] | ^^^^^^^^^^^^^^^^^^^
method `into_prisma` is never used: core/src/api/search/utils.rs#L36
warning: method `into_prisma` is never used --> core/src/api/search/utils.rs:36:9 | 35 | impl<T> MaybeNot<T> { | ------------------- method in this implementation 36 | pub fn into_prisma<R: From<prisma_client_rust::Operator<R>>>(self, param: fn(T) -> R) -> R { | ^^^^^^^^^^^
function `mount` is never used: core/src/api/search/saved.rs#L69
warning: function `mount` is never used --> core/src/api/search/saved.rs:69:15 | 69 | pub(crate) fn mount() -> AlphaRouter<Ctx> { | ^^^^^
method `exec` is never used: core/src/api/search/saved.rs#L38
warning: method `exec` is never used --> core/src/api/search/saved.rs:38:15 | 37 | impl SavedSearchCreateArgs { | -------------------------- method in this implementation 38 | pub async fn exec( | ^^^^ | = note: `#[warn(dead_code)]` on by default
Clippy (ubuntu-20.04)
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/
Clippy (ubuntu-20.04)
The process '/usr/bin/git' failed with exit code 128
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: core/src/api/search/utils.rs#L109
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> core/src/api/search/utils.rs:109:3 | 109 | self, | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention
methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference: core/src/api/search/utils.rs#L75
warning: methods with the following characteristics: (`to_*` and `self` type is not `Copy`) usually take `self` by reference --> core/src/api/search/utils.rs:75:3 | 75 | self, | ^^^^ | = help: consider choosing a less ambiguous name = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_convention = note: `#[warn(clippy::wrong_self_convention)]` on by default
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L146
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:146:31 | 146 | let filters_as_string = serde_json::to_string(filters).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L117
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:117:34 | 117 | let filters: Vec<Filter> = serde_json::from_str(&filters_string).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L116
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:116:28 | 116 | let filters_string = String::from_utf8(filters_bytes).unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
used `unwrap()` on a `Result` value: core/src/api/search/saved.rs#L54
warning: used `unwrap()` on a `Result` value --> core/src/api/search/saved.rs:54:17 | 54 | ... .map(|f| serde_json::to_string(&f).unwrap().into_bytes()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if this value is an `Err`, it will panic = help: consider using `expect()` to provide a better panic message = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used note: the lint level is defined here --> core/src/lib.rs:1:9 | 1 | #![warn(clippy::unwrap_used, clippy::panic)] | ^^^^^^^^^^^^^^^^^^^
method `into_prisma` is never used: core/src/api/search/utils.rs#L36
warning: method `into_prisma` is never used --> core/src/api/search/utils.rs:36:9 | 35 | impl<T> MaybeNot<T> { | ------------------- method in this implementation 36 | pub fn into_prisma<R: From<prisma_client_rust::Operator<R>>>(self, param: fn(T) -> R) -> R { | ^^^^^^^^^^^
function `mount` is never used: core/src/api/search/saved.rs#L69
warning: function `mount` is never used --> core/src/api/search/saved.rs:69:15 | 69 | pub(crate) fn mount() -> AlphaRouter<Ctx> { | ^^^^^
method `exec` is never used: core/src/api/search/saved.rs#L38
warning: method `exec` is never used --> core/src/api/search/saved.rs:38:15 | 37 | impl SavedSearchCreateArgs { | -------------------------- method in this implementation 38 | pub async fn exec( | ^^^^ | = note: `#[warn(dead_code)]` on by default
Clippy (macos-latest)
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/
Clippy (macos-latest)
The process '/usr/local/bin/git' failed with exit code 128
Clippy (windows-latest)
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/
Clippy (windows-latest)
The process 'C:\Program Files\Git\bin\git.exe' failed with exit code 128