Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f39-build-51766743-6198683/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'a170f58fbb3c4349b9ca006c10bd1526', '-D', '/var/lib/mock/f39-build-51766743-6198683/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-13.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f39-build-51766743-6198683/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '229501ea965742ffb4c4e79035b3a7a3', '-D', '/var/lib/mock/f39-build-51766743-6198683/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cRwa4x + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nix-0.14.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nix-0.14.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd nix-0.14.1 + rm -rf /builddir/build/BUILD/nix-0.14.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nix-0.14.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/nix-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + 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.QrXcnq + umask 022 + cd /builddir/build/BUILD + cd nix-0.14.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-13.fc39.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 --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f39-build-51766743-6198683/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '522a346504b24ca4b2f37ee97321bfbf', '-D', '/var/lib/mock/f39-build-51766743-6198683/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8FTfyx + umask 022 + cd /builddir/build/BUILD + cd nix-0.14.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-13.fc39.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 --noclean --target aarch64 /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f39-build-51766743-6198683/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '98dd9483712c4da5bc94627a262910f8', '-D', '/var/lib/mock/f39-build-51766743-6198683/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.s9mdimsy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 /builddir/build/SPECS/rust-nix0.14.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.el2eHe + umask 022 + cd /builddir/build/BUILD + cd nix-0.14.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DXMoKX + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 nix-0.14.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j224 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling nix v0.14.1 (/builddir/build/BUILD/nix-0.14.1) Compiling void v1.0.2 Compiling bitflags v1.3.2 Compiling cfg-if v0.1.10 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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=a870c98cdad862ac -C extra-filename=-a870c98cdad862ac --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/build/libc-a870c98cdad862ac -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 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 -C metadata=3a76e5e5024ac92f -C extra-filename=-3a76e5e5024ac92f --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/build/nix-3a76e5e5024ac92f -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name void --edition=2015 /usr/share/cargo/registry/void-1.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 codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=dbc5e780de8e8418 -C extra-filename=-dbc5e780de8e8418 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-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 -C codegen-units=1 -C debuginfo=2 -C metadata=e6abee15ae52ae81 -C extra-filename=-e6abee15ae52ae81 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.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 codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=3595df99118cd205 -C extra-filename=-3595df99118cd205 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/nix-0.14.1/target/rpm/build/nix-3a76e5e5024ac92f/build-script-build` Running `/builddir/build/BUILD/nix-0.14.1/target/rpm/build/libc-a870c98cdad862ac/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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 codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=11e52699214d583a -C extra-filename=-11e52699214d583a --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` Running `/usr/bin/rustc --crate-name nix --edition=2015 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 codegen-units=1 -C debuginfo=2 -C metadata=c1f0893859b4cdb2 -C extra-filename=-c1f0893859b4cdb2 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libbitflags-3595df99118cd205.rmeta --extern cfg_if=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libcfg_if-e6abee15ae52ae81.rmeta --extern libc=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/liblibc-11e52699214d583a.rmeta --extern void=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libvoid-dbc5e780de8e8418.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: 8th rule of macro `libc_enum` is never used --> src/macros.rs:204:5 | 204 | / (@accumulate_entries 205 | | $prefix:tt, 206 | | [$($entries:tt)*]; 207 | | $entry:ident as $ty:ty, $($tail:tt)* 208 | | ) => { | |_____^ | note: the lint level is defined here --> src/lib.rs:13:9 | 13 | #![deny(unused)] | ^^^^^^ = note: `#[warn(unused_macro_rules)]` implied by `#[warn(unused)]` warning: `...` range patterns are deprecated --> src/features.rs:42:21 | 42 | b'0'...b'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: unnecessary parentheses around type --> src/mqueue.rs:154:46 | 154 | pub fn mq_set_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { | ^ ^ | = note: `#[warn(unused_parens)]` implied by `#[warn(unused)]` help: remove these parentheses | 154 - pub fn mq_set_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { 154 + pub fn mq_set_nonblock(mqd: mqd_t) -> Result { | warning: unnecessary parentheses around type --> src/mqueue.rs:166:49 | 166 | pub fn mq_remove_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { | ^ ^ | help: remove these parentheses | 166 - pub fn mq_remove_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { 166 + pub fn mq_remove_nonblock(mqd: mqd_t) -> Result { | warning: 5th rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:143:5 | 143 | (SetOnly, $name:ident, $level:path, $flag:path, u8) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 3rd rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:135:5 | 135 | (GetOnly, $name:ident, $level:path, $flag:path, usize) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 2nd rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:131:5 | 131 | (GetOnly, $name:ident, $level:path, $flag:path, u8) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 4th rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:139:5 | 139 | (SetOnly, $name:ident, $level:path, $flag:path, bool) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/dir.rs:112:52 | 112 | let mut ent: Entry = Entry(::std::mem::uninitialized()); | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/ifaddrs.rs:128:55 | 128 | let mut addrs: *mut libc::ifaddrs = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mqueue.rs:135:34 | 135 | let mut attr = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mqueue.rs:146:34 | 146 | let mut attr = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mqueue.rs:54:38 | 54 | let mut attr = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/pty.rs:222:48 | 222 | let mut slave: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/pty.rs:223:49 | 223 | let mut master: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/pty.rs:298:49 | 298 | let mut master: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/ptrace/linux.rs:225:33 | 225 | let data: T = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/quota.rs:264:35 | 264 | let mut dqblk = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/select.rs:20:39 | 20 | let mut fdset = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:507:27 | 507 | let mut oldact = mem::uninitialized::(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:340:56 | 340 | let mut sigset: libc::sigset_t = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:347:56 | 347 | let mut sigset: libc::sigset_t = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:385:49 | 385 | let mut oldmask: SigSet = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:407:49 | 407 | let mut oldmask: SigSet = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:415:53 | 415 | let mut signum: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:457:35 | 457 | let mut s = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signalfd.rs:101:69 | 101 | let mut buffer: [u8; SIGNALFD_SIGINFO_SIZE] = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:909:44 | 909 | let mut mhdr: msghdr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:950:55 | 950 | let mut address: sockaddr_storage = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:961:44 | 961 | let mut mhdr: msghdr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:1242:43 | 1242 | let addr: sockaddr_storage = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:1258:43 | 1258 | let addr: sockaddr_storage = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:398:23 | 398 | unsafe { mem::uninitialized() } | ^^^^^^^^^^^^^ warning: use of deprecated struct `libc::af_alg_iv`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:778:58 | 778 | let alg_iv = cmsg_data as *mut libc::af_alg_iv; | ^^^^^^^^^ warning: use of deprecated struct `libc::af_alg_iv`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:818:38 | 818 | mem::size_of::() + iv.len() | ^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/addr.rs:552:60 | 552 | let mut in6_addr_var: libc::in6_addr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:81:33 | 81 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:94:33 | 94 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:107:33 | 107 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:116:33 | 116 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/statvfs.rs:128:38 | 128 | let mut stat: Statvfs = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/statvfs.rs:141:38 | 141 | let mut stat: Statvfs = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/sysinfo.rs:70:49 | 70 | let mut info: libc::sysinfo = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/termios.rs:1049:52 | 1049 | let mut termios: libc::termios = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/termios.rs:254:38 | 254 | inner: RefCell::new(mem::uninitialized()), | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/utsname.rs:35:37 | 35 | let mut ret: UtsName = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/unistd.rs:1010:40 | 1010 | let mut fds: [c_int; 2] = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/unistd.rs:1037:45 | 1037 | let mut fds: [c_int; 2] = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:105:20 | 105 | BoxedSlice(Box>), | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is an object-safe trait, use `dyn` | 105 | BoxedSlice(Box>), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:107:23 | 107 | BoxedMutSlice(Box>), | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 107 | BoxedMutSlice(Box>), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sched.rs:39:28 | 39 | pub type CloneCb<'a> = Box isize + 'a>; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 39 | pub type CloneCb<'a> = Box isize + 'a>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:168:49 | 168 | pub fn boxed_slice(&mut self) -> Option>> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 168 | pub fn boxed_slice(&mut self) -> Option>> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:190:53 | 190 | pub fn boxed_mut_slice(&mut self) -> Option>> { | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 190 | pub fn boxed_mut_slice(&mut self) -> Option>> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:451:62 | 451 | pub fn from_boxed_slice(fd: RawFd, offs: off_t, buf: Box>, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 451 | pub fn from_boxed_slice(fd: RawFd, offs: off_t, buf: Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:519:46 | 519 | ... mut buf: Box>, | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 519 | mut buf: Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/socket/mod.rs:947:48 | 947 | cmsg_buffer: Option<&'a mut CmsgBuffer>, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 947 | cmsg_buffer: Option<&'a mut dyn CmsgBuffer>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sched.rs:113:71 | 113 | libc::clone(mem::transmute(callback as extern "C" fn(*mut Box<::std::ops::FnMut() -> isize>) -> i32), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 113 | libc::clone(mem::transmute(callback as extern "C" fn(*mut Box isize)>) -> i32), | +++++ + warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:119:33 | 119 | let borrowed : &Borrow<[u8]> = bs.borrow(); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 119 | let borrowed : &dyn Borrow<[u8]> = bs.borrow(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:124:33 | 124 | let borrowed : &BorrowMut<[u8]> = bms.borrow(); | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 124 | let borrowed : &dyn BorrowMut<[u8]> = bms.borrow(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:121:40 | 121 | borrowed as *const Borrow<[u8]>) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 121 | borrowed as *const dyn Borrow<[u8]>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:126:40 | 126 | borrowed as *const BorrowMut<[u8]>) | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 126 | borrowed as *const dyn BorrowMut<[u8]>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:456:29 | 456 | let borrowed : &Borrow<[u8]> = buf.borrow(); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 456 | let borrowed : &dyn Borrow<[u8]> = buf.borrow(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:524:33 | 524 | let borrowed : &mut BorrowMut<[u8]> = buf.borrow_mut(); | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is an object-safe trait, use `dyn` | 524 | let borrowed : &mut dyn BorrowMut<[u8]> = buf.borrow_mut(); | +++ warning: use of deprecated field `libc::af_alg_iv::ivlen`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:779:21 | 779 | (*alg_iv).ivlen = iv.len() as u32; | ^^^^^^^^^^^^^^^ warning: use of deprecated field `libc::af_alg_iv::iv`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:782:25 | 782 | (*alg_iv).iv.as_mut_ptr(), | ^^^^^^^^^^^^ warning: unnecessary `unsafe` block --> src/sys/quota.rs:25:9 | 25 | unsafe { libc::QCMD(self.0 as i32, self.1 as i32) } | ^^^^^^ unnecessary `unsafe` block | = note: `#[warn(unused_unsafe)]` implied by `#[warn(unused)]` warning: unnecessary `unsafe` block --> src/sys/wait.rs:117:5 | 117 | unsafe { libc::WIFEXITED(status) } | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:121:5 | 121 | unsafe { libc::WEXITSTATUS(status) } | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:125:5 | 125 | unsafe { libc::WIFSIGNALED(status) } | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:129:24 | 129 | Signal::from_c_int(unsafe { libc::WTERMSIG(status) }) | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:133:5 | 133 | unsafe { libc::WCOREDUMP(status) } | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:137:5 | 137 | unsafe { libc::WIFSTOPPED(status) } | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:141:24 | 141 | Signal::from_c_int(unsafe { libc::WSTOPSIG(status) }) | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:150:5 | 150 | unsafe { libc::WSTOPSIG(status) == libc::SIGTRAP | 0x80 } | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/sys/wait.rs:159:5 | 159 | unsafe { libc::WIFCONTINUED(status) } | ^^^^^^ unnecessary `unsafe` block warning: fields `0` and `1` are never read --> src/sys/socket/mod.rs:742:24 | 742 | pub struct UnknownCmsg(cmsghdr, Vec); | ----------- ^^^^^^^ ^^^^^^^ | | | fields in this struct | = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 742 | pub struct UnknownCmsg((), ()); | ~~ ~~ warning: the type `dirent64` does not permit being left uninitialized --> src/dir.rs:112:40 | 112 | let mut ent: Entry = Entry(::std::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 `*mut libc::ifaddrs` does not permit being left uninitialized --> src/ifaddrs.rs:128:50 | 128 | let mut addrs: *mut libc::ifaddrs = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: raw pointers must be initialized warning: the type `mq_attr` does not permit being left uninitialized --> src/mqueue.rs:54:33 | 54 | let mut attr = unsafe { 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: the type `mq_attr` does not permit being left uninitialized --> src/mqueue.rs:135:29 | 135 | let mut attr = unsafe { 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: the type `mq_attr` does not permit being left uninitialized --> src/mqueue.rs:146:29 | 146 | let mut attr = unsafe { 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: the type `i32` does not permit being left uninitialized --> src/pty.rs:222:43 | 222 | let mut slave: libc::c_int = unsafe { 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: the type `i32` does not permit being left uninitialized --> src/pty.rs:223:44 | 223 | let mut master: libc::c_int = unsafe { 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: the type `i32` does not permit being left uninitialized --> src/pty.rs:298:44 | 298 | let mut master: libc::c_int = unsafe { 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: the type `std::result::Result` does not permit being left uninitialized --> src/sys/quota.rs:264:30 | 264 | let mut dqblk = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: enums with multiple inhabited variants have to be initialized to a variant --> /builddir/build/BUILD/rustc-1.79.0-src/library/core/src/result.rs:502:1 warning: the type `fd_set` does not permit being left uninitialized --> src/sys/select.rs:20:34 | 20 | let mut fdset = unsafe { 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: the type `sigset_t` does not permit being left uninitialized --> src/sys/signal.rs:340:51 | 340 | let mut sigset: libc::sigset_t = unsafe { 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: the type `sigset_t` does not permit being left uninitialized --> src/sys/signal.rs:347:51 | 347 | let mut sigset: libc::sigset_t = unsafe { 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: the type `SigSet` does not permit being left uninitialized --> src/sys/signal.rs:385:44 | 385 | let mut oldmask: SigSet = unsafe { 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 (in this struct field) --> src/sys/signal.rs:334:5 | 334 | sigset: libc::sigset_t | ^^^^^^^^^^^^^^^^^^^^^^ warning: the type `SigSet` does not permit being left uninitialized --> src/sys/signal.rs:407:44 | 407 | let mut oldmask: SigSet = unsafe { 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 (in this struct field) --> src/sys/signal.rs:334:5 | 334 | sigset: libc::sigset_t | ^^^^^^^^^^^^^^^^^^^^^^ warning: the type `i32` does not permit being left uninitialized --> src/sys/signal.rs:415:48 | 415 | let mut signum: libc::c_int = unsafe { 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: the type `sigaction` does not permit being left uninitialized --> src/sys/signal.rs:457:30 | 457 | let mut s = unsafe { 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: the type `sigaction` does not permit being left uninitialized --> src/sys/signal.rs:507:22 | 507 | let mut oldact = 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: the type `[u8; 128]` does not permit being left uninitialized --> src/sys/signalfd.rs:101:64 | 101 | let mut buffer: [u8; SIGNALFD_SIGINFO_SIZE] = unsafe { 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: the type `CmsgSpace` does not permit being left uninitialized --> src/sys/socket/mod.rs:398:18 | 398 | unsafe { mem::uninitialized() } | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed | note: integers must be initialized (in this struct field) --> src/sys/socket/mod.rs:387:5 | 387 | _hdr: cmsghdr, | ^^^^^^^^^^^^^ warning: the type `msghdr` does not permit being left uninitialized --> src/sys/socket/mod.rs:909:39 | 909 | let mut mhdr: msghdr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: raw pointers must be initialized warning: the type `sockaddr_storage` does not permit being left uninitialized --> src/sys/socket/mod.rs:950:50 | 950 | let mut address: sockaddr_storage = unsafe { 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: the type `msghdr` does not permit being left uninitialized --> src/sys/socket/mod.rs:961:39 | 961 | let mut mhdr: msghdr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: raw pointers must be initialized warning: the type `sockaddr_storage` does not permit being left uninitialized --> src/sys/socket/mod.rs:1242:38 | 1242 | let addr: sockaddr_storage = 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: the type `sockaddr_storage` does not permit being left uninitialized --> src/sys/socket/mod.rs:1258:38 | 1258 | let addr: sockaddr_storage = 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: dereferencing a null pointer --> src/macros.rs:262:10 | 262 | &(*(0 as *const $ty)).$field as *const _ as usize | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed | ::: src/sys/socket/mod.rs:1295:33 | 1295 | let pathlen = len - offset_of!(sockaddr_un, sun_path); | --------------------------------- in this macro invocation | = note: `#[warn(deref_nullptr)]` on by default = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) warning: the type `in6_addr` does not permit being left uninitialized --> src/sys/socket/addr.rs:552:55 | 552 | let mut in6_addr_var: libc::in6_addr = unsafe{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: dereferencing a null pointer --> src/macros.rs:262:10 | 262 | &(*(0 as *const $ty)).$field as *const _ as usize | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed | ::: src/sys/socket/addr.rs:866:86 | 866 | ...) => (mem::transmute(addr), (len + offset_of!(libc::sockaddr_un, sun_path)) as libc::socklen_t), | --------------------------------------- in this macro invocation | = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) warning: the type `libc::stat` does not permit being left uninitialized --> src/sys/stat.rs:81:28 | 81 | let mut dst = unsafe { 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: the type `libc::stat` does not permit being left uninitialized --> src/sys/stat.rs:94:28 | 94 | let mut dst = unsafe { 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: the type `libc::stat` does not permit being left uninitialized --> src/sys/stat.rs:107:28 | 107 | let mut dst = unsafe { 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: the type `libc::stat` does not permit being left uninitialized --> src/sys/stat.rs:116:28 | 116 | let mut dst = unsafe { 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: the type `Statvfs` does not permit being left uninitialized --> src/sys/statvfs.rs:128:33 | 128 | let mut stat: Statvfs = 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 (in this struct field) --> src/sys/statvfs.rs:62:20 | 62 | pub struct Statvfs(libc::statvfs); | ^^^^^^^^^^^^^ warning: the type `Statvfs` does not permit being left uninitialized --> src/sys/statvfs.rs:141:33 | 141 | let mut stat: Statvfs = 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 (in this struct field) --> src/sys/statvfs.rs:62:20 | 62 | pub struct Statvfs(libc::statvfs); | ^^^^^^^^^^^^^ warning: the type `libc::sysinfo` does not permit being left uninitialized --> src/sys/sysinfo.rs:70:44 | 70 | let mut info: libc::sysinfo = unsafe { 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: the type `libc::termios` does not permit being left uninitialized --> src/sys/termios.rs:254:33 | 254 | inner: RefCell::new(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: the type `libc::termios` does not permit being left uninitialized --> src/sys/termios.rs:1049:47 | 1049 | let mut termios: libc::termios = unsafe { 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: the type `UtsName` does not permit being left uninitialized --> src/sys/utsname.rs:35:32 | 35 | let mut ret: UtsName = 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 (in this struct field) --> src/sys/utsname.rs:9:20 | 9 | pub struct UtsName(libc::utsname); | ^^^^^^^^^^^^^ warning: the type `[i32; 2]` does not permit being left uninitialized --> src/unistd.rs:1010:35 | 1010 | let mut fds: [c_int; 2] = 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: the type `[i32; 2]` does not permit being left uninitialized --> src/unistd.rs:1037:40 | 1037 | let mut fds: [c_int; 2] = unsafe { 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: `nix` (lib) generated 115 warnings (run `cargo fix --lib -p nix` to apply 18 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 12.83s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jLJpdX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64 + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 nix-0.14.1 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=nix ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.14.1 + REG_DIR=/builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64/usr/share/cargo/registry/nix-0.14.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64/usr/share/cargo/registry/nix-0.14.1 + /usr/bin/awk -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 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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-nix0.14-0.14.1-13.fc39.aarch64/usr/share/cargo/registry/nix-0.14.1 warning: no (git) VCS found for `/builddir/build/BUILD/nix-0.14.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64/usr/share/cargo/registry/nix-0.14.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64/usr/share/cargo/registry/nix-0.14.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j224 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-nix0.14-devel-0.14.1-13.fc39.noarch warning: File listed twice: /usr/share/cargo/registry/nix-0.14.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/nix-0.14.1/CONTRIBUTING.md warning: File listed twice: /usr/share/cargo/registry/nix-0.14.1/CONVENTIONS.md warning: File listed twice: /usr/share/cargo/registry/nix-0.14.1/LICENSE warning: File listed twice: /usr/share/cargo/registry/nix-0.14.1/README.md Provides: crate(nix) = 0.14.1 rust-nix0.14-devel = 0.14.1-13.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0~) (crate(cfg-if/default) >= 0.1.0 with crate(cfg-if/default) < 0.2.0~) (crate(libc/default) >= 0.2.57 with crate(libc/default) < 0.3.0~) (crate(void/default) >= 1.0.2 with crate(void/default) < 2.0.0~) cargo Processing files: rust-nix0.14+default-devel-0.14.1-13.fc39.noarch Provides: crate(nix/default) = 0.14.1 rust-nix0.14+default-devel = 0.14.1-13.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(nix) = 0.14.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-nix0.14-0.14.1-13.fc39.aarch64 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-13.fc39.src.rpm Wrote: /builddir/build/RPMS/rust-nix0.14+default-devel-0.14.1-13.fc39.noarch.rpm Wrote: /builddir/build/RPMS/rust-nix0.14-devel-0.14.1-13.fc39.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/nix-0.14.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/nix-0.14.1/CONTRIBUTING.md File listed twice: /usr/share/cargo/registry/nix-0.14.1/CONVENTIONS.md File listed twice: /usr/share/cargo/registry/nix-0.14.1/LICENSE File listed twice: /usr/share/cargo/registry/nix-0.14.1/README.md Child return code was: 0