-
Notifications
You must be signed in to change notification settings - Fork 660
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
Affected by E0034 in from old crate dependency #8083
Comments
Have you tried pinning the funty dependency as suggested in this comment? I've seen that work for similar situations before. Otherwise, you should just be able to disable the unit-testing feature that's enabled by default as a workaround and just write e2e tests with https://github.com/near/workspaces-rs instead of unit tests |
Pinning, unfortunately, does not work, and even with |
ah, those deps were gated behind that feature in |
@austinabell thanks, setting the version to |
Digging further it seems There's a similar issue in the |
Those dependencies you mention are outside of the control of this repo, but that was the intention of the feature flag, to make this less of a pain point to be able to ignore these deps!
Perhaps this issue can be moved to nearcore to see if it's possible to update the Would you like me to move this issue? |
Yea, we can work around it for now with that feature flag, but would be ideal to see the dep updates eventually! So I think moving the issue is a good call :). Much appreciated! |
Fixed on master with ff8e885 |
Describe the bug
cargo building
in some use cases, for example with the conjunction of theblsttc
crate, of this crate causes rust error E0034 caused by a dependency.To Reproduce
The code:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Versions
near-sdk: 4.0
blsttc: 7.1.0(this crate has since updated to version 8.0.0, but this still remains an issue).
Happens on linux and windows.
Additional context
Seems to be a known bug that affects older versions of the
bitvec
crate. I think since both crates import different versions somewhere down the line the issue is exposed when compiling.Ideally, both crates should update their deps, but I know it's in sub-dep hell for both. But the latest version of
bitvec
no longer has this bug.The text was updated successfully, but these errors were encountered: