#Can't get cargo to build my project with nightly

34 messages · Page 1 of 1 (latest)

cloud surge
#

I'm trying to use rocket in my project, but that requires that I use the nightly toolchain. So I did rustup override set nightly and it did all that jazz, but when running cargo run I get

real nymph
#

Have you run rustup toolchain install nightly?

inner osprey
#

Also did you run this rustup override set nightly in your project folder (same one you run cargo run from)?

cloud surge
cloud surge
inner osprey
cloud surge
inner osprey
# cloud surge

k, the override exists. Try running rustup default nightly to set the global default and see if it still fails

cloud surge
#

it still fails

inner osprey
#

There may be an issue with the build script for rocket

real nymph
#

What do you get from rustc -vV in the crate directory?

cloud surge
#

i have re-installed rust before i posted here btw

inner osprey
#

hmm, what does your PATH look like?

#

its picking up a rustc it shouldn't

cloud surge
#

are these entries relevant

inner osprey
real nymph
#

^ Yeah, on my own system there's just the ~/.cargo/bin

cloud surge
#

something is happening now

#

seems removing those two is doing it

#

but its also stuck

inner osprey
#

A first build can take a few minutes to complete

cloud surge
#

ok

#

well then thanks guys!

real nymph
#

Out of curiosity, do you recall adding those entries?

cloud surge
#

nop

inner osprey
#

And you can also set your global default back rustup default stable your override should not be affected

cloud surge
#

ok

cloud surge
inner osprey
#

Does it have a like select for which target in intellij?

cloud surge
#

it does but i've not touched it

inner osprey
#

It could be that + it may have defaulted when you installed the plugin