+ /usr/bin/cargo test --release -j8 -j1 error: Invalid arguments. Usage: cargo test [options] [--] [<args>...] I can't easily remove -j8 because it is part of macro...
actually workaround was quite simple.. export RPM_BUILD_NCPUS=1 %cargo_test --- Keeping this bug opened because I would expect it to work anyway ;)
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
cargo is part of the rust srpm now.
Latest upstream release: 1.35.0 Current version/release in rawhide: 1.34.2-1.fc31 URL: https://www.rust-lang.org Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoringPlease keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.Based on the information from anitya: https://release-monitoring.org/project/7635/
Rawhide now has rust-1.35.0-1.fc31, but this bug was improperly hijacked by anitya.
This is NOTABUG because that's an explicit design choice in the program. It should be argued upstream if you disagree. $ cargo test --release -j8 -j1 error: The argument '--jobs <N>' was provided more than once, but cannot be used multiple times