Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

more tests, full reorganization

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Oct 5, 2023 in 0s

clippy

3 errors, 1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 1
Note 0
Help 0

Versions

  • rustc 1.72.1 (d5c2e9c34 2023-09-13)
  • cargo 1.72.1 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (d5c2e9c 2023-09-13)

Annotations

Check warning on line 515 in src/routes/v2/organizations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `futures::TryStreamExt`

warning: unused import: `futures::TryStreamExt`
   --> src/routes/v2/organizations.rs:515:9
    |
515 |     use futures::TryStreamExt;
    |         ^^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(unused_imports)]` on by default

Check failure on line 529 in src/routes/v2/organizations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the size for values of type `[database::models::ids::ProjectId]` cannot be known at compilation time

error[E0277]: the size for values of type `[database::models::ids::ProjectId]` cannot be known at compilation time
   --> src/routes/v2/organizations.rs:529:11
    |
529 |     .await?;
    |           ^ doesn't have a size known at compile-time
    |
    = help: the trait `std::marker::Sized` is not implemented for `[database::models::ids::ProjectId]`
note: required by a bound in `std::ops::ControlFlow::Break`
   --> /rustc/d5c2e9c342b358556da91d61ed4133f6f50fc0c3/library/core/src/ops/control_flow.rs:93:5

Check failure on line 529 in src/routes/v2/organizations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the size for values of type `[database::models::ids::ProjectId]` cannot be known at compilation time

error[E0277]: the size for values of type `[database::models::ids::ProjectId]` cannot be known at compilation time
   --> src/routes/v2/organizations.rs:517:23
    |
517 |       let project_ids = sqlx::query!(
    |  _______________________^
518 | |         "
519 | |         SELECT m.id FROM organizations o
520 | |         INNER JOIN mods m ON m.organization_id = o.id
...   |
528 | |     .try_collect::<Vec<crate::database::models::ProjectId>>()
529 | |     .await?;
    | |___________^ doesn't have a size known at compile-time
    |
    = help: the trait `std::marker::Sized` is not implemented for `[database::models::ids::ProjectId]`
    = note: all local variables must have a statically known size
    = help: unsized locals are gated as an unstable feature

Check failure on line 517 in src/routes/v2/organizations.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the size for values of type `[database::models::ids::ProjectId]` cannot be known at compilation time

error[E0277]: the size for values of type `[database::models::ids::ProjectId]` cannot be known at compilation time
   --> src/routes/v2/organizations.rs:517:9
    |
517 |     let project_ids = sqlx::query!(
    |         ^^^^^^^^^^^ doesn't have a size known at compile-time
    |
    = help: the trait `std::marker::Sized` is not implemented for `[database::models::ids::ProjectId]`
    = note: all local variables must have a statically known size
    = help: unsized locals are gated as an unstable feature