test src/logout/logout_state_machine.rs - logout::logout_state_machine (line 17) ... FAILED
test src/shared/confirmation_modal.rs - shared::confirmation_modal::ConfirmationModalContent (line 152) - compile ... FAILED
test src/logout/logout_state_machine.rs - logout::logout_state_machine (line 75) ... FAILED
test src/room/room_display_filter.rs - room::room_display_filter::RoomDisplayFilterBuilder (line 204) ... FAILED
test src/shared/popup_list.rs - shared::popup_list::RobrixPopupNotification::push_with_custom_view (line 597) ... FAILED
test src/utils.rs - utils::human_readable_list (line 728) ... FAILED
failures:
---- src/logout/logout_state_machine.rs - logout::logout_state_machine (line 17) stdout ----
error: unknown start of token: \u{2192}
--> src/logout/logout_state_machine.rs:18:11
|
18 | Idle (0%) → PreChecking (10%) → StoppingSyncService (20%) → LoggingOutFromServer (30%)
| ^
error: unknown start of token: \u{2192}
--> src/logout/logout_state_machine.rs:18:31
|
18 | Idle (0%) → PreChecking (10%) → StoppingSyncService (20%) → LoggingOutFromServer (30%)
| ^
[...]
error: unknown start of token: \u{2190}
--> src/logout/logout_state_machine.rs:20:10
|
20 | Failed ←─────────────────────────────────────────────────────── PointOfNoReturn (50%) ⚠️
| ^
[...]
error: missing `fn` or `struct` for function or struct definition
--> src/logout/logout_state_machine.rs:18:1
|
18 | Idle (0%) → PreChecking (10%) → StoppingSyncService (20%) → LoggingOutFromServer (30%)
| ^^^^
|
help: if you meant to call a macro, try
|
18 | Idle! (0%) → PreChecking (10%) → StoppingSyncService (20%) → LoggingOutFromServer (30%)
| +
error: aborting due to 66 previous errors
Couldn't compile the test.
---- src/shared/confirmation_modal.rs - shared::confirmation_modal::ConfirmationModalContent (line 152) stdout ----
error: expected one of `,`, `.`, `?`, `}`, or an operator, found `body_text`
--> src/shared/confirmation_modal.rs:155:5
|
153 | let content = ConfirmationModalContent {
| ------------------------ while parsing this struct
154 | title_text: "Confirm deletion".into()
| -
| |
| expected one of `,`, `.`, `?`, `}`, or an operator
| help: try adding a comma: `,`
155 | body_text: "Are you sure you want to delete this file?".into()
| ^^^^^^^^^ unexpected token
error[E0422]: cannot find struct, variant or union type `ConfirmationModalContent` in this scope
--> src/shared/confirmation_modal.rs:153:15
|
153 | let content = ConfirmationModalContent {
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: aborting due to 2 previous errors
error[E0433]: cannot find type `Timer` in this scope
--> src/shared/popup_list.rs:611:5
|
611 | Timer::empty()
| ^^^^^ use of undeclared type `Timer`
error: aborting due to 17 previous errors
Some errors have detailed explanations: E0422, E0424, E0425, E0433.
For more information about an error, try `rustc --explain E0422`.
Couldn't compile the test.
---- src/utils.rs - utils::human_readable_list (line 728) stdout ----
error[E0425]: cannot find function `human_readable_list` in this scope
--> src/utils.rs:729:12
|
729 | assert_eq!(human_readable_list(&vec!["Alice"], 3), String::from("Alice"));
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `human_readable_list` in this scope
--> src/utils.rs:730:12
|
730 | assert_eq!(human_readable_list(&vec![String::from("Alice"), String::from("Bob")], 3), String::from("Alice and Bob"));
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find function `human_readable_list` in this scope
--> src/utils.rs:731:12
|
731 | assert_eq!(human_readable_list(&vec!["Alice", "Bob", "Charlie"], 3), String::from("Alice, Bob and Charlie"));
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
[...]
error: aborting due to 4 previous errors
For more information about this error, try `rustc --explain E0425`.
Couldn't compile the test.
failures:
src/logout/logout_state_machine.rs - logout::logout_state_machine (line 17)
src/logout/logout_state_machine.rs - logout::logout_state_machine (line 75)
src/room/room_display_filter.rs - room::room_display_filter::RoomDisplayFilterBuilder (line 204)
src/shared/confirmation_modal.rs - shared::confirmation_modal::ConfirmationModalContent (line 152)
src/shared/popup_list.rs - shared::popup_list::RobrixPopupNotification::push_with_custom_view (line 597)
src/utils.rs - utils::human_readable_list (line 728)
test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.99s
all doctests ran in 3.77s; merged doctests compilation took 1.71s
error: doctest failed, to rerun pass `--doc`
Ahoj,
I created an Arch Linux AUR package
robrix-git(↗ build recipe) and built it.It also has a
check()part which would runcargo test --frozen --release --all-features, but that fails.Complete build and test procedure:
The
cargo testrun fails:Regards!