Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iroh-net/iroh-quinn no longer builds after cargo update #40

Closed
sandreae opened this issue Aug 9, 2024 · 2 comments
Closed

iroh-net/iroh-quinn no longer builds after cargo update #40

sandreae opened this issue Aug 9, 2024 · 2 comments

Comments

@sandreae
Copy link
Contributor

sandreae commented Aug 9, 2024

Using version iroh-net version 0.20.0 we now get the following error:

error[E0277]: `iroh_quinn::Accept<'_>` doesn't implement `derive_more::Debug`
   --> /home/sandreae/.cargo/registry/src/index.crates.io-6f17d22bba15001f/iroh-net-0.20.0/src/endpoint.rs:909:10
    |
909 | #[derive(Debug)]
    |          ^^^^^ `iroh_quinn::Accept<'_>` cannot be formatted using `{:?}` because it doesn't implement `derive_more::Debug`
    |
    = help: the trait `derive_more::Debug` is not implemented for `iroh_quinn::Accept<'_>`, which is required by `&iroh_quinn::Accept<'_>: derive_more::Debug`
    = note: required for `&iroh_quinn::Accept<'_>` to implement `derive_more::Debug`
    = note: required for the cast from `&&iroh_quinn::Accept<'_>` to `&dyn derive_more::Debug`
    = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)

It's an issue with a dependency in these crates which has already been fixed in upstream versions, documented here: n0-computer/iroh#2588

I found it half-way through working on the minio store and as bumping the relevant iroh crates includes breaking api changes, and there is a temp workaround, I'm continuing on the current iroh-net version. We need to update all iroh crates to 0.22.0 soon.

@sandreae
Copy link
Contributor Author

sandreae commented Aug 9, 2024

This is the temp fix: n0-computer/iroh#2584

@mycognosist
Copy link
Contributor

Iroh dependencies updated to 0.22.0 in p2panda-net: p2panda/p2panda#543

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants