Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'], chrootPath='/var/lib/mock/f38-build-681612-77872/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675468800 Wrote: /builddir/build/SRPMS/rust-sinit-0.1.2-3.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'], chrootPath='/var/lib/mock/f38-build-681612-77872/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675468800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cK8I1e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sinit-0.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sinit-0.1.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd sinit-0.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.OppBhv + umask 022 + cd /builddir/build/BUILD + cd sinit-0.1.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-sinit-0.1.2-3.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'], chrootPath='/var/lib/mock/f38-build-681612-77872/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675468800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EIOQJy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sinit-0.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sinit-0.1.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd sinit-0.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Mo4mUv + umask 022 + cd /builddir/build/BUILD + cd sinit-0.1.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-sinit-0.1.2-3.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'], chrootPath='/var/lib/mock/f38-build-681612-77872/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-sinit.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1675468800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.ji07qp + umask 022 + cd /builddir/build/BUILD + cd sinit-0.1.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nRpDL8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sinit-0.1.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j4 -Z avoid-dev-deps --release Compiling libc v0.2.139 Compiling unicode-width v0.1.10 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.139/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=43751d89826ae7d7 -C extra-filename=-43751d89826ae7d7 --out-dir /builddir/build/BUILD/sinit-0.1.2/target/release/build/libc-43751d89826ae7d7 -L dependency=/builddir/build/BUILD/sinit-0.1.2/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_width /usr/share/cargo/registry/unicode-width-0.1.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' -C metadata=2281cff797ab5193 -C extra-filename=-2281cff797ab5193 --out-dir /builddir/build/BUILD/sinit-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/sinit-0.1.2/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling getopts v0.2.21 Running `/usr/bin/rustc --crate-name getopts /usr/share/cargo/registry/getopts-0.2.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=64812aa48e80f573 -C extra-filename=-64812aa48e80f573 --out-dir /builddir/build/BUILD/sinit-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/sinit-0.1.2/target/release/deps --extern unicode_width=/builddir/build/BUILD/sinit-0.1.2/target/release/deps/libunicode_width-2281cff797ab5193.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/sinit-0.1.2/target/release/build/libc-43751d89826ae7d7/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.139/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=bf452a3cf4d166f3 -C extra-filename=-bf452a3cf4d166f3 --out-dir /builddir/build/BUILD/sinit-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/sinit-0.1.2/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Compiling sinit v0.1.2 (/builddir/build/BUILD/sinit-0.1.2) Running `/usr/bin/rustc --crate-name sinit src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C metadata=8f530712fecfb61d -C extra-filename=-8f530712fecfb61d --out-dir /builddir/build/BUILD/sinit-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/sinit-0.1.2/target/release/deps --extern getopts=/builddir/build/BUILD/sinit-0.1.2/target/release/deps/libgetopts-64812aa48e80f573.rlib --extern libc=/builddir/build/BUILD/sinit-0.1.2/target/release/deps/liblibc-bf452a3cf4d166f3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/main.rs:98:47 | 98 | let mut sigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/main.rs:99:50 | 99 | let mut oldsigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated associated function `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead --> src/main.rs:81:31 | 81 | let mut command = command.before_exec(move || { | ^^^^^^^^^^^ warning: variable does not need to be mutable --> src/main.rs:81:9 | 81 | let mut command = command.before_exec(move || { | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/main.rs:90:9 | 90 | let mut command = if matches.free.len() > 1 { | ----^^^^^^^ | | | help: remove this `mut` warning: panic message is not a string literal --> src/main.rs:65:26 | 65 | Err(f) => panic!(f.to_string()), | ^^^^^^^^^^^^^ | = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see = note: `#[warn(non_fmt_panics)]` on by default help: add a "{}" format string to `Display` the message | 65 | Err(f) => panic!("{}", f.to_string()), | +++++ warning: the type `sigset_t` does not permit being left uninitialized --> src/main.rs:98:42 | 98 | let mut sigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized = note: `#[warn(invalid_value)]` on by default warning: the type `sigset_t` does not permit being left uninitialized --> src/main.rs:99:45 | 99 | let mut oldsigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized warning: `sinit` (bin "sinit") generated 8 warnings (run `cargo fix --bin "sinit"` to apply 3 suggestions) Finished release [optimized] target(s) in 38.27s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kuWFxe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sinit-0.1.2 + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 0 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo install -j4 -Z avoid-dev-deps --no-track --path . Installing sinit v0.1.2 (/builddir/build/BUILD/sinit-0.1.2) Fresh unicode-width v0.1.10 Fresh libc v0.2.139 Fresh getopts v0.2.21 Fresh sinit v0.1.2 (/builddir/build/BUILD/sinit-0.1.2) warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/main.rs:98:47 | 98 | let mut sigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/main.rs:99:50 | 99 | let mut oldsigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated associated function `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead --> src/main.rs:81:31 | 81 | let mut command = command.before_exec(move || { | ^^^^^^^^^^^ warning: variable does not need to be mutable --> src/main.rs:81:9 | 81 | let mut command = command.before_exec(move || { | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/main.rs:90:9 | 90 | let mut command = if matches.free.len() > 1 { | ----^^^^^^^ | | | help: remove this `mut` warning: panic message is not a string literal --> src/main.rs:65:26 | 65 | Err(f) => panic!(f.to_string()), | ^^^^^^^^^^^^^ | = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see = note: `#[warn(non_fmt_panics)]` on by default help: add a "{}" format string to `Display` the message | 65 | Err(f) => panic!("{}", f.to_string()), | +++++ warning: the type `sigset_t` does not permit being left uninitialized --> src/main.rs:98:42 | 98 | let mut sigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized = note: `#[warn(invalid_value)]` on by default warning: the type `sigset_t` does not permit being left uninitialized --> src/main.rs:99:45 | 99 | let mut oldsigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized warning: `sinit` (bin "sinit") generated 8 warnings (run `cargo fix --bin "sinit"` to apply 3 suggestions) Finished release [optimized] target(s) in 0.24s Installing /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/bin/sinit Installed package `sinit v0.1.2 (/builddir/build/BUILD/sinit-0.1.2)` (executable `sinit`) warning: be sure to add `/builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/bin` to your PATH to be able to run the installed binaries + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.1.2-3.fc38 --unique-debug-suffix -0.1.2-3.fc38.riscv64 --unique-debug-src-base rust-sinit-0.1.2-3.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sinit-0.1.2 extracting debug info from /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/bin/sinit warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/bin/sinit. Use `info auto-load python-scripts [REGEXP]' to list them. original debug info size: 2992kB, size after compression: 2792kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 13 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.VmLWaK + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sinit-0.1.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j4 -Z avoid-dev-deps --release --no-fail-fast Fresh unicode-width v0.1.10 Fresh libc v0.2.139 Fresh getopts v0.2.21 Compiling sinit v0.1.2 (/builddir/build/BUILD/sinit-0.1.2) Running `/usr/bin/rustc --crate-name sinit src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=801a43d2cddda513 -C extra-filename=-801a43d2cddda513 --out-dir /builddir/build/BUILD/sinit-0.1.2/target/release/deps -L dependency=/builddir/build/BUILD/sinit-0.1.2/target/release/deps --extern getopts=/builddir/build/BUILD/sinit-0.1.2/target/release/deps/libgetopts-64812aa48e80f573.rlib --extern libc=/builddir/build/BUILD/sinit-0.1.2/target/release/deps/liblibc-bf452a3cf4d166f3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/main.rs:98:47 | 98 | let mut sigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/main.rs:99:50 | 99 | let mut oldsigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated associated function `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead --> src/main.rs:81:31 | 81 | let mut command = command.before_exec(move || { | ^^^^^^^^^^^ warning: variable does not need to be mutable --> src/main.rs:81:9 | 81 | let mut command = command.before_exec(move || { | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: variable does not need to be mutable --> src/main.rs:90:9 | 90 | let mut command = if matches.free.len() > 1 { | ----^^^^^^^ | | | help: remove this `mut` warning: panic message is not a string literal --> src/main.rs:65:26 | 65 | Err(f) => panic!(f.to_string()), | ^^^^^^^^^^^^^ | = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 = note: for more information, see = note: `#[warn(non_fmt_panics)]` on by default help: add a "{}" format string to `Display` the message | 65 | Err(f) => panic!("{}", f.to_string()), | +++++ warning: the type `sigset_t` does not permit being left uninitialized --> src/main.rs:98:42 | 98 | let mut sigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized = note: `#[warn(invalid_value)]` on by default warning: the type `sigset_t` does not permit being left uninitialized --> src/main.rs:99:45 | 99 | let mut oldsigset: libc::sigset_t = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized warning: `sinit` (bin "sinit" test) generated 8 warnings (run `cargo fix --bin "sinit" --tests` to apply 3 suggestions) Finished release [optimized] target(s) in 2.62s Running `/builddir/build/BUILD/sinit-0.1.2/target/release/deps/sinit-801a43d2cddda513` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: sinit-0.1.2-3.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xFIx7C + umask 022 + cd /builddir/build/BUILD + cd sinit-0.1.2 + DOCDIR=/builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/share/doc/sinit + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/share/doc/sinit + cp -pr README.md /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/share/doc/sinit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HkfYxq + umask 022 + cd /builddir/build/BUILD + cd sinit-0.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/share/licenses/sinit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/share/licenses/sinit + cp -pr LICENSE /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64/usr/share/licenses/sinit + RPM_EC=0 ++ jobs -p + exit 0 Provides: sinit = 0.1.2-3.fc38 sinit(riscv-64) = 0.1.2-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) rtld(GNU_HASH) Processing files: rust-sinit-debugsource-0.1.2-3.fc38.riscv64 Provides: rust-sinit-debugsource = 0.1.2-3.fc38 rust-sinit-debugsource(riscv-64) = 0.1.2-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sinit-debuginfo-0.1.2-3.fc38.riscv64 Provides: debuginfo(build-id) = cb1ee38046ffcd62d015ea3248f60aceb57134c6 sinit-debuginfo = 0.1.2-3.fc38 sinit-debuginfo(riscv-64) = 0.1.2-3.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rust-sinit-debugsource(riscv-64) = 0.1.2-3.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64 Wrote: /builddir/build/SRPMS/rust-sinit-0.1.2-3.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-sinit-debugsource-0.1.2-3.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/sinit-0.1.2-3.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/sinit-debuginfo-0.1.2-3.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ap0yJc + umask 022 + cd /builddir/build/BUILD + cd sinit-0.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-sinit-0.1.2-3.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.FatUeY + umask 022 + cd /builddir/build/BUILD + rm -rf sinit-0.1.2 sinit-0.1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0