D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-difflib-0.4.0-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mT3h9I + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Snzyp3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + rm -rf difflib-0.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/difflib-0.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd difflib-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/difflib-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 + cp -pav /home/pterjan/rpmbuild/SOURCES/LICENSE . '/home/pterjan/rpmbuild/SOURCES/LICENSE' -> './LICENSE' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GiR2sT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + cd difflib-0.4.0 + /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.zfpzgF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + cd difflib-0.4.0 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling difflib v0.4.0 (/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0) Running `/usr/bin/rustc --crate-name difflib --edition=2015 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())' -C metadata=9587c051dbb6f8d7 -C extra-filename=-9587c051dbb6f8d7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` --> src/differ.rs:271:52 | 271 | first_tags = first_tags.split_at(common).1.trim_right(); | ^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated method | 271 | first_tags = first_tags.split_at(common).1.trim_end(); | ~~~~~~~~ warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` --> src/differ.rs:272:54 | 272 | second_tags = second_tags.split_at(common).1.trim_right(); | ^^^^^^^^^^ | help: replace the use of the deprecated method | 272 | second_tags = second_tags.split_at(common).1.trim_end(); | ~~~~~~~~ warning: variable does not need to be mutable --> src/sequencematcher.rs:117:17 | 117 | let mut counter = second_sequence_elements | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `difflib` (lib) generated 3 warnings (run `cargo fix --lib -p difflib` to apply 3 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.59s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.evPHoh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT + cd difflib-0.4.0 + '[' 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=difflib ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT/usr/share/cargo/registry/difflib-0.4.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT/usr/share/cargo/registry/difflib-0.4.0 + /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-difflib-0.4.0-build/BUILDROOT/usr/share/cargo/registry/difflib-0.4.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT/usr/share/cargo/registry/difflib-0.4.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT/usr/share/cargo/registry/difflib-0.4.0/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.mG84VC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + cd difflib-0.4.0 + '[' 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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` --> src/differ.rs:271:52 | 271 | first_tags = first_tags.split_at(common).1.trim_right(); | ^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated method | 271 | first_tags = first_tags.split_at(common).1.trim_end(); | ~~~~~~~~ warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` --> src/differ.rs:272:54 | 272 | second_tags = second_tags.split_at(common).1.trim_right(); | ^^^^^^^^^^ | help: replace the use of the deprecated method | 272 | second_tags = second_tags.split_at(common).1.trim_end(); | ~~~~~~~~ warning: variable does not need to be mutable --> src/sequencematcher.rs:117:17 | 117 | let mut counter = second_sequence_elements | ----^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `difflib` (lib) generated 3 warnings (run `cargo fix --lib -p difflib` to apply 3 suggestions) Compiling difflib v0.4.0 (/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0) Running `/usr/bin/rustc --crate-name tests --edition=2015 tests/tests.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())' -C metadata=a5125d6448d6015e -C extra-filename=-a5125d6448d6015e --out-dir /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps --extern difflib=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps/libdifflib-9587c051dbb6f8d7.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name difflib --edition=2015 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())' -C metadata=dfa27ad665d764f0 -C extra-filename=-dfa27ad665d764f0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name example --edition=2015 examples/example.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())' -C metadata=147f452ac23fb1aa -C extra-filename=-147f452ac23fb1aa --out-dir /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps --extern difflib=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps/libdifflib-9587c051dbb6f8d7.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `difflib` (lib test) generated 3 warnings (3 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.58s Running `/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps/difflib-dfa27ad665d764f0` running 2 tests test differ::test_qformat ... ok test differ::test_fancy_replace ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps/tests-a5125d6448d6015e` running 11 tests test test_all_matches ... ok test test_context_diff ... ok test test_differ_compare ... ok test test_integer_slice ... ok test test_get_close_matches ... ok test test_differ_compare_with_func ... ok test test_get_opcodes ... ok test test_unified_diff ... ok test test_ratio ... ok test test_differ_restore ... ok test test_longest_match ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests difflib Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name difflib --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps --extern difflib=/home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/difflib-0.4.0/target/rpm/deps/libdifflib-9587c051dbb6f8d7.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-difflib-devel-0.4.0-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/difflib-0.4.0/LICENSE Provides: crate(difflib) = 0.4.0 rust-difflib-devel = 0.4.0-0.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-difflib+default-devel-0.4.0-0.1.mga10.noarch Provides: crate(difflib/default) = 0.4.0 rust-difflib+default-devel = 0.4.0-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(difflib) = 0.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-difflib+default-devel-0.4.0-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-difflib-devel-0.4.0-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VOEpDW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-difflib-0.4.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/difflib-0.4.0/LICENSE D: [iurt_root_command] Success!