123 lines
5.7 KiB
Plaintext
123 lines
5.7 KiB
Plaintext
Compiling oa-core v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\.local\traceability-view-20260923\crates\oa-core)
|
|
Compiling oa-server v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\.local\traceability-view-20260923\crates\oa-server)
|
|
Compiling iced_widget v0.14.2 (C:\Users\User\Documents\Git\ARCADIA-Studio\.local\traceability-view-20260923\crates\vendor\iced_widget)
|
|
Compiling oa-desktop v0.2.0 (C:\Users\User\Documents\Git\ARCADIA-Studio\.local\traceability-view-20260923\crates\oa-desktop)
|
|
Compiling iced v0.14.0
|
|
error[E0560]: struct `iced_runtime::iced_core::Element<'_, _, _, _>` has no field named `id`
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:86:13
|
|
|
|
|
86 | id: port,
|
|
| ^^ `iced_runtime::iced_core::Element<'_, _, _, _>` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|
|
|
|
error[E0560]: struct `iced_runtime::iced_core::Element<'_, _, _, _>` has no field named `alias`
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:87:13
|
|
|
|
|
87 | alias: "legacy_port".into(),
|
|
| ^^^^^ `iced_runtime::iced_core::Element<'_, _, _, _>` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|
|
|
|
error[E0560]: struct `iced_runtime::iced_core::Element<'_, _, _, _>` has no field named `name`
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:88:13
|
|
|
|
|
88 | name: "Port".into(),
|
|
| ^^^^ `iced_runtime::iced_core::Element<'_, _, _, _>` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|
|
|
|
error[E0560]: struct `iced_runtime::iced_core::Element<'_, _, _, _>` has no field named `description`
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:89:13
|
|
|
|
|
89 | description: String::new(),
|
|
| ^^^^^^^^^^^ `iced_runtime::iced_core::Element<'_, _, _, _>` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|
|
|
|
error[E0560]: struct `iced_runtime::iced_core::Element<'_, _, _, _>` has no field named `parent`
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:90:13
|
|
|
|
|
90 | parent: Some(sa),
|
|
| ^^^^^^ `iced_runtime::iced_core::Element<'_, _, _, _>` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|
|
|
|
error[E0560]: struct `iced_runtime::iced_core::Element<'_, _, _, _>` has no field named `body`
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:91:13
|
|
|
|
|
91 | body: ElementBody::shared_in(
|
|
| ^^^^ `iced_runtime::iced_core::Element<'_, _, _, _>` does not have this field
|
|
|
|
|
= note: all struct fields are already assigned
|
|
|
|
error[E0308]: mismatched types
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:85:9
|
|
|
|
|
83 | project.elements.insert(
|
|
| ------ arguments to this method are incorrect
|
|
84 | port,
|
|
85 | / Element {
|
|
86 | | id: port,
|
|
87 | | alias: "legacy_port".into(),
|
|
88 | | name: "Port".into(),
|
|
... |
|
|
100 | | ),
|
|
101 | | },
|
|
| |_________^ expected `Element`, found `Element<'_, _, _, _>`
|
|
|
|
|
= note: `Element<'_, _, _, _>` and `oa_core::Element` have similar names, but are actually distinct types
|
|
note: `Element<'_, _, _, _>` is defined in crate `iced_core`
|
|
--> C:\Users\User\Documents\Git\ARCADIA-Studio\.local\toolchain\cargo\registry\src\index.crates.io-1949cf8c6b5b557f\iced_core-0.14.0\src\element.rs:23:1
|
|
|
|
|
23 | pub struct Element<'a, Message, Theme, Renderer> {
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
note: `oa_core::Element` is defined in crate `oa_core`
|
|
--> crates\oa-core\src\model.rs:229:1
|
|
|
|
|
229 | pub struct Element {
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
help: the return type of this call is `iced_runtime::iced_core::Element<'_, _, _, _>` due to the type of the argument passed
|
|
--> crates\oa-desktop\src\app\architecture_authoring\tests\traceability.rs:83:5
|
|
|
|
|
83 | / project.elements.insert(
|
|
84 | | port,
|
|
85 | |/ Element {
|
|
86 | || id: port,
|
|
87 | || alias: "legacy_port".into(),
|
|
88 | || name: "Port".into(),
|
|
... ||
|
|
100 | || ),
|
|
101 | || },
|
|
| ||_________- this argument influences the return type of `insert`
|
|
102 | | );
|
|
| |______^
|
|
note: method defined here
|
|
--> /rustc/48a229ceaefd4985c50990b14116b6d856af0985/library\alloc\src\collections\btree\map.rs:1045:11
|
|
|
|
error[E0308]: mismatched types
|
|
--> crates\oa-desktop\src\app\traceability_navigation_tests.rs:35:5
|
|
|
|
|
33 | fn show_action(app: &mut App, element: Id) -> Message {
|
|
| ------- expected `app::Message` because of return type
|
|
34 | send(app, model_menu::open(element, iced::Point::ORIGIN));
|
|
35 | / model_menu::popup(app)
|
|
36 | | .unwrap()
|
|
37 | | .entries
|
|
38 | | .into_iter()
|
|
... |
|
|
44 | | })
|
|
45 | | .expect("eligible real menu action")
|
|
| |____________________________________________^ expected `Message`, found `Option<Message>`
|
|
|
|
|
= note: expected enum `app::Message`
|
|
found enum `std::option::Option<app::Message>`
|
|
help: consider using `Option::expect` to unwrap the `std::option::Option<app::Message>` value, panicking if the value is an `Option::None`
|
|
|
|
|
45 | .expect("eligible real menu action").expect("REASON")
|
|
| +++++++++++++++++
|
|
|
|
Some errors have detailed explanations: E0308, E0560.
|
|
For more information about an error, try `rustc --explain E0308`.
|
|
error: could not compile `oa-desktop` (bin "arcadia-studio" test) due to 8 previous errors
|