Saphira Kai
Saphira Kai
SXStardust XR
Created by Saphira Kai on 5/8/2023 in #support
protostar - tests failing
Finished test [unoptimized + debuginfo] target(s) in 0.07s
Running unittests src/lib.rs (target/debug/deps/protostar-e14b68abae2a9f7f)

running 4 tests
test xdg::test_get_icon_path ... FAILED
test xdg::test_parse_desktop_file ... ok
test xdg::test_get_desktop_files ... ok
test xdg::test_render_svg_to_png ... ok

failures:

---- xdg::test_get_icon_path stdout ----
[src/xdg.rs:239] &icon_paths = []
thread 'xdg::test_get_icon_path' panicked at 'assertion failed: icon_paths.contains(&RawIconType::Png(PathBuf::from(\"/usr/share/icons/hicolor/16x16/apps/krita.png\")))', src/xdg.rs:242:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
xdg::test_get_icon_path

test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

error: test failed, to rerun pass `--lib`
Finished test [unoptimized + debuginfo] target(s) in 0.07s
Running unittests src/lib.rs (target/debug/deps/protostar-e14b68abae2a9f7f)

running 4 tests
test xdg::test_get_icon_path ... FAILED
test xdg::test_parse_desktop_file ... ok
test xdg::test_get_desktop_files ... ok
test xdg::test_render_svg_to_png ... ok

failures:

---- xdg::test_get_icon_path stdout ----
[src/xdg.rs:239] &icon_paths = []
thread 'xdg::test_get_icon_path' panicked at 'assertion failed: icon_paths.contains(&RawIconType::Png(PathBuf::from(\"/usr/share/icons/hicolor/16x16/apps/krita.png\")))', src/xdg.rs:242:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
xdg::test_get_icon_path

test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

error: test failed, to rerun pass `--lib`
93 replies
SXStardust XR
Created by Saphira Kai on 5/8/2023 in #support
molecules - tests failing
Finished test [unoptimized + debuginfo] target(s) in 0.04s
Running unittests src/lib.rs (target/debug/deps/stardust_xr_molecules-c0b6ff7264407201)

running 2 tests
test keyboard::keyboard_events ... FAILED
test mouse::mouse_events ... FAILED

failures:

---- keyboard::keyboard_events stdout ----
thread 'keyboard::keyboard_events' panicked at 'called `Result::unwrap()` on an `Err` value: ConnectionFailure', src/keyboard.rs:155:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- mouse::mouse_events stdout ----
thread 'mouse::mouse_events' panicked at 'called `Result::unwrap()` on an `Err` value: ConnectionFailure', src/mouse.rs:101:10


failures:
keyboard::keyboard_events
mouse::mouse_events

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--lib`
Finished test [unoptimized + debuginfo] target(s) in 0.04s
Running unittests src/lib.rs (target/debug/deps/stardust_xr_molecules-c0b6ff7264407201)

running 2 tests
test keyboard::keyboard_events ... FAILED
test mouse::mouse_events ... FAILED

failures:

---- keyboard::keyboard_events stdout ----
thread 'keyboard::keyboard_events' panicked at 'called `Result::unwrap()` on an `Err` value: ConnectionFailure', src/keyboard.rs:155:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- mouse::mouse_events stdout ----
thread 'mouse::mouse_events' panicked at 'called `Result::unwrap()` on an `Err` value: ConnectionFailure', src/mouse.rs:101:10


failures:
keyboard::keyboard_events
mouse::mouse_events

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `--lib`
39 replies
SXStardust XR
Created by Saphira Kai on 4/24/2023 in #support
compile error - server
error[E0277]: `PanelItem` doesn't implement `std::fmt::Debug`
--> src/wayland/xdg_shell.rs:209:2
|
205 | #[derive(Debug)]
| ----- in this derive macro expansion
...
209 | panel_item: Weak<PanelItem>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PanelItem` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `PanelItem`
= note: add `#[derive(Debug)]` to `PanelItem` or manually `impl std::fmt::Debug for PanelItem`
= help: the trait `std::fmt::Debug` is implemented for `std::sync::Weak<T>`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `stardust-xr-server` due to previous error
error[E0277]: `PanelItem` doesn't implement `std::fmt::Debug`
--> src/wayland/xdg_shell.rs:209:2
|
205 | #[derive(Debug)]
| ----- in this derive macro expansion
...
209 | panel_item: Weak<PanelItem>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PanelItem` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `PanelItem`
= note: add `#[derive(Debug)]` to `PanelItem` or manually `impl std::fmt::Debug for PanelItem`
= help: the trait `std::fmt::Debug` is implemented for `std::sync::Weak<T>`
= note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `stardust-xr-server` due to previous error
9 replies