-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on stable
results in error
#102
Comments
I‘m not a maintainer of this but here’s my guess. Its probably due to the rust version of the base image, its 6 months old and runs 1.51.0 while your workstation probably runs a newer version which is needed for this. TLDR; no bug, just an outdated version of rust being used by the base image. |
I'm also seeing this:
|
Updating to the |
Now just seeing:
with: rocket::build()
.register("/", catchers![internal_error])
.mount("/", routes![index])
.mount("/v0", routes![info, org_count, org_list, org_create])
.attach(cors) |
@thomasmost mind telling me which rocket version you are using? Are you setting up cors something along the lines of this? let cors = rocket_cors::CorsOptions::default().to_cors().unwrap() |
When building in a dockerfile on
stable
, rustdoc breaks.The dockerfile, building a basic Rocket 5.0-rc1 app.
The
Cargo.toml
contains:And the build halts when attempting to build
rocket_cors
.Switching to
nightly
in the dockerfile works (as is probably expected) - so this is less an 'issue with things as they stand' as a 'thing that needs to be fixed for Rocket 0.5'. Notably, building outside the dockerfile (on Pop_OS/Ubuntu) works fine on stable. It may be related to this issue.The text was updated successfully, but these errors were encountered: