D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rust-cpp_demangle-0.4.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QJIPJc Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2E9Eal + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + rm -rf cpp_demangle-0.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cpp_demangle-0.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd cpp_demangle-0.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/cpp_demangle-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 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JVV9qH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + cd cpp_demangle-0.4.0 + /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.5APkGD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp_demangle-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 Compiling cpp_demangle v0.4.0 (/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0) Compiling cfg-if v1.0.0 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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "logging", "run_libiberty_tests", "std"))' -C metadata=ccf71a6ebefc9453 -C extra-filename=-2c2e3b2455bcf816 --out-dir /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/target/rpm/build/cpp_demangle-2c2e3b2455bcf816 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/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("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=d0d5fe105289cea2 -C extra-filename=-ec6a769025b5f44f --out-dir /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/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-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/target/rpm/build/cpp_demangle-2c2e3b2455bcf816/build-script-build` Running `/usr/bin/rustc --crate-name cpp_demangle --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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "logging", "run_libiberty_tests", "std"))' -C metadata=cf6f41b36a87d0e8 -C extra-filename=-47a5c6e8b55e71ff --out-dir /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0/target/rpm/deps/libcfg_if-ec6a769025b5f44f.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: method `get_function_arg` is never used --> src/ast.rs:348:8 | 339 | trait ArgScope<'me, 'ctx>: fmt::Debug { | -------- method in this trait ... 348 | fn get_function_arg(&'me self, index: usize) -> Result<&'ctx Type>; | ^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `cpp_demangle` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 6.34s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xIMSiL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cpp_demangle-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=cpp_demangle ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT/usr/share/cargo/registry/cpp_demangle-0.4.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT/usr/share/cargo/registry/cpp_demangle-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-cpp_demangle-0.4.0-build/BUILDROOT/usr/share/cargo/registry/cpp_demangle-0.4.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/cpp_demangle-0.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT/usr/share/cargo/registry/cpp_demangle-0.4.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT/usr/share/cargo/registry/cpp_demangle-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 Reading /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: rust-cpp_demangle-devel-0.4.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/CONTRIBUTING.md warning: File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/README.md Provides: crate(cpp_demangle) = 0.4.0 rust-cpp_demangle-devel = 0.4.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(cfg-if/default) >= 1.0.0 Processing files: rust-cpp_demangle+default-devel-0.4.0-1.mga10.noarch Provides: crate(cpp_demangle/default) = 0.4.0 rust-cpp_demangle+default-devel = 0.4.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(cpp_demangle) = 0.4.0 crate(cpp_demangle/std) = 0.4.0 Processing files: rust-cpp_demangle+alloc-devel-0.4.0-1.mga10.noarch Provides: crate(cpp_demangle/alloc) = 0.4.0 rust-cpp_demangle+alloc-devel = 0.4.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(cpp_demangle) = 0.4.0 Processing files: rust-cpp_demangle+logging-devel-0.4.0-1.mga10.noarch Provides: crate(cpp_demangle/logging) = 0.4.0 rust-cpp_demangle+logging-devel = 0.4.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(cpp_demangle) = 0.4.0 crate(cpp_demangle/std) = 0.4.0 Processing files: rust-cpp_demangle+run_libiberty_tests-devel-0.4.0-1.mga10.noarch Provides: crate(cpp_demangle/run_libiberty_tests) = 0.4.0 rust-cpp_demangle+run_libiberty_tests-devel = 0.4.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(cpp_demangle) = 0.4.0 Processing files: rust-cpp_demangle+std-devel-0.4.0-1.mga10.noarch Provides: crate(cpp_demangle/std) = 0.4.0 rust-cpp_demangle+std-devel = 0.4.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(cpp_demangle) = 0.4.0 crate(cpp_demangle/alloc) = 0.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cpp_demangle+default-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cpp_demangle+logging-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cpp_demangle+std-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cpp_demangle+alloc-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cpp_demangle+run_libiberty_tests-devel-0.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cpp_demangle-devel-0.4.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VeQ0XU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-cpp_demangle-0.4.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/CHANGELOG.md File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/CONTRIBUTING.md File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/cpp_demangle-0.4.0/README.md D: [iurt_root_command] Success!