D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/rust-io-uring-0.6.2-0.2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aV1I9o sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6dJLql + 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/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/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 sh: line 4: [: -j8: integer expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kWRcHG + 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 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VhCJy6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -j48 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.175 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=2021 /usr/share/cargo/registry/libc-0.2.175/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=69db84a876ea34d1 -C extra-filename=-3689981c9c015de7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/libc-3689981c9c015de7 -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 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=fe73f6712f834e02 -C extra-filename=-6ac7f2d17dc8f344 --out-dir /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/io-uring-6ac7f2d17dc8f344 -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,test)' --check-cfg 'cfg(feature, values("default", "example_generated"))' -C metadata=07d2e8b2dac70152 -C extra-filename=-268574b05e2e80b1 --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-6ac7f2d17dc8f344/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/build/libc-3689981c9c015de7/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.175/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=25c2ba817ba0ec2b -C extra-filename=-71f4bfc73a4884e1 --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_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/usr/bin/rustc --crate-name io_uring --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("io_safety"))' -C metadata=a55065658e8a587a -C extra-filename=-cad9811ec4906f78 --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-268574b05e2e80b1.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2/target/rpm/deps/liblibc-71f4bfc73a4884e1.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 2.26s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected sh: line 4: [: -j8: integer expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.g8CZqy + 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 + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XaIlDQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast error: failed to select a version for the requirement `socket2 = "^0.5"` candidate versions found which didn't match: 0.6.0 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `io-uring v0.6.2 (/home/pterjan/rpmbuild/BUILD/rust-io-uring-0.6.2-build/io-uring-0.6.2)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XaIlDQ (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.XaIlDQ (%check) I: [iurt_root_command] ERROR: chroot