Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f40-build-55466490-6535816/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.jl8fov5n:/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.jl8fov5n:/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', 'ec0169df4b644b7586ec4a7b44a8fbd1', '-D', '/var/lib/mock/f40-build-55466490-6535816/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jl8fov5n:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1713830400 Wrote: /builddir/build/SRPMS/rust-io-uring-0.6.4-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f40-build-55466490-6535816/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.jl8fov5n:/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.jl8fov5n:/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', '2c6180adf52343b0be699a5654d64860', '-D', '/var/lib/mock/f40-build-55466490-6535816/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jl8fov5n:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1713830400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mV6IZZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/io-uring-0.6.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/io-uring-0.6.4-SPECPARTS + /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.Z2mOIF + umask 022 + cd /builddir/build/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-1.fc40.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 x86_64 --nodeps /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f40-build-55466490-6535816/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.jl8fov5n:/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.jl8fov5n:/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', '8d9b5a86420f43b794fdbb6832049fec', '-D', '/var/lib/mock/f40-build-55466490-6535816/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jl8fov5n:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1713830400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.qi60Py + umask 022 + cd /builddir/build/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-1.fc40.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 x86_64 /builddir/build/SPECS/rust-io-uring.spec'], chrootPath='/var/lib/mock/f40-build-55466490-6535816/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.jl8fov5n:/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.jl8fov5n:/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', '6674d7eb4a9c40d59dc6634a56c3b9c7', '-D', '/var/lib/mock/f40-build-55466490-6535816/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jl8fov5n:/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 x86_64 /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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1713830400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0bVt5D + umask 022 + cd /builddir/build/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.dU8v6m + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j48 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.166 Compiling io-uring v0.6.4 (/builddir/build/BUILD/io-uring-0.6.4) Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.166/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)' --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=6d4b4f794b0c75db -C extra-filename=-6d4b4f794b0c75db --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/build/libc-6d4b4f794b0c75db -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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 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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=377797c3af2cf274 -C extra-filename=-377797c3af2cf274 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/build/io-uring-377797c3af2cf274 -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name 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)' --check-cfg 'cfg(feature, values("default", "example_generated"))' -C metadata=0afe3be857902d84 -C extra-filename=-0afe3be857902d84 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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: `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/io-uring-0.6.4/target/rpm/build/io-uring-377797c3af2cf274/build-script-build` Running `/builddir/build/BUILD/io-uring-0.6.4/target/rpm/build/libc-6d4b4f794b0c75db/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.166/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)' --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=7ee129afd2c279b0 -C extra-filename=-7ee129afd2c279b0 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_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(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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=cedddc275b859bc0 -C extra-filename=-cedddc275b859bc0 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern bitflags=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libbitflags-0afe3be857902d84.rmeta --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-7ee129afd2c279b0.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: 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 2.79s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JwT4j2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64 + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64/usr/share/cargo/registry/io-uring-0.6.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64/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 -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64/usr/share/cargo/registry/io-uring-0.6.4 warning: no (git) VCS found for `/builddir/build/BUILD/io-uring-0.6.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64/usr/share/cargo/registry/io-uring-0.6.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64/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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UZWZeb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.166 Compiling autocfg v1.4.0 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 Compiling anyhow v1.0.93 Fresh bitflags v1.3.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.166/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)' --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=bce3d7d6ab65f41a -C extra-filename=-bce3d7d6ab65f41a --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/build/libc-bce3d7d6ab65f41a -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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.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)' --check-cfg 'cfg(feature, values())' -C metadata=7a03e18f8a726bff -C extra-filename=-7a03e18f8a726bff --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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: `io-uring` (build script) generated 2 warnings Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/anyhow-1.0.93/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=a7ea4b1ad74f2443 -C extra-filename=-a7ea4b1ad74f2443 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/build/anyhow-a7ea4b1ad74f2443 -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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/io-uring-0.6.4/target/rpm/build/anyhow-a7ea4b1ad74f2443/build-script-build` Running `/usr/bin/rustc --crate-name anyhow --edition=2018 /usr/share/cargo/registry/anyhow-1.0.93/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=3e50cac99475e109 -C extra-filename=-3e50cac99475e109 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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 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/io-uring-0.6.4/target/rpm/build/libc-bce3d7d6ab65f41a/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.166/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)' --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=2b2416e7ff4c038f -C extra-filename=-2b2416e7ff4c038f --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_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(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 socket2 v0.5.8 Compiling io-uring v0.6.4 (/builddir/build/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)' --check-cfg 'cfg(feature, values("all"))' -C metadata=d50b92513d8e46c2 -C extra-filename=-d50b92513d8e46c2 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-2b2416e7ff4c038f.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 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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=2a2eea727eff5512 -C extra-filename=-2a2eea727eff5512 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern bitflags=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libbitflags-0afe3be857902d84.rmeta --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-2b2416e7ff4c038f.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: 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::(); | 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)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=1c129acecbc0eb4f -C extra-filename=-1c129acecbc0eb4f --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/build/slab-1c129acecbc0eb4f -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern autocfg=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libautocfg-7a03e18f8a726bff.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/io-uring-0.6.4/target/rpm/build/slab-1c129acecbc0eb4f/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)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=73e777e9e8d02365 -C extra-filename=-73e777e9e8d02365 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/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: `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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=b67d1054d39e8dc3 -C extra-filename=-b67d1054d39e8dc3 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/examples -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libanyhow-3e50cac99475e109.rlib --extern bitflags=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libbitflags-0afe3be857902d84.rlib --extern io_uring=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libio_uring-2a2eea727eff5512.rlib --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-2b2416e7ff4c038f.rlib --extern slab=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libslab-73e777e9e8d02365.rlib --extern socket2=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libsocket2-d50b92513d8e46c2.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 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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=327a14a28db56e1c -C extra-filename=-327a14a28db56e1c --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libanyhow-3e50cac99475e109.rlib --extern bitflags=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libbitflags-0afe3be857902d84.rlib --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-2b2416e7ff4c038f.rlib --extern slab=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libslab-73e777e9e8d02365.rlib --extern socket2=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libsocket2-d50b92513d8e46c2.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 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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=569361fe90b14da4 -C extra-filename=-569361fe90b14da4 --out-dir /builddir/build/BUILD/io-uring-0.6.4/target/rpm/examples -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libanyhow-3e50cac99475e109.rlib --extern bitflags=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libbitflags-0afe3be857902d84.rlib --extern io_uring=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libio_uring-2a2eea727eff5512.rlib --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-2b2416e7ff4c038f.rlib --extern slab=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libslab-73e777e9e8d02365.rlib --extern socket2=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libsocket2-d50b92513d8e46c2.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: 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.04s Running `/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/io_uring-327a14a28db56e1c` running 42 tests test cqueue::test_entry_sizes ... ok test register::test_probe_layout ... ok test squeue::test_entry_sizes ... ok test sys::bindgen_test_layout___kernel_timespec ... ok test sys::bindgen_test_layout_futex_waitv ... ok test sys::bindgen_test_layout_io_cqring_offsets ... ok test sys::bindgen_test_layout_io_sqring_offsets ... ok test sys::bindgen_test_layout_io_uring_buf ... ok test sys::bindgen_test_layout_io_uring_buf_reg ... ok test sys::bindgen_test_layout_io_uring_buf_ring ... 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_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_2__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_cqe ... 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_getevents_arg ... 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_3 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_4 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_5 ... 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 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_6__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sync_cancel_reg ... ok test sys::bindgen_test_layout_open_how ... ok test types::tests::test_cancel_builder_flags ... ok test types::tests::timespec_from_duration_converts_correctly ... 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/io-uring-0.6.4 -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps -L dependency=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps --extern anyhow=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libanyhow-3e50cac99475e109.rlib --extern bitflags=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libbitflags-0afe3be857902d84.rlib --extern io_uring=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libio_uring-2a2eea727eff5512.rlib --extern libc=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/liblibc-2b2416e7ff4c038f.rlib --extern slab=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libslab-73e777e9e8d02365.rlib --extern socket2=/builddir/build/BUILD/io-uring-0.6.4/target/rpm/deps/libsocket2-d50b92513d8e46c2.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("io_safety"))' --error-format human` running 3 tests test src/types.rs - types::SubmitArgs (line 211) - compile fail ... ok test src/submit.rs - submit::Submitter<'a>::register_probe (line 280) - compile ... 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.23s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-io-uring-devel-0.6.4-1.fc40.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-1.fc40 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-1.fc40.noarch Provides: crate(io-uring/default) = 0.6.4 rust-io-uring+default-devel = 0.6.4-1.fc40 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-1.fc40.noarch Provides: crate(io-uring/io_safety) = 0.6.4 rust-io-uring+io_safety-devel = 0.6.4-1.fc40 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/BUILDROOT/rust-io-uring-0.6.4-1.fc40.x86_64 Wrote: /builddir/build/SRPMS/rust-io-uring-0.6.4-1.fc40.src.rpm Wrote: /builddir/build/RPMS/rust-io-uring+default-devel-0.6.4-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-io-uring+io_safety-devel-0.6.4-1.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-io-uring-devel-0.6.4-1.fc40.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