linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Error: Linutil Updater failed to compile `linutil_tui` v24.9.19

Open ZSmain opened this issue 1 year ago • 4 comments

Describe the bug

The Linutil Updater tool fails due to a failed compilation of the linutil_tui dependency.

To Reproduce

Steps to reproduce the behavior:

  1. Attempt to run Linutil Updater tool (on Debian Testing Branch) from the "Applications setup" collection
  2. Observe the compilation error

Expected behavior

The Linutil Updater should compile and run without errors, allowing the user to update applications as intended.

Error message

error[E0164]: expected tuple struct or tuple variant, found struct variant `Command::LocalFile`
  --> /home/ismail/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linutil_tui-24.9.19/src/floating_text.rs:40:13
   |
40 |             Command::LocalFile(file_path) => {
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant

error[E0164]: expected tuple struct or tuple variant, found struct variant `Command::LocalFile`
   --> /home/ismail/.cargo/registry/src/index.crates.io-6f17d22bba15001f/linutil_tui-24.9.19/src/running_command.rs:151:17
    |
151 |                 Command::LocalFile(file) => {
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
For more information about this error, try `rustc --explain E0164`.
error: could not compile `linutil_tui` (bin "linutil") due to 2 previous errors
error: failed to compile `linutil_tui v24.9.19`, intermediate artifacts can be found at `/tmp/cargo-installijJJVW`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Screenshots

image

Additional context

  • Linutil version: Pre-Release 2024.09.28
  • OS: Debian 12 Testing Branch
  • Kernel version: Linux 6.10.9-amd64
  • Rust version: rustc 1.81.0 (eeb90cda1 2024-09-04)

Checklist

  • [x] I checked for duplicate issues.
  • [x] I checked already existing discussions.
  • [x] This issue is not included in the roadmap.
  • [ ] This issue is present on both stable and development branches.

ZSmain avatar Sep 28 '24 19:09 ZSmain

@adamperkowski might be time push the newest release to crates.io & AUR

cartercanedy avatar Sep 28 '24 22:09 cartercanedy

@adamperkowski might be time push the newest release to crates.io & AUR

We (me and @ChrisTitusTech) had a little misunderstanding with 24.9.22 and 24.9.23. Those versions' (and the previous one's for some reason) deps are broken as a result. Metadata is still at 24.9.23 for some reason (Chris forgot): https://github.com/ChrisTitusTech/linutil/blob/a9a678fc116a3d15e35a2c30c723f2a012867394/Cargo.toml#L3 So I'd need to open a PR.

adamperkowski avatar Sep 28 '24 22:09 adamperkowski

OK, 24.9.28 up on crates.io. 2024.09.28 up on the AUR.

adamperkowski avatar Sep 28 '24 22:09 adamperkowski

/label 'rust'

adamperkowski avatar Sep 28 '24 22:09 adamperkowski

/close fixed with v24.9.28

adamperkowski avatar Sep 29 '24 12:09 adamperkowski