Bug#1069796: rust-abscissa-derive - (build-)depends unsatisfiable.

2024-04-27 Thread Alexander Kjäll
Thanks for the report.

abscissa_derive is a dependency of abscissa_core but I have been
waiting with the upload of that since tracing-subscriber have some
features disabled and it's non-trivial to reenable them (due to the
regex situation iirc).

abscissa_core is a dependency of cargo-audit, and that is a very nice
security tool to enable in your ci/cd, so I would like to get that
into Debian so that it can be used more.

But cargo-audit also needs gix, and I'm currently spending my time
trying to package that stack. I'll circle back to this once gix is in
Debian and hopefully upstream will have updated by then.

//Alex



Bug#1069796: rust-abscissa-derive - (build-)depends unsatisfiable.

2024-04-24 Thread Peter Green

Package: rust-abscissa-derive
Version: 0.7.0-1
Severity: serious

rust-synstructure was recently updated to version 0.13.1

I tried bumping the dependency but that caused failures due to
mismatched versions of syn. Bumping the dependency on syn as well
resulted in.



error[E0432]: unresolved import `syn::NestedMeta`
 --> src/component.rs:5:60
  |
5 | use syn::{DeriveInput, Lit, Meta, MetaList, MetaNameValue, NestedMeta};
  |^^ no 
`NestedMeta` in the root

error[E0615]: attempted to take value of method `path` on type ``
  --> src/component.rs:56:22
   |
56 | if !attr.path.is_ident("component") {
   |   method, not a field
   |
help: use parentheses to call the method
   |
56 | if !attr.path().is_ident("component") {
   |  ++

error[E0599]: no method named `parse_meta` found for reference `` in 
the current scope
  --> src/component.rs:60:24
   |
60 | match attr.parse_meta().expect("error parsing meta") {
   |^^ help: there is a method with a similar 
name: `parse_nested_meta`

error[E0026]: struct `MetaList` does not have a field named `nested`
  --> src/component.rs:61:39
   |
61 | Meta::List(MetaList { nested, .. }) => {
   |   ^^ struct `MetaList` does not 
have this field

error[E0026]: struct `MetaNameValue` does not have a field named `lit`
   --> src/component.rs:135:17
|
135 | lit: Lit::Str(lit_str),
| ^^^ struct `MetaNameValue` does not have this field

Some errors have detailed explanations: E0026, E0432, E0599, E0615.


Since rust-abscissa-derive has no reverse dependencies I did not investigate 
further.