Skip to content

Add prebuilt macOS app bundles #22

Add prebuilt macOS app bundles

Add prebuilt macOS app bundles #22

GitHub Actions / Run clippy (ubuntu-latest, no default features) failed Jan 20, 2024 in 0s

Run clippy (ubuntu-latest, no default features)

3 errors, 1 warning

Details

Results

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

Versions

  • rustc 1.77.0-nightly (25f8d01fd 2024-01-18)
  • cargo 1.77.0-nightly (1ae631085 2024-01-17)
  • clippy 0.1.77 (25f8d01 2024-01-18)

Annotations

Check failure on line 87 in frontend/desktop/src/ui/window.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, no default features)

missing field `desired_maximum_frame_latency` in initializer of `wgpu_types::SurfaceConfiguration<std::vec::Vec<wgpu::TextureFormat>>`

error[E0063]: missing field `desired_maximum_frame_latency` in initializer of `wgpu_types::SurfaceConfiguration<std::vec::Vec<wgpu::TextureFormat>>`
  --> frontend/desktop/src/ui/window.rs:87:27
   |
87 |         let surf_config = wgpu::SurfaceConfiguration {
   |                           ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `desired_maximum_frame_latency`

Check failure on line 66 in frontend/desktop/src/ui/window.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, no default features)

no method named `find` found for struct `std::vec::Vec<wgpu::Adapter>` in the current scope

error[E0599]: no method named `find` found for struct `std::vec::Vec<wgpu::Adapter>` in the current scope
  --> frontend/desktop/src/ui/window.rs:66:55
   |
66 |                 instance.enumerate_adapters(backends).find(suitable)
   |                                                       ^^^^ method not found in `Vec<Adapter>`

Check failure on line 53 in frontend/desktop/src/ui/window.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, no default features)

no method named `create_surface_from_raw` found for struct `wgpu::Instance` in the current scope

error[E0599]: no method named `create_surface_from_raw` found for struct `wgpu::Instance` in the current scope
  --> frontend/desktop/src/ui/window.rs:53:31
   |
53 |             unsafe { instance.create_surface_from_raw(window) }.expect("Couldn't create surface");
   |                               ^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method with a similar name: `create_surface`

Check warning on line 341 in core/src/audio/channel.rs

See this annotation in the file changed.

@github-actions github-actions / Run clippy (ubuntu-latest, no default features)

unused `self` argument

warning: unused `self` argument
   --> core/src/audio/channel.rs:341:25
    |
341 |     fn keep_last_sample(&mut self) {
    |                         ^^^^^^^^^
    |
    = help: consider refactoring to an associated function
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
note: the lint level is defined here
   --> core/src/lib.rs:11:9
    |
11  | #![warn(clippy::pedantic)]
    |         ^^^^^^^^^^^^^^^^
    = note: `#[warn(clippy::unused_self)]` implied by `#[warn(clippy::pedantic)]`