ghotiphud / rust-web-starter

Rust (Rocket & Diesel) + React (w/ Typescript) + PostgreSQL starter pack. Currently serves my need for a nice Dev Environment.
MIT License
293 stars 39 forks source link

Outdated `rustc` version #7

Closed phrohdoh closed 5 years ago

phrohdoh commented 6 years ago
api_server_1  |  Downloading itoa v0.4.1
api_server_1  |    Compiling rocket_codegen v0.3.10
api_server_1  |    Compiling diesel_infer_schema v0.16.0
api_server_1  |    Compiling dotenv v0.10.1
api_server_1  |    Compiling diesel v1.2.2
api_server_1  | error: failed to run custom build command for `rocket_codegen v0.3.10`
api_server_1  | process didn't exit successfully: `/usr/src/app/target/debug/build/rocket_codegen-f122471f5345efe5/build-script-build` (exit code: 101)
api_server_1  | --- stderr
api_server_1  | Error: Rocket codegen requires a more recent version of rustc.
api_server_1  | Use `rustup update` or your preferred method to update Rust.
api_server_1  | Installed version is: 1.27.0-nightly (2018-05-02). Minimum required: 1.27.0-nightly (2018-05-04).
api_server_1  | thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rocket_codegen-0.3.10/build.rs:50:17
api_server_1  | note: Run with `RUST_BACKTRACE=1` for a backtrace.
api_server_1  |
api_server_1  | warning: build failed, waiting for other jobs to finish...
web_1         | Compiled successfully!
web_1         |
web_1         | You can now view web in the browser.
web_1         |
web_1         |   Local:            http://localhost:3000/
web_1         |   On Your Network:  http://172.18.0.4:3000/
web_1         |
web_1         | Note that the development build is not optimized.
web_1         | To create a production build, use yarn build.
web_1         |
api_server_1  | error: build failed

Does this mean that the latest published rustlang/rust:nightly is not up-to-date with what rocket_codegen requires?

ghotiphud commented 6 years ago

Do the steps in the Troubleshooting section https://github.com/ghotiphud/rust-web-starter#troubleshooting clear it up?

ghotiphud commented 5 years ago

Cleaning up this older issue after recent updates.