Openvasd build fails

Trying to set up Greenbone/openvas according to

building of openvasd using


mkdir -p $INSTALL_DIR/openvasd/usr/local/bin
cd $SOURCE_DIR/openvas-scanner-$OPENVAS_DAEMON/rust/src/openvasd
cargo build --release

fails with

error: failed to load manifest for workspace member /home/adm_nash/source/openvas-scanner-23.20.0/rust/crates/smoketest

Caused by:
failed to parse manifest at /home/adm_nash/source/openvas-scanner-23.20.0/rust/crates/smoketest/Cargo.toml

Caused by:
feature edition2024 is required

The package requires the Cargo feature called edition2024, but that feature is not stabilized in this version of Cargo (1.75.0).
Consider adding cargo-features = ["edition2024"] to the top of Cargo.toml (above the [package] table) to tell Cargo you are opting in to use this unstable feature.
See Unstable Features - The Cargo Book for more information about the status of this feature.

Even adding line

cargo-features = [“edition2024”]

at top of Cargo.toml doesn’t help.

OS used : Ubuntu 24.04.2 Server

Hi, on which Distribution do you build? Ubuntu? It seems Cargo is to old for building openvasd.

could you try running rustup update?

After installation of rustup using

sudo apt install rustup

execution of

rustup update

gives

info: no updatable toolchains installed
info: cleaning up downloads & tmp directories

Running

rustup default stable

cargo build works ..