[Slackbuilds-users] rustup-1.26.0

Barry J. Grundy bgrundy at linuxleo.com
Sat Aug 12 19:00:06 UTC 2023


On 23/08/12 12:35PM, John wrote:
> Greetings List
> Rustup-1.26.0 fails to build for me with the following errors:
> 
> --error: failed to get `anyhow` as a dependency of package `download
> v1.26.0 (/tmp/SBo/rustup-1.26.0/download)`
> Caused by:
>  failed to load source for dependency `anyhow`
> Caused by:
>  Unable to update registry `crates-io`
> Caused by:
>  failed to update replaced source registry `crates-io`
> Caused by:
>  failed to parse manifest at
> `/tmp/SBo/rustup-1.26.0/vendor/fs_at-0.1.3/Cargo.toml`
> Caused by:
>  namespaced features with the `dep:` prefix are only allowed on the nightly
> channel and requires the `-Z namespaced-features` flag on the command-line
> 
> Any help is greatly appreciated for my System76 also needs System76-power
> which requires rustup
> Thanks
> john

Interesting.  Rustup installed fine for me, and after following the
README instructions, I tried to install system76-power and recieved a
very similar error to yours above:

error: failed to get `clap` as a dependency of package `system76-power v1.1.25 (/tmp/SBo/system76-power-fc8eb49fae5222da56dcfa414ef2b190e9f870c7)`

Caused by:
  failed to load source for dependency `clap`

Caused by:
  Unable to update registry `crates-io`

Caused by:
  failed to update replaced source registry `crates-io`

Caused by:
  failed to parse manifest at `/tmp/SBo/system76-power-fc8eb49fae5222da56dcfa414ef2b190e9f870c7/vendor/anstream-0.3.2/Cargo.toml`

Caused by:
  namespaced features with the `dep:` prefix are only allowed on the nightly channel and requires the `-Z namespaced-features` flag on the command-line
make: *** [Makefile:62: target/release/system76-power] Error 101
Failures:
  system76-power: system76-power.SlackBuild return non-zero


But again, rustup installed fine.

Barry


More information about the SlackBuilds-users mailing list