D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-pci-driver-0.1.4-0.2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bATl8C Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XBeW6l + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + rm -rf pci-driver-0.1.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/pci-driver-0.1.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd pci-driver-0.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.xQ8L7K + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + cd pci-driver-0.1.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.u4EoE3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-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 pci-driver-0.1.4 + '[' 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 autocfg v1.5.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3da3d4130c7f067d -C extra-filename=-d9f92939e64234ef --out-dir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling libc v0.2.180 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=f705e53ad048f7b1 -C extra-filename=-d664a841417f6848 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/build/libc-d664a841417f6848 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/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-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/build/libc-d664a841417f6848/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=207ff5e5b9597327 -C extra-filename=-30717d3105153ebc --out-dir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --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_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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("default", "i128", "libm", "std"))' -C metadata=8ef8e0176aad6ff6 -C extra-filename=-d616147448908df8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/build/num-traits-d616147448908df8 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps/libautocfg-d9f92939e64234ef.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/build/num-traits-d616147448908df8/build-script-build` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=e27872d07b7e4b45 -C extra-filename=-68eb024144257bec --out-dir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_total_cmp --check-cfg 'cfg(has_total_cmp)'` Compiling pci-driver v0.1.4 (/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4) Running `/usr/bin/rustc --crate-name pci_driver --edition=2021 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="libc"' --cfg 'feature="vfio"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("_unsafe-op-in-unsafe-fn", "default", "libc", "vfio"))' -C metadata=3e806aa343028f7c -C extra-filename=-180460b93298f455 --out-dir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps/liblibc-30717d3105153ebc.rmeta --extern num_traits=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4/target/rpm/deps/libnum_traits-68eb024144257bec.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/backends/vfio/mod.rs:208:15 | 208 | fn config(&self) -> PciConfig { | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 208 | fn config(&self) -> PciConfig<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/backends/vfio/mod.rs:234:14 | 234 | fn iommu(&self) -> PciIommu { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 234 | fn iommu(&self) -> PciIommu<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/backends/vfio/mod.rs:238:19 | 238 | fn interrupts(&self) -> PciInterrupts { | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 238 | fn interrupts(&self) -> PciInterrupts<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/backends/vfio/containers.rs:292:18 | 292 | pub fn iommu(&self) -> PciIommu { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 292 | pub fn iommu(&self) -> PciIommu<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/regions/struct_macros.rs:83:36 | 83 | pub fn $field_name(&self) -> $($field_type)::+$(<$($field_generics),+>)? { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/config/caps.rs:334:1 | 334 | / pci_capability! { 335 | | /// TODO: Should take the "Capability Version" into consideration. 336 | | pub struct PciExpressCapability<'a> { 337 | | Id = 0x10, ... | 354 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `$crate::_pci_struct_impl` which comes from the expansion of the macro `pci_capability` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 83 | pub fn $field_name(&self) -> $($field_type<'_>)::+$(<$($field_generics),+>)? { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/regions/struct_macros.rs:83:36 | 83 | pub fn $field_name(&self) -> $($field_type)::+$(<$($field_generics),+>)? { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/config/caps.rs:556:1 | 556 | / pci_capability! { 557 | | pub struct VitalProductDataCapability<'a> { 558 | | Id = 0x03, 559 | | Length = |_cap| Ok(0x08), ... | 565 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `$crate::_pci_struct_impl` which comes from the expansion of the macro `pci_capability` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 83 | pub fn $field_name(&self) -> $($field_type<'_>)::+$(<$($field_generics),+>)? { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/regions/struct_macros.rs:83:36 | 83 | pub fn $field_name(&self) -> $($field_type)::+$(<$($field_generics),+>)? { | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/config/ext_caps.rs:346:1 | 346 | / pci_extended_capability! { 347 | | /// Described in Section 7.9.5 of the "PCI Express® Base Specification Revision 6.0". 348 | | pub struct VendorSpecificExtendedCapability<'a> { 349 | | Id = 0x000b, ... | 357 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `$crate::_pci_struct_impl` which comes from the expansion of the macro `pci_extended_capability` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 83 | pub fn $field_name(&self) -> $($field_type<'_>)::+$(<$($field_generics),+>)? { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/device.rs:31:15 | 31 | fn config(&self) -> PciConfig; | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 31 | fn config(&self) -> PciConfig<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/device.rs:63:14 | 63 | fn iommu(&self) -> PciIommu; | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 63 | fn iommu(&self) -> PciIommu<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/device.rs:68:19 | 68 | fn interrupts(&self) -> PciInterrupts; | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 68 | fn interrupts(&self) -> PciInterrupts<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/interrupts.rs:22:17 | 22 | pub fn intx(&self) -> PciInterruptMechanism { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 22 | pub fn intx(&self) -> PciInterruptMechanism<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/interrupts.rs:30:16 | 30 | pub fn msi(&self) -> PciInterruptMechanism { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 30 | pub fn msi(&self) -> PciInterruptMechanism<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/interrupts.rs:38:18 | 38 | pub fn msi_x(&self) -> PciInterruptMechanism { | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 38 | pub fn msi_x(&self) -> PciInterruptMechanism<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/regions/mod.rs:611:22 | 611 | pub fn new(data: &[u8]) -> PciMemoryRegion { | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 611 | pub fn new(data: &[u8]) -> PciMemoryRegion<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/regions/mod.rs:620:26 | 620 | pub fn new_mut(data: &mut [u8]) -> PciMemoryRegion { | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 620 | pub fn new_mut(data: &mut [u8]) -> PciMemoryRegion<'_> { | ++++ warning: `pci-driver` (lib) generated 15 warnings (run `cargo fix --lib -p pci-driver` to apply 15 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.65s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pn5Oon + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-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 pci-driver-0.1.4 + '[' 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=pci-driver ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.4 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT/usr/share/cargo/registry/pci-driver-0.1.4 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT/usr/share/cargo/registry/pci-driver-0.1.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 --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-pci-driver-0.1.4-build/BUILDROOT/usr/share/cargo/registry/pci-driver-0.1.4 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/pci-driver-0.1.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT/usr/share/cargo/registry/pci-driver-0.1.4/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT/usr/share/cargo/registry/pci-driver-0.1.4/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 mangling shebang in /usr/share/cargo/registry/pci-driver-0.1.4/test.sh from /bin/bash to #!/usr/bin/bash + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-pci-driver-devel-0.1.4-0.2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/pci-driver-0.1.4/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/pci-driver-0.1.4/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/pci-driver-0.1.4/README.md Provides: crate(pci-driver) = 0.1.4 rust-pci-driver-devel = 0.1.4-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(num-traits) >= 0.2.0 rust >= 1.56 Processing files: rust-pci-driver+default-devel-0.1.4-0.2.mga10.noarch Provides: crate(pci-driver/default) = 0.1.4 rust-pci-driver+default-devel = 0.1.4-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pci-driver) = 0.1.4 crate(pci-driver/vfio) = 0.1.4 Processing files: rust-pci-driver+_unsafe-op-in-unsafe-fn-devel-0.1.4-0.2.mga10.noarch Provides: crate(pci-driver/_unsafe-op-in-unsafe-fn) = 0.1.4 rust-pci-driver+_unsafe-op-in-unsafe-fn-devel = 0.1.4-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(pci-driver) = 0.1.4 Processing files: rust-pci-driver+libc-devel-0.1.4-0.2.mga10.noarch Provides: crate(pci-driver/libc) = 0.1.4 rust-pci-driver+libc-devel = 0.1.4-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libc) >= 0.2.0 crate(pci-driver) = 0.1.4 Processing files: rust-pci-driver+vfio-devel-0.1.4-0.2.mga10.noarch Provides: crate(pci-driver/vfio) = 0.1.4 rust-pci-driver+vfio-devel = 0.1.4-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libc) >= 0.2.0 crate(libc/std) >= 0.2.0 crate(pci-driver) = 0.1.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pci-driver+vfio-devel-0.1.4-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pci-driver+default-devel-0.1.4-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pci-driver+_unsafe-op-in-unsafe-fn-devel-0.1.4-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pci-driver+libc-devel-0.1.4-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-pci-driver-devel-0.1.4-0.2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zjGLKG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + test -d /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-pci-driver-0.1.4-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/pci-driver-0.1.4/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/pci-driver-0.1.4/LICENSE-MIT File listed twice: /usr/share/cargo/registry/pci-driver-0.1.4/README.md D: [iurt_root_command] Success!