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 #2588

Closed
alt-ivan opened this issue Aug 5, 2024 · 1 comment
Closed

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

alt-ivan opened this issue Aug 5, 2024 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@alt-ivan
Copy link

alt-ivan commented Aug 5, 2024

rustc 1.80.0 (051478957 2024-07-21)
cargo 1.80.0 (376290515 2024-07-16)
(stable)

Excerpt from Cargo.toml:

iroh-base = "0.21"
iroh-net = "0.21"
iroh-blobs = "0.21"

Error:

... .cargo/registry/src/index.crates.io-6f17d22bba15001f/iroh-net-0.21.0/src/endpoint.rs:908:10
    |
908 | #[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)
@dignifiedquire
Copy link
Contributor

Fixed on main

You can work around it by pinning derive_more 1.0.0-beta.6` in your own project.

We will be releasing a fixed version later today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants