Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.spec'], chrootPath='/var/lib/mock/f45-build-51087-899/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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', '5c9b128526dc4b61913630e345f94789', '-D', '/var/lib/mock/f45-build-51087-899/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1753401600 Wrote: /builddir/build/SRPMS/rust-nix0.23-0.23.2-6.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.spec'], chrootPath='/var/lib/mock/f45-build-51087-899/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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', 'cc198e44f79d4427854afec8a93a24e1', '-D', '/var/lib/mock/f45-build-51087-899/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1753401600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Bak1xX Creating(rpmbuild.env): /builddir/build/BUILD/rust-nix0.23-0.23.2-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/rust-nix0.23-0.23.2-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/rust-nix0.23-0.23.2-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="rust-nix0.23" RPM_PACKAGE_VERSION="0.23.2" RPM_PACKAGE_RELEASE="6.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tQI2pK + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + rm -rf nix-0.23.2 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/nix-0.23.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd nix-0.23.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/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.htmmJr + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + cd nix-0.23.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-nix0.23-0.23.2-6.fc45.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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.spec'], chrootPath='/var/lib/mock/f45-build-51087-899/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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', '8b1ae2f79ff349e1a5e67726fe40d400', '-D', '/var/lib/mock/f45-build-51087-899/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1753401600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.6JibpJ + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + cd nix-0.23.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-nix0.23-0.23.2-6.fc45.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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.spec'], chrootPath='/var/lib/mock/f45-build-51087-899/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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', 'b5bd857c9fb045f0809433b6f68d6e2e', '-D', '/var/lib/mock/f45-build-51087-899/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x6aeacvp:/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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1753401600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.sc3UbZ + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + cd nix-0.23.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nR5mBo + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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-hardened-ld-errors -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.23.2 + /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 -j8 -Z avoid-dev-deps --profile rpm Compiling autocfg v1.5.1 Compiling libc v0.2.189 Compiling bitflags v1.3.2 Compiling cfg-if v1.0.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.189/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=0a907f3e181a1aa7 -C extra-filename=-62f2c53f9aaaf71f --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/libc-62f2c53f9aaaf71f -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "example_generated"))' -C metadata=9a84e1f16beebca3 -C extra-filename=-5cbc6ddb1979832f --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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-1.0.4/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=025d0b5ab6ae9875 -C extra-filename=-83b5c59f56b87be1 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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 autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.1/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d62aa0df116731c7 -C extra-filename=-9c307a73e7707302 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/libc-62f2c53f9aaaf71f/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.189/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 --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=9132d25d11f2c6c7 -C extra-filename=-720711c2d90ffa59 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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 freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_picolibc)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(musl_redir_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(libc_pauthtest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt","qnx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling memoffset v0.6.5 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/memoffset-0.6.5/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const"))' -C metadata=ca114b97814d5641 -C extra-filename=-d3166a0b41ffc4c1 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/memoffset-d3166a0b41ffc4c1 -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libautocfg-9c307a73e7707302.rlib --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/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/memoffset-d3166a0b41ffc4c1/build-script-build` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 /usr/share/cargo/registry/memoffset-0.6.5/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const"))' -C metadata=fd99050bcaf10e89 -C extra-filename=-1f7cc2980cd644f3 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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 tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros` Compiling nix v0.23.2 (/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2) Running `/usr/bin/rustc --crate-name nix --edition=2018 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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a4f407211fd2084b -C extra-filename=-81611c6be3eeea34 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rmeta --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rmeta --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rmeta --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.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: unexpected `cfg` condition value: `fushsia` --> src/lib.rs:52:11 | 52 | target_os = "fushsia", | ^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"fuchsia"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("fushsia"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"fushsia\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `wasi` --> src/env.rs:45:22 | 45 | target_env = "wasi", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/fcntl.rs:21:29 | 21 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/fcntl.rs:643:29 | 643 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/fcntl.rs:686:29 | 686 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `osx` --> src/net/if_.rs:99:19 | 99 | target_os = "osx"))] | ^^^^^^^^^^^^----- | | | help: there is a expected value with a similar name: `"psx"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("osx"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"osx\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:572:13 | 572 | Handler(extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:576:15 | 576 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:596:55 | 596 | SigHandler::Handler(f) => f as *const extern fn(libc::c_int) as usize, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:598:57 | 598 | SigHandler::SigAction(f) => f as *const extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void) as usize, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:644:36 | 644 | as *const extern fn(_, _, _)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:646:20 | 646 | as extern fn(_, _, _)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:656:36 | 656 | as *const extern fn(libc::c_int)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:658:20 | 658 | as extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:760:32 | 760 | as *const extern fn(libc::c_int)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:761:20 | 761 | as extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition value: `nacl` --> src/sys/socket/sockopt.rs:365:11 | 365 | target_os = "nacl"))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("nacl"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"nacl\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `newlibc` --> src/time.rs:233:40 | 233 | not(any(target_env = "uclibc", target_env = "newlibc")), | ^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"newlib"` | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("newlibc"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"newlibc\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `newlibc` --> src/time.rs:55:44 | 55 | not(any(target_env = "uclibc", target_env = "newlibc")), | ^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"newlib"` | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("newlibc"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"newlibc\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/dir.rs:65:17 | 65 | pub fn iter(&mut self) -> Iter { | ^^^^^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 65 | pub fn iter(&mut self) -> Iter<'_> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/aio.rs:362:50 | 360 | fn from_slice_unpinned(fd: RawFd, offs: off_t, buf: &'a [u8], | -- the lifetime is named here 361 | prio: libc::c_int, sigev_notify: SigevNotify, 362 | opcode: LioOpcode) -> AioCb | ^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 362 | opcode: LioOpcode) -> AioCb<'a> | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/aio.rs:424:53 | 422 | pub fn from_slice(fd: RawFd, offs: off_t, buf: &'a [u8], | -- the lifetime is named here 423 | prio: libc::c_int, sigev_notify: SigevNotify, 424 | opcode: LioOpcode) -> Pin> | ^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 424 | opcode: LioOpcode) -> Pin>> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/select.rs:100:16 | 100 | pub fn fds(&self, highest: Option) -> Fds { | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 100 | pub fn fds(&self, highest: Option) -> Fds<'_> { | ++++ warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:572:13 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 572 | Handler(extern fn(libc::c_int)), | ^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:576:15 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 576 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/socket/mod.rs:499:18 | 499 | pub fn cmsgs(&self) -> CmsgIterator { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 499 | pub fn cmsgs(&self) -> CmsgIterator<'_> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/socket/sockopt.rs:869:34 | 869 | fn new(val: &'a OsString) -> SetOsString { | -- ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 869 | fn new(val: &'a OsString) -> SetOsString<'a> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/termios.rs:190:36 | 190 | pub(crate) fn get_libc_termios(&self) -> Ref { | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 190 | pub(crate) fn get_libc_termios(&self) -> Ref<'_, libc::termios> { | +++ warning: `nix` (lib) generated 28 warnings (run `cargo fix --lib -p nix` to apply 17 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 49.68s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dX8KLj + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + '[' /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-nix0.23-0.23.2-build + mkdir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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-hardened-ld-errors -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.23.2 + 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.23.2 + REG_DIR=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2 + /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/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2 warning: no (git) VCS found for `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr/share/cargo/registry/nix-0.23.2/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 + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT Scanned 18 directories and 105 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/rust-nix0.23-0.23.2-build/BUILDROOT/usr Scanned 17 directories and 105 files, considered 105 files, read 6 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/rust-nix0.23-0.23.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TZGont + umask 022 + cd /builddir/build/BUILD/rust-nix0.23-0.23.2-build + CFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -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-hardened-ld-errors -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.23.2 + /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 test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast -- --skip sys::test_socket::test_af_alg_cipher Fresh cfg-if v1.0.4 Fresh libc v0.2.189 Compiling zerocopy v0.8.56 Fresh autocfg v1.5.1 Compiling getrandom v0.4.3 Compiling rustix v1.1.4 Compiling parking_lot_core v0.8.6 Compiling instant v0.1.13 Compiling bitflags v2.13.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.56/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="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=b8c58aead5a74b64 -C extra-filename=-0fdb979ec0e32245 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/zerocopy-0fdb979ec0e32245 -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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=2024 /usr/share/cargo/registry/getrandom-0.4.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--warn=clippy::useless_conversion' --warn=unused_lifetimes '--warn=clippy::unnecessary_cast' --warn=unexpected_cfgs '--warn=clippy::ptr_as_ptr' --warn=missing_docs '--warn=clippy::fn_to_numeric_cast_with_truncation' '--warn=clippy::fn_to_numeric_cast' '--warn=clippy::checked_conversions' '--warn=clippy::char_lit_as_u8' '--warn=clippy::cast_sign_loss' '--warn=clippy::cast_ptr_alignment' '--warn=clippy::cast_precision_loss' '--warn=clippy::cast_possible_wrap' '--warn=clippy::cast_possible_truncation' '--warn=clippy::cast_lossless' --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "windows_legacy", "unsupported", "extern_impl"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(target_os, values("motor"))' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std", "sys_rng", "wasm_js"))' -C metadata=23bc4aa472182020 -C extra-filename=-890eea2e4b3b5525 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/getrandom-890eea2e4b3b5525 -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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=2021 /usr/share/cargo/registry/rustix-1.1.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(sanitize_memory)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=35d52cd0aeb67362 -C extra-filename=-7f93eb0f4ad5b419 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/rustix-7f93eb0f4ad5b419 -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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=2018 /usr/share/cargo/registry/parking_lot_core-0.8.6/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "deadlock_detection", "nightly", "petgraph", "thread-id"))' -C metadata=3702c3bbacb35cd2 -C extra-filename=-9aa1068d872ac5b0 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/parking_lot_core-9aa1068d872ac5b0 -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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` Compiling getrandom v0.2.17 Compiling linux-raw-sys v0.12.1 Running `/usr/bin/rustc --crate-name instant --edition=2018 /usr/share/cargo/registry/instant-0.1.13/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("inaccurate", "now"))' -C metadata=1d4631c8896de436 -C extra-filename=-7943076cc94699c6 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rmeta --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 getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.17/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=6016bab31b12e92d -C extra-filename=-7f7c2d240302ff02 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rmeta --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rmeta --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 linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(target_arch, values("xtensa"))' --cfg 'feature="auxvec"' --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("auxvec", "bootparam", "btrfs", "core", "default", "elf", "elf_uapi", "errno", "general", "if_arp", "if_ether", "if_packet", "if_tun", "image", "io_uring", "ioctl", "landlock", "loop_device", "mempolicy", "net", "netlink", "no_std", "prctl", "ptrace", "rustc-dep-of-std", "std", "system", "vm_sockets", "xdp"))' -C metadata=a0acabb0043dfa02 -C extra-filename=-39d4abc6fcfb13f4 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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=2021 /usr/share/cargo/registry/bitflags-2.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "example_generated", "serde", "serde_core", "std"))' -C metadata=530805f395095e08 -C extra-filename=-c05b749ca48ce517 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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` Compiling smallvec v1.16.1 Running `/usr/bin/rustc --crate-name smallvec --edition=2018 /usr/share/cargo/registry/smallvec-1.16.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bincode", "const_generics", "const_new", "drain_filter", "drain_keep_rest", "impl_bincode", "malloc_size_of", "may_dangle", "serde", "specialization", "union", "unty", "write"))' -C metadata=b97486398ad8d058 -C extra-filename=-cad3cda9caf81261 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/getrandom-890eea2e4b3b5525/build-script-build` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/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="alloc"' --cfg 'feature="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=9ebd79f405fcf164 -C extra-filename=-9efa6a915ce88568 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern getrandom=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libgetrandom-7f7c2d240302ff02.rmeta --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` Compiling scopeguard v1.2.0 Running `/usr/bin/rustc --crate-name scopeguard --edition=2015 /usr/share/cargo/registry/scopeguard-1.2.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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=2a26070e3a1a8b6d -C extra-filename=-131113835adedd71 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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 getrandom --edition=2024 /usr/share/cargo/registry/getrandom-0.4.3/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 '--warn=clippy::useless_conversion' --warn=unused_lifetimes '--warn=clippy::unnecessary_cast' --warn=unexpected_cfgs '--warn=clippy::ptr_as_ptr' --warn=missing_docs '--warn=clippy::fn_to_numeric_cast_with_truncation' '--warn=clippy::fn_to_numeric_cast' '--warn=clippy::checked_conversions' '--warn=clippy::char_lit_as_u8' '--warn=clippy::cast_sign_loss' '--warn=clippy::cast_ptr_alignment' '--warn=clippy::cast_precision_loss' '--warn=clippy::cast_possible_wrap' '--warn=clippy::cast_possible_truncation' '--warn=clippy::cast_lossless' --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "windows_legacy", "unsupported", "extern_impl"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(target_os, values("motor"))' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std", "sys_rng", "wasm_js"))' -C metadata=cf9e147186964a3c -C extra-filename=-3629b4591385ce7d --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rmeta --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rmeta --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` Fresh memoffset v0.6.5 Compiling once_cell v1.21.4 Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.4/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="alloc"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=f106f7c0760ac072 -C extra-filename=-ef434ba4a1c49fbc --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/parking_lot_core-9aa1068d872ac5b0/build-script-build` Compiling fastrand v2.5.0 Fresh bitflags v1.3.2 Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.5.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 codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=8c41aadc910a1db0 -C extra-filename=-131065ddbe86a944 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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` Compiling caps v0.5.6 Running `/usr/bin/rustc --crate-name caps --edition=2018 /usr/share/cargo/registry/caps-0.5.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde", "serde_support"))' -C metadata=f828ce519fadfd58 -C extra-filename=-94f24ab14c86a1b0 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rmeta --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` Compiling lock_api v0.4.14 Running `/usr/bin/rustc --crate-name lock_api --edition=2021 /usr/share/cargo/registry/lock_api-0.4.14/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="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=9e0a2a9ea58e2307 -C extra-filename=-bd2b8821630b08f4 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern scopeguard=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libscopeguard-131113835adedd71.rmeta --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` Compiling assert-impl v0.1.3 Running `/usr/bin/rustc --crate-name assert_impl --edition=2015 /usr/share/cargo/registry/assert-impl-0.1.3/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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f2d71a92a3969a0b -C extra-filename=-0743a9d2e160c37c --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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` Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("spin", "spin_no_std"))' -C metadata=54ac20694f8788f3 -C extra-filename=-d02a0c3e68b14129 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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` Compiling semver v1.0.28 Running `/usr/bin/rustc --crate-name semver --edition=2021 /usr/share/cargo/registry/semver-1.0.28/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=6426f2e5908f0c3e -C extra-filename=-c87ea915b4664e88 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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` warning: unexpected `cfg` condition value: `fushsia` --> src/lib.rs:52:11 | 52 | target_os = "fushsia", | ^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"fuchsia"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("fushsia"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"fushsia\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `wasi` --> src/env.rs:45:22 | 45 | target_env = "wasi", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/fcntl.rs:21:29 | 21 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/fcntl.rs:643:29 | 643 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> src/fcntl.rs:686:29 | 686 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `osx` --> src/net/if_.rs:99:19 | 99 | target_os = "osx"))] | ^^^^^^^^^^^^----- | | | help: there is a expected value with a similar name: `"psx"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("osx"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"osx\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:572:13 | 572 | Handler(extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:576:15 | 576 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:596:55 | 596 | SigHandler::Handler(f) => f as *const extern fn(libc::c_int) as usize, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:598:57 | 598 | SigHandler::SigAction(f) => f as *const extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void) as usize, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:644:36 | 644 | as *const extern fn(_, _, _)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:646:20 | 646 | as extern fn(_, _, _)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:656:36 | 656 | as *const extern fn(libc::c_int)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:658:20 | 658 | as extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:760:32 | 760 | as *const extern fn(libc::c_int)) | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:761:20 | 761 | as extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition value: `nacl` --> src/sys/socket/sockopt.rs:365:11 | 365 | target_os = "nacl"))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("nacl"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"nacl\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `newlibc` --> src/time.rs:233:40 | 233 | not(any(target_env = "uclibc", target_env = "newlibc")), | ^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"newlib"` | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("newlibc"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"newlibc\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `newlibc` --> src/time.rs:55:44 | 55 | not(any(target_env = "uclibc", target_env = "newlibc")), | ^^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"newlib"` | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("newlibc"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"newlibc\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: hiding a lifetime that's elided elsewhere is confusing --> src/dir.rs:65:17 | 65 | pub fn iter(&mut self) -> Iter { | ^^^^^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 65 | pub fn iter(&mut self) -> Iter<'_> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/aio.rs:362:50 | 360 | fn from_slice_unpinned(fd: RawFd, offs: off_t, buf: &'a [u8], | -- the lifetime is named here 361 | prio: libc::c_int, sigev_notify: SigevNotify, 362 | opcode: LioOpcode) -> AioCb | ^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 362 | opcode: LioOpcode) -> AioCb<'a> | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/aio.rs:424:53 | 422 | pub fn from_slice(fd: RawFd, offs: off_t, buf: &'a [u8], | -- the lifetime is named here 423 | prio: libc::c_int, sigev_notify: SigevNotify, 424 | opcode: LioOpcode) -> Pin> | ^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 424 | opcode: LioOpcode) -> Pin>> | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/select.rs:100:16 | 100 | pub fn fds(&self, highest: Option) -> Fds { | ^^^^^ the lifetime is elided here ^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 100 | pub fn fds(&self, highest: Option) -> Fds<'_> { | ++++ warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:572:13 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 572 | Handler(extern fn(libc::c_int)), | ^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:576:15 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 576 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/socket/mod.rs:499:18 | 499 | pub fn cmsgs(&self) -> CmsgIterator { | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 499 | pub fn cmsgs(&self) -> CmsgIterator<'_> { | ++++ warning: hiding a lifetime that's named elsewhere is confusing --> src/sys/socket/sockopt.rs:869:34 | 869 | fn new(val: &'a OsString) -> SetOsString { | -- ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is named here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 869 | fn new(val: &'a OsString) -> SetOsString<'a> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/sys/termios.rs:190:36 | 190 | pub(crate) fn get_libc_termios(&self) -> Ref { | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 190 | pub(crate) fn get_libc_termios(&self) -> Ref<'_, libc::termios> { | +++ warning: `nix` (lib) generated 28 warnings (run `cargo fix --lib -p nix` to apply 17 suggestions) Running `/usr/bin/rustc --crate-name parking_lot_core --edition=2018 /usr/share/cargo/registry/parking_lot_core-0.8.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "deadlock_detection", "nightly", "petgraph", "thread-id"))' -C metadata=7af5fab30ebb607b -C extra-filename=-ff0091455bcf4f4f --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rmeta --extern instant=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libinstant-7943076cc94699c6.rmeta --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rmeta --extern smallvec=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsmallvec-cad3cda9caf81261.rmeta --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` Compiling parking_lot v0.11.2 Running `/usr/bin/rustc --crate-name parking_lot --edition=2018 /usr/share/cargo/registry/parking_lot-0.11.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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "deadlock_detection", "default", "nightly", "owning_ref", "send_guard", "serde", "stdweb", "wasm-bindgen"))' -C metadata=019bbd3b3e0c5aec -C extra-filename=-3f43a9d7b877992e --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern instant=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libinstant-7943076cc94699c6.rmeta --extern lock_api=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblock_api-bd2b8821630b08f4.rmeta --extern parking_lot_core=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot_core-ff0091455bcf4f4f.rmeta --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/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/zerocopy-0fdb979ec0e32245/build-script-build` Running `/usr/bin/rustc --crate-name zerocopy --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.56/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="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=2665d607b95309ef -C extra-filename=-66cfe93923dbe900 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/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 --check-cfg 'cfg(no_zerocopy_simd_x86_avx12_1_89_0)' --check-cfg 'cfg(rust, values("1.89.0"))' --check-cfg 'cfg(no_zerocopy_core_error_1_81_0)' --check-cfg 'cfg(rust, values("1.81.0"))' --check-cfg 'cfg(no_zerocopy_diagnostic_on_unimplemented_1_78_0)' --check-cfg 'cfg(rust, values("1.78.0"))' --check-cfg 'cfg(no_zerocopy_generic_bounds_in_const_fn_1_61_0)' --check-cfg 'cfg(rust, values("1.61.0"))' --check-cfg 'cfg(no_zerocopy_target_has_atomics_1_60_0)' --check-cfg 'cfg(rust, values("1.60.0"))' --check-cfg 'cfg(no_zerocopy_aarch64_simd_1_59_0)' --check-cfg 'cfg(rust, values("1.59.0"))' --check-cfg 'cfg(no_zerocopy_aarch64_simd_be_1_87_0)' --check-cfg 'cfg(rust, values("1.87.0"))' --check-cfg 'cfg(no_zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)' --check-cfg 'cfg(rust, values("1.57.0"))' --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(kani)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_DEV_MODE)' --check-cfg 'cfg(coverage_nightly)' --check-cfg 'cfg(zerocopy_inline_always)' --check-cfg 'cfg(zerocopy_unstable_ptr)' --check-cfg 'cfg(zerocopy_unstable_linux)' --check-cfg 'cfg(no_fp_fmt_parse)'` Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/build/rustix-7f93eb0f4ad5b419/build-script-build` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-1.1.4/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 --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(sanitize_memory)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=343e9714e9030d56 -C extra-filename=-6fa57fd55f6c6484 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-c05b749ca48ce517.rmeta --extern linux_raw_sys=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblinux_raw_sys-39d4abc6fcfb13f4.rmeta --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 static_assertions --cfg lower_upper_exp_for_non_zero --cfg rustc_diagnostics --cfg linux_raw_dep --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling tempfile v3.27.0 Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.27.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 codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="getrandom"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "getrandom", "nightly"))' -C metadata=c6c89384327babca -C extra-filename=-8f0dec85152d3c39 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern fastrand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libfastrand-131065ddbe86a944.rmeta --extern getrandom=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libgetrandom-3629b4591385ce7d.rmeta --extern once_cell=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libonce_cell-ef434ba4a1c49fbc.rmeta --extern rustix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librustix-6fa57fd55f6c6484.rmeta --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` Compiling ppv-lite86 v0.2.21 Running `/usr/bin/rustc --crate-name ppv_lite86 --edition=2021 /usr/share/cargo/registry/ppv-lite86-0.2.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=105640f57ffaf3f9 -C extra-filename=-1ec1c75cbf527c09 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern zerocopy=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libzerocopy-66cfe93923dbe900.rmeta --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` Compiling rand_chacha v0.3.1 Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "serde1", "simd", "std"))' -C metadata=6443c30de0e2418c -C extra-filename=-dc645ebfbbb72f83 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern ppv_lite86=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libppv_lite86-1ec1c75cbf527c09.rmeta --extern rand_core=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand_core-9efa6a915ce88568.rmeta --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` Compiling rand v0.8.7 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.8.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 codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "rand_chacha", "serde", "serde1", "small_rng", "std", "std_rng"))' -C metadata=0dd5275962539504 -C extra-filename=-025eccf335dd0b92 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rmeta --extern rand_chacha=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand_chacha-dc645ebfbbb72f83.rmeta --extern rand_core=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand_core-9efa6a915ce88568.rmeta --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` Compiling nix v0.23.2 (/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2) Running `/usr/bin/rustc --crate-name test_ptymaster_drop --edition=2018 test/test_ptymaster_drop.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=48b116c950dba713 -C extra-filename=-024a911f896f93ed --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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 test_clearenv --edition=2018 test/test_clearenv.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=094829ec6dbdc727 -C extra-filename=-a48584800f97caa0 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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 test_aio_drop --edition=2018 test/sys/test_aio_drop.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=976dead7bd427745 -C extra-filename=-94480abe92892866 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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 nix --edition=2018 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 -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d10189afb0b97538 -C extra-filename=-4d2e28d66276d16c --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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 test --edition=2018 test/test.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f21ce39a0359af10 -C extra-filename=-22288274e843cd3d --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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 test_lio_listio_resubmit --edition=2018 test/sys/test_lio_listio_resubmit.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=246e1feeca5e1c9a -C extra-filename=-1780269335f05523 --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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 test_mount --edition=2018 test/test_mount.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=67e044e29714feb5 -C extra-filename=-fa5f1eac07ea904d --out-dir /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -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: unexpected `cfg` condition name: `qemu` --> test/sys/test_mman.rs:58:45 | 58 | #[cfg_attr(all(target_pointer_width = "32", qemu), ignore)] | ^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:292:20 | 292 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:346:20 | 346 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:584:12 | 584 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:639:12 | 639 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:708:12 | 708 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:917:12 | 917 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1065:12 | 1065 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1077:12 | 1077 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1267:5 | 1267 | qemu, | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1469:5 | 1469 | qemu, | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `graviton` --> test/sys/test_socket.rs:1551:12 | 1551 | #[cfg_attr(graviton, ignore = "Not supported by the CI environment")] | ^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(graviton)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(graviton)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1597:12 | 1597 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1648:12 | 1648 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1705:12 | 1705 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1798:16 | 1798 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_socket.rs:1841:16 | 1841 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/sys/test_uio.rs:209:12 | 209 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/test_fcntl.rs:238:16 | 238 | #[cfg_attr(qemu, ignore)] | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `fushsia` --> test/test.rs:20:11 | 20 | target_os = "fushsia", | ^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"fuchsia"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("fushsia"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"fushsia\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/test_mq.rs:64:9 | 64 | qemu, | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `qemu` --> test/test_mq.rs:105:9 | 105 | qemu, | ^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(qemu)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(qemu)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `extern` declarations without an explicit ABI are deprecated --> test/sys/test_signal.rs:81:1 | 81 | extern fn test_sigaction_handler(signal: libc::c_int) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> test/sys/test_signal.rs:87:1 | 87 | extern fn test_sigaction_action(_: libc::c_int, _: *mut libc::siginfo_t, _: *mut libc::c_void) {} | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> test/sys/test_aio.rs:400:1 | 400 | extern fn sigfunc(_: c_int) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition value: `nacl` --> test/sys/test_sockopt.rs:202:15 | 202 | target_os = "nacl"))] { | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("nacl"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"nacl\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `x32` --> test/test_fcntl.rs:12:9 | 12 | target_arch = "x32", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arch, values("x32"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"x32\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `x32` --> test/test_fcntl.rs:77:9 | 77 | target_arch = "x32", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arch, values("x32"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"x32\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `x32` --> test/test_fcntl.rs:119:9 | 119 | target_arch = "x32", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arch, values("x32"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"x32\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `x32` --> test/test_fcntl.rs:165:9 | 165 | target_arch = "x32", | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arch, values("x32"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"x32\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> test/test_fcntl.rs:459:35 | 459 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `wasi` --> test/test_fcntl.rs:491:35 | 491 | any(target_os = "wasi", target_env = "wasi"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_env` are: ``, `gnu`, `macabi`, `mlibc`, `msvc`, `musl`, `newlib`, `nto70`, `nto71`, `nto71_iosock`, `nto80`, `ohos`, `p1`, `p2`, `p3`, `relibc`, `sgx`, `sim`, `uclibc`, and `v5` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_env, values("wasi"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_env, values(\"wasi\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `extern` declarations without an explicit ABI are deprecated --> test/test_unistd.rs:724:5 | 724 | pub extern fn alarm_signal_handler(raw_signal: libc::c_int) { | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: use of deprecated constant `libc::SOCK_PACKET`: AF_PACKET must be used instead --> test/sys/test_sockopt.rs:145:63 | 145 | let sockfd = unsafe { libc::socket(libc::AF_PACKET, libc::SOCK_PACKET, 0) }; | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: unexpected `cfg` condition value: `fushsia` --> src/lib.rs:52:11 | 52 | target_os = "fushsia", | ^^^^^^^^^^^^--------- | | | help: there is a expected value with a similar name: `"fuchsia"` | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("fushsia"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"fushsia\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration note: the lint level is defined here --> src/lib.rs:8:24 | 8 | #![cfg_attr(test, deny(warnings))] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:572:13 | 572 | Handler(extern fn(libc::c_int)), | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` implied by `#[warn(warnings)]` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:1157:13 | 1157 | extern fn test_sigaction_handler(_: libc::c_int) {} | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/signal.rs:1158:13 | 1158 | extern fn test_sigaction_action(_: libc::c_int, | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: unexpected `cfg` condition value: `nacl` --> src/sys/socket/sockopt.rs:922:15 | 922 | target_os = "nacl"))] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `qurt`, `redox`, `rtems`, `solaris`, and `solid_asp3` and 14 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("nacl"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"nacl\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: call to `.deref()` on a reference in this situation does nothing --> test/sys/test_aio.rs:219:36 | 219 | assert_eq!(EXPECT, rbuf.deref().deref()); | ^^^^^^^^ help: remove this redundant call | = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: call to `.deref()` on a reference in this situation does nothing --> test/sys/test_aio.rs:483:28 | 483 | assert_eq!(rbuf.deref().deref(), b"3456"); | ^^^^^^^^ help: remove this redundant call | = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed warning: call to `.deref()` on a reference in this situation does nothing --> test/sys/test_aio.rs:532:28 | 532 | assert_eq!(rbuf.deref().deref(), b"3456"); | ^^^^^^^^ help: remove this redundant call | = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed warning: call to `.deref()` on a reference in this situation does nothing --> test/sys/test_aio.rs:591:28 | 591 | assert_eq!(rbuf.deref().deref(), b"3456"); | ^^^^^^^^ help: remove this redundant call | = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed warning: implicit autoref creates a reference to the dereference of a raw pointer --> test/sys/test_socket.rs:118:26 | 118 | assert_eq!(unsafe { &(*addr.as_ptr()).sun_path[..8] }, expect); | ^^-------------^^^^^^^^^^^^^^^ | | | this raw pointer has type `*const sockaddr_un` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[u8; 108]` --> test/sys/test_socket.rs:118:26 | 118 | assert_eq!(unsafe { &(*addr.as_ptr()).sun_path[..8] }, expect); | ^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 118 | assert_eq!(unsafe { &(&(*addr.as_ptr()).sun_path)[..8] }, expect); | ++ + warning: hiding a lifetime that's elided elsewhere is confusing --> src/dir.rs:65:17 | 65 | pub fn iter(&mut self) -> Iter { | ^^^^^^^^^ ^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` help: use `'_` for type paths | 65 | pub fn iter(&mut self) -> Iter<'_> { | ++++ warning: missing documentation for a function --> src/features.rs:92:5 | 92 | pub fn test_parsing_kernel_version() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(missing_docs)]` implied by `#[warn(warnings)]` warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/sys/signal.rs:572:13 | 565 | #[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)] | --------- in this derive macro expansion ... 572 | Handler(extern fn(libc::c_int)), | ^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` implied by `#[warn(warnings)]` warning: implicit autoref creates a reference to the dereference of a raw pointer --> src/sys/socket/addr.rs:1453:35 | 1453 | let sun_path1 = unsafe { &(*addr.as_ptr()).sun_path[..addr.path_len()] }; | ^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | this raw pointer has type `*const sockaddr_un` | = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements note: autoref is being applied to this expression, resulting in: `&[u8; 108]` --> src/sys/socket/addr.rs:1453:35 | 1453 | let sun_path1 = unsafe { &(*addr.as_ptr()).sun_path[..addr.path_len()] }; | ^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(dangerous_implicit_autorefs)]` on by default help: try using a raw pointer method instead; or if this reference is intentional, make it explicit | 1453 | let sun_path1 = unsafe { &(&(*addr.as_ptr()).sun_path)[..addr.path_len()] }; | ++ + warning: `nix` (lib test) generated 33 warnings (24 duplicates) (run `cargo fix --lib -p nix --tests` to apply 4 suggestions) warning: `nix` (test "test") generated 39 warnings (run `cargo fix --test "test" -p nix` to apply 8 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2m 19s Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/nix-4d2e28d66276d16c --skip 'sys::test_socket::test_af_alg_cipher'` running 48 tests test sys::select::tests::fdset_insert ... ok test features::os::test_parsing_kernel_version ... ok test sys::aio::t::liocb_is_unpin ... ok test sys::select::tests::fdset_clear ... ok test ifaddrs::tests::test_getifaddrs ... ok test sys::select::tests::fdset_remove ... ok test sys::select::tests::test_select ... ok test sys::select::tests::test_select_nfds ... ok test sys::select::tests::test_select_nfds2 ... ok test sys::signal::tests::test_clear ... ok test sys::signal::tests::test_contains ... ok test sys::signal::tests::test_extend ... ok test sys::signal::tests::test_from_str_invalid_value ... ok test sys::signal::tests::test_from_str_round_trips ... ok test sys::signal::tests::test_sigaction ... ok test sys::signal::tests::test_sigwait ... ok test sys::signal::tests::test_thread_signal_block ... ok test sys::signal::tests::test_thread_signal_set_mask ... ok test sys::signal::tests::test_thread_signal_swap ... ok test sys::signalfd::tests::create_signalfd ... ok test sys::signalfd::tests::create_signalfd_with_opts ... ok test sys::signalfd::tests::read_empty_signalfd ... ok test sys::socket::addr::tests::test_abstract_sun_path ... ok test sys::socket::sockopt::test::can_get_listen_on_tcp_socket ... ok test sys::socket::sockopt::test::can_get_peercred_on_unix_socket ... ok test sys::socket::sockopt::test::is_socket_type_dgram ... ok test sys::socket::sockopt::test::is_socket_type_unix ... ok test sys::socket::tests::can_use_cmsg_space ... ok test sys::signal::tests::test_thread_signal_unblock ... ok test sys::select::tests::fdset_fds ... ok test sys::statfs::test::fstatfs_call ... ok test sys::statfs::test::fstatfs_call_strict ... ignored test sys::statfs::test::statfs_call ... ok test sys::statfs::test::statfs_call_strict ... ignored test sys::statvfs::test::fstatvfs_call ... ok test sys::statvfs::test::statvfs_call ... ok test sys::time::test::test_timespec ... ok test sys::time::test::test_timespec_fmt ... ok test sys::time::test::test_timespec_from ... ok test sys::time::test::test_timespec_neg ... ok test sys::time::test::test_timespec_ord ... ok test sys::time::test::test_timeval ... ok test sys::time::test::test_timeval_fmt ... ok test sys::time::test::test_timeval_neg ... ok test sys::time::test::test_timeval_ord ... ok test sys::utsname::test::test_uname_linux ... ok test sys::termios::test::try_from ... ok test sys::select::tests::fdset_highest ... ok test result: ok. 46 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.05s Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/test-22288274e843cd3d --skip 'sys::test_socket::test_af_alg_cipher'` running 255 tests test sys::test_aio::test_aio_suspend ... ignored test sys::test_aio::test_liocb_listio_read_immutable - should panic ... ok test sys::test_aio::test_accessors ... ok test sys::test_aio::test_liocb_listio_wait ... ok test sys::test_aio::test_aio_cancel_all ... ok test sys::test_aio::test_cancel ... ok test sys::test_aio::test_read_immutable_buffer - should panic ... ok test sys::test_aio::test_liocb_listio_nowait ... ok test sys::test_aio::test_liocb_listio_signal ... ok test sys::test_epoll::test_epoll_ctl ... ok test sys::test_epoll::test_epoll_errno ... ok test sys::test_inotify::test_inotify ... ok test sys::test_inotify::test_inotify_multi_events ... ok test sys::test_ioctl::linux::test_op_none ... ok test sys::test_ioctl::linux::test_op_read ... ok test sys::test_ioctl::linux::test_op_read_64 ... ok test sys::test_ioctl::linux::test_op_read_write ... ok test sys::test_ioctl::linux::test_op_read_write_64 ... ok test sys::test_ioctl::linux::test_op_write ... ok test sys::test_ioctl::linux::test_op_write_64 ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_none ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_none_bad ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_read ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_read_bad ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_readwrite ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_write_buf ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_write_int ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_write_int_bad ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_write_ptr ... ok test sys::test_ioctl::linux_ioctls::test_ioctl_write_ptr_bad ... ok test sys::test_mman::test_mmap_anonymous ... ok test sys::test_mman::test_mremap_grow ... ok test sys::test_mman::test_mremap_shrink ... ok test sys::test_pthread::test_pthread_kill_none ... ok test sys::test_pthread::test_pthread_self ... ok test sys::test_ptrace::test_ptrace ... ok test_ptrace requires capability CAP_SYS_PTRACE. Skipping test. test_ptrace_cont requires capability CAP_SYS_PTRACE. Skipping test. test sys::test_ptrace::test_ptrace_cont ... ok test sys::test_ptrace::test_ptrace_getevent ... ok test sys::test_ptrace::test_ptrace_getsiginfo ... ok test_ptrace_getevent requires capability CAP_SYS_PTRACE. Skipping test. test_ptrace_getsiginfo requires capability CAP_SYS_PTRACE. Skipping test. test_ptrace_interrupt requires capability CAP_SYS_PTRACE. Skipping test. test_ptrace_setoptions requires capability CAP_SYS_PTRACE. Skipping test. test sys::test_ptrace::test_ptrace_interrupt ... ok test sys::test_ptrace::test_ptrace_setoptions ... ok test sys::test_ptrace::test_ptrace_setsiginfo ... ok test sys::test_select::test_fdset_negative_fd::contains - should panic ... ok test_ptrace_setsiginfo requires capability CAP_SYS_PTRACE. Skipping test. test sys::test_select::test_fdset_negative_fd::insert - should panic ... ok test sys::test_aio::test_read ... ok test sys::test_select::test_fdset_negative_fd::remove - should panic ... ok test sys::test_select::test_fdset_too_large_fd::contains - should panic ... ok test sys::test_select::test_fdset_too_large_fd::insert - should panic ... ok test sys::test_aio::test_read_into_pointer ... ok test sys::test_aio::test_read_into_mut_slice ... ok test sys::test_aio::test_write ... ok test sys::test_aio::test_write_from_pointer ... ok test sys::test_select::test_pselect_nfds2 ... ok test sys::test_aio::test_fsync ... ok test sys::test_select::test_fdset_too_large_fd::remove - should panic ... ok test sys::test_signal::test_kill_none ... ok test sys::test_signal::test_killpg_none ... ok test sys::test_signal::test_sigprocmask_noop ... ok test sys::test_aio::test_write_sigev_signal ... ok test sys::test_socket::linux_errqueue::test_recverr_v4 ... ok test sys::test_select::test_pselect ... ok test sys::test_socket::linux_errqueue::test_recverr_v6 ... ok test sys::test_signal::test_old_sigaction_flags ... ok test sys::test_socket::recvfrom::udp_offload::gro ... ok test sys::test_socket::recvfrom::udp ... ok test sys::test_socket::recvfrom::udp_offload::gso ... ok test sys::test_signal::test_signal ... ok test sys::test_signal::test_signal_sigaction ... ok test sys::test_signalfd::test_signalfd ... ok test sys::test_socket::recvfrom::stream ... ok test sys::test_socket::recvfrom::udp_recvmmsg_dontwait_short_read ... ok test sys::test_socket::test_abstract_sun_path_too_long ... ok test sys::test_socket::test_abstract_uds_addr ... ok test sys::test_socket::test_addr_equality_abstract ... ok test sys::test_socket::recvfrom::udp_sendmmsg ... ok test sys::test_socket::test_addr_equality_path ... ok test sys::test_socket::recvfrom::udp_recvmmsg ... ok test sys::test_signal::test_sigprocmask ... ok test sys::test_socket::test_inetv6_addr_to_sock_addr ... ok test sys::test_socket::test_af_alg_aead ... ok test sys::test_socket::test_inetv4_addr_roundtrip_sockaddr_storage_to_addr ... ok test sys::test_socket::test_inetv4_addr_to_sock_addr ... ok test sys::test_socket::test_inetv6_addr_roundtrip_sockaddr_storage_to_addr ... ok test sys::test_socket::test_recv_ipv6pktinfo ... ok test sys::test_socket::test_recv_ipv4pktinfo ... ok test sys::test_socket::test_recvmsg_timestampns ... ok test sys::test_socket::test_recvmmsg_timestampns ... ok test sys::test_socket::test_recvmsg_ebadf ... ok test sys::test_socket::test_recvmsg_rxq_ovfl ... FAILED test sys::test_socket::test_path_to_sock_addr ... ok test sys::test_socket::test_scm_credentials ... ok test sys::test_socket::test_getsockname ... ok test sys::test_socket::test_scm_credentials_and_rights ... ok test sys::test_socket::test_sendmsg_ipv4packetinfo ... ok test sys::test_socket::test_scm_rights ... ok test sys::test_socket::test_sendmsg_empty_cmsgs ... ok test sys::test_socket::test_scm_rights_single_cmsg_multiple_fds ... ok test sys::test_socket::test_sendmsg_ipv6packetinfo ... ok is_so_mark_functional requires capability CAP_NET_ADMIN. Skipping test. test_bindtodevice requires root privileges. Skipping test. test sys::test_socket::test_socketpair ... ok test sys::test_socket::test_too_large_cmsgspace ... ok test sys::test_socket::test_vsock ... FAILED test_so_type requires capability CAP_NET_RAW. Skipping test. test sys::test_socket::test_unixdomain ... ok test sys::test_sockopt::is_so_mark_functional ... ok test sys::test_sockopt::test_so_buf ... ok test sys::test_sockopt::test_so_tcp_keepalive ... ok test sys::test_sockopt::test_bindtodevice ... ok test sys::test_sockopt::test_so_type_unknown ... ok test sys::test_sockopt::test_so_tcp_maxseg ... ok test sys::test_sysinfo::sysinfo_works ... ok test sys::test_sockopt::test_so_type ... ok test sys::test_sockopt::test_ttl_opts ... ok test sys::test_termios::test_tcgetattr_ebadf ... ok test sys::test_termios::test_tcgetattr_enotty ... ok test sys::test_termios::test_local_flags ... ok test sys::test_termios::test_tcgetattr_pty ... ok test sys::test_timerfd::test_timerfd_unset ... ok test_process_vm_readv requires capability CAP_SYS_PTRACE. Skipping test. test sys::test_termios::test_output_flags ... ok test sys::test_uio::test_pread ... ok test sys::test_uio::test_process_vm_readv ... ok test sys::test_uio::test_pwrite ... ok test sys::test_uio::test_preadv ... ok test sys::test_uio::test_pwritev ... ok test sys::test_uio::test_readv ... ok test sys::test_wait::test_waitstatus_from_raw ... ok test sys::test_uio::test_writev ... ok test test_dir::ebadf ... ok test test_dir::read ... ok test test_dir::rewind ... ok test test_fcntl::linux_android::test_copy_file_range ... ok test test_fcntl::linux_android::test_fallocate ... ok test sys::test_wait::test_wait_exit ... ok test sys::test_wait::test_wait_signal ... ok test test_fcntl::linux_android::test_splice ... ok test test_fcntl::linux_android::test_tee ... ok test test_fcntl::linux_android::test_vmsplice ... ok test test_fcntl::test_openat ... ok test test_fcntl::test_posix_fadvise::test_success ... ok test test_fcntl::test_posix_fallocate::errno ... ok test test_fcntl::test_posix_fallocate::success ... ok test sys::test_wait::test_waitstatus_pid ... ok test test_kmod::test_delete_module_not_loaded ... ok test test_fcntl::test_readlink ... ok test_delete_module_not_loaded requires capability CAP_SYS_MODULE. Skipping test. test_finit_and_delete_module requires capability CAP_SYS_MODULE. Skipping test. test_finit_and_delete_module_with_params requires capability CAP_SYS_MODULE. Skipping test. test test_kmod::test_finit_and_delete_module ... ok test test_kmod::test_finit_and_delete_module_with_params ... ok test test_kmod::test_finit_module_invalid ... ok test test_fcntl::test_renameat ... ok test_finit_module_invalid requires capability CAP_SYS_MODULE. Skipping test. test_finit_module_twice_and_delete_module requires capability CAP_SYS_MODULE. Skipping test. test_init_and_delete_module requires capability CAP_SYS_MODULE. Skipping test. test_init_and_delete_module_with_params requires capability CAP_SYS_MODULE. Skipping test. test test_kmod::test_finit_module_twice_and_delete_module ... ok test test_kmod::test_init_and_delete_module ... ok test test_kmod::test_init_and_delete_module_with_params ... ok test test_mq::test_mq_getattr ... ok test test_mq::test_mq_set_nonblocking ... ok test test_mq::test_mq_send_and_receive ... ok test test_mq::test_mq_unlink ... ok test test_mq::test_mq_setattr ... ok test test_net::test_if_nametoindex ... ok test test_poll::test_pollfd_events ... ok test test_poll::test_pollfd_fd ... ok test test_fcntl::test_posix_fadvise::test_errno ... ok test test_fcntl::linux_android::test_ofd_write_lock ... ok test test_fcntl::linux_android::test_ofd_read_lock ... ok test test_pty::test_explicit_close ... ok test test_poll::test_ppoll ... ok test test_pty::test_forkpty ... ok test test_pty::test_open_ptty_pair ... ok test test_pty::test_ptsname_r_copy ... ok test test_pty::test_ptsname_copy ... ok test test_pty::test_openpty ... ok test test_pty::test_openpty_with_termios ... ok test test_pty::test_ptsname_equivalence ... ok test test_resource::test_resource_limits_nofile ... ok test test_pty::test_ptsname_unique ... ok test test_sendfile::test_sendfile64_linux ... ok test test_sched::test_sched_affinity ... ok test test_sendfile::test_sendfile_linux ... ok test test_stat::test_fchmodat ... ok test test_stat::test_fchmod ... ok test test_pty::test_write_ptty_pair ... ok test test_stat::test_fstatat ... ok test test_stat::test_lutimes ... ok test test_stat::test_futimens ... ok test test_stat::test_mkdirat_fail ... ok test test_pty::test_read_ptty_pair ... ok test test_stat::test_mkdirat_success_path ... ok test test_stat::test_stat_and_fstat ... ok test test_stat::test_stat_fstat_lstat ... ok test test_stat::test_utimensat ... ok test test_stat::test_utimes ... ok test test_time::test_clock_getcpuclockid ... ok test test_time::test_clock_getres ... ok test test_stat::test_mkdirat_success_mode ... ok test test_stat::test_mknod ... ok test test_time::test_clock_id_now ... ok test test_stat::test_mknodat ... ok test test_time::test_clock_id_pid_cpu_clock_id ... ok test test_time::test_clock_id_res ... ok test test_unistd::test_access_file_exists ... ok test_acct requires capability CAP_SYS_PACCT. Skipping test. test test_unistd::test_access_not_existing ... ok test test_unistd::test_acct ... ok test test_unistd::test_chown ... ok test test_unistd::linux_android::test_gettid ... ok test test_time::test_clock_gettime ... ok test test_unistd::test_execve::test_cstr_ref ... ok test test_unistd::test_execvpe::test_cstr_ref ... ok test test_unistd::test_fchdir ... ok test test_unistd::test_execve::test_cstring ... ok test test_unistd::test_fchownat ... ok test test_unistd::test_execvpe::test_cstring ... ok test test_unistd::test_fchown ... ok test test_unistd::test_fexecve::test_cstr_ref ... ok test test_unistd::test_fpathconf_limited ... ok test test_unistd::test_ftruncate ... ok test test_unistd::test_getcwd ... ok test test_unistd::test_getpid ... ok test test_unistd::test_getresgid ... ok test test_unistd::test_getresuid ... ok test test_unistd::test_getsid ... ok test test_unistd::test_initgroups ... ok test_initgroups requires root privileges. Skipping test. test test_unistd::test_linkat_file ... ok test test_unistd::test_linkat_follow_symlink ... ok test test_unistd::test_linkat_newdirfd_none ... ok test test_unistd::test_linkat_no_follow_symlink ... ok test test_unistd::test_fexecve::test_cstring ... ok test test_unistd::test_fork_and_waitpid ... ok test test_unistd::test_lseek ... ok test test_unistd::test_lseek64 ... ok test test_unistd::test_linkat_olddirfd_none ... ok test test_unistd::test_mkfifo ... ok test test_unistd::test_mkfifo_directory ... ok test test_unistd::test_mkfifoat ... ok test test_unistd::test_mkfifoat_directory_none ... ok test test_unistd::test_mkfifoat_directory ... ok test test_unistd::test_mkfifoat_none ... ok test test_unistd::test_pathconf_limited ... ok test test_unistd::test_mkstemp_directory ... ok test test_unistd::test_mkstemp ... ok test test_unistd::test_pipe ... ok test test_unistd::test_pipe2 ... ok test_setfsuid requires capability CAP_SETUID. Skipping test. test_setgroups requires root privileges. Skipping test. test test_unistd::test_setfsuid ... ok test test_unistd::test_setgroups ... ok test test_unistd::test_symlinkat ... ok test test_unistd::test_sysconf_limited ... ok test test_unistd::test_ttyname ... ok test test_unistd::test_ttyname_invalid_fd ... ok test test_unistd::test_ttyname_not_pty ... ok test test_unistd::test_unlinkat_dir_noremovedir ... ok test test_unistd::test_truncate ... ok test test_poll::test_poll ... ok test test_unistd::test_unlinkat_dir_removedir ... ok test test_unistd::test_user_into_passwd ... ok test test_unistd::test_unlinkat_file ... ok test test_unistd::test_wait ... ok test sys::test_timerfd::test_timerfd_oneshot ... ok test test_unistd::test_alarm ... ok test test_unistd::test_canceling_alarm ... ok test sys::test_timerfd::test_timerfd_interval ... ok failures: ---- sys::test_socket::test_recvmsg_rxq_ovfl stdout ---- thread 'sys::test_socket::test_recvmsg_rxq_ovfl' (1056) panicked at test/sys/test_socket.rs:1779:5: assertion `left == right` failed left: 2 right: 1 ---- sys::test_socket::test_vsock stdout ---- thread '' (1070) panicked at test/sys/test_socket.rs:1586:9: assertion `left != right` failed left: Ok(()) right: Ok(()) thread 'sys::test_socket::test_vsock' (1069) panicked at test/sys/test_socket.rs:1592:16: called `Result::unwrap()` on an `Err` value: Any { .. } failures: sys::test_socket::test_recvmsg_rxq_ovfl sys::test_socket::test_vsock test result: FAILED. 252 passed; 2 failed; 1 ignored; 0 measured; 1 filtered out; finished in 3.04s error: test failed, to rerun pass `--test test` Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/test_aio_drop-94480abe92892866 --skip 'sys::test_socket::test_af_alg_cipher'` running 1 test test test_drop - should panic ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/test_clearenv-a48584800f97caa0 --skip 'sys::test_socket::test_af_alg_cipher'` running 1 test test clearenv ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/test_lio_listio_resubmit-1780269335f05523 --skip 'sys::test_socket::test_af_alg_cipher'` 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/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/test_mount-fa5f1eac07ea904d --skip 'sys::test_socket::test_af_alg_cipher'` test test_mount::test_mount_tmpfs_without_flags_allows_rwx ... Buggy Linux kernel detected. Skipping test. Running `/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/test_ptymaster_drop-024a911f896f93ed --skip 'sys::test_socket::test_af_alg_cipher'` running 1 test test t::test_double_close - should panic ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests nix Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name nix --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2 --test-args --skip --test-args 'sys::test_socket::test_af_alg_cipher' --extern assert_impl=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libassert_impl-0743a9d2e160c37c.rlib --extern bitflags=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libbitflags-5cbc6ddb1979832f.rlib --extern caps=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcaps-94f24ab14c86a1b0.rlib --extern cfg_if=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libcfg_if-83b5c59f56b87be1.rlib --extern lazy_static=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblazy_static-d02a0c3e68b14129.rlib --extern libc=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/liblibc-720711c2d90ffa59.rlib --extern memoffset=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libmemoffset-1f7cc2980cd644f3.rlib --extern nix=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libnix-81611c6be3eeea34.rlib --extern parking_lot=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libparking_lot-3f43a9d7b877992e.rlib --extern rand=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/librand-025eccf335dd0b92.rlib --extern semver=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libsemver-c87ea915b4664e88.rlib --extern tempfile=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps/libtempfile-8f0dec85152d3c39.rlib -L dependency=/builddir/build/BUILD/rust-nix0.23-0.23.2-build/nix-0.23.2/target/rpm/deps -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 96 tests test src/macros.rs - macros::libc_bitflags (line 28) ... ignored test src/macros.rs - macros::libc_bitflags (line 8) ... ignored test src/macros.rs - macros::libc_enum (line 69) ... ignored test src/kmod.rs - kmod::delete_module (line 110) - compile ... ok test src/sched.rs - sched::sched_linux_like::sched_getaffinity (line 198) - compile ... ok test src/kmod.rs - kmod::init_module (line 32) - compile ... ok test src/kmod.rs - kmod::finit_module (line 72) - compile ... ok test src/sched.rs - sched::sched_linux_like::sched_setaffinity (line 165) - compile ... ok test src/pty.rs - pty::posix_openpt (line 118) ... ok test src/dir.rs - dir::Dir::into_iter (line 155) ... ok test src/sys/aio.rs - sys::aio::AioCb<'a>::from_fd (line 143) ... ok test src/errno.rs - errno::Errno::as_errno (line 54) ... ok test src/ifaddrs.rs - ifaddrs::getifaddrs (line 111) ... ok test src/sys/aio.rs - sys::aio::LioCb<'a>::listio_resubmit (line 915) - compile ... ok test src/net/if_.rs - net::if_::if_nameindex::if_nameindex (line 387) ... ok test src/sys/inotify.rs - sys::inotify (line 10) - compile ... ok test src/sys/aio.rs - sys::aio::AioCb<'a>::cancel (line 468) ... ok test src/sys/aio.rs - sys::aio::AioCb<'a>::error (line 535) ... ok test src/sys/aio.rs - sys::aio::aio_cancel_all (line 695) ... ok test src/sys/ioctl/linux.rs - sys::ioctl::linux::request_code_none (line 91) ... ok test src/sys/aio.rs - sys::aio::AioCb<'a>::from_mut_slice (line 221) ... ok test src/sys/aio.rs - sys::aio::AioCb<'a>::from_slice (line 395) ... ok test src/sys/ioctl/mod.rs - sys::ioctl (line 161) ... ok test src/sys/ioctl/mod.rs - sys::ioctl (line 209) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_none (line 273) ... ignored test src/sys/aio.rs - sys::aio::LioCb<'a>::listio (line 860) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_none_bad (line 314) ... ignored test src/sys/aio.rs - sys::aio::aio_suspend (line 745) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_read (line 356) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_none (line 289) - compile ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_read_bad (line 393) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl (line 172) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_read_buf (line 694) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_readwrite (line 629) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_none_bad (line 322) - compile ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_readwrite_bad (line 665) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_readwrite_buf (line 762) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_buf (line 723) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl (line 122) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_int (line 543) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl (line 90) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_int_bad (line 585) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl (line 56) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_int (line 555) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_ptr (line 430) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_read_bad (line 401) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_ptr_bad (line 466) ... ignored test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_read (line 364) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_int_bad (line 593) ... ok test src/sys/ioctl/mod.rs - sys::ioctl (line 66) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_buf (line 731) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_readwrite (line 637) ... ok test src/sys/quota.rs - sys::quota (line 7) - compile ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_int_bad (line 600) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_ptr (line 438) ... ok test src/sys/mman.rs - sys::mman::mprotect (line 425) ... ok test src/sys/personality.rs - sys::personality::get (line 32) ... ok test src/sys/signal.rs - sys::signal::signal (line 706) - compile ... ok test src/sys/signal.rs - sys::signal::signal (line 713) - compile ... ok test src/sys/select.rs - sys::select::FdSet::fds (line 90) ... ok test src/sys/ioctl/mod.rs - sys::ioctl::ioctl_write_ptr_bad (line 474) ... ok test src/sys/ptrace/linux.rs - sys::ptrace::linux::step (line 413) ... ok test src/sys/personality.rs - sys::personality::set (line 58) ... ok test src/sys/termios.rs - sys::termios (line 100) ... ignored test src/sys/termios.rs - sys::termios (line 112) ... ignored test src/sys/termios.rs - sys::termios (line 125) ... ignored test src/sys/signalfd.rs - sys::signalfd::SignalFd (line 63) ... ok test src/sys/socket/mod.rs - sys::socket::ControlMessageOwned::ScmTimestamp (line 565) ... ok test src/sys/socket/mod.rs - sys::socket::setsockopt (line 1773) ... ok test src/sys/termios.rs - sys::termios (line 39) ... ok test src/sys/termios.rs - sys::termios (line 63) ... ok test src/sys/termios.rs - sys::termios (line 25) ... ok test src/sys/resource.rs - sys::resource::getrlimit (line 154) ... ok test src/sys/resource.rs - sys::resource::setrlimit (line 200) ... ok test src/sys/termios.rs - sys::termios (line 88) ... ok test src/sys/socket/mod.rs - sys::socket::cmsg_space (line 454) ... ok test src/sys/wait.rs - sys::wait::WaitStatus::from_raw (line 190) ... ok test src/sys/termios.rs - sys::termios (line 75) ... ok test src/sys/select.rs - sys::select::FdSet::highest (line 69) ... ok test src/unistd.rs - unistd::close (line 969) - compile ... ok test src/unistd.rs - unistd::User::from_uid (line 2800) ... ok test src/unistd.rs - unistd::Group::from_gid (line 2924) ... ok test src/unistd.rs - unistd::Group::from_name (line 2945) ... ok test src/unistd.rs - unistd::gethostname (line 940) - compile ... ok test src/sys/timerfd.rs - sys::timerfd (line 11) ... ok test src/unistd.rs - unistd::User::from_name (line 2819) ... ok test src/unistd.rs - unistd::initgroups (line 1596) - compile ... ok test src/unistd.rs - unistd::alarm (line 1664) ... ok test src/unistd.rs - unistd::close (line 977) ... ok test src/unistd.rs - unistd::setgroups (line 1471) - compile ... ok test src/unistd.rs - unistd::alarm (line 1651) ... ok test src/unistd.rs - unistd::getcwd (line 588) ... ok test src/unistd.rs - unistd::fork (line 200) ... ok test src/unistd.rs - unistd::mkstemp (line 1772) ... ok test src/unistd.rs - unistd::mkdir (line 453) ... ok test src/unistd.rs - unistd::mkfifo (line 491) ... ok test result: ok. 77 passed; 0 failed; 19 ignored; 0 measured; 0 filtered out; finished in 24.22s error: 1 target failed: `--test test` error: Bad exit status from /var/tmp/rpm-tmp.TZGont (%check) Bad exit status from /var/tmp/rpm-tmp.TZGont (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b5bd857c9fb045f0809433b6f68d6e2e -D /var/lib/mock/f45-build-51087-899/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.x6aeacvp:/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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b5bd857c9fb045f0809433b6f68d6e2e -D /var/lib/mock/f45-build-51087-899/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.x6aeacvp:/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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.23.spec'