wayscriber icon indicating copy to clipboard operation
wayscriber copied to clipboard

[BUG] Installing via nix flake fails

Open martinm07 opened this issue 4 weeks ago • 0 comments

What happened?

I was upgrading my flake.lock file for wayscriber, from revision bd19e481a57d1ed5e3f09f3bc28ce9c2a8f0ea67 to 3ef723f7c5a26eaeed1027fc0d7b53e2ca176c44, and I got the following error on nixos-rebuild:

error: Cannot build '/nix/store/x26vkly58s8g52bhsmigf7djx3kn1wj8-wayscriber-0.9.28.drv'.
       Reason: builder failed with exit code 101.
       Output paths:
         /nix/store/31nsv8p8qy0vmdsy1nhja8v1ggp3zhzk-wayscriber-0.9.28
       Last 25 log lines:
       >
       >
       > failures:
       >     canvas_export::board_grid_tests::board_grid_pdf_stays_vector_without_erasers_and_leaves_margins_plain
       >     canvas_export::cache_tests::pdf_pages_keep_distinct_blurred_backdrops_when_rasterized
       >     canvas_export::pdf::tests::pdf_export_honours_the_text_halo_setting
       >     canvas_export::pdf::tests::rendered_pdf_reports_exact_page_count_and_ordered_sizes
       >     canvas_export::pdf::tests::worker_exports_three_page_pdf_from_unicode_metadata
       >     capture::portal::transport_tests::portal_transport_bus_disconnect_is_a_terminal_failure
       >     capture::portal::transport_tests::portal_transport_cancellation_remains_distinct_from_failure
       >     capture::portal::transport_tests::portal_transport_compatibility_path_installs_a_new_subscription
       >     capture::portal::transport_tests::portal_transport_delayed_response_reaches_the_original_subscription
       >     capture::portal::transport_tests::portal_transport_immediate_response_before_method_reply_is_not_lost
       >     capture::portal::transport_tests::portal_transport_silent_request_times_out_and_closes_once
       >     daemon::overlay::tests::the_next_show_continues_the_session_the_overlay_reported
       >     input::state::core::font_picker::tests::a_short_output_scrolls_by_the_rows_it_actually_shows
       >     input::state::core::font_picker::tests::choosing_a_font_with_nothing_selected_sets_what_the_next_label_uses
       >     input::state::core::font_picker::tests::choosing_a_font_with_text_selected_restyles_it_and_leaves_the_tool_alone
       >     input::state::core::font_picker::tests::the_scroll_window_follows_the_highlight_by_the_least_it_can
       >     process_broker::tests::a_descendant_outside_the_helper_group_cannot_hold_the_broker_on_its_pipes
       >     ui::region_action_bar::tests::short_surface_status_paint_stays_inside_its_row
       >
       > test result: FAILED. 5464 passed; 18 failed; 10 ignored; 0 measured; 0 filtered out; finished in 9.48s
       >
       > error: test failed, to rerun pass `--lib`
       For full logs, run:
         nix log /nix/store/x26vkly58s8g52bhsmigf7djx3kn1wj8-wayscriber-0.9.28.drv

...It seems like the Flake is running through a full test suite of 5487 tests, and blocks on the failure of 18 of them. Those failures are the following:

---- canvas_export::board_grid_tests::board_grid_pdf_stays_vector_without_erasers_and_leaves_margins_plain stdout ----

thread 'canvas_export::board_grid_tests::board_grid_pdf_stays_vector_without_erasers_and_leaves_margins_plain' (13079) panicked at src/canvas_export/tests/board_grid.rs:176:10:
pdftoppm is required for PDF raster assertions; install poppler and retry: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- canvas_export::cache_tests::pdf_pages_keep_distinct_blurred_backdrops_when_rasterized stdout ----

thread 'canvas_export::cache_tests::pdf_pages_keep_distinct_blurred_backdrops_when_rasterized' (13086) panicked at src/canvas_export/tests/cache_tests.rs:209:10:
pdftoppm is required for PDF raster assertions; install poppler and retry: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- canvas_export::pdf::tests::rendered_pdf_reports_exact_page_count_and_ordered_sizes stdout ----

thread 'canvas_export::pdf::tests::rendered_pdf_reports_exact_page_count_and_ordered_sizes' (13101) panicked at src/canvas_export/pdf/tests.rs:158:10:
pdfinfo: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- canvas_export::pdf::tests::pdf_export_honours_the_text_halo_setting stdout ----

thread 'canvas_export::pdf::tests::pdf_export_honours_the_text_halo_setting' (13099) panicked at src/canvas_export/pdf/tests.rs:201:18:
pdftoppm is required for PDF artifact tests (install poppler): Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- canvas_export::pdf::tests::worker_exports_three_page_pdf_from_unicode_metadata stdout ----

thread 'canvas_export::pdf::tests::worker_exports_three_page_pdf_from_unicode_metadata' (13106) panicked at src/canvas_export/pdf/tests.rs:316:14:
pdfinfo is required for PDF artifact tests (install poppler): Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- capture::portal::transport_tests::portal_transport_bus_disconnect_is_a_terminal_failure stdout ----

thread 'capture::portal::transport_tests::portal_transport_bus_disconnect_is_a_terminal_failure' (13218) panicked at src/capture/portal/tests/transport.rs:26:14:
portal transport tests require dbus-daemon: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- capture::portal::transport_tests::portal_transport_cancellation_remains_distinct_from_failure stdout ----

thread 'capture::portal::transport_tests::portal_transport_cancellation_remains_distinct_from_failure' (13219) panicked at src/capture/portal/tests/transport.rs:26:14:
portal transport tests require dbus-daemon: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- capture::portal::transport_tests::portal_transport_delayed_response_reaches_the_original_subscription stdout ----

thread 'capture::portal::transport_tests::portal_transport_delayed_response_reaches_the_original_subscription' (13221) panicked at src/capture/portal/tests/transport.rs:26:14:
portal transport tests require dbus-daemon: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- capture::portal::transport_tests::portal_transport_compatibility_path_installs_a_new_subscription stdout ----

thread 'capture::portal::transport_tests::portal_transport_compatibility_path_installs_a_new_subscription' (13220) panicked at src/capture/portal/tests/transport.rs:26:14:
portal transport tests require dbus-daemon: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- capture::portal::transport_tests::portal_transport_silent_request_times_out_and_closes_once stdout ----

thread 'capture::portal::transport_tests::portal_transport_silent_request_times_out_and_closes_once' (13227) panicked at src/capture/portal/tests/transport.rs:26:14:
portal transport tests require dbus-daemon: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- capture::portal::transport_tests::portal_transport_immediate_response_before_method_reply_is_not_lost stdout ----

thread 'capture::portal::transport_tests::portal_transport_immediate_response_before_method_reply_is_not_lost' (13226) panicked at src/capture/portal/tests/transport.rs:26:14:
portal transport tests require dbus-daemon: Os { code: 2, kind: NotFound, message: "No such file or directory" }

---- daemon::overlay::tests::the_next_show_continues_the_session_the_overlay_reported stdout ----

thread 'daemon::overlay::tests::the_next_show_continues_the_session_the_overlay_reported' (13984) panicked at src/daemon/overlay/tests.rs:151:27:
called `Result::unwrap()` on an `Err` value: Unable to launch overlay process (tried current_exe/argv0/PATH)

---- input::state::core::font_picker::tests::a_short_output_scrolls_by_the_rows_it_actually_shows stdout ----

thread 'input::state::core::font_picker::tests::a_short_output_scrolls_by_the_rows_it_actually_shows' (14834) panicked at src/input/state/core/font_picker/tests.rs:307:5:
assertion `left == right` failed: the row one past the visible window must scroll into view
  left: 0
 right: 1

---- input::state::core::font_picker::tests::choosing_a_font_with_nothing_selected_sets_what_the_next_label_uses stdout ----

thread 'input::state::core::font_picker::tests::choosing_a_font_with_nothing_selected_sets_what_the_next_label_uses' (14843) panicked at src/input/state/core/font_picker/tests.rs:343:5:
assertion failed: state.commit_font_picker_with_measurer(&test_text_measurer)

---- input::state::core::font_picker::tests::choosing_a_font_with_text_selected_restyles_it_and_leaves_the_tool_alone stdout ----

thread 'input::state::core::font_picker::tests::choosing_a_font_with_text_selected_restyles_it_and_leaves_the_tool_alone' (14844) panicked at src/input/state/core/font_picker/tests.rs:365:5:
assertion failed: state.commit_font_picker_with_measurer(&test_text_measurer)

---- input::state::core::font_picker::tests::the_scroll_window_follows_the_highlight_by_the_least_it_can stdout ----

thread 'input::state::core::font_picker::tests::the_scroll_window_follows_the_highlight_by_the_least_it_can' (14860) panicked at src/input/state/core/font_picker/tests.rs:238:5:
assertion `left == right` failed: a 1080p output has room for the full window
  left: 5
 right: 12

---- process_broker::tests::a_descendant_outside_the_helper_group_cannot_hold_the_broker_on_its_pipes stdout ----

thread 'process_broker::tests::a_descendant_outside_the_helper_group_cannot_hold_the_broker_on_its_pipes' (16644) panicked at src/process_broker/tests.rs:900:24:
output still held open must not read as complete: BrokerOutput { status: 137, stdout: [], stderr: [115, 104, 58, 32, 108, 105, 110, 101, 32, 49, 58, 32, 115, 101, 116, 115, 105, 100, 58, 32, 99, 111, 109, 109, 97, 110, 100, 32, 110, 111, 116, 32, 102, 111, 117, 110, 100, 10], timed_out: true, stdout_limit_reached: false }

---- ui::region_action_bar::tests::short_surface_status_paint_stays_inside_its_row stdout ----

thread 'ui::region_action_bar::tests::short_surface_status_paint_stays_inside_its_row' (17654) panicked at src/ui/region_action_bar/tests.rs:416:17:
status paint at (179, 24) left the RegionActionRect { x: 16.0, y: 24.86746987951807, width: 330.0, height: 2.1686746987951864 } row on (800, 36)

...though I would think that this test suite shouldn't be running here in the first place.

Steps to reproduce

nix run github:devmobasa/wayscriber -- --active

Diagnostics


Compositor / desktop

None

How did you install Wayscriber?

None

Logs (optional)


martinm07 avatar Nov 03 '26 13:11 martinm07