steven-omaha / pacdef

multi-backend declarative package manager for Linux
GNU General Public License v3.0
332 stars 13 forks source link

build against rust-apt v0.7.0 broken #64

Closed steven-omaha closed 6 months ago

steven-omaha commented 6 months ago
error[E0599]: no method named `name` found for opaque type `impl Iterator<Item = rust_apt::package::Package<'_>>` in the current scope
  --> crates/pacdef_core/src/backend/actual/debian.rs:38:45
   |
38 |             result.insert(Package::from(pkg.name().to_string()));
   |                                             ^^^^ method not found in `impl Iterator<Item = Package<'_>>`

error[E0599]: no method named `name` found for opaque type `impl Iterator<Item = rust_apt::package::Package<'_>>` in the current scope
  --> crates/pacdef_core/src/backend/actual/debian.rs:49:45
   |
49 |             result.insert(Package::from(pkg.name().to_string()));
   |                                             ^^^^ method not found in `impl Iterator<Item = Package<'_>>`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `pacdef_core` (lib) due to 2 previous errors