D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/rust-utf8_iter-1.0.4-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BMTQ9A
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WFmqZZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ rm -rf utf8_iter-1.0.4
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/utf8_iter-1.0.4.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd utf8_iter-1.0.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.BGaFOj
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ cd utf8_iter-1.0.4
+ /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.GMT8XX
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.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 utf8_iter-1.0.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 utf8_iter v1.0.4 (/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4)
     Running `/usr/bin/rustc --crate-name utf8_iter --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=659b7ca70e7fa4a4 -C extra-filename=-7b525f39d48fdecf --out-dir /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
    Finished `rpm` profile [optimized + debuginfo] target(s) in 0.31s
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E9Tl0e
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ mkdir /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.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 utf8_iter-1.0.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=utf8_iter
++ /usr/bin/cargo2rpm --path Cargo.toml version
+ CRATE_VERSION=1.0.4
+ REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT/usr/share/cargo/registry/utf8_iter-1.0.4
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT/usr/share/cargo/registry/utf8_iter-1.0.4
+ /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml
+ grep -w -E -v 'Cargo.(lock|toml.orig)'
+ /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
+ xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT/usr/share/cargo/registry/utf8_iter-1.0.4
warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4`
+ /usr/bin/mv Cargo.toml.deps Cargo.toml
+ /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT/usr/share/cargo/registry/utf8_iter-1.0.4/Cargo.toml
+ /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT/usr/share/cargo/registry/utf8_iter-1.0.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
+ 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.DlKc7a
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.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 utf8_iter-1.0.4
+ '[' 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 utf8_iter v1.0.4 (/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4)
     Running `/usr/bin/rustc --crate-name utf8_iter --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e6539398969366e0 -C extra-filename=-0b9e7610f17496b9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
    Finished `rpm` profile [optimized + debuginfo] target(s) in 0.47s
     Running `/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps/utf8_iter-0b9e7610f17496b9`

running 2 tests
test report::tests::test_eq ... ok
test report::tests::test_size ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests utf8_iter
     Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name utf8_iter --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps --extern utf8_iter=/home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/utf8_iter-1.0.4/target/rpm/deps/libutf8_iter-7b525f39d48fdecf.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human`

running 3 tests
test src/report.rs - report::ErrorReportingUtf8Chars (line 42) ... ok
test src/indices.rs - indices::Utf8CharIndices<'a>::offset (line 102) ... ok
test src/lib.rs - (line 28) ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s

+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: rust-utf8_iter-devel-1.0.4-1.mga10.noarch
warning: File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/COPYRIGHT
warning: File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/LICENSE-APACHE
warning: File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/LICENSE-MIT
warning: File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/README.md
Provides: crate(utf8_iter) = 1.0.4 rust-utf8_iter-devel = 1.0.4-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo
Processing files: rust-utf8_iter+default-devel-1.0.4-1.mga10.noarch
Provides: crate(utf8_iter/default) = 1.0.4 rust-utf8_iter+default-devel = 1.0.4-1.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: cargo crate(utf8_iter) = 1.0.4
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-utf8_iter+default-devel-1.0.4-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-utf8_iter-devel-1.0.4-1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EVOV3O
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ test -d /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-utf8_iter-1.0.4-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/COPYRIGHT
    File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/LICENSE-APACHE
    File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/LICENSE-MIT
    File listed twice: /usr/share/cargo/registry/utf8_iter-1.0.4/README.md
D: [iurt_root_command] Success!