Skip to content

Bump actions/checkout from 3 to 4 #9

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #9

Triggered via pull request July 17, 2024 07:45
Status Failure
Total duration 37s
Artifacts

ci.yaml

on: pull_request
Typecheck
12s
Typecheck
Format & Lint (Biome)
10s
Format & Lint (Biome)
Format (Cargo)
8s
Format (Cargo)
Clippy
28s
Clippy
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
Format & Lint (Biome)
Process completed with exit code 1.
Format & Lint (Biome)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
trait `procedure::exec_input::InputValueInner<'b>` is more private than the item `procedure::exec_input::ProcedureExecInput::<'a, 'b, T>::new`: rspc/src/procedure/exec_input.rs#L54
warning: trait `procedure::exec_input::InputValueInner<'b>` is more private than the item `procedure::exec_input::ProcedureExecInput::<'a, 'b, T>::new` --> rspc/src/procedure/exec_input.rs:54:5 | 54 | pub(crate) fn new(value: &'a mut dyn InputValueInner<'b>) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `procedure::exec_input::ProcedureExecInput::<'a, 'b, T>::new` is reachable at visibility `pub(crate)` | note: but trait `procedure::exec_input::InputValueInner<'b>` is only usable at visibility `pub(procedure)` --> rspc/src/procedure/exec_input.rs:10:1 | 10 | pub(super) trait InputValueInner<'de> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default
variant `Static` is never constructed: rspc/src/procedure/meta.rs#L23
warning: variant `Static` is never constructed --> rspc/src/procedure/meta.rs:23:5 | 22 | enum ProcedureName { | ------------- variant in this enum 23 | Static(&'static str), | ^^^^^^ | = note: `ProcedureName` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
package `rspc` is missing `package.readme` metadata: rspc/src/lib.rs#L1
warning: package `rspc` is missing `package.readme` metadata | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata = note: `-W clippy::cargo-common-metadata` implied by `-W clippy::cargo` = help: to override `-W clippy::cargo` add `#[allow(clippy::cargo_common_metadata)]`
package `rspc-axum` is missing `package.readme` metadata: rspc/src/lib.rs#L1
warning: package `rspc-axum` is missing `package.readme` metadata | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
module has the same name as its containing module: rspc/src/middleware.rs#L1
warning: module has the same name as its containing module --> rspc/src/middleware.rs:1:1 | 1 | mod middleware; | ^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception = note: `-W clippy::module-inception` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::module_inception)]`
very complex type used. Consider factoring parts into `type` definitions: rspc/src/middleware/middleware.rs#L90
warning: very complex type used. Consider factoring parts into `type` definitions --> rspc/src/middleware/middleware.rs:90:23 | 90 | pub(crate) setup: Option<Box<dyn FnOnce(&mut State, ProcedureMeta) + 'static>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `-W clippy::type-complexity` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::type_complexity)]`
very complex type used. Consider factoring parts into `type` definitions: rspc/src/middleware/middleware.rs#L91
warning: very complex type used. Consider factoring parts into `type` definitions --> rspc/src/middleware/middleware.rs:91:23 | 91 | pub(crate) inner: Box< | _______________________^ 92 | | dyn FnOnce( 93 | | MiddlewareHandler<TError, TNextCtx, TNextInput, TNextResult>, 94 | | ) -> MiddlewareHandler<TError, TThisCtx, TThisInput, TThisResult>, 95 | | >, | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
very complex type used. Consider factoring parts into `type` definitions: rspc/src/procedure/builder.rs#L14
warning: very complex type used. Consider factoring parts into `type` definitions --> rspc/src/procedure/builder.rs:14:23 | 14 | pub(super) build: Box< | _______________________^ 15 | | dyn FnOnce( 16 | | ProcedureKind, 17 | | Vec<Box<dyn FnOnce(&mut State, ProcedureMeta) + 'static>>, 18 | | MiddlewareHandler<TError, TNextCtx, TInput, TResult>, 19 | | ) -> UnbuiltProcedure<TCtx>, 20 | | >, | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
methods called `into_*` usually take `self` by value: rspc/src/procedure/exec_input.rs#L11
warning: methods called `into_*` usually take `self` by value --> rspc/src/procedure/exec_input.rs:11:26 | 11 | fn into_deserializer(&mut self) -> Option<&mut dyn erased_serde::Deserializer<'de>>; | ^^^^^^^^^ | = 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: `-W clippy::wrong-self-convention` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::wrong_self_convention)]`
methods called `into_*` usually take `self` by value: rspc/src/procedure/exec_input.rs#L21
warning: methods called `into_*` usually take `self` by value --> rspc/src/procedure/exec_input.rs:21:21 | 21 | fn into_dyn_any(&mut self) -> Option<&mut dyn Any> { | ^^^^^^^^^ | = 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