matze / wastebin

wastebin is a pastebin 📝

Home Page:https://bin.bloerg.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: package `wastebin v2.3.3 (/app)` cannot be built because it requires rustc 1.70 or newer, while the currently active rustc version is 1.69.0

berezovskyi opened this issue · comments

The Dockerfile seems to be out of sync.

P.S. Is there a plan for a regular publication of the Docker images on Dockerhub?

P.P.S. I am not a Rust dev (still waiting for Rust to become stable before spending time to learn it) but may I ask for a tl;dr as to why the latest Rust compiler becomes a build requirement just 26 days after a release?

There is a ton of software I can still compile with Java JDK 11 that was released in 2018, for example. Not suggesting to emulate JDK timeline but just explaining where I am coming from. Golang supports two latest releases.

Is there a set of "oldstable" Rust versions that get support for a longer period of time? I couldn't find any on the Rust homepage.

P.S. Is there a plan for a regular publication of the Docker images on Dockerhub?

I publish a new image whenever I make a new release. I don't think it's worth the time and space to publish one in between.

may I ask for a tl;dr as to why the latest Rust compiler becomes a build requirement just 26 days after a release?

First, because it's a binary application so there are no downstream dependants I have to care for other than users. Second, installing an up-to-date Rust toolchain is not a huge hassle with rustup.

In this particular case, I wanted to use Rust 1.70's newly stabilized once_cell module in order to get rid of a third-party dependency. Pros and cons as far as I can see.