Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rust-daemonize.spec'], chrootPath='/var/lib/mock/f35-build-36692472-4699280/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/rust-daemonize.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1657411200 Wrote: /builddir/build/SRPMS/rust-daemonize-0.4.1-2.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target i686 --nodeps /builddir/build/SPECS/rust-daemonize.spec'], chrootPath='/var/lib/mock/f35-build-36692472-4699280/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target i686 --nodeps /builddir/build/SPECS/rust-daemonize.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1657411200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Jf96pI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf daemonize-0.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/daemonize-0.4.1.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd daemonize-0.4.1 + /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 + sed -i s:target/debug/examples/:target/release/examples/:g tests/tests.rs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cPhPRT + umask 022 + cd /builddir/build/BUILD + cd daemonize-0.4.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-daemonize-0.4.1-2.fc35.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 i686 --nodeps /builddir/build/SPECS/rust-daemonize.spec'], chrootPath='/var/lib/mock/f35-build-36692472-4699280/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target i686 --nodeps /builddir/build/SPECS/rust-daemonize.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1657411200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FCBiwn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf daemonize-0.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/daemonize-0.4.1.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd daemonize-0.4.1 + /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 + sed -i s:target/debug/examples/:target/release/examples/:g tests/tests.rs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.sZGjAx + umask 022 + cd /builddir/build/BUILD + cd daemonize-0.4.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-daemonize-0.4.1-2.fc35.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 i686 --nodeps /builddir/build/SPECS/rust-daemonize.spec'], chrootPath='/var/lib/mock/f35-build-36692472-4699280/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target i686 --nodeps /builddir/build/SPECS/rust-daemonize.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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1657411200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.JvFMqO + umask 022 + cd /builddir/build/BUILD + cd daemonize-0.4.1 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bRmsLa + umask 022 + cd /builddir/build/BUILD + cd daemonize-0.4.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j6 -Z avoid-dev-deps --release Compiling libc v0.2.126 Compiling boxfnonce v0.1.1 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.126/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=6e43ffbb54560922 -C extra-filename=-6e43ffbb54560922 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/build/libc-6e43ffbb54560922 -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name boxfnonce /usr/share/cargo/registry/boxfnonce-0.1.1/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=20eca43e176df9f7 -C extra-filename=-20eca43e176df9f7 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/builddir/build/BUILD/daemonize-0.4.1/target/release/build/libc-6e43ffbb54560922/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.126/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=026942f3ab0d57a6 -C extra-filename=-026942f3ab0d57a6 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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` Compiling daemonize v0.4.1 (/builddir/build/BUILD/daemonize-0.4.1) Running `/usr/bin/rustc --crate-name daemonize 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=71a819fb3de76cb8 -C extra-filename=-71a819fb3de76cb8 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rmeta --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trailing semicolon in macro used in expression position --> src/lib.rs:382:18 | 382 | }; | ^ ... 387 | let pid_file_fd = maptry!(self.pid_file.clone(), create_pid_file); | ----------------------------------------------- in this macro invocation | = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 387 | let pid_file_fd = maptry!(self.pid_file.clone(), create_pid_file); | ----------------------------------------------- in this macro invocation | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:382:18 | 382 | }; | ^ ... 399 | let uid = maptry!(self.user, get_user); | ---------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 399 | let uid = maptry!(self.user, get_user); | ---------------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:382:18 | 382 | }; | ^ ... 400 | let gid = maptry!(self.group, get_group); | ------------------------------ in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 400 | let gid = maptry!(self.group, get_group); | ------------------------------ in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 411 | maptry!(args, |(pid, uid, gid)| chown_pid_file(pid, uid, gid)); | -------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 416 | maptry!(self.root, change_root); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 418 | maptry!(gid, set_group); | ----------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 419 | maptry!(uid, set_user); | ---------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 421 | maptry!(pid_file_fd, write_pid_file); | ------------------------------------ in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `daemonize` (lib) generated 11 warnings Finished release [optimized] target(s) in 2.36s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jqvXO9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386 ++ dirname /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386 + cd daemonize-0.4.1 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=daemonize ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.4.1 + REG_DIR=/builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386/usr/share/cargo/registry/daemonize-0.4.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386/usr/share/cargo/registry/daemonize-0.4.1 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386/usr/share/cargo/registry/daemonize-0.4.1 warning: No (git) VCS found for `/builddir/build/BUILD/daemonize-0.4.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386/usr/share/cargo/registry/daemonize-0.4.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386/usr/share/cargo/registry/daemonize-0.4.1/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FcocDe + umask 022 + cd /builddir/build/BUILD + cd daemonize-0.4.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo test -j6 -Z avoid-dev-deps --release --no-fail-fast Fresh boxfnonce v0.1.1 Fresh libc v0.2.126 Compiling rand v0.4.6 Compiling remove_dir_all v0.7.0 warning: trailing semicolon in macro used in expression position --> src/lib.rs:382:18 | 382 | }; | ^ ... 387 | let pid_file_fd = maptry!(self.pid_file.clone(), create_pid_file); | ----------------------------------------------- in this macro invocation | = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 387 | let pid_file_fd = maptry!(self.pid_file.clone(), create_pid_file); | ----------------------------------------------- in this macro invocation | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:382:18 | 382 | }; | ^ ... 399 | let uid = maptry!(self.user, get_user); | ---------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 399 | let uid = maptry!(self.user, get_user); | ---------------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: trailing semicolon in macro used in expression position --> src/lib.rs:382:18 | 382 | }; | ^ ... 400 | let gid = maptry!(self.group, get_group); | ------------------------------ in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 400 | let gid = maptry!(self.group, get_group); | ------------------------------ in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 411 | maptry!(args, |(pid, uid, gid)| chown_pid_file(pid, uid, gid)); | -------------------------------------------------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 416 | maptry!(self.root, change_root); | ------------------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 418 | maptry!(gid, set_group); | ----------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 419 | maptry!(uid, set_user); | ---------------------- in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:381:37 | 381 | Some(x) => Some(try!($f(x))), | ^^^ ... 421 | maptry!(pid_file_fd, write_pid_file); | ------------------------------------ in this macro invocation | = note: this warning originates in the macro `maptry` (in Nightly builds, run with -Z macro-backtrace for more info) Running `/usr/bin/rustc --crate-name rand /usr/share/cargo/registry/rand-0.4.6/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="libc"' --cfg 'feature="std"' -C metadata=70f07035d9182db2 -C extra-filename=-70f07035d9182db2 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name remove_dir_all --edition=2018 /usr/share/cargo/registry/remove_dir_all-0.7.0/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=65e77bd139596f9b -C extra-filename=-65e77bd139596f9b --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `daemonize` (lib) generated 11 warnings Compiling tempdir v0.3.7 Running `/usr/bin/rustc --crate-name tempdir /usr/share/cargo/registry/tempdir-0.3.7/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=0a0404c63b4fa618 -C extra-filename=-0a0404c63b4fa618 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern rand=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/librand-70f07035d9182db2.rmeta --extern remove_dir_all=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libremove_dir_all-65e77bd139596f9b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling daemonize v0.4.1 (/builddir/build/BUILD/daemonize-0.4.1) Running `/usr/bin/rustc --crate-name tests tests/tests.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=bc20c95f39b66fd5 -C extra-filename=-bc20c95f39b66fd5 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_pid examples/test_pid.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=37f7f303a7f7089a -C extra-filename=-37f7f303a7f7089a --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_redirect_streams examples/test_redirect_streams.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=b287ec9cd96185de -C extra-filename=-b287ec9cd96185de --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_chroot examples/test_chroot.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=9c0cbfcd47974324 -C extra-filename=-9c0cbfcd47974324 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name daemonize src/lib.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=72a8aef5e616795d -C extra-filename=-72a8aef5e616795d --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_uid_gid examples/test_uid_gid.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=4a4dc9a2aa3dd682 -C extra-filename=-4a4dc9a2aa3dd682 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `daemonize` (lib test) generated 11 warnings (11 duplicates) Running `/usr/bin/rustc --crate-name test_chown_pid examples/test_chown_pid.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=d173aab9b60751c0 -C extra-filename=-d173aab9b60751c0 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_double_run examples/test_double_run.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=9766c505baebd16f -C extra-filename=-9766c505baebd16f --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name complex examples/complex.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=884d29ab8208f7d6 -C extra-filename=-884d29ab8208f7d6 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_chdir examples/test_chdir.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=a5e16c0ae963f4b4 -C extra-filename=-a5e16c0ae963f4b4 --out-dir /builddir/build/BUILD/daemonize-0.4.1/target/release/examples -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Finished release [optimized] target(s) in 3.71s Running `/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/daemonize-72a8aef5e616795d` running 2 tests test ffi::tests::test_get_gid_by_name ... ok test ffi::tests::test_get_uid_by_name ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/tests-bc20c95f39b66fd5` running 4 tests test test_pid ... ok test test_umask_chdir ... ok test test_redirect_streams ... ok test double_run ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s Doc-tests daemonize Running `/usr/bin/rustdoc --crate-type lib --crate-name daemonize --test /builddir/build/BUILD/daemonize-0.4.1/src/lib.rs -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps -L dependency=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps --extern boxfnonce=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libboxfnonce-20eca43e176df9f7.rlib --extern daemonize=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libdaemonize-71a819fb3de76cb8.rlib --extern libc=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/liblibc-026942f3ab0d57a6.rlib --extern tempdir=/builddir/build/BUILD/daemonize-0.4.1/target/release/deps/libtempdir-0a0404c63b4fa618.rlib -C embed-bitcode=no --error-format human` running 1 test test src/lib.rs - (line 16) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-daemonize-devel-0.4.1-2.fc35.noarch warning: File listed twice: /usr/share/cargo/registry/daemonize-0.4.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/daemonize-0.4.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/daemonize-0.4.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/daemonize-0.4.1/README.md Provides: crate(daemonize) = 0.4.1 rust-daemonize-devel = 0.4.1-2.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(boxfnonce/default) >= 0.1.1 with crate(boxfnonce/default) < 0.2.0~) (crate(libc/default) >= 0.2.4 with crate(libc/default) < 0.3.0~) cargo Processing files: rust-daemonize+default-devel-0.4.1-2.fc35.noarch Provides: crate(daemonize/default) = 0.4.1 rust-daemonize+default-devel = 0.4.1-2.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(daemonize) = 0.4.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386 Wrote: /builddir/build/SRPMS/rust-daemonize-0.4.1-2.fc35.src.rpm Wrote: /builddir/build/RPMS/rust-daemonize+default-devel-0.4.1-2.fc35.noarch.rpm Wrote: /builddir/build/RPMS/rust-daemonize-devel-0.4.1-2.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.okEIn0 + umask 022 + cd /builddir/build/BUILD + cd daemonize-0.4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-daemonize-0.4.1-2.fc35.i386 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0