Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-gag.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '89be2a16d1bd4318a40413d593e06dff', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-gag.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656720000 Wrote: /builddir/build/SRPMS/rust-gag-1.0.0-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-gag.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '52ca8584dddc437ebceadda9467301c1', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-gag.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656720000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gyZiuG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gag-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gag-1.0.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd gag-1.0.0 + /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.RgTj5s + umask 022 + cd /builddir/build/BUILD + cd gag-1.0.0 + /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-gag-1.0.0-1.fc37.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 x86_64 --nodeps /builddir/build/SPECS/rust-gag.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '876a04a77b00490087b7b1cb98feeb53', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-gag.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656720000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qQ53L9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gag-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gag-1.0.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd gag-1.0.0 + /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.Ku4IMK + umask 022 + cd /builddir/build/BUILD + cd gag-1.0.0 + /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-gag-1.0.0-1.fc37.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 x86_64 --nodeps /builddir/build/SPECS/rust-gag.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '35e338087ec74e998b2762d86a3d3fbc', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1656779959.323231/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.araia8ud:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-gag.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1656720000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.khWLiU + umask 022 + cd /builddir/build/BUILD + cd gag-1.0.0 + /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.Ak5j2X + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh rust-gag 1.0.0-1.fc37 x86_64 + cd gag-1.0.0 + /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 -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn' /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling proc-macro2 v1.0.38 Compiling unicode-xid v0.2.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/proc-macro2-1.0.38/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="proc-macro"' -C metadata=6a8fb2099ba845c6 -C extra-filename=-6a8fb2099ba845c6 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/build/proc-macro2-6a8fb2099ba845c6 -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_xid /usr/share/cargo/registry/unicode-xid-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' -C metadata=dac83dec083363bb -C extra-filename=-dac83dec083363bb --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling syn v1.0.93 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.93/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=29e018bd04a2b1ba -C extra-filename=-29e018bd04a2b1ba --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/build/syn-29e018bd04a2b1ba -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling libc v0.2.126 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=5c4f3136ba542898 -C extra-filename=-5c4f3136ba542898 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/build/libc-5c4f3136ba542898 -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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=7868b94cefd751ca -C extra-filename=-7868b94cefd751ca --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling fastrand v1.7.0 Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-1.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=2e68d1416337d324 -C extra-filename=-2e68d1416337d324 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Running `/builddir/build/BUILD/gag-1.0.0/target/release/build/proc-macro2-6a8fb2099ba845c6/build-script-build` Running `/builddir/build/BUILD/gag-1.0.0/target/release/build/syn-29e018bd04a2b1ba/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2018 /usr/share/cargo/registry/proc-macro2-1.0.38/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=3062436afa8a9a59 -C extra-filename=-3062436afa8a9a59 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern unicode_xid=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libunicode_xid-dac83dec083363bb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn --cfg use_proc_macro --cfg wrap_proc_macro` Running `/builddir/build/BUILD/gag-1.0.0/target/release/build/libc-5c4f3136ba542898/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=2022fb028e0d574e -C extra-filename=-2022fb028e0d574e --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --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 quote v1.0.18 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' -C metadata=92b50a32f2352abe -C extra-filename=-92b50a32f2352abe --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libproc_macro2-3062436afa8a9a59.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling remove_dir_all v0.7.0 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=ec852a64b9e9e227 -C extra-filename=-ec852a64b9e9e227 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern libc=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblibc-2022fb028e0d574e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.93/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=dc49b6a253133537 -C extra-filename=-dc49b6a253133537 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libproc_macro2-3062436afa8a9a59.rmeta --extern quote=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libquote-92b50a32f2352abe.rmeta --extern unicode_xid=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libunicode_xid-dac83dec083363bb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn --cfg syn_disable_nightly_tests` Compiling tempfile v3.3.0 Running `/usr/bin/rustc --crate-name tempfile --edition=2018 /usr/share/cargo/registry/tempfile-3.3.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=f6d08e725b661f57 -C extra-filename=-f6d08e725b661f57 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern cfg_if=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libcfg_if-7868b94cefd751ca.rmeta --extern fastrand=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libfastrand-2e68d1416337d324.rmeta --extern libc=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblibc-2022fb028e0d574e.rmeta --extern remove_dir_all=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libremove_dir_all-ec852a64b9e9e227.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling thiserror-impl v1.0.31 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2018 /usr/share/cargo/registry/thiserror-impl-1.0.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off -C metadata=c0b5b59b9151c535 -C extra-filename=-c0b5b59b9151c535 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern proc_macro2=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libproc_macro2-3062436afa8a9a59.rlib --extern quote=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libquote-92b50a32f2352abe.rlib --extern syn=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libsyn-dc49b6a253133537.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling thiserror v1.0.31 Running `/usr/bin/rustc --crate-name thiserror --edition=2018 /usr/share/cargo/registry/thiserror-1.0.31/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=f74cc3d609023d44 -C extra-filename=-f74cc3d609023d44 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern thiserror_impl=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libthiserror_impl-c0b5b59b9151c535.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling filedescriptor v0.8.2 Running `/usr/bin/rustc --crate-name filedescriptor --edition=2018 /usr/share/cargo/registry/filedescriptor-0.8.2/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=766eca13c18cf297 -C extra-filename=-766eca13c18cf297 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern libc=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblibc-2022fb028e0d574e.rmeta --extern thiserror=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libthiserror-f74cc3d609023d44.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling gag v1.0.0 (/builddir/build/BUILD/gag-1.0.0) Running `/usr/bin/rustc --crate-name gag 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=2288eac2edfc07df -C extra-filename=-2288eac2edfc07df --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern filedescriptor=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libfiledescriptor-766eca13c18cf297.rmeta --extern tempfile=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libtempfile-f6d08e725b661f57.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> src/redirect.rs:28:32 | 28 | fn cause(&self) -> Option<&::std::error::Error> { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 28 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { | +++++ + warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/redirect.rs:26:20 | 26 | self.error.description() | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: `gag` (lib) generated 2 warnings Finished release [optimized] target(s) in 28.57s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4njW5Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gag-1.0.0 + 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=gag ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=1.0.0 + REG_DIR=/builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64/usr/share/cargo/registry/gag-1.0.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64/usr/share/cargo/registry/gag-1.0.0 + 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 -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64/usr/share/cargo/registry/gag-1.0.0 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/gag-1.0.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64/usr/share/cargo/registry/gag-1.0.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64/usr/share/cargo/registry/gag-1.0.0/Cargo.toml.deps + echo '{"files":{},"package":""}' + grep -q -F -x bin + /usr/bin/cargo-inspector --target-kinds Cargo.toml + /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/brp-remove-la-files + /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.f9LYTE + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh rust-gag 1.0.0-1.fc37 x86_64 + cd gag-1.0.0 + /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 -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn' /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast Fresh unicode-xid v0.2.3 Fresh cfg-if v1.0.0 Fresh fastrand v1.7.0 Compiling lazy_static v1.4.0 Fresh libc v0.2.126 Fresh proc-macro2 v1.0.38 Running `/usr/bin/rustc --crate-name lazy_static /usr/share/cargo/registry/lazy_static-1.4.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=20471f3e96b9c777 -C extra-filename=-20471f3e96b9c777 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Fresh remove_dir_all v0.7.0 Compiling dirs-sys v0.3.7 Running `/usr/bin/rustc --crate-name dirs_sys /usr/share/cargo/registry/dirs-sys-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=40a1025a4be1020e -C extra-filename=-40a1025a4be1020e --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern libc=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblibc-2022fb028e0d574e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Fresh quote v1.0.18 Fresh tempfile v3.3.0 Fresh syn v1.0.93 Fresh thiserror-impl v1.0.31 Fresh thiserror v1.0.31 Fresh filedescriptor v0.8.2 warning: trait objects without an explicit `dyn` are deprecated --> src/redirect.rs:28:32 | 28 | fn cause(&self) -> Option<&::std::error::Error> { | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(bare_trait_objects)]` on by default = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 28 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { | +++++ + warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() --> src/redirect.rs:26:20 | 26 | self.error.description() | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: `gag` (lib) generated 2 warnings Compiling dirs v3.0.2 Running `/usr/bin/rustc --crate-name dirs /usr/share/cargo/registry/dirs-3.0.2/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=d9ef94b8023d83b8 -C extra-filename=-d9ef94b8023d83b8 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern dirs_sys=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libdirs_sys-40a1025a4be1020e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Compiling gag v1.0.0 (/builddir/build/BUILD/gag-1.0.0) Running `/usr/bin/rustc --crate-name gag 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=130196206fa6c8ff -C extra-filename=-130196206fa6c8ff --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern dirs=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libdirs-d9ef94b8023d83b8.rlib --extern filedescriptor=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libfiledescriptor-766eca13c18cf297.rlib --extern lazy_static=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblazy_static-20471f3e96b9c777.rlib --extern tempfile=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libtempfile-f6d08e725b661f57.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` Running `/usr/bin/rustc --crate-name test_redirect tests/test_redirect.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=697b9782536c7852 -C extra-filename=-697b9782536c7852 --out-dir /builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern dirs=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libdirs-d9ef94b8023d83b8.rlib --extern filedescriptor=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libfiledescriptor-766eca13c18cf297.rlib --extern gag=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libgag-2288eac2edfc07df.rlib --extern lazy_static=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblazy_static-20471f3e96b9c777.rlib --extern tempfile=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libtempfile-f6d08e725b661f57.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-Wl,-dT,/builddir/build/BUILD/gag-1.0.0/.package_note-rust-gag-1.0.0-1.fc37.x86_64.ld --cap-lints=warn` warning: `gag` (lib test) generated 2 warnings (2 duplicates) Finished release [optimized] target(s) in 1.51s Running `/builddir/build/BUILD/gag-1.0.0/target/release/deps/gag-130196206fa6c8ff` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/gag-1.0.0/target/release/deps/test_redirect-697b9782536c7852` running 2 tests test test_gag_stderr_twice ... ok test test_buffer_stderr ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests gag Running `/usr/bin/rustdoc --crate-type lib --crate-name gag --test /builddir/build/BUILD/gag-1.0.0/src/lib.rs -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps -L dependency=/builddir/build/BUILD/gag-1.0.0/target/release/deps --extern dirs=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libdirs-d9ef94b8023d83b8.rlib --extern filedescriptor=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libfiledescriptor-766eca13c18cf297.rlib --extern gag=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libgag-2288eac2edfc07df.rlib --extern lazy_static=/builddir/build/BUILD/gag-1.0.0/target/release/deps/liblazy_static-20471f3e96b9c777.rlib --extern tempfile=/builddir/build/BUILD/gag-1.0.0/target/release/deps/libtempfile-f6d08e725b661f57.rlib -C embed-bitcode=no --error-format human` running 6 tests test src/lib.rs - (line 112) ... ok test src/lib.rs - (line 18) ... ok test src/lib.rs - (line 33) ... ok test src/lib.rs - (line 48) ... ok test src/lib.rs - (line 5) ... ok test src/lib.rs - (line 96) ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-gag-devel-1.0.0-1.fc37.noarch warning: File listed twice: /usr/share/cargo/registry/gag-1.0.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/gag-1.0.0/README.md Provides: crate(gag) = 1.0.0 rust-gag-devel = 1.0.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(filedescriptor/default) >= 0.8.0 with crate(filedescriptor/default) < 0.9.0~) (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) < 4.0.0~) cargo Processing files: rust-gag+default-devel-1.0.0-1.fc37.noarch Provides: crate(gag/default) = 1.0.0 rust-gag+default-devel = 1.0.0-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(gag) = 1.0.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64 Wrote: /builddir/build/SRPMS/rust-gag-1.0.0-1.fc37.src.rpm Wrote: /builddir/build/RPMS/rust-gag+default-devel-1.0.0-1.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-gag-devel-1.0.0-1.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mHX9VM + umask 022 + cd /builddir/build/BUILD + cd gag-1.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-gag-1.0.0-1.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.aCgn3E + umask 022 + cd /builddir/build/BUILD + rm -rf gag-1.0.0 gag-1.0.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/gag-1.0.0/LICENSE File listed twice: /usr/share/cargo/registry/gag-1.0.0/README.md Child return code was: 0