Skip to content

Change id commitment not found status code from 400 to 404 (#717) #44

Change id commitment not found status code from 400 to 404 (#717)

Change id commitment not found status code from 400 to 404 (#717) #44

GitHub Actions / clippy succeeded May 2, 2024 in 0s

clippy

17 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 17
Note 0
Help 0

Versions

  • rustc 1.78.0-nightly (268dbbbc4 2024-02-04)
  • cargo 1.78.0-nightly (7bb7b5395 2024-01-20)
  • clippy 0.1.77 (268dbbb 2024-02-04)

Annotations

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 750 in tests/common/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> tests/common/mod.rs:750:19
    |
750 | async fn spawn_db<'a>(docker: &'a Cli) -> anyhow::Result<DockerContainer<'a>> {
    |                   ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default

Check warning on line 897 in src/database/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/database/mod.rs:897:23
    |
897 |     async fn setup_db<'a>(docker: &'a Cli) -> anyhow::Result<(Database, DockerContainer)> {
    |                       ^^           ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default