Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f43-build-58124598-6562551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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.e404kyhk:/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', 'ecc2da1ff024402d80da89cb95e885de', '-D', '/var/lib/mock/f43-build-58124598-6562551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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 ppc64le --nodeps /builddir/build/SPECS/rust-io-uring.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1737244800 Wrote: /builddir/build/SRPMS/rust-io-uring-0.6.4-3.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f43-build-58124598-6562551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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.e404kyhk:/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', '0d78366a1f934fca95984a36e9abc27c', '-D', '/var/lib/mock/f43-build-58124598-6562551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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 ppc64le --nodeps /builddir/build/SPECS/rust-io-uring.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1737244800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.d78gu7 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t93hJ9 + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + rm -rf io-uring-0.6.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/io-uring-0.6.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd io-uring-0.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/io-uring-fix-metadata.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.KLfbwU + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + cd io-uring-0.6.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-io-uring-0.6.4-3.fc43.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 ppc64le --nodeps /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f43-build-58124598-6562551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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.e404kyhk:/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', 'a06fcbeffc9b4699a42a81e033d7a206', '-D', '/var/lib/mock/f43-build-58124598-6562551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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 ppc64le --nodeps /builddir/build/SPECS/rust-io-uring.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1737244800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.tGUBXt + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + cd io-uring-0.6.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-io-uring-0.6.4-3.fc43.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 ppc64le /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f43-build-58124598-6562551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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.e404kyhk:/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', '45f6e0a6ef564733889d21baf936ed0d', '-D', '/var/lib/mock/f43-build-58124598-6562551/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e404kyhk:/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 ppc64le /builddir/build/SPECS/rust-io-uring.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1737244800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.343E75 + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + cd io-uring-0.6.4 + /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.Dc9mlg + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd io-uring-0.6.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 libc v0.2.170 Compiling io-uring v0.6.4 (/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4) Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.170/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=f5304334f9b723bb -C extra-filename=-086ebcfdaf4e9a24 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/libc-086ebcfdaf4e9a24 -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 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("io_safety"))' -C metadata=2dde629cbd71b1fc -C extra-filename=-ee6762ba563a51a2 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/io-uring-ee6762ba563a51a2 -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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=9abf411c3627229c -C extra-filename=-542d872e6f214ece --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unexpected `cfg` condition value: `bindgen` --> build.rs:1:11 | 1 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `bindgen` --> build.rs:4:7 | 4 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `io-uring` (build script) generated 2 warnings Running `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/io-uring-ee6762ba563a51a2/build-script-build` Running `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/libc-086ebcfdaf4e9a24/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.170/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=a8a03d2ffc1dbc5b -C extra-filename=-a0bc5f7b2532de4c --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --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(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/usr/bin/rustc --crate-name io_uring --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("io_safety"))' -C metadata=6fdf7e958949cc26 -C extra-filename=-acfaff8a3bf20480 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libbitflags-542d872e6f214ece.rmeta --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-a0bc5f7b2532de4c.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unnecessary qualification --> src/opcode.rs:1111:19 | 1111 | sqe.len = mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:5:27 | 5 | #![warn(rust_2018_idioms, unused_qualifications)] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 1111 - sqe.len = mem::size_of::() as _; 1111 + sqe.len = size_of::() as _; | warning: unnecessary qualification --> src/submit.rs:94:20 | 94 | let size = mem::size_of::(); | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 94 - let size = mem::size_of::(); 94 + let size = size_of::(); | warning: unnecessary qualification --> src/submit.rs:206:13 | 206 | mem::size_of::() as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 206 - mem::size_of::() as _, 206 + size_of::() as _, | warning: unnecessary qualification --> src/submit.rs:407:13 | 407 | mem::size_of::() as u32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 407 - mem::size_of::() as u32, 407 + size_of::() as u32, | warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:18:7 | 18 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:27:11 | 27 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:36:11 | 36 | #[cfg(all(feature = "bindgen", not(feature = "overwrite")))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `overwrite` --> src/sys/mod.rs:36:36 | 36 | #[cfg(all(feature = "bindgen", not(feature = "overwrite")))] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `overwrite` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:40:9 | 40 | not(feature = "bindgen"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:41:9 | 41 | all(feature = "bindgen", feature = "overwrite") | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `overwrite` --> src/sys/mod.rs:41:30 | 41 | all(feature = "bindgen", feature = "overwrite") | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `overwrite` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:45:7 | 45 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:48:11 | 48 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:51:7 | 51 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:54:11 | 54 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:57:7 | 57 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:60:11 | 60 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:63:11 | 63 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:79:7 | 79 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:95:11 | 95 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:100:7 | 100 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:105:11 | 105 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:125:7 | 125 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unnecessary qualification --> src/types.rs:253:32 | 253 | self.args.sigmask_sz = std::mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 253 - self.args.sigmask_sz = std::mem::size_of::() as _; 253 + self.args.sigmask_sz = size_of::() as _; | warning: unnecessary qualification --> src/types.rs:388:31 | 388 | const DATA_START: usize = std::mem::size_of::(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 388 - const DATA_START: usize = std::mem::size_of::(); 388 + const DATA_START: usize = size_of::(); | warning: unnecessary qualification --> src/lib.rs:118:76 | 118 | let sq_len = p.sq_off.array as usize + p.sq_entries as usize * mem::size_of::(); | ^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 118 - let sq_len = p.sq_off.array as usize + p.sq_entries as usize * mem::size_of::(); 118 + let sq_len = p.sq_off.array as usize + p.sq_entries as usize * size_of::(); | warning: unnecessary qualification --> src/lib.rs:119:75 | 119 | let cq_len = p.cq_off.cqes as usize + p.cq_entries as usize * mem::size_of::(); | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 119 - let cq_len = p.cq_off.cqes as usize + p.cq_entries as usize * mem::size_of::(); 119 + let cq_len = p.cq_off.cqes as usize + p.cq_entries as usize * size_of::(); | warning: unnecessary qualification --> src/lib.rs:120:51 | 120 | let sqe_len = p.sq_entries as usize * mem::size_of::(); | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 120 - let sqe_len = p.sq_entries as usize * mem::size_of::(); 120 + let sqe_len = p.sq_entries as usize * size_of::(); | warning: `io-uring` (lib) generated 28 warnings (run `cargo fix --lib -p io-uring` to apply 9 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.07s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p5M35a + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + '[' /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-io-uring-0.6.4-build + mkdir /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd io-uring-0.6.4 + 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=io-uring ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.4 + REG_DIR=/builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.4 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.4 + /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 -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-io-uring-0.6.4-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.4 warning: no (git) VCS found for `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.4/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT Scanned 9 directories and 18 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-io-uring-0.6.4-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.007kZ0 + umask 022 + cd /builddir/build/BUILD/rust-io-uring-0.6.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd io-uring-0.6.4 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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 Compiling libc v0.2.170 Compiling autocfg v1.4.0 Compiling anyhow v1.0.97 warning: unexpected `cfg` condition value: `bindgen` --> build.rs:1:11 | 1 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `bindgen` --> build.rs:4:7 | 4 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration Fresh bitflags v1.3.2 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=032a311dcaa1f360 -C extra-filename=-357bd4910559b2b4 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/libc-0.2.170/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --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=1e0958feda0d0e34 -C extra-filename=-d34d00403684e616 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/libc-d34d00403684e616 -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -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/anyhow-1.0.97/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=126ab20bc336fa3f -C extra-filename=-0d8f2a6d8a147022 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/anyhow-0d8f2a6d8a147022 -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `io-uring` (build script) generated 2 warnings Running `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/anyhow-0d8f2a6d8a147022/build-script-build` Running `/usr/bin/rustc --crate-name anyhow --edition=2018 /usr/share/cargo/registry/anyhow-1.0.97/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("backtrace", "default", "std"))' -C metadata=e67e2d7351baec8e -C extra-filename=-829e41c29458cb10 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg std_backtrace --cfg error_generic_member_access --check-cfg 'cfg(anyhow_nightly_testing)' --check-cfg 'cfg(anyhow_no_core_error)' --check-cfg 'cfg(anyhow_no_core_unwind_safe)' --check-cfg 'cfg(anyhow_no_fmt_arguments_as_str)' --check-cfg 'cfg(anyhow_no_ptr_addr_of)' --check-cfg 'cfg(anyhow_no_unsafe_op_in_unsafe_fn_lint)' --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(std_backtrace)'` Running `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/libc-d34d00403684e616/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.170/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=a280283d45f8b7af -C extra-filename=-5ff5b1136ed94c74 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --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(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling slab v0.4.9 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/slab-0.4.9/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=e91ae3b60aa061db -C extra-filename=-0f1358c9056b7cb7 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/slab-0f1358c9056b7cb7 -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libautocfg-357bd4910559b2b4.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling socket2 v0.5.8 Compiling io-uring v0.6.4 (/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4) Running `/usr/bin/rustc --crate-name socket2 --edition=2021 /usr/share/cargo/registry/socket2-0.5.8/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("all"))' -C metadata=767b1cb741cf26bd -C extra-filename=-20f5a374a1576bb2 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-5ff5b1136ed94c74.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name io_uring --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("io_safety"))' -C metadata=8eaf0d711044ed1f -C extra-filename=-1e8743bf9e31b699 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern bitflags=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libbitflags-542d872e6f214ece.rmeta --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-5ff5b1136ed94c74.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unnecessary qualification --> src/opcode.rs:1111:19 | 1111 | sqe.len = mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:5:27 | 5 | #![warn(rust_2018_idioms, unused_qualifications)] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 1111 - sqe.len = mem::size_of::() as _; 1111 + sqe.len = size_of::() as _; | warning: unnecessary qualification --> src/submit.rs:94:20 | 94 | let size = mem::size_of::(); | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 94 - let size = mem::size_of::(); 94 + let size = size_of::(); | warning: unnecessary qualification --> src/submit.rs:206:13 | 206 | mem::size_of::() as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 206 - mem::size_of::() as _, 206 + size_of::() as _, | warning: unnecessary qualification --> src/submit.rs:407:13 | 407 | mem::size_of::() as u32, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 407 - mem::size_of::() as u32, 407 + size_of::() as u32, | warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:18:7 | 18 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:27:11 | 27 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:36:11 | 36 | #[cfg(all(feature = "bindgen", not(feature = "overwrite")))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `overwrite` --> src/sys/mod.rs:36:36 | 36 | #[cfg(all(feature = "bindgen", not(feature = "overwrite")))] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `overwrite` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:40:9 | 40 | not(feature = "bindgen"), | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:41:9 | 41 | all(feature = "bindgen", feature = "overwrite") | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `overwrite` --> src/sys/mod.rs:41:30 | 41 | all(feature = "bindgen", feature = "overwrite") | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `overwrite` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:45:7 | 45 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:48:11 | 48 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:51:7 | 51 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:54:11 | 54 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:57:7 | 57 | #[cfg(feature = "bindgen")] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bindgen` --> src/sys/mod.rs:60:11 | 60 | #[cfg(not(feature = "bindgen"))] | ^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `bindgen` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:63:11 | 63 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:79:7 | 79 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:95:11 | 95 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:100:7 | 100 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:105:11 | 105 | #[cfg(not(feature = "direct-syscall"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `direct-syscall` --> src/sys/mod.rs:125:7 | 125 | #[cfg(feature = "direct-syscall")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `io_safety` = help: consider adding `direct-syscall` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unnecessary qualification --> src/types.rs:253:32 | 253 | self.args.sigmask_sz = std::mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 253 - self.args.sigmask_sz = std::mem::size_of::() as _; 253 + self.args.sigmask_sz = size_of::() as _; | warning: unnecessary qualification --> src/types.rs:388:31 | 388 | const DATA_START: usize = std::mem::size_of::(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 388 - const DATA_START: usize = std::mem::size_of::(); 388 + const DATA_START: usize = size_of::(); | warning: unnecessary qualification --> src/lib.rs:118:76 | 118 | let sq_len = p.sq_off.array as usize + p.sq_entries as usize * mem::size_of::(); | ^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 118 - let sq_len = p.sq_off.array as usize + p.sq_entries as usize * mem::size_of::(); 118 + let sq_len = p.sq_off.array as usize + p.sq_entries as usize * size_of::(); | warning: unnecessary qualification --> src/lib.rs:119:75 | 119 | let cq_len = p.cq_off.cqes as usize + p.cq_entries as usize * mem::size_of::(); | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 119 - let cq_len = p.cq_off.cqes as usize + p.cq_entries as usize * mem::size_of::(); 119 + let cq_len = p.cq_off.cqes as usize + p.cq_entries as usize * size_of::(); | warning: unnecessary qualification --> src/lib.rs:120:51 | 120 | let sqe_len = p.sq_entries as usize * mem::size_of::(); | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 120 - let sqe_len = p.sq_entries as usize * mem::size_of::(); 120 + let sqe_len = p.sq_entries as usize * size_of::(); | Running `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/build/slab-0f1358c9056b7cb7/build-script-build` Running `/usr/bin/rustc --crate-name slab --edition=2018 /usr/share/cargo/registry/slab-0.4.9/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=5657076f36d4497c -C extra-filename=-4b5a9caf844e4e1d --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `io-uring` (lib) generated 28 warnings (run `cargo fix --lib -p io-uring` to apply 9 suggestions) Running `/usr/bin/rustc --crate-name readme --edition=2018 examples/readme.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=05c577035071f4d1 -C extra-filename=-bbc25a2a5d3c93e0 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libanyhow-829e41c29458cb10.rlib --extern bitflags=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libbitflags-542d872e6f214ece.rlib --extern io_uring=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libio_uring-1e8743bf9e31b699.rlib --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-5ff5b1136ed94c74.rlib --extern slab=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libslab-4b5a9caf844e4e1d.rlib --extern socket2=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libsocket2-20f5a374a1576bb2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name io_uring --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("io_safety"))' -C metadata=9b9fde94f14ee280 -C extra-filename=-6b245ad52de03f29 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libanyhow-829e41c29458cb10.rlib --extern bitflags=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libbitflags-542d872e6f214ece.rlib --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-5ff5b1136ed94c74.rlib --extern slab=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libslab-4b5a9caf844e4e1d.rlib --extern socket2=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libsocket2-20f5a374a1576bb2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name tcp_echo --edition=2018 examples/tcp_echo.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=8d7c9c9157569e49 -C extra-filename=-0259786a90a4b678 --out-dir /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libanyhow-829e41c29458cb10.rlib --extern bitflags=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libbitflags-542d872e6f214ece.rlib --extern io_uring=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libio_uring-1e8743bf9e31b699.rlib --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-5ff5b1136ed94c74.rlib --extern slab=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libslab-4b5a9caf844e4e1d.rlib --extern socket2=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libsocket2-20f5a374a1576bb2.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unnecessary qualification --> src/cqueue.rs:50:16 | 50 | assert_eq!(mem::size_of::(), 16); | ^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:5:27 | 5 | #![warn(rust_2018_idioms, unused_qualifications)] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary path segments | 50 - assert_eq!(mem::size_of::(), 16); 50 + assert_eq!(size_of::(), 16); | warning: unnecessary qualification --> src/cqueue.rs:51:16 | 51 | assert_eq!(mem::size_of::(), 32); | ^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 51 - assert_eq!(mem::size_of::(), 32); 51 + assert_eq!(size_of::(), 32); | warning: unnecessary qualification --> src/opcode.rs:1111:19 | 1111 | sqe.len = mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 1111 - sqe.len = mem::size_of::() as _; 1111 + sqe.len = size_of::() as _; | warning: unnecessary qualification --> src/register.rs:146:15 | 146 | + mem::size_of::() * 256, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 146 - + mem::size_of::() * 256, 146 + + size_of::() * 256, | warning: unnecessary qualification --> src/squeue.rs:53:16 | 53 | assert_eq!(mem::size_of::(), 64); | ^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 53 - assert_eq!(mem::size_of::(), 64); 53 + assert_eq!(size_of::(), 64); | warning: unnecessary qualification --> src/squeue.rs:54:16 | 54 | assert_eq!(mem::size_of::(), 128); | ^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 54 - assert_eq!(mem::size_of::(), 128); 54 + assert_eq!(size_of::(), 128); | warning: `io-uring` (lib test) generated 33 warnings (27 duplicates) (run `cargo fix --lib -p io-uring --tests` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.75s Running `/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/io_uring-6b245ad52de03f29` running 42 tests test sys::bindgen_test_layout_futex_waitv ... ok test register::test_probe_layout ... ok test cqueue::test_entry_sizes ... ok test sys::bindgen_test_layout_io_uring_buf ... ok test sys::bindgen_test_layout_io_sqring_offsets ... ok test squeue::test_entry_sizes ... ok test sys::bindgen_test_layout___kernel_timespec ... ok test sys::bindgen_test_layout_io_cqring_offsets ... ok test sys::bindgen_test_layout_io_uring_buf_reg ... ok test sys::bindgen_test_layout_io_uring_file_index_range ... ok test sys::bindgen_test_layout_io_uring_files_update ... ok test sys::bindgen_test_layout_io_uring_buf_ring__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2 ... ok test sys::bindgen_test_layout_io_uring_buf_ring__bindgen_ty_1__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_getevents_arg ... ok test sys::bindgen_test_layout_io_uring_buf_ring__bindgen_ty_1__bindgen_ty_2__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_cqe ... ok test sys::bindgen_test_layout_io_uring_buf_ring ... ok test sys::bindgen_test_layout_io_uring_params ... ok test sys::bindgen_test_layout_io_uring_probe ... ok test sys::bindgen_test_layout_io_uring_probe_op ... ok test sys::bindgen_test_layout_io_uring_recvmsg_out ... ok test sys::bindgen_test_layout_io_uring_restriction ... ok test sys::bindgen_test_layout_io_uring_restriction__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_rsrc_register ... ok test sys::bindgen_test_layout_io_uring_rsrc_update ... ok test sys::bindgen_test_layout_io_uring_rsrc_update2 ... ok test sys::bindgen_test_layout_io_uring_sqe ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_1__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_2 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_2__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_5 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_3 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_6 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_5__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_6__bindgen_ty_1 ... ok test types::tests::test_cancel_builder_flags ... ok test sys::bindgen_test_layout_io_uring_sync_cancel_reg ... ok test types::tests::timespec_from_duration_converts_correctly ... ok test sys::bindgen_test_layout_open_how ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_4 ... ok test result: ok. 42 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests io_uring Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name io_uring --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4 -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libanyhow-829e41c29458cb10.rlib --extern bitflags=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libbitflags-542d872e6f214ece.rlib --extern io_uring=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libio_uring-1e8743bf9e31b699.rlib --extern libc=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/liblibc-5ff5b1136ed94c74.rlib --extern slab=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libslab-4b5a9caf844e4e1d.rlib --extern socket2=/builddir/build/BUILD/rust-io-uring-0.6.4-build/io-uring-0.6.4/target/rpm/deps/libsocket2-20f5a374a1576bb2.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("io_safety"))' --error-format human` running 3 tests test src/submit.rs - submit::Submitter<'a>::register_probe (line 280) - compile ... ok test src/types.rs - types::SubmitArgs (line 211) - compile fail ... ok test src/types.rs - types::CancelBuilder (line 534) ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-io-uring-devel-0.6.4-3.fc43.noarch warning: File listed twice: /usr/share/cargo/registry/io-uring-0.6.4/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/io-uring-0.6.4/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/io-uring-0.6.4/README.md Provides: crate(io-uring) = 0.6.4 rust-io-uring-devel = 0.6.4-3.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0~) (crate(libc) >= 0.2.98 with crate(libc) < 0.3.0~) cargo Processing files: rust-io-uring+default-devel-0.6.4-3.fc43.noarch Provides: crate(io-uring/default) = 0.6.4 rust-io-uring+default-devel = 0.6.4-3.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(io-uring) = 0.6.4 Processing files: rust-io-uring+io_safety-devel-0.6.4-3.fc43.noarch Provides: crate(io-uring/io_safety) = 0.6.4 rust-io-uring+io_safety-devel = 0.6.4-3.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(io-uring) = 0.6.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-io-uring-0.6.4-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-io-uring-0.6.4-3.fc43.src.rpm Wrote: /builddir/build/RPMS/rust-io-uring+default-devel-0.6.4-3.fc43.noarch.rpm Wrote: /builddir/build/RPMS/rust-io-uring+io_safety-devel-0.6.4-3.fc43.noarch.rpm Wrote: /builddir/build/RPMS/rust-io-uring-devel-0.6.4-3.fc43.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/io-uring-0.6.4/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/io-uring-0.6.4/LICENSE-MIT File listed twice: /usr/share/cargo/registry/io-uring-0.6.4/README.md Child return code was: 0