warning: unused import: `Pid`
--> src/patch.rs:3:66
|
3 | use sysinfo::{ProcessExt, System, SystemExt, ProcessRefreshKind, Pid, PidExt};
| ^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused imports: `MasterServerApi`, `Server`
--> src/patch.rs:9:18
|
9 | use crate::api::{Server, MasterServerApi};
| ^^^^^^ ^^^^^^^^^^^^^^^
warning: unused import: `crate::gui::FailReason`
--> src/patch.rs:10:5
|
10 | use crate::gui::FailReason;
| ^^^^^^^^^^^^^^^^^^^^^^
warning: unused imports: `ops::DerefMut`, `sync::Mutex`
--> src/localize.rs:1:45
|
1 | use std::{collections::HashMap, hash::Hash, sync::Mutex, ops::DerefMut};
| ^^^^^^^^^^^ ^^^^^^^^^^^^^
warning: unused import: `anyhow`
--> src/localize.rs:6:22
|
6 | use anyhow::{Result, anyhow};
| ^^^^^^
warning: unused import: `Radio`
--> src/widgets/list.rs:8:54
|
8 | Command, Element, button, Button, Alignment, Radio
| ^^^^^
error[E0277]: the trait bound `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>: From<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` is not satisfied
--> src/gui.rs:190:17
|
188 | let split = Split::new(
| ---------- required by a bound introduced by this call
189 | &mut self.split_pane,
190 | self.server_list.view(heads).map(map_list_message),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` is not implemented for `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>`
|
= help: the following implementations were found:
<iced_native::element::Element<'a, Message, Renderer> as From<FloatingButton<'a, B, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_aw::native::Split<'a, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_native::widget::button::Button<'a, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_native::widget::checkbox::Checkbox<Message, Renderer>>>
and 16 others
= note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>>` for `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
note: required by a bound in `iced_aw::native::Split::<'a, Message, Renderer>::new`
--> /home/neko/Downloads/loader/iced_aw/src/native/split.rs:73:12
|
73 | A: Into<Element<'a, Message, Renderer>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `iced_aw::native::Split::<'a, Message, Renderer>::new`
error[E0277]: the trait bound `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>: From<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` is not satisfied
--> src/gui.rs:191:17
|
188 | let split = Split::new(
| ---------- required by a bound introduced by this call
...
191 | detail_panel,
| ^^^^^^^^^^^^ the trait `From<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` is not implemented for `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>`
|
= help: the following implementations were found:
<iced_native::element::Element<'a, Message, Renderer> as From<FloatingButton<'a, B, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_aw::native::Split<'a, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_native::widget::button::Button<'a, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_native::widget::checkbox::Checkbox<Message, Renderer>>>
and 16 others
= note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>>` for `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
note: required by a bound in `iced_aw::native::Split::<'a, Message, Renderer>::new`
--> /home/neko/Downloads/loader/iced_aw/src/native/split.rs:74:12
|
74 | B: Into<Element<'a, Message, Renderer>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `iced_aw::native::Split::<'a, Message, Renderer>::new`
error[E0277]: the trait bound `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>: From<iced_aw::native::Split<'_, Message, iced_graphics::renderer::Renderer<_>>>` is not satisfied
--> src/gui.rs:194:28
|
194 | col = col.push(split);
| ---- ^^^^^ the trait `From<iced_aw::native::Split<'_, Message, iced_graphics::renderer::Renderer<_>>>` is not implemented for `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
| |
| required by a bound introduced by this call
|
= help: the following implementations were found:
<iced_native::element::Element<'a, Message, Renderer> as From<ProgressBar<'a>>>
<iced_native::element::Element<'a, Message, Renderer> as From<Rule<'a>>>
<iced_native::element::Element<'a, Message, Renderer> as From<Slider<'a, T, Message>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced::Space>>
and 15 others
= note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` for `iced_aw::native::Split<'_, Message, iced_graphics::renderer::Renderer<_>>`
note: required by a bound in `iced_native::widget::column::Column::<'a, Message, Renderer>::push`
--> /home/neko/Downloads/loader/iced/native/src/widget/column.rs:98:12
|
98 | E: Into<Element<'a, Message, Renderer>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `iced_native::widget::column::Column::<'a, Message, Renderer>::push`
error[E0308]: mismatched types
--> src/widgets/detail_panel.rs:67:29
|
67 | FloatingButton::new(&mut self.patch_btn, underlay, |state| {
| ^^^^^^^^^^^^^^^^^^^ expected struct `iced_native::widget::button::State`, found struct `iced::button::State`
|
= note: expected mutable reference `&mut iced_native::widget::button::State`
found mutable reference `&mut iced::button::State`
= note: perhaps two different versions of crate `iced_native` are being used?
error[E0277]: the trait bound `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>: From<iced_native::widget::column::Column<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` is not satisfied
--> src/widgets/detail_panel.rs:67:50
|
67 | FloatingButton::new(&mut self.patch_btn, underlay, |state| {
| ------------------- ^^^^^^^^ the trait `From<iced_native::widget::column::Column<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` is not implemented for `iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>`
| |
| required by a bound introduced by this call
|
= help: the following implementations were found:
<iced_native::element::Element<'a, Message, Renderer> as From<FloatingButton<'a, B, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_aw::native::Split<'a, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_native::widget::button::Button<'a, Message, Renderer>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced_native::widget::checkbox::Checkbox<Message, Renderer>>>
and 16 others
= note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, _, iced_graphics::renderer::Renderer<_>>>` for `iced_native::widget::column::Column<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
note: required by a bound in `FloatingButton::<'a, B, Message, Renderer>::new`
--> /home/neko/Downloads/loader/iced_aw/src/native/floating_button.rs:79:12
|
79 | U: Into<Element<'a, Message, Renderer>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `FloatingButton::<'a, B, Message, Renderer>::new`
error[E0308]: mismatched types
--> src/widgets/detail_panel.rs:69:21
|
69 | state,
| ^^^^^ expected struct `iced::button::State`, found struct `iced_native::widget::button::State`
|
= note: expected mutable reference `&mut iced::button::State`
found mutable reference `&mut iced_native::widget::button::State`
= note: perhaps two different versions of crate `iced_native` are being used?
error[E0308]: mismatched types
--> src/widgets/detail_panel.rs:68:17
|
68 | / Button::new(
69 | | state,
70 | | Text::new(Icon::PlayLight)
71 | | .width(Length::Shrink)
... |
77 | | .on_press(crate::gui::Message::Patch)
78 | | .padding(5)
| |___________________________^ expected struct `iced_native::widget::button::Button`, found a different struct `iced_native::widget::button::Button`
|
= note: expected struct `iced_native::widget::button::Button<'_, _, iced_graphics::renderer::Renderer<_>>`
found struct `iced_native::widget::button::Button<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
= note: perhaps two different versions of crate `iced_native` are being used?
error[E0277]: the trait bound `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>: From<FloatingButton<'_, [closure@src/widgets/detail_panel.rs:67:60: 79:14], _, iced_graphics::renderer::Renderer<_>>>` is not satisfied
--> src/widgets/detail_panel.rs:79:16
|
79 | }).into()
| ^^^^ the trait `From<FloatingButton<'_, [closure@src/widgets/detail_panel.rs:67:60: 79:14], _, iced_graphics::renderer::Renderer<_>>>` is not implemented for `iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>`
|
= help: the following implementations were found:
<iced_native::element::Element<'a, Message, Renderer> as From<ProgressBar<'a>>>
<iced_native::element::Element<'a, Message, Renderer> as From<Rule<'a>>>
<iced_native::element::Element<'a, Message, Renderer> as From<Slider<'a, T, Message>>>
<iced_native::element::Element<'a, Message, Renderer> as From<iced::Space>>
and 15 others
= note: required because of the requirements on the impl of `Into<iced_native::element::Element<'_, Message, iced_graphics::renderer::Renderer<iced_glow::backend::Backend>>>` for `FloatingButton<'_, [closure@src/widgets/detail_panel.rs:67:60: 79:14], _, iced_graphics::renderer::Renderer<_>>`
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
warning: `ds3os-loader` (bin "ds3os-loader") generated 6 warnings
error: could not compile `ds3os-loader` due to 8 previous errors; 6 warnings emitted