[bug]: rust compile error: inference error on crate time
caused by an API change in Rust 1.80.0
#2801
Labels
Bug
Something isn't working
Prerequisites
Server Hardware
aarch64, x86_64
StartOS Version
0.3.5.1
Client OS
Linux
Client OS Version
Ubuntu 24.04.01 LTS
Browser
Other
Browser Version
irrelevant
Current Behavior
I'm trying to build the StartOS Debian package. During the
build-prod.sh
stage the following compilation error occurs:Expected Behavior
Since the Rust code is compiled via docker using the
start9/rust-arm-cross
image, the above error should occur on every build system. It can be fixed by callingcargo update
on the source code, but this then breaks theemver
dependency incore/models
andcore/startos
.I guess StartOS 0.3.5.1 was originally compiled with a docker image that had a Rust version lower than 1.8.0, so there were no issues over a year ago. However, https://hub.docker.com/r/start9/rust-arm-cross:aarch64 was updated 6 months ago and probably contains a Rust version now which is equal or higher than 1.8.0, which breaks the existing (tagged) code. Unfortunately, there are no older/previous tags on docker hub for the
:aarch64
tag one could easily switch to.Steps to Reproduce
git clone --recursive https://github.com/Start9Labs/start-os.git --branch latest
or
git clone --recursive https://github.com/Start9Labs/start-os.git --branch v0.3.5.1
cd start-os
npm --prefix web install
PLATFORM=armbian make deb ARCH=aarch64
Anything else?
No response
The text was updated successfully, but these errors were encountered: