0x192 / 0x192/universal-android-debloater

Build fails due to dependency on outdated iced_graphics failing to build

Aperta
#656 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Rust
Stelle
19.9k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
```
$ rustc -V
rustc 1.63.0
$ cargo -V
cargo 1.65.0
$ cargo build
Compiling iced_graphics v0.6.0 (https://github.com/iced-rs/iced.git#18552f96)
Compiling static_init v1.0.3
Compiling rustls v0.20.8
Compiling static_init_macro v1.0.2
Compiling num-integer v0.1.45
error[E0658]: generic associated types are unstable
--> /home/blackbit/.cargo/git/checkouts/iced-f01cba4d5e61fd0a/18552f9/graphics/src/image/storage.rs:12:5
|
12 | type State<'a>;
| ^^^^^^^^^^^^^^^
|
= note: see issue #44265 for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `iced_graphics` due to previous error
warning: build failed, waiting for other jobs to finish...
$
```

The iced_graphics team does not support any versions before 0.7.0.

**Expected behavior**
It's supposed to build.

**You have a solution?**
Unfortunately I don't.

**UAD log**
No log file as it fails to build.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Check the Cargo.toml file to see the exact dependency on iced_graphics. Look for the git URL and commit hash. The issue is that iced_graphics v0.6.0 uses an unstable Rust feature (generic associated types). Research the iced-rs repository to see what version or commit introduced support for stable Rust. Update the dependency in Cargo.toml to a newer compatible version (likely 0.7.0 or later) and test the build with cargo build.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.