D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-structopt-derive0.2-0.2.18-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pN1R8u Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uLcKVf + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + rm -rf structopt-derive-0.2.18 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/structopt-derive-0.2.18.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd structopt-derive-0.2.18 + /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.hks1tD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + cd structopt-derive-0.2.18 + /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.Al4Fqv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-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 structopt-derive-0.2.18 + '[' 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 2024 Compiling proc-macro2 v0.4.30 Compiling unicode-xid v0.1.0 Compiling syn v0.15.44 Compiling unicode-segmentation v1.10.1 Running `/usr/bin/rustc --crate-name unicode_xid --edition=2015 /usr/share/cargo/registry/unicode-xid-0.1.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 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench", "default", "no_std"))' -C metadata=042a6e0bb31cdda2 -C extra-filename=-af488a14d69aa31f --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/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=2015 /usr/share/cargo/registry/proc-macro2-0.4.30/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="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=4384b2e36abcbeb1 -C extra-filename=-753f90e2275aef18 --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/build/proc-macro2-753f90e2275aef18 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/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 unicode_segmentation --edition=2018 /usr/share/cargo/registry/unicode-segmentation-1.10.1/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("no_std"))' -C metadata=735b2f03803956e9 -C extra-filename=-7826fbfde6593712 --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/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=2015 /usr/share/cargo/registry/syn-0.15.44/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"))' -C metadata=bd77cbe8a46a73e1 -C extra-filename=-a07593f5d7eff03e --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/build/syn-a07593f5d7eff03e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling heck v0.3.3 Running `/usr/bin/rustc --crate-name heck --edition=2018 /usr/share/cargo/registry/heck-0.3.3/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=5cd39d3c3f1849ca -C extra-filename=-14ba030a199ffb3f --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern unicode_segmentation=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libunicode_segmentation-7826fbfde6593712.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/build/syn-a07593f5d7eff03e/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/build/proc-macro2-753f90e2275aef18/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2015 /usr/share/cargo/registry/proc-macro2-0.4.30/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 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=2d3332623fc5e504 -C extra-filename=-9f8490dfe06bebd8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern unicode_xid=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libunicode_xid-af488a14d69aa31f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg u128 --cfg use_proc_macro --cfg wrap_proc_macro` Compiling quote v0.6.13 Running `/usr/bin/rustc --crate-name quote --edition=2015 /usr/share/cargo/registry/quote-0.6.13/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 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=4e7361d7178b0834 -C extra-filename=-623041ee63443e86 --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libproc_macro2-9f8490dfe06bebd8.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2015 /usr/share/cargo/registry/syn-0.15.44/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 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"))' -C metadata=65f4157e248196e6 -C extra-filename=-46853e5213978901 --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libproc_macro2-9f8490dfe06bebd8.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libquote-623041ee63443e86.rmeta --extern unicode_xid=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libunicode_xid-af488a14d69aa31f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg syn_can_match_trailing_dollar --cfg syn_can_use_thread_id --cfg syn_can_use_associated_constants --cfg syn_can_call_macro_by_path --cfg syn_disable_nightly_tests` Compiling structopt-derive v0.2.18 (/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18) Running `/usr/bin/rustc --crate-name structopt_derive --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -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("nightly", "paw"))' -C metadata=29f3938993e73bb0 -C extra-filename=-2d8bea62ef28426a --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern heck=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libheck-14ba030a199ffb3f.rlib --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libproc_macro2-9f8490dfe06bebd8.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libquote-623041ee63443e86.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libsyn-46853e5213978901.rlib --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:305:26 | 305 | .trim_left_matches("//!") | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated method | 305 - .trim_left_matches("//!") 305 + .trim_start_matches("//!") | warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:306:26 | 306 | .trim_left_matches("///") | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 306 - .trim_left_matches("///") 306 + .trim_start_matches("///") | warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:307:26 | 307 | .trim_left_matches("/*!") | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 307 - .trim_left_matches("/*!") 307 + .trim_start_matches("/*!") | warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:308:26 | 308 | .trim_left_matches("/**") | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 308 - .trim_left_matches("/**") 308 + .trim_start_matches("/**") | warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` --> src/attrs.rs:309:26 | 309 | .trim_right_matches("*/") | ^^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 309 - .trim_right_matches("*/") 309 + .trim_end_matches("*/") | warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` --> src/attrs.rs:355:28 | 355 | .map(|s| s.trim_right_matches('.')) | ^^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 355 - .map(|s| s.trim_right_matches('.')) 355 + .map(|s| s.trim_end_matches('.')) | warning: `structopt-derive` (lib) generated 6 warnings (run `cargo fix --lib -p structopt-derive` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 13.25s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9F9SSI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-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 structopt-derive-0.2.18 + '[' 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=structopt-derive ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.18 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT/usr/share/cargo/registry/structopt-derive-0.2.18 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT/usr/share/cargo/registry/structopt-derive-0.2.18 + /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-structopt-derive0.2-0.2.18-build/BUILDROOT/usr/share/cargo/registry/structopt-derive-0.2.18 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT/usr/share/cargo/registry/structopt-derive-0.2.18/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT/usr/share/cargo/registry/structopt-derive-0.2.18/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.qkLIda + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-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 structopt-derive-0.2.18 + '[' 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 2024 Fresh unicode-xid v0.1.0 Fresh proc-macro2 v0.4.30 Fresh quote v0.6.13 Fresh unicode-segmentation v1.10.1 Fresh heck v0.3.3 Fresh syn v0.15.44 Compiling structopt-derive v0.2.18 (/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18) Running `/usr/bin/rustc --crate-name structopt_derive --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("nightly", "paw"))' -C metadata=585c6ea8597e82a2 -C extra-filename=-3a1ea8d916897add --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern heck=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libheck-14ba030a199ffb3f.rlib --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libproc_macro2-9f8490dfe06bebd8.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libquote-623041ee63443e86.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libsyn-46853e5213978901.rlib --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name structopt_derive --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C prefer-dynamic -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("nightly", "paw"))' -C metadata=98a39ada6f803eee -C extra-filename=-1d440146acaec117 --out-dir /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern heck=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libheck-14ba030a199ffb3f.rlib --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libproc_macro2-9f8490dfe06bebd8.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libquote-623041ee63443e86.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libsyn-46853e5213978901.rlib --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:305:26 | 305 | .trim_left_matches("//!") | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated method | 305 - .trim_left_matches("//!") 305 + .trim_start_matches("//!") | warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:306:26 | 306 | .trim_left_matches("///") | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 306 - .trim_left_matches("///") 306 + .trim_start_matches("///") | warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:307:26 | 307 | .trim_left_matches("/*!") | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 307 - .trim_left_matches("/*!") 307 + .trim_start_matches("/*!") | warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` --> src/attrs.rs:308:26 | 308 | .trim_left_matches("/**") | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 308 - .trim_left_matches("/**") 308 + .trim_start_matches("/**") | warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` --> src/attrs.rs:309:26 | 309 | .trim_right_matches("*/") | ^^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 309 - .trim_right_matches("*/") 309 + .trim_end_matches("*/") | warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` --> src/attrs.rs:355:28 | 355 | .map(|s| s.trim_right_matches('.')) | ^^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated method | 355 - .map(|s| s.trim_right_matches('.')) 355 + .map(|s| s.trim_end_matches('.')) | warning: `structopt-derive` (lib test) generated 6 warnings (5 duplicates) (run `cargo fix --lib -p structopt-derive --tests` to apply 1 suggestion) warning: `structopt-derive` (lib) generated 6 warnings (1 duplicate) (run `cargo fix --lib -p structopt-derive` to apply 5 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.24s Running `/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/structopt_derive-1d440146acaec117` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests structopt_derive Running `/usr/bin/rustdoc --edition=2015 --crate-type proc-macro --color auto --crate-name structopt_derive --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps --extern heck=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libheck-14ba030a199ffb3f.rlib --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libproc_macro2-9f8490dfe06bebd8.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libquote-623041ee63443e86.rlib --extern structopt_derive=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libstructopt_derive-3a1ea8d916897add.so --extern syn=/home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/structopt-derive-0.2.18/target/rpm/deps/libsyn-46853e5213978901.rlib --extern proc_macro -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("nightly", "paw"))' --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-structopt-derive0.2-devel-0.2.18-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/structopt-derive-0.2.18/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/structopt-derive-0.2.18/LICENSE-MIT Provides: crate(structopt-derive) = 0.2.18 rust-structopt-derive0.2-devel = 0.2.18-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(heck/default) >= 0.3.0 crate(proc-macro2/default) >= 0.4.0 crate(quote/default) >= 0.6.0 crate(syn/default) >= 0.15.0 Processing files: rust-structopt-derive0.2+default-devel-0.2.18-0.1.mga10.noarch Provides: crate(structopt-derive/default) = 0.2.18 rust-structopt-derive0.2+default-devel = 0.2.18-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(structopt-derive) = 0.2.18 Processing files: rust-structopt-derive0.2+nightly-devel-0.2.18-0.1.mga10.noarch Provides: crate(structopt-derive/nightly) = 0.2.18 rust-structopt-derive0.2+nightly-devel = 0.2.18-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(proc-macro2/nightly) >= 0.4.0 crate(structopt-derive) = 0.2.18 Processing files: rust-structopt-derive0.2+paw-devel-0.2.18-0.1.mga10.noarch Provides: crate(structopt-derive/paw) = 0.2.18 rust-structopt-derive0.2+paw-devel = 0.2.18-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(structopt-derive) = 0.2.18 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-structopt-derive0.2+default-devel-0.2.18-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-structopt-derive0.2+paw-devel-0.2.18-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-structopt-derive0.2+nightly-devel-0.2.18-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-structopt-derive0.2-devel-0.2.18-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EZYWxV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + test -d /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-structopt-derive0.2-0.2.18-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/structopt-derive-0.2.18/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/structopt-derive-0.2.18/LICENSE-MIT D: [iurt_root_command] Success!