astonishing-kitchen-45713
01/30/2023, 8:36 PMcargo build prior to running, and changing rustup version to 1.65 (was 1.67) without success (though I'm new to rust so maybe I needed to do something additional for this project to actually use the different rustup version?)
Anyway, running cargo shuttle run I get Compiling until
error: couldn't read \\?\C:\Users\REDACTED\Documents\GitHub\rusty-discord-bot-2\target\debug\build\rustversion-f67f6bf812872eda\out/version.expr: The filename, directory name, or volume label syntax is incorrect. (os error 123)
--> C:\Users\REDACTED\.cargo\registry\src\github.com-1ecc6299db9ec823\rustversion-1.0.11\src\lib.rs:185:30
|
185 | const RUSTVERSION: Version = include!(concat!(env!("OUT_DIR"), "/version.expr"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
error: could not compile `rustversion` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Error: 1 job failed
Currently trying to do this on Windows 10 - running a very basic serenity (discord bot) app originally generated by shuttle. Is it because it's expecting a linux based path (direction of the slash is different) which isn't working on Windows?
So far I've just been deploying to get something running but would like to be able to run locally too for faster testing 😅
Thanks!kind-area-3810
01/30/2023, 8:39 PMcargo +1.65 build first, and then cargo +1.65 shuttle run for it to work on windows.kind-area-3810
01/30/2023, 8:40 PM+<version> syntax is just to run a cargo command with a specific toolchain, if your default toolchain is that version you shouldn't need it.astonishing-kitchen-45713
01/30/2023, 8:40 PMkind-area-3810
01/30/2023, 8:41 PMable-whale-76036
02/15/2023, 8:01 PMagreeable-painting-48846
02/16/2023, 7:05 AMable-whale-76036
02/16/2023, 9:59 AMcargo +1.65 install cargo-shuttle --forceagreeable-painting-48846
02/16/2023, 11:20 AMrefined-lifeguard-78233
02/17/2023, 3:10 PMrefined-lifeguard-78233
02/17/2023, 3:10 PMkind-area-3810
02/17/2023, 3:12 PMrefined-lifeguard-78233
02/17/2023, 3:12 PMrefined-lifeguard-78233
02/17/2023, 3:12 PMrefined-lifeguard-78233
02/17/2023, 3:13 PMkind-area-3810
02/17/2023, 3:14 PMrefined-lifeguard-78233
02/17/2023, 3:15 PMkind-area-3810
02/17/2023, 3:15 PMrough-printer-11429
05/18/2023, 11:47 AMgentle-ice-1561
05/20/2023, 12:31 PM