Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.2.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' -C metadata=6300dd412eb48b61 -C extra-filename=-6300dd412eb48b61 --out-dir /builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps --extern ppv_lite86=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/libppv_lite86-c349f4b46373db54.rmeta --extern rand_core=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/librand_core-dd05c7be2287dede.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Compiling rand v0.7.3 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.7.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="getrandom_package"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=ba439a09e354e14c -C extra-filename=-ba439a09e354e14c --out-dir /builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps --extern getrandom_package=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/libgetrandom-ff1fcc308dd73ed9.rmeta --extern libc=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/liblibc-ec5294a0642d43f2.rmeta --extern rand_chacha=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/librand_chacha-6300dd412eb48b61.rmeta --extern rand_core=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/librand_core-dd05c7be2287dede.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` error: aborting due to 6 previous errors For more information about this error, try `rustc --explain E0425`. error: could not compile `nix` Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name nix /usr/share/cargo/registry/nix-0.17.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=05500d3063d57c38 -C extra-filename=-05500d3063d57c38 --out-dir /builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps --extern bitflags=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/libbitflags-d317e00c147270b1.rmeta --extern cfg_if=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/libcfg_if-26769b42bfa78054.rmeta --extern libc=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/liblibc-ec5294a0642d43f2.rmeta --extern void=/builddir/build/BUILD/ssh-key-dir-0.1.2/target/release/deps/libvoid-a6e38c4861e59b28.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` (exit code: 1) warning: build failed, waiting for other jobs to finish... error: build failed RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Awb125 (%check) Bad exit status from /var/tmp/rpm-tmp.Awb125 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-ssh-key-dir.spec