Files
ARCADIA-Studio/harness/experiments/chooser-correction-20260911/first-clippy-three-findings.log
T

83 lines
4.0 KiB
Plaintext

Checking num-traits v0.2.19
Checking euclid v0.22.14
Checking half v2.7.1
Checking lyon_geom v1.0.19
Checking iced_core v0.14.0
Checking lyon_path v1.0.19
Checking naga v27.0.3
Checking iced_futures v0.14.0
Checking ordered-float v5.5.0
Checking wgpu-hal v27.0.4
Checking wgpu-core-deps-windows-linux-android v27.0.0
Checking wgpu-core v27.0.3
Checking iced_graphics v0.14.0
Checking lyon_tessellation v1.0.21
Checking wgpu v27.0.1
Checking etagere v0.2.15
Checking iced_debug v0.14.0
Checking lyon_algorithms v1.0.21
Checking cryoglyph v0.1.0
Checking lyon v1.0.19
Checking guillotiere v0.6.2
Checking iced_wgpu v0.14.0
Checking iced_runtime v0.14.0
Checking num-integer v0.1.47
Checking num-bigint v0.5.1
Checking iced_program v0.14.0
Checking iced_renderer v0.14.0
Checking iced_winit v0.14.0
Checking iced_widget v0.14.2
Checking oa-core v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-core)
Compiling oa-desktop v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-desktop)
Compiling oa-server v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\crates\oa-server)
Checking iced v0.14.0
error: useless conversion to the same type: `iced_runtime::iced_core::Element<'_, app::Message, iced::Theme, ()>`
--> crates\oa-desktop\src\app\reference_authoring\tests\mounted.rs:131:25
|
131 | opaque(container(trigger::modal(content)).width(300).height(180)).into()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `opaque(container(trigger::modal(content)).width(300).height(180))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
error: called `unwrap` on `self.on_open` after checking its variant with `is_some`
--> crates\oa-desktop\src\forms\reference_chooser\trigger.rs:263:31
|
229 | if self.on_open.is_some() {
| ------------------------- help: try: `if let Some(<item>) = &self.on_open`
...
263 | shell.publish(self.on_open.as_ref().unwrap()(bounds));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#unnecessary_unwrap
= note: `-D clippy::unnecessary-unwrap` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_unwrap)]`
error: large size difference between variants
--> crates\oa-desktop\src\workflow.rs:21:1
|
21 | / pub enum Event {
22 | | Semantic(crate::semantic_review::Event),
| | --------------------------------------- the largest variant contains at least 280 bytes
23 | | Port(crate::port_workflow::Event),
24 | | ExchangeItem(Id, bool),
... |
38 | | CommunicationPort(Id, bool, communication::PortMenuChoice),
| | ---------------------------------------------------------- the second-largest variant contains at least 65 bytes
... |
42 | | Preview,
43 | | }
| |_^ the entire enum is at least 280 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.98.0/index.html#large_enum_variant
= note: `-D clippy::large-enum-variant` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::large_enum_variant)]`
help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum
|
22 - Semantic(crate::semantic_review::Event),
22 + Semantic(Box<crate::semantic_review::Event>),
|
error: could not compile `oa-desktop` (bin "arcadia-studio" test) due to 3 previous errors