You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dependency on Crate "bs58" sets Minimum Rust Version to > 1.46 #992
So, I understand this Error as the Crate bs58 requires at least rustc 1.46 to compile which only was released in August 2020.
The Project Documentation states that it only requires rustc 1.40 to compile. So, it should compile with the Default Debian Rust Compiler.
(I found most Ubuntu Distributions ship already Rust 1.47 but Debian Buster still ships the older version.)
Other information and links
$ rustc --explain E0658|more
An unstable feature was used.
Erroneous code example:
"
#[repr(u128)] // error: use of unstable library feature 'repr128'
enum Foo {
Bar(u64),
}
"
If you're using a stable or a beta version of rustc, you won't be able to use
any unstable features. In order to do so, please switch to a nightly version of
rustc (by using rustup).
If you're using a nightly version of rustc, just add the corresponding feature
to be able to use it:
"
#![feature(repr128)]
#[repr(u128)] // ok!
enum Foo {
Bar(u64),
}
"
Ah yes, thanks for pointing this out. The minimum version hasn't been updated in a while. This should be made sure to not happen with adding a msrv check in the CI. I'll try to find some time to do that soon (or now).
Unfortunately for that dependency, we don't have a way of avoiding it because it is one of rust-libp2p, but I can absolutely pinpoint what the msrv is to make it easier to work around
Going to close for now because we do not have control over this msrv requirement and I've updated the README.md to reflect the requirement and made the change to the CI to make sure this doesn't happen again.
Feel free to open if you feel there is something else we can do. Thanks!
I was studying if newer Debian Bullseyerustc compiler library packages are installable on Debian Buster. This would produce a nice predictable and reproducible Build Environment.
Unfortunately the tight dependency of the Rust Standard Library on the systems libc library version makes them uninstallable.
As seen in this test: rustc from Debian Bullseye
libstd-rust-1.48:amd64 depends on libc6 (>= 2.29); however:
Version of libc6:amd64 on system is 2.28-10.
Actually this a known limitation that precompiled Rust binaries are not backwards compatible and thus not portable.
Activity
bodo-hugo-barwich commentedon Feb 7, 2021
This issue is reproducable with the GitHub Workflow Container Facilities
GitHub Workflow Debian Container
austinabell commentedon Feb 7, 2021
Ah yes, thanks for pointing this out. The minimum version hasn't been updated in a while. This should be made sure to not happen with adding a msrv check in the CI. I'll try to find some time to do that soon (or now).
Unfortunately for that dependency, we don't have a way of avoiding it because it is one of rust-libp2p, but I can absolutely pinpoint what the msrv is to make it easier to work around
austinabell commentedon Feb 9, 2021
Going to close for now because we do not have control over this msrv requirement and I've updated the
README.mdto reflect the requirement and made the change to the CI to make sure this doesn't happen again.Feel free to open if you feel there is something else we can do. Thanks!
bodo-hugo-barwich commentedon Feb 25, 2021
I was studying if newer Debian Bullseye
rustccompiler library packages are installable on Debian Buster. This would produce a nice predictable and reproducible Build Environment.Unfortunately the tight dependency of the Rust Standard Library on the systems
libclibrary version makes them uninstallable.As seen in this test:
rustcfrom Debian BullseyeActually this a known limitation that precompiled Rust binaries are not backwards compatible and thus not portable.