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

Unable to compile develop #1

Closed
dignifiedquire opened this issue Jun 16, 2024 · 5 comments
Closed

Unable to compile develop #1

dignifiedquire opened this issue Jun 16, 2024 · 5 comments

Comments

@dignifiedquire
Copy link

Running make results in

error[E0433]: failed to resolve: use of undeclared crate or module `multihash`
  --> /Users/dignifiedquire/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multihash-0.18.1/src/multihash_impl.rs:11:34
   |
11 | #[derive(Copy, Clone, Debug, Eq, Multihash, PartialEq)]
   |                                  ^^^^^^^^^ use of undeclared crate or module `multihash`
   |
   = note: this error originates in the derive macro `Multihash` (in Nightly builds, run with -Z macro-backtrace for more info)
@vmx
Copy link

vmx commented Jun 16, 2024

You could try to add the multihash-impl feature to multihash in the Cargo.toml.

@dignifiedquire
Copy link
Author

additional note: it seems to only fail on macos, and not on linux 🤷

@dignifiedquire
Copy link
Author

after nuking my clone (which was already fresh) and redoing the setup it now works..no idea what the problem was

@sanderpick
Copy link
Member

hmm, I've never seen this on a fresh clone but haven't tried on mac... @avichalp does this ring a bell?

@avichalp
Copy link
Contributor

Not sure what happened there. I just did a fresh clone on MacOS 14.2.1 and it worked fine.

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

4 participants