D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-proc-mounts-0.3.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8dN84p Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KovycX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + rm -rf proc-mounts-0.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/proc-mounts-0.3.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd proc-mounts-0.3.0 + /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.fgnkwe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + cd proc-mounts-0.3.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.KtC2ha + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-mounts-0.3.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 proc-macro2 v1.0.105 Compiling unicode-ident v1.0.22 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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=d4ded8db3929421f -C extra-filename=-0f1d4608a38c49a2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/build/proc-macro2-0f1d4608a38c49a2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling quote v1.0.41 Compiling thiserror v1.0.69 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.22/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=e10476e151b089a0 -C extra-filename=-79a01b0086603322 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/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=2021 /usr/share/cargo/registry/thiserror-1.0.69/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())' -C metadata=bc8773a37658fcd4 -C extra-filename=-130ee12496019363 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/build/thiserror-130ee12496019363 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/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=2018 /usr/share/cargo/registry/quote-1.0.41/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", "proc-macro"))' -C metadata=53ef3d98672135af -C extra-filename=-0454ff53fc80ddd6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/build/quote-0454ff53fc80ddd6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.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-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/build/quote-0454ff53fc80ddd6/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/build/thiserror-130ee12496019363/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/build/proc-macro2-0f1d4608a38c49a2/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.105/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=72ef6644dce39025 -C extra-filename=-df69b5d327200e14 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --cfg proc_macro_span_location --cfg proc_macro_span_file --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.41/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=9bbabf23ce03ffa3 -C extra-filename=-0814cf5a4fbfd5da --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_diagnostic_namespace)'` Compiling syn v2.0.114 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.114/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=10fadb19947c00d8 -C extra-filename=-1fc4885b21e77658 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libquote-0814cf5a4fbfd5da.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libunicode_ident-79a01b0086603322.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling thiserror-impl v1.0.69 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2021 /usr/share/cargo/registry/thiserror-impl-1.0.69/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())' -C metadata=d477cfea94ee911f -C extra-filename=-d7cd65c365bbfdbf --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libproc_macro2-df69b5d327200e14.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libquote-0814cf5a4fbfd5da.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libsyn-1fc4885b21e77658.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name thiserror --edition=2021 /usr/share/cargo/registry/thiserror-1.0.69/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=634de8cf0c78636c -C extra-filename=-65f6ca329b208f59 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern thiserror_impl=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libthiserror_impl-d7cd65c365bbfdbf.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg error_generic_member_access --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(thiserror_nightly_testing)'` Compiling partition-identity v0.3.0 Running `/usr/bin/rustc --crate-name partition_identity --edition=2021 /usr/share/cargo/registry/partition-identity-0.3.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())' -C metadata=95964980db8d1b99 -C extra-filename=-9e386caf6ea3fe6e --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern thiserror=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libthiserror-65f6ca329b208f59.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling proc-mounts v0.3.0 (/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0) Running `/usr/bin/rustc --crate-name proc_mounts --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=aae3169b08b121c7 -C extra-filename=-f6d58a49e5b68ff5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern partition_identity=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libpartition_identity-9e386caf6ea3fe6e.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: eliding a lifetime that's named elsewhere is confusing --> src/mounts/list.rs:54:34 | 52 | &'a self, | -- the lifetime is named here 53 | path: &'a Path, | -- the lifetime is named here 54 | ) -> Box + 'a> { | ^^^^^^^^^^ the same 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: consistently use `'a` | 54 | ) -> Box + 'a> { | ++ warning: eliding a lifetime that's named elsewhere is confusing --> src/mounts/list.rs:62:34 | 60 | &'a self, | -- the lifetime is named here 61 | path: &'a Path, | -- the lifetime is named here 62 | ) -> Box + 'a> { | ^^^^^^^^^^ the same lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 62 | ) -> Box + 'a> { | ++ warning: eliding a lifetime that's named elsewhere is confusing --> src/mounts/list.rs:70:34 | 67 | &'a self, | -- the lifetime is named here 68 | path: &'a [u8], | -- the lifetime is named here 69 | func: F, 70 | ) -> Box + 'a> { | ^^^^^^^^^^ the same lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 70 | ) -> Box + 'a> { | ++ warning: `proc-mounts` (lib) generated 3 warnings (run `cargo fix --lib -p proc-mounts` to apply 3 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 24.40s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HqqC3a + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-mounts-0.3.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=proc-mounts ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT/usr/share/cargo/registry/proc-mounts-0.3.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT/usr/share/cargo/registry/proc-mounts-0.3.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-proc-mounts-0.3.0-build/BUILDROOT/usr/share/cargo/registry/proc-mounts-0.3.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT/usr/share/cargo/registry/proc-mounts-0.3.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT/usr/share/cargo/registry/proc-mounts-0.3.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.qMj5gz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd proc-mounts-0.3.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 Fresh unicode-ident v1.0.22 Fresh proc-macro2 v1.0.105 Fresh quote v1.0.41 Fresh syn v2.0.114 Fresh thiserror-impl v1.0.69 Fresh thiserror v1.0.69 Fresh partition-identity v0.3.0 warning: eliding a lifetime that's named elsewhere is confusing --> src/mounts/list.rs:54:34 | 52 | &'a self, | -- the lifetime is named here 53 | path: &'a Path, | -- the lifetime is named here 54 | ) -> Box + 'a> { | ^^^^^^^^^^ the same 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: consistently use `'a` | 54 | ) -> Box + 'a> { | ++ warning: eliding a lifetime that's named elsewhere is confusing --> src/mounts/list.rs:62:34 | 60 | &'a self, | -- the lifetime is named here 61 | path: &'a Path, | -- the lifetime is named here 62 | ) -> Box + 'a> { | ^^^^^^^^^^ the same lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 62 | ) -> Box + 'a> { | ++ warning: eliding a lifetime that's named elsewhere is confusing --> src/mounts/list.rs:70:34 | 67 | &'a self, | -- the lifetime is named here 68 | path: &'a [u8], | -- the lifetime is named here 69 | func: F, 70 | ) -> Box + 'a> { | ^^^^^^^^^^ the same lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: consistently use `'a` | 70 | ) -> Box + 'a> { | ++ Compiling proc-mounts v0.3.0 (/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0) warning: `proc-mounts` (lib) generated 3 warnings (run `cargo fix --lib -p proc-mounts` to apply 3 suggestions) Running `/usr/bin/rustc --crate-name proc_mounts --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=ac4741f790e06549 -C extra-filename=-a03d21f3289fd721 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern partition_identity=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libpartition_identity-9e386caf6ea3fe6e.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name example --edition=2021 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,test)' --check-cfg 'cfg(feature, values())' -C metadata=feca14a52ea29b5d -C extra-filename=-06b804bf141144a0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern partition_identity=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libpartition_identity-9e386caf6ea3fe6e.rlib --extern proc_mounts=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libproc_mounts-f6d58a49e5b68ff5.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `proc-mounts` (lib test) generated 3 warnings (3 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.91s Running `/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/proc_mounts-a03d21f3289fd721` running 3 tests test mounts::tests::mounts ... ok test mounts::tests::source_mounted_at ... ok test swaps::tests::swaps ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests proc_mounts Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name proc_mounts --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps --extern partition_identity=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libpartition_identity-9e386caf6ea3fe6e.rlib --extern proc_mounts=/home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/proc-mounts-0.3.0/target/rpm/deps/libproc_mounts-f6d58a49e5b68ff5.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 1 test test src/lib.rs - (line 3) - compile ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-proc-mounts-devel-0.3.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/proc-mounts-0.3.0/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/proc-mounts-0.3.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/proc-mounts-0.3.0/README.md Provides: crate(proc-mounts) = 0.3.0 rust-proc-mounts-devel = 0.3.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(partition-identity/default) >= 0.3.0 Processing files: rust-proc-mounts+default-devel-0.3.0-1.mga10.noarch Provides: crate(proc-mounts/default) = 0.3.0 rust-proc-mounts+default-devel = 0.3.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-mounts) = 0.3.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-mounts+default-devel-0.3.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-proc-mounts-devel-0.3.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1Jjsct + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-proc-mounts-0.3.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/proc-mounts-0.3.0/CHANGELOG.md File listed twice: /usr/share/cargo/registry/proc-mounts-0.3.0/LICENSE File listed twice: /usr/share/cargo/registry/proc-mounts-0.3.0/README.md D: [iurt_root_command] Success!