Skip to content

Commit 0db282a

Browse files
ShahanaFarooquirustyrussell
authored andcommitted
ci: Update Rust version on Dockerfiles for Ubuntu
After merging the Rust-based `clnrest` plugin into the master, all three reproducible build scripts failed with the following error: ``` error: package `socketioxide v0.15.1` cannot be built because it requires rustc 1.75.0 or newer, while the currently active rustc version is 1.73.0 Either upgrade to rustc 1.75.0 or newer, or use cargo update -p [email protected] --precise ver where `ver` is the latest version of `socketioxide` supporting rustc 1.73.0 make: *** [plugins/Makefile:304: target/release/clnrest] Error 101 ``` To resolve this, we can either downgrade `socketioxide` to `v0.11.1`, which is compatible with `Rust >=v1.67` OR Upgrade Rust to `v1.75`. Since the latest Rust version is `1.84`, upgrading to `1.75` seems like a reasonable choice, as it is already 13 months old. Changelog-None.
1 parent cac7022 commit 0db282a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

contrib/reprobuild/Dockerfile.focal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp
5555
RUN wget https://sh.rustup.rs -O rustup-install.sh && \
5656
bash rustup-install.sh --default-toolchain none --quiet -y && \
5757
rm rustup-install.sh && \
58-
/root/.cargo/bin/rustup install 1.73
58+
/root/.cargo/bin/rustup install 1.75
5959

6060
# Download protoc manually, it is in the update repos which we
6161
# disabled above, so `apt-get` can't find it anymore.

contrib/reprobuild/Dockerfile.jammy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp
5353
RUN wget https://sh.rustup.rs -O rustup-install.sh && \
5454
bash rustup-install.sh --default-toolchain none --quiet -y && \
5555
rm rustup-install.sh && \
56-
/root/.cargo/bin/rustup install 1.73
56+
/root/.cargo/bin/rustup install 1.75
5757

5858
# Download protoc manually, it is in the update repos which we
5959
# disabled above, so `apt-get` can't find it anymore.

contrib/reprobuild/Dockerfile.noble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py -O /tmp/get-pip.py && python3 /tmp
5151
RUN wget https://sh.rustup.rs -O rustup-install.sh && \
5252
bash rustup-install.sh --default-toolchain none --quiet -y && \
5353
rm rustup-install.sh && \
54-
/root/.cargo/bin/rustup install 1.73
54+
/root/.cargo/bin/rustup install 1.75
5555

5656
# Download protoc manually, it is in the update repos which we
5757
# disabled above, so `apt-get` can't find it anymore.

0 commit comments

Comments
 (0)