------- Original Message ------- On Saturday, August 12th, 2023 at 2:00 PM, Barry J. Grundy <bgru...@linuxleo.com> wrote:
> > > 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 > I think you didn't configure your system to prefer rustup over system rust. See this user with the same error: https://lists.slackbuilds.org/pipermail/slackbuilds-users/2023-January/027714.html > > But again, rustup installed fine. > > Barry > _______________________________________________ > SlackBuilds-users mailing list > SlackBuilds-users@slackbuilds.org > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ > FAQ - https://slackbuilds.org/faq/ Erich _______________________________________________ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/