We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello,
i try to compile the rust code on windows
I adapt the command line for windows.
PS C:\Users\yoda\Documents\yoda\1-GIT\gpg-tui> rustc --version rustc 1.79.0 (129f3b996 2024-06-10)
PS C:\Users\yoda\Documents\yoda\1-GIT\gpg-tui> cargo install --root "${HOME}/.cargo" --path . Installing gpg-tui v0.11.0 (C:\Users\yoda\Documents\yoda\1-GIT\gpg-tui) Updating crates.io index Locking 238 packages to latest compatible versions Adding bitflags v1.3.2 (latest: v2.6.0) Adding cfg-expr v0.15.8 (latest: v0.17.2) Adding clipboard-win v3.1.1 (latest: v5.4.0) Adding compact_str v0.7.1 (latest: v0.8.0) Adding copypasta v0.8.2 (latest: v0.10.1) Adding crossterm v0.27.0 (latest: v0.28.1) Adding encode_unicode v0.3.6 (latest: v1.0.0) Adding generic-array v0.14.7 (latest: v1.1.1) Adding gethostname v0.2.3 (latest: v0.5.0) Adding lazy-bytes-cast v5.0.1 (latest: v7.0.0) Adding linux-raw-sys v0.4.14 (latest: v0.6.5) Adding malloc_buf v0.0.6 (latest: v1.0.0) Adding memmap2 v0.5.10 (latest: v0.9.5) Adding memoffset v0.6.5 (latest: v0.9.1) Adding memoffset v0.7.1 (latest: v0.9.1) Adding mio v0.8.11 (latest: v1.0.3) Adding nix v0.24.3 (latest: v0.29.0) Adding ratatui v0.27.0 (latest: v0.29.0) Adding smithay-client-toolkit v0.16.1 (latest: v0.19.2) Adding smithay-clipboard v0.6.6 (latest: v0.7.2) Adding system-deps v6.2.2 (latest: v7.0.3) Adding thiserror v1.0.69 (latest: v2.0.4) Adding thiserror-impl v1.0.69 (latest: v2.0.4) Adding tui-logger v0.11.2 (latest: v0.14.0) Adding unicode-truncate v1.1.0 (latest: v2.0.0) Adding unicode-width v0.1.14 (latest: v0.2.0) Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.3+wasi-0.2.2) Adding wayland-client v0.29.5 (latest: v0.31.7) Adding wayland-cursor v0.29.5 (latest: v0.31.7) Adding wayland-protocols v0.29.5 (latest: v0.32.5) Adding wayland-scanner v0.29.5 (latest: v0.31.5) Adding wayland-sys v0.29.5 (latest: v0.31.5) Adding which v4.4.2 (latest: v7.0.0) Adding windows-core v0.52.0 (latest: v0.58.0) Adding windows-sys v0.48.0 (latest: v0.59.0) Adding windows-sys v0.52.0 (latest: v0.59.0) Adding windows-targets v0.48.5 (latest: v0.52.6) Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) Adding winreg v0.10.1 (latest: v0.52.0) Adding x11-clipboard v0.7.1 (latest: v0.9.3) Adding x11rb v0.10.1 (latest: v0.13.1) Adding x11rb-protocol v0.10.0 (latest: v0.13.1) Downloaded hex v0.4.3 Downloaded libgpg-error-sys v0.6.2 Downloaded miniz_oxide v0.8.0 Downloaded itoa v1.0.14 Downloaded version-compare v0.2.0 Downloaded sha2 v0.10.8 Downloaded backtrace v0.3.74 Downloaded zune-core v0.4.12 Downloaded unicode-truncate v1.1.0 Downloaded typenum v1.17.0 Downloaded unicode-ident v1.0.14 Downloaded toml_edit v0.22.22 Downloaded winnow v0.6.20 Downloaded unicode-segmentation v1.12.0 Downloaded terminal_size v0.4.1 Downloaded serde v1.0.215 Downloaded regex-syntax v0.8.5 Downloaded syn v2.0.90 Downloaded ratatui v0.29.0 Downloaded regex-automata v0.4.9 Downloaded libc v0.2.167 Downloaded better-panic v0.3.0 Downloaded serde_json v1.0.133 Downloaded regex v1.11.1 Downloaded image v0.25.5 Downloaded windows-sys v0.59.0 Downloaded crossterm v0.28.1 Downloaded chrono v0.4.38 Downloaded hashbrown v0.15.2 Downloaded ratatui-splash-screen v0.1.4 Downloaded proc-macro2 v1.0.92 Downloaded png v0.17.14 Downloaded flate2 v1.0.35 Downloaded darling_core v0.20.10 Downloaded copypasta-ext v0.4.4 Downloaded compact_str v0.8.0 Downloaded colorsys v0.6.7 Downloaded clap_lex v0.7.4 Downloaded system-deps v6.2.2 Downloaded simd-adler32 v0.3.7 Downloaded shellexpand v3.1.0 Downloaded sha256 v1.5.0 Downloaded serde_spanned v0.6.8 Downloaded serde_derive v1.0.215 Downloaded rustc-demangle v0.1.24 Downloaded quote v1.0.37 Downloaded pretty_assertions v1.4.1 Downloaded pkg-config v0.3.31 Downloaded once_cell v1.20.2 Downloaded num-traits v0.2.19 Downloaded tui-logger v0.11.2 Downloaded lru v0.12.5 Downloaded is_terminal_polyfill v1.70.1 Downloaded instability v0.3.3 Downloaded indexmap v2.7.0 Downloaded humantime v2.1.0 Downloaded gpgme-sys v0.11.0 Downloaded gpgme v0.11.0 Downloaded gpg-error v0.6.2 Downloaded fxhash v0.2.1 Downloaded foldhash v0.1.3 Downloaded fnv v1.0.7 Downloaded fdeflate v0.3.6 Downloaded env_logger v0.11.5 Downloaded dirs-sys v0.4.1 Downloaded dirs-next v2.0.0 Downloaded digest v0.10.7 Downloaded diff v0.1.13 Downloaded darling v0.20.10 Downloaded custom_derive v0.1.7 Downloaded cstr-argument v0.1.2 Downloaded crypto-common v0.1.6 Downloaded crc32fast v1.4.2 Downloaded copypasta v0.8.2 Downloaded conv v0.3.3 Downloaded colorchoice v1.0.3 Downloaded clap_derive v4.5.18 Downloaded clap_complete v4.5.38 Downloaded clap v4.5.22 Downloaded cfg-expr v0.15.8 Downloaded byteorder v1.5.0 Downloaded bytemuck v1.20.0 Downloaded async-trait v0.1.83 Downloaded anstyle-wincon v3.0.6 Downloaded anstyle-query v1.1.2 Downloaded anstyle v1.0.10 Downloaded anstream v0.6.18 Downloaded adler2 v2.0.0 Downloaded unicode-width v0.2.0 Downloaded unicode-width v0.1.14 Downloaded rustversion v1.0.18 Downloaded option-ext v0.2.0 Downloaded memoffset v0.7.1 Downloaded lazy_static v1.5.0 Downloaded lazy-bytes-cast v5.0.1 Downloaded ident_case v1.0.1 Downloaded generic-array v0.14.7 Downloaded env_filter v0.1.2 Downloaded dirs-sys-next v0.1.2 Downloaded cpufeatures v0.2.16 Downloaded clipboard-win v3.1.1 Downloaded bytes v1.9.0 Downloaded byteorder-lite v0.1.0 Downloaded build-rs v0.1.2 Downloaded block-buffer v0.10.4 Downloaded autocfg v1.4.0 Downloaded anyhow v1.0.94 Downloaded darling_macro v0.20.10 Downloaded zune-jpeg v0.4.13 Downloaded yansi v1.0.1 Downloaded toml v0.8.19 Downloaded toml_datetime v0.6.8 Downloaded tinytemplate v1.2.1 Downloaded winreg v0.52.0 Downloaded winreg v0.10.1 Downloaded target-lexicon v0.12.16 Downloaded version_check v0.9.5 Downloaded anstyle-parse v0.2.6 Downloaded allocator-api2 v0.2.21 Downloaded indoc v2.0.5 Downloaded dirs v5.0.1 Downloaded clap_builder v4.5.22 Downloaded 122 crates (18.6 MB) in 18.55s (largest was `tui-logger` at 8.1 MB) Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Compiling windows_x86_64_msvc v0.52.6 Compiling cfg-if v1.0.0 Compiling autocfg v1.4.0 Compiling windows_x86_64_msvc v0.48.5 Compiling heck v0.5.0 Compiling serde v1.0.215 Compiling winapi v0.3.9 Compiling equivalent v1.0.1 Compiling target-lexicon v0.12.16 Compiling hashbrown v0.15.2 Compiling rustversion v1.0.18 Compiling winnow v0.6.20 Compiling smallvec v1.13.2 Compiling lock_api v0.4.12 Compiling windows-targets v0.52.6 Compiling indexmap v2.7.0 Compiling windows-targets v0.48.5 Compiling memchr v2.7.4 Compiling version-compare v0.2.0 Compiling allocator-api2 v0.2.21 Compiling version_check v0.9.5 Compiling cfg-expr v0.15.8 Compiling pkg-config v0.3.31 Compiling quote v1.0.37 Compiling typenum v1.17.0 Compiling parking_lot_core v0.9.10 Compiling foldhash v0.1.3 Compiling generic-array v0.14.7 Compiling syn v2.0.90 Compiling windows-sys v0.48.0 Compiling windows-sys v0.59.0 Compiling itoa v1.0.14 Compiling ryu v1.0.18 Compiling build-rs v0.1.2 Compiling scopeguard v1.2.0 Compiling static_assertions v1.1.0 Compiling castaway v0.2.3 Compiling num-traits v0.2.19 Compiling ident_case v1.0.1 Compiling parking_lot v0.12.3 Compiling strsim v0.11.1 Compiling paste v1.0.15 Compiling simd-adler32 v0.3.7 Compiling crossterm_winapi v0.9.1 Compiling winreg v0.10.1 Compiling serde_spanned v0.6.8 Compiling toml_datetime v0.6.8 Compiling either v1.13.0 Compiling anstyle v1.0.10 Compiling fnv v1.0.7 Compiling libc v0.2.167 Compiling utf8parse v0.2.2 Compiling toml_edit v0.22.22 Compiling anstyle-parse v0.2.6 Compiling anstyle-query v1.1.2 Compiling itertools v0.13.0 Compiling anstyle-wincon v3.0.6 Compiling adler2 v2.0.0 Compiling colorchoice v1.0.3 Compiling unicode-width v0.1.14 Compiling unicode-segmentation v1.12.0 Compiling is_terminal_polyfill v1.70.1 Compiling miniz_oxide v0.8.0 Compiling block-buffer v0.10.4 Compiling anstream v0.6.18 Compiling crypto-common v0.1.6 Compiling lru v0.12.5 Compiling winreg v0.52.0 Compiling aho-corasick v1.1.3 Compiling darling_core v0.20.10 Compiling crc32fast v1.4.2 Compiling cassowary v0.3.0 Compiling regex-syntax v0.8.5 Compiling toml v0.8.19 Compiling yansi v1.0.1 Compiling bitflags v1.3.2 Compiling unicode-truncate v1.1.0 Compiling diff v0.1.13 Compiling flate2 v1.0.35 Compiling system-deps v6.2.2 Compiling pretty_assertions v1.4.1 Compiling digest v0.10.7 Compiling fdeflate v0.3.6 Compiling terminal_size v0.4.1 Compiling memoffset v0.7.1 Compiling regex-automata v0.4.9 Compiling clap_lex v0.7.4 Compiling lazy_static v1.5.0 Compiling zune-core v0.4.12 Compiling serde_derive v1.0.215 Compiling strum_macros v0.26.4 Compiling cpufeatures v0.2.16 Compiling serde_json v1.0.133 Compiling indoc v2.0.5 Compiling libgpg-error-sys v0.6.2 Compiling gpgme-sys v0.11.0 Compiling option-ext v0.2.0 Compiling lazy-bytes-cast v5.0.1 Compiling log v0.4.22 Compiling clipboard-win v3.1.1 Compiling dirs-sys v0.4.1 Compiling zune-jpeg v0.4.13 Compiling sha2 v0.10.8 Compiling clap_builder v4.5.22 Compiling stability v0.2.1 Compiling async-trait v0.1.83 Compiling clap_derive v4.5.18 Compiling darling_macro v0.20.10 Compiling regex v1.11.1 Compiling png v0.17.14 Compiling compact_str v0.7.1 Compiling compact_str v0.8.0 Compiling darling v0.20.10 Compiling windows-sys v0.52.0 Compiling strum v0.26.3 Compiling custom_derive v0.1.7 Compiling instability v0.3.3 Compiling bytes v1.9.0 Compiling byteorder-lite v0.1.0 Compiling copypasta-ext v0.4.4 Compiling bytemuck v1.20.0 Compiling byteorder v1.5.0 Compiling encode_unicode v0.3.6 Compiling unicode-width v0.2.0 Compiling rustc-demangle v0.1.24 Compiling hex v0.4.3 Compiling anyhow v1.0.94 Compiling backtrace v0.3.74 Compiling sha256 v1.5.0 Compiling console v0.15.8 Compiling fxhash v0.2.1 Compiling image v0.25.5 Compiling clap v4.5.22 Compiling conv v0.3.3 Compiling env_filter v0.1.2 Compiling gpg-error v0.6.2 Compiling copypasta v0.8.2 Compiling dirs v5.0.1 Compiling chrono v0.4.38 Compiling dirs-sys-next v0.1.2 Compiling cstr-argument v0.1.2 Compiling once_cell v1.20.2 Compiling humantime v2.1.0 Compiling shellexpand v3.1.0 Compiling dirs-next v2.0.0 Compiling clap_complete v4.5.38 Compiling env_logger v0.11.5 Compiling better-panic v0.3.0 Compiling colorsys v0.6.7 Compiling bitflags v2.6.0 Compiling crossterm v0.28.1 Compiling crossterm v0.27.0 Compiling ratatui v0.29.0 Compiling tinytemplate v1.2.1 Compiling ratatui v0.27.0 Compiling gpgme v0.11.0 Compiling tui-logger v0.11.2 Compiling ratatui-splash-screen v0.1.4 Compiling gpg-tui v0.11.0 (C:\Users\yoda\Documents\yoda\1-GIT\gpg-tui) error[E0277]: the trait bound `&mut SplashScreen: Widget` is not satisfied --> src\app\renderer.rs:32:23 | 32 | frame.render_widget(&mut app.splash_screen, rect); | ------------- ^^^^^^^^^^^^^^^^^^^^^^ the trait `Widget` is not implemented for `&mut SplashScreen` | | | required by a bound introduced by this call | = help: the following other types implement trait `Widget`: &W &str BarChart<'_> Canvas<'_, F> Chart<'_> Gauge<'_> LineGauge<'_> List<'_> and 13 others note: required by a bound in `Frame::<'_>::render_widget` --> C:\Users\yoda\Documents\yoda\Scoop\scoop\persist\rustup\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ratatui-0.27.0\src\terminal\frame.rs:74:29 | 74 | pub fn render_widget<W: Widget>(&mut self, widget: W, area: Rect) { | ^^^^^^ required by this bound in `Frame::<'_>::render_widget` For more information about this error, try `rustc --explain E0277`. error: could not compile `gpg-tui` (lib) due to 1 previous error warning: build failed, waiting for other jobs to finish... error: failed to compile `gpg-tui v0.11.0
How can i fix that error ?
The text was updated successfully, but these errors were encountered:
same as #304
Sorry, something went wrong.
orhun
No branches or pull requests
hello,
i try to compile the rust code on windows
I adapt the command line for windows.
PS C:\Users\yoda\Documents\yoda\1-GIT\gpg-tui> rustc --version
rustc 1.79.0 (129f3b996 2024-06-10)
How can i fix that error ?
The text was updated successfully, but these errors were encountered: