D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-io-uring-0.6.2-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iDvL9Y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XKFtsd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + rm -rf io-uring-0.6.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/io-uring-0.6.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd io-uring-0.6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/io-uring-fix-metadata.diff + 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 /home/pterjan/rpmbuild/tmp/rpm-tmp.AV80FC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + cd io-uring-0.6.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nNJifX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + cd io-uring-0.6.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.168 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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=e0b86a4176dae342 -C extra-filename=-e0b86a4176dae342 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/libc-e0b86a4176dae342 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling io-uring v0.6.2 (/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2) 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)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=7528aaeadcd1763e -C extra-filename=-7528aaeadcd1763e --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/io-uring-7528aaeadcd1763e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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=a4c2730f79578168 -C extra-filename=-a4c2730f79578168 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/io-uring-7528aaeadcd1763e/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/libc-e0b86a4176dae342/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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=90336115020ad1da -C extra-filename=-90336115020ad1da --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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=7e41d09e3dd1aa5a -C extra-filename=-7e41d09e3dd1aa5a --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libbitflags-a4c2730f79578168.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-90336115020ad1da.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary qualification --> src/opcode.rs:100:14 | 100 | unsafe { std::mem::zeroed() } | ^^^^^^^^^^^^^^^^ | 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 | 100 - unsafe { std::mem::zeroed() } 100 + unsafe { mem::zeroed() } | 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/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: 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:252:32 | 252 | self.args.sigmask_sz = std::mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 252 - self.args.sigmask_sz = std::mem::size_of::() as _; 252 + self.args.sigmask_sz = size_of::() as _; | warning: unnecessary qualification --> src/types.rs:390:31 | 390 | const DATA_START: usize = std::mem::size_of::(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 390 - const DATA_START: usize = std::mem::size_of::(); 390 + const DATA_START: usize = size_of::(); | warning: unnecessary qualification --> src/types.rs:399:27 | 399 | if buffer.len() < std::mem::size_of::() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 399 - if buffer.len() < std::mem::size_of::() { 399 + if buffer.len() < 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 29 warnings (run `cargo fix --lib -p io-uring` to apply 10 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.01s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7HO1KO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT + cd io-uring-0.6.2 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=io-uring ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.2 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.2 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.2 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.2 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.2/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT/usr/share/cargo/registry/io-uring-0.6.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vROXgM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + cd io-uring-0.6.2 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.168 Compiling autocfg v1.1.0 Compiling anyhow v1.0.86 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 warning: `io-uring` (build script) generated 2 warnings Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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=f42b49d70ff2f22b -C extra-filename=-f42b49d70ff2f22b --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/libc-f42b49d70ff2f22b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.1.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=e4163c5464d2fd51 -C extra-filename=-e4163c5464d2fd51 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/anyhow-1.0.86/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=b11e190035d7966e -C extra-filename=-b11e190035d7966e --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/anyhow-b11e190035d7966e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/anyhow-b11e190035d7966e/build-script-build` Running `/usr/bin/rustc --crate-name anyhow --edition=2018 /usr/share/cargo/registry/anyhow-1.0.86/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=5ff337e74764ff33 -C extra-filename=-5ff337e74764ff33 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg std_backtrace --cfg error_generic_member_access --check-cfg 'cfg(anyhow_nightly_testing)' --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(doc_cfg)' --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(std_backtrace)'` Running `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/libc-f42b49d70ff2f22b/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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=823392d1629734b9 -C extra-filename=-823392d1629734b9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 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=2620b7490efbbce6 -C extra-filename=-2620b7490efbbce6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/slab-2620b7490efbbce6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libautocfg-e4163c5464d2fd51.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling socket2 v0.5.7 Compiling io-uring v0.6.2 (/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2) 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=2c790c3506f41298 -C extra-filename=-2c790c3506f41298 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libbitflags-a4c2730f79578168.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-823392d1629734b9.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name socket2 --edition=2021 /usr/share/cargo/registry/socket2-0.5.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all"))' -C metadata=f8d6c7a7fb914ac6 -C extra-filename=-f8d6c7a7fb914ac6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-823392d1629734b9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/slab-2620b7490efbbce6/build-script-build` warning: unnecessary qualification --> src/opcode.rs:100:14 | 100 | unsafe { std::mem::zeroed() } | ^^^^^^^^^^^^^^^^ | 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 | 100 - unsafe { std::mem::zeroed() } 100 + unsafe { mem::zeroed() } | 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/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: 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:252:32 | 252 | self.args.sigmask_sz = std::mem::size_of::() as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 252 - self.args.sigmask_sz = std::mem::size_of::() as _; 252 + self.args.sigmask_sz = size_of::() as _; | warning: unnecessary qualification --> src/types.rs:390:31 | 390 | const DATA_START: usize = std::mem::size_of::(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 390 - const DATA_START: usize = std::mem::size_of::(); 390 + const DATA_START: usize = size_of::(); | warning: unnecessary qualification --> src/types.rs:399:27 | 399 | if buffer.len() < std::mem::size_of::() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 399 - if buffer.len() < std::mem::size_of::() { 399 + if buffer.len() < 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 `/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=b2124eb3d172db0c -C extra-filename=-b2124eb3d172db0c --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `io-uring` (lib) generated 29 warnings (run `cargo fix --lib -p io-uring` to apply 10 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=c7a47230e0e26428 -C extra-filename=-c7a47230e0e26428 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libanyhow-5ff337e74764ff33.rlib --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libbitflags-a4c2730f79578168.rlib --extern io_uring=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libio_uring-2c790c3506f41298.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern socket2=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libsocket2-f8d6c7a7fb914ac6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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=5961a8185facf56b -C extra-filename=-5961a8185facf56b --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libanyhow-5ff337e74764ff33.rlib --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libbitflags-a4c2730f79578168.rlib --extern io_uring=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libio_uring-2c790c3506f41298.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern socket2=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libsocket2-f8d6c7a7fb914ac6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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=ffd5799f68c4e6bc -C extra-filename=-ffd5799f68c4e6bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libanyhow-5ff337e74764ff33.rlib --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libbitflags-a4c2730f79578168.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern socket2=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libsocket2-f8d6c7a7fb914ac6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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:100:14 | 100 | unsafe { std::mem::zeroed() } | ^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 100 - unsafe { std::mem::zeroed() } 100 + unsafe { mem::zeroed() } | 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 34 warnings (28 duplicates) (run `cargo fix --lib -p io-uring --tests` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.61s Running `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/io_uring-ffd5799f68c4e6bc` running 40 tests test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_4 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_6__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_6 ... ok test sys::bindgen_test_layout_io_uring_sync_cancel_reg ... 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_5 ... ok test sys::bindgen_test_layout_io_uring_probe ... ok test cqueue::test_entry_sizes ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_1 ... ok test types::tests::timespec_from_duration_converts_correctly ... ok test sys::bindgen_test_layout_open_how ... ok test register::test_probe_layout ... ok test sys::bindgen_test_layout_io_cqring_offsets ... ok test sys::bindgen_test_layout_io_uring_buf_reg ... ok test squeue::test_entry_sizes ... ok test sys::bindgen_test_layout_io_uring_buf ... ok test sys::bindgen_test_layout_io_uring_buf_ring ... ok test sys::bindgen_test_layout_io_uring_probe_op ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_2 ... ok test sys::bindgen_test_layout_io_uring_file_index_range ... ok test sys::bindgen_test_layout_io_uring_restriction ... 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_recvmsg_out ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_3 ... 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_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 types::tests::test_cancel_builder_flags ... ok test sys::bindgen_test_layout_io_uring_buf_ring__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_files_update ... ok test sys::bindgen_test_layout___kernel_timespec ... ok test sys::bindgen_test_layout_io_uring_rsrc_register ... ok test sys::bindgen_test_layout_io_uring_rsrc_update2 ... ok test sys::bindgen_test_layout_io_sqring_offsets ... ok test sys::bindgen_test_layout_io_uring_sqe ... ok test sys::bindgen_test_layout_io_uring_rsrc_update ... ok test sys::bindgen_test_layout_io_uring_restriction__bindgen_ty_1 ... ok test sys::bindgen_test_layout_io_uring_sqe__bindgen_ty_1__bindgen_ty_1 ... ok test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s 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 /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps --extern anyhow=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libanyhow-5ff337e74764ff33.rlib --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libbitflags-a4c2730f79578168.rlib --extern io_uring=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libio_uring-2c790c3506f41298.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-823392d1629734b9.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern socket2=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/libsocket2-f8d6c7a7fb914ac6.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --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 210) - compile fail ... ok test src/types.rs - types::CancelBuilder (line 527) ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-io-uring-devel-0.6.2-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/io-uring-0.6.2/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/io-uring-0.6.2/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/io-uring-0.6.2/README.md Provides: crate(io-uring) = 0.6.2 rust-io-uring-devel = 0.6.2-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(bitflags/default) >= 1.0.0 crate(libc) >= 0.2.98 Processing files: rust-io-uring+default-devel-0.6.2-0.1.mga10.noarch Provides: crate(io-uring/default) = 0.6.2 rust-io-uring+default-devel = 0.6.2-0.1.mga10 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.2 Processing files: rust-io-uring+io_safety-devel-0.6.2-0.1.mga10.noarch Provides: crate(io-uring/io_safety) = 0.6.2 rust-io-uring+io_safety-devel = 0.6.2-0.1.mga10 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.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-io-uring+default-devel-0.6.2-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-io-uring+io_safety-devel-0.6.2-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-io-uring-devel-0.6.2-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tqxk35 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/io-uring-0.6.2/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/io-uring-0.6.2/LICENSE-MIT File listed twice: /usr/share/cargo/registry/io-uring-0.6.2/README.md D: [iurt_root_command] Success!