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

bug: duplicate lang item in crate sp_io (which sp_application_crypto depends on): panic_impl. #12

Open
chungquantin opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chungquantin
Copy link
Collaborator

There are a few different issues with the pop-drink crate. Try to add it to a blank example contract and got the below error:

 Compiling pop-primitives v0.0.0 (/Users/chungquantin/Developer/pop-network/pop-node/primitives)
  error[E0152]: duplicate lang item in crate `sp_io` (which `sp_application_crypto` depends on): `panic_impl`
    |
    = note: the lang item is first defined in crate `sp_io` (which `sp_application_crypto` depends on)
    = note: first definition in `sp_io` loaded from /Users/chungquantin/Developer/pop-network/pop-node/pop-api/examples/fungibles/target/release/wbuild/pop-runtime-devnet/target/wasm32-unknown-unknown/release/deps/libsp_io-75e30546d34b7973.rmeta
    = note: second definition in `sp_io` loaded from /Users/chungquantin/Developer/pop-network/pop-node/pop-api/examples/fungibles/target/release/wbuild/pop-runtime-devnet/target/wasm32-unknown-unknown/release/deps/libsp_io-84ac0cd5f82351f7.rmeta

  For more information about this error, try `rustc --explain E0152`.
  error: could not compile `cumulus-primitives-core` (lib) due to 1 previous error
  warning: build failed, waiting for other jobs to finish...

There are another issue related to frame-support was fixed in this PR: #11

Reference: r0gue-io/pop-node#313

@chungquantin chungquantin added the bug Something isn't working label Sep 30, 2024
@chungquantin chungquantin mentioned this issue Sep 30, 2024
1 task
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
None yet
Development

No branches or pull requests

1 participant