https://linen.dev logo
Can't run or deploy server for my Discord bot
# help
p
When I run
cargo shuttle run
,
rustversion
fails to compile with
Copy code
error: couldn't read \\?\C:\Users\Hayde\Desktop\roll\target\debug\build\rustversion-f67f6bf812872eda\out/version.expr: The filename, directory name, or volume label syntax is incorrect. (os error 123)
   --> C:\Users\Hayde\.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"));
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I tried to just deploy it instead, and it compiles fine, but the server doesn't seem to start properly.
cargo shuttle deploy
outputs
Copy code
Service Name:  roll
Deployment ID: 286bd084-3e23-4635-a644-820029c8c812
Status:        running
Last Updated:  2023-01-29T05:40:07Z
URI:           https://roll.shuttleapp.rs

No resources are linked to this service
but going to that URL brings me to the message:
could not find service: roll
.
cargo shuttle status
says
Copy code
No deployment is currently running for this service

No resources are linked to this service
even though I just deployed it. I'm not sure how to link resources to the service
Nvm, got it running without shuttle
a
Hi there, what rust version are you using? There's currently some compatibility issues with 1.67 for windows users 😅 you could try using
rustup default 1.65
to use 1.65 temporarily then try redeploying
p
I'm on 1.67. I think I'll try it when I get back to it
a
Ok no problem, let me know how you get on with that issue and any others should you run into them 🙂