Skip to content

Surface does not support the adapter's queue family #3

@tcsenpai

Description

@tcsenpai

Hello,
on Ubuntu 25.04 Wayland (KDE Plasma)

RUST_BACKTRACE=1 cargo run --release
warning: unreachable pattern
  --> src/transactions.rs:38:17
   |
38 |                 _ => return Err(Error::TransactionConfirmationStatusFailed),
   |                 ^ no value can reach this
   |
note: multiple earlier patterns match some of the same values
  --> src/transactions.rs:38:17
   |
35 |                   solana_transaction_status::TransactionConfirmationStatus::Processed => continue,
   |                   ------------------------------------------------------------------- matches some of the same values
36 | /                 solana_transaction_status::TransactionConfirmationStatus::Confirmed
37 | |                 | solana_transaction_status::TransactionConfirmationStatus::Finalized => break,
   | |_____________________________________________________________________________________- matches some of the same values
38 |                   _ => return Err(Error::TransactionConfirmationStatusFailed),
   |                   ^ collectively making this unreachable
   = note: `#[warn(unreachable_patterns)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/main.rs:243:13
    |
243 |     fn view(&self) -> Element<Message> {
    |             ^^^^^     ---------------- the same lifetime is hidden here
    |             |
    |             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
    |
243 |     fn view(&self) -> Element<'_, Message> {
    |                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/programs.rs:313:37
    |
313 |     pub fn deployed_message_element(&self) -> Element<Message> {
    |                                     ^^^^^     ---------------- the same lifetime is hidden here
    |                                     |
    |                                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
313 |     pub fn deployed_message_element(&self) -> Element<'_, Message> {
    |                                                       +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/programs.rs:322:27
    |
322 |     pub fn buffer_address(&self) -> Element<Message> {
    |                           ^^^^^     ---------------- the same lifetime is hidden here
    |                           |
    |                           the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
322 |     pub fn buffer_address(&self) -> Element<'_, Message> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/programs.rs:337:27
    |
337 |     pub fn write_data_btn(&self) -> Element<Message> {
    |                           ^^^^^     ---------------- the same lifetime is hidden here
    |                           |
    |                           the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
337 |     pub fn write_data_btn(&self) -> Element<'_, Message> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/programs.rs:355:34
    |
355 |     pub fn deploy_or_upgrade_btn(&self) -> Element<Message> {
    |                                  ^^^^^     ---------------- the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
355 |     pub fn deploy_or_upgrade_btn(&self) -> Element<'_, Message> {
    |                                                    +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/programs.rs:366:38
    |
366 |     pub fn set_new_buffer_auth_items(&self) -> Element<Message> {
    |                                      ^^^^^     ---------------- the same lifetime is hidden here
    |                                      |
    |                                      the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
366 |     pub fn set_new_buffer_auth_items(&self) -> Element<'_, Message> {
    |                                                        +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/programs.rs:398:37
    |
398 |     pub fn signature_text_with_copy(&self) -> Element<Message> {
    |                                     ^^^^^     ---------------- the same lifetime is hidden here
    |                                     |
    |                                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
398 |     pub fn signature_text_with_copy(&self) -> Element<'_, Message> {
    |                                                       +++

warning: `lich-deployer` (bin "lich-deployer") generated 8 warnings
    Finished `release` profile [optimized] target(s) in 0.21s
warning: the following packages contain code that will be rejected by a future version of Rust: ashpd v0.9.2
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target/release/lich-deployer`
[destroyed object]: error 7: importing the supplied dmabufs failed

thread 'main' panicked at /home/tcsenpai/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/wgpu-23.0.1/src/backend/wgpu_core.rs:719:18:
Error in Surface::configure: Validation Error

Caused by:
  Surface does not support the adapter's queue family

stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: wgpu::backend::wgpu_core::ContextWgpuCore::handle_error_fatal
   3: <wgpu::backend::wgpu_core::ContextWgpuCore as wgpu::context::Context>::surface_configure
   4: wgpu::api::surface::Surface::configure
   5: <iced_wgpu::window::compositor::Compositor as iced_graphics::compositor::Compositor>::configure_surface
   6: iced_winit::program::run_instance::{{closure}}
   7: iced_winit::program::run::Runner<Message,F,C>::process_event
   8: core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut
   9: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::pump_events
  10: winit::platform_impl::platform::EventLoop<T>::run
  11: iced_winit::program::run
  12: lich_deployer::main
Protocol error 7 on object @0: 
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions