It's not possible to build viu with cargo build --release --locked using the code published as 1.2:
error: the lock file /home/wmoore/Projects/aur/viu/src/viu-1.2/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, use the --offline flag.
cargo build --release --locked is how the AUR package is built as it ensures that only the version of dependencies specified by the lock file is used, ensuring the build continues to build over time.
The issue seems to be the version was bumped in the Cargo.toml but the regenerated Cargo.lock was not committed:
It's not possible to build
viu
withcargo build --release --locked
using the code published as 1.2:cargo build --release --locked
is how the AUR package is built as it ensures that only the version of dependencies specified by the lock file is used, ensuring the build continues to build over time.The issue seems to be the version was bumped in the
Cargo.toml
but the regeneratedCargo.lock
was not committed:Would be great if you could publish a patch release with an updated
Cargo.lock
.