fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Fleet fails on library with dependencies to custom registry.

Open TimonPost opened this issue 3 years ago • 3 comments

When I run fleet on a repository that contains a custom own registry it errors and says:

Generated Fleet Config
🚀 Fleet is ready!
error: failed to load manifest for workspace member `x`

Caused by:
  failed to parse manifest at `x.toml`

Caused by:
  no index found for registry: `custom_registry`
=> You are not using a `nightly` compiler. Run `rustup default nightly`.

It suggests I am not using nightly while I am already running nightly.

Platform:

Windows 10 nightly-x86_64-pc-windows-msvc unchanged - rustc 1.62.0-nightly (f4ec0e7cf 2022-04-22)

TimonPost avatar Apr 23 '22 15:04 TimonPost

@TimonPost Thanks for creating the issue, could you show us the output of the equivalent cargo command?

suptejas avatar Apr 23 '22 16:04 suptejas

You mean the CLI logs when running cargo build? I am afraid I can not do that because of some potential 'privacy' sensitive information. Perhaps this could be reproduced setting up a custom local hosted registry. Have not give that a try...

TimonPost avatar Apr 23 '22 16:04 TimonPost

Hey @TimonPost, I will be looking into this and I will try implementing a fix!

VarunPotti avatar Apr 23 '22 16:04 VarunPotti