react-rust-postgres: "Rocket (core) requires a more recent version of rustc." #632

Closed
opened 2026-03-07 21:20:47 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @AkihiroSuda on GitHub (Jun 4, 2021).

The react-rust-postgres example does not work due to "Rocket (core) requires a more recent version of rustc." error

$ docker logs react-rust-postgres_backend_1 
...
error: failed to run custom build command for `rocket v0.4.10`

Caused by:
  process didn't exit successfully: `/code/target/debug/build/rocket-918081dca64af494/build-script-build` (exit code: 101)
  --- stderr
  Error: Rocket (core) requires a more recent version of rustc.
  Installed version: 1.51.0 (2020-12-29)
  Minimum required:  1.54.0-nightly (2021-05-18)
  thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rocket-0.4.10/build.rs:34:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

0ae9d4cea7

Originally created by @AkihiroSuda on GitHub (Jun 4, 2021). The `react-rust-postgres` example does not work due to "Rocket (core) requires a more recent version of rustc." error ```console $ docker logs react-rust-postgres_backend_1 ... error: failed to run custom build command for `rocket v0.4.10` Caused by: process didn't exit successfully: `/code/target/debug/build/rocket-918081dca64af494/build-script-build` (exit code: 101) --- stderr Error: Rocket (core) requires a more recent version of rustc. Installed version: 1.51.0 (2020-12-29) Minimum required: 1.54.0-nightly (2021-05-18) thread 'main' panicked at 'Aborting compilation due to incompatible compiler.', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rocket-0.4.10/build.rs:34:13 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... error: build failed ``` 0ae9d4cea735b6f73b8aa223325e7d8385ff70e7
Author
Owner

@glours commented on GitHub (Jun 7, 2021):

@jdrouet can you take a look please?

@glours commented on GitHub (Jun 7, 2021): @jdrouet can you take a look please?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-compose#632