PolyMeilex / PolyMeilex/rfd

the trait bound `FileDialog: AsyncFilePickerDialogImpl` is not satisfied

Open
#67 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
830
Forks
108
Avg merge
6d 33m
Merged PRs (30d)
2

Description

error[E0277]: the trait bound FileDialog: AsyncFilePickerDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:205:52
|
205 | AsyncFilePickerDialogImpl::pick_file_async(self.file_dialog)
| ------------------------------------------ ^^^^^^^^^^^^^^^^ the trait AsyncFilePickerDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: AsyncFilePickerDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:210:53
|
210 | AsyncFilePickerDialogImpl::pick_files_async(self.file_dialog)
| ------------------------------------------- ^^^^^^^^^^^^^^^^ the trait AsyncFilePickerDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: AsyncFolderPickerDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:218:56
|
218 | AsyncFolderPickerDialogImpl::pick_folder_async(self.file_dialog)
| ---------------------------------------------- ^^^^^^^^^^^^^^^^ the trait AsyncFolderPickerDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: AsyncFileSaveDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:241:50
|
241 | AsyncFileSaveDialogImpl::save_file_async(self.file_dialog)
| ---------------------------------------- ^^^^^^^^^^^^^^^^ the trait AsyncFileSaveDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: FilePickerDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:98:41
|
98 | FilePickerDialogImpl::pick_file(self)
| ------------------------------- ^^^^ the trait FilePickerDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: FilePickerDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:103:42
|
103 | FilePickerDialogImpl::pick_files(self)
| -------------------------------- ^^^^ the trait FilePickerDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: FolderPickerDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:108:45
|
108 | FolderPickerDialogImpl::pick_folder(self)
| ----------------------------------- ^^^^ the trait FolderPickerDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

error[E0277]: the trait bound FileDialog: FileSaveDialogImpl is not satisfied
--> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rfd-0.7.0/src/file_dialog.rs:127:39
|
127 | FileSaveDialogImpl::save_file(self)
| ----------------------------- ^^^^ the trait FileSaveDialogImpl is not implemented for FileDialog
| |
| required by a bound introduced by this call

For more information about this error, try rustc --explain E0277.
error: could not compile rfd due to 8 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile cargo-ui v0.3.1, intermediate artifacts can be found at /data/data/com.termux/files/usr/tmp/cargo-installEOnLnG

Caused by:
build failed

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the cargo-ui v0.3.1 build on Termux and inspect the reported rfd-0.7.0 file_dialog.rs call sites. Trace the platform-specific implementations for the missing dialog traits and compare the active configuration with the supported backends. Done means the reported E0277 errors no longer occur during compilation.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.