[Pkg-rust-maintainers] Bug#1069799: rust-multihash-derive-impl - (build-)depends unsatisfiable.

Peter Green plugwash at debian.org
Thu Apr 25 03:57:30 BST 2024


Package: rust-multihash-derive-impl
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[E0609]: no field `tokens` on type `&Attribute`
>    --> src/multihash.rs:100:74
>     |
> 100 |             let attr: Result<utils::Attrs<MhAttr>, _> = syn::parse2(attr.tokens.clone());
> | ^^^^^^ unknown field
>     |
>     = note: available fields are: `pound_token`, `style`, `bracket_token`, `meta`
>
> error[E0609]: no field `tokens` on type `&Attribute`
>    --> src/multihash.rs:141:82
>     |
> 141 |         let derive_attrs: Result<utils::Attrs<DeriveAttr>, _> = syn::parse2(attr.tokens.clone());
> | ^^^^^^ unknown field
>     |
>     = note: available fields are: `pound_token`, `style`, `bracket_token`, `meta`
>
> error[E0061]: this method takes 2 arguments but 1 argument was supplied
>    --> src/utils.rs:25:29
>     |
> 25  |         let attrs = content.parse_terminated(A::parse)?;
>     |                             ^^^^^^^^^^^^^^^^---------- an argument is missing
>     |

I'm also going to report this upstream.



More information about the Pkg-rust-maintainers mailing list