D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-writeable-0.6.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4UtFPI Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6AAfYc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + rm -rf writeable-0.6.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/writeable-0.6.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd writeable-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/writeable-fix-metadata.diff + 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.CoVofO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + cd writeable-0.6.1 + /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.RYDENt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-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 writeable-0.6.1 + '[' 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 writeable v0.6.1 (/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1) Running `/usr/bin/rustc --crate-name writeable --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("either"))' -C metadata=4208b8e0ada852aa -C extra-filename=-ead1d7eb743716bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:305:24 | 305 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the 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: use `'_` for type paths | 305 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:115:24 | 115 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:132:24 | 132 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 132 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:149:24 | 149 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 149 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:173:24 | 173 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 205 | impl_write_smart_pointer!(Cow<'a, T>, T: alloc::borrow::ToOwned); | ---------------------------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 206 | impl_write_smart_pointer!(alloc::boxed::Box); | ----------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 207 | impl_write_smart_pointer!(alloc::rc::Rc); | ------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 208 | impl_write_smart_pointer!(alloc::sync::Arc); | ---------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/parts_write_adapter.rs:105:24 | 105 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 105 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:195:28 | 195 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow)> { | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 195 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow<'_, str>)> { | +++ +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:251:28 | 251 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow)> { | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 251 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow<'_, str>)> { | +++ +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:294:24 | 294 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 294 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:347:28 | 347 | fn try_write_to_string(&self) -> Result, (Infallible, Cow)> { | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 347 | fn try_write_to_string(&self) -> Result, (Infallible, Cow<'_, str>)> { | +++ +++ warning: `writeable` (lib) generated 14 warnings (run `cargo fix --lib -p writeable` to apply 14 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.24s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9ujQ95 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-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 writeable-0.6.1 + '[' 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=writeable ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT/usr/share/cargo/registry/writeable-0.6.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT/usr/share/cargo/registry/writeable-0.6.1 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT/usr/share/cargo/registry/writeable-0.6.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 package -l warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT/usr/share/cargo/registry/writeable-0.6.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT/usr/share/cargo/registry/writeable-0.6.1/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.hG2x4w + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-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 writeable-0.6.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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.177 Compiling zerocopy v0.8.26 Compiling cfg-if v1.0.4 warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:305:24 | 305 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the 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: use `'_` for type paths | 305 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:115:24 | 115 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 115 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:132:24 | 132 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 132 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:149:24 | 149 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 149 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:173:24 | 173 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 173 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 205 | impl_write_smart_pointer!(Cow<'a, T>, T: alloc::borrow::ToOwned); | ---------------------------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 206 | impl_write_smart_pointer!(alloc::boxed::Box); | ----------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 207 | impl_write_smart_pointer!(alloc::rc::Rc); | ------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/impls.rs:194:32 | 194 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 208 | impl_write_smart_pointer!(alloc::sync::Arc); | ---------------------------------------------- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `impl_write_smart_pointer` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 194 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/parts_write_adapter.rs:105:24 | 105 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 105 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:195:28 | 195 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow)> { | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 195 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow<'_, str>)> { | +++ +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:251:28 | 251 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow)> { | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 251 | fn try_write_to_string(&self) -> Result, (Self::Error, Cow<'_, str>)> { | +++ +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:294:24 | 294 | fn write_to_string(&self) -> Cow { | ^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 294 | fn write_to_string(&self) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/try_writeable.rs:347:28 | 347 | fn try_write_to_string(&self) -> Result, (Infallible, Cow)> { | ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here | | | | | the same lifetime is hidden here | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 347 | fn try_write_to_string(&self) -> Result, (Infallible, Cow<'_, str>)> { | +++ +++ warning: `writeable` (lib) generated 14 warnings (run `cargo fix --lib -p writeable` to apply 14 suggestions) Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/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("core", "rustc-dep-of-std"))' -C metadata=557655ab03dec7b9 -C extra-filename=-e398f09b4be48fa3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/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/zerocopy-0.8.26/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="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=b025d1bf2c851fd1 -C extra-filename=-3dc3c33540bfe6e2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/build/zerocopy-3dc3c33540bfe6e2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/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/libc-0.2.177/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=01e973ac36cb0d74 -C extra-filename=-d012eaf11d056d91 --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/build/libc-d012eaf11d056d91 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/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-writeable-0.6.1-build/writeable-0.6.1/target/rpm/build/libc-d012eaf11d056d91/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.177/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 '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=963ee9aceb2054c8 -C extra-filename=-ade3caa9162a943f --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/build/zerocopy-3dc3c33540bfe6e2/build-script-build` Running `/usr/bin/rustc --crate-name zerocopy --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.26/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="simd"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=5524f2e1cf3a6dee -C extra-filename=-c5ef064e5cad4223 --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg zerocopy_aarch64_simd_1_59_0 --cfg zerocopy_core_error_1_81_0 --cfg zerocopy_diagnostic_on_unimplemented_1_78_0 --cfg zerocopy_generic_bounds_in_const_fn_1_61_0 --cfg zerocopy_panic_in_const_and_vec_try_reserve_1_57_0 --cfg zerocopy_target_has_atomics_1_60_0 --check-cfg 'cfg(zerocopy_aarch64_simd_1_59_0)' --check-cfg 'cfg(rust, values("1.59.0"))' --check-cfg 'cfg(zerocopy_core_error_1_81_0)' --check-cfg 'cfg(rust, values("1.81.0"))' --check-cfg 'cfg(zerocopy_diagnostic_on_unimplemented_1_78_0)' --check-cfg 'cfg(rust, values("1.78.0"))' --check-cfg 'cfg(zerocopy_generic_bounds_in_const_fn_1_61_0)' --check-cfg 'cfg(rust, values("1.61.0"))' --check-cfg 'cfg(zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)' --check-cfg 'cfg(rust, values("1.57.0"))' --check-cfg 'cfg(zerocopy_target_has_atomics_1_60_0)' --check-cfg 'cfg(rust, values("1.60.0"))' --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(kani)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)' --check-cfg 'cfg(coverage_nightly)'` Compiling getrandom v0.2.15 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=1dabf4071ffb483e -C extra-filename=-bc57f26a1aa56dfd --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/liblibc-ade3caa9162a943f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/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="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=8da71f8ba4c728a0 -C extra-filename=-feb78f213fa4b82c --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/libgetrandom-bc57f26a1aa56dfd.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ppv-lite86 v0.2.21 Running `/usr/bin/rustc --crate-name ppv_lite86 --edition=2021 /usr/share/cargo/registry/ppv-lite86-0.2.21/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="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=da3c6b0da7523e11 -C extra-filename=-f3413d7295e2e32d --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern zerocopy=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/libzerocopy-c5ef064e5cad4223.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_chacha v0.3.1 Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.3.1/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "serde1", "simd", "std"))' -C metadata=0c8b1fb624f8dd66 -C extra-filename=-bce4f3353b7150bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern ppv_lite86=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/libppv_lite86-f3413d7295e2e32d.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/librand_core-feb78f213fa4b82c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand v0.8.5 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.8.5/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="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="small_rng"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=d3794d71076af4d8 -C extra-filename=-1c340d8f2f7f6e7a --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/liblibc-ade3caa9162a943f.rmeta --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/librand_chacha-bce4f3353b7150bc.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/librand_core-feb78f213fa4b82c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling writeable v0.6.1 (/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1) Running `/usr/bin/rustc --crate-name writeable --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("either"))' -C metadata=defea4f1be936bde -C extra-filename=-70570b6c9e7ea7de --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern rand=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/librand-1c340d8f2f7f6e7a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name writeable --edition=2021 tests/writeable.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("either"))' -C metadata=bc89c69aef3ec699 -C extra-filename=-43b261b24e84536e --out-dir /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern rand=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/librand-1c340d8f2f7f6e7a.rlib --extern writeable=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/libwriteable-ead1d7eb743716bc.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `writeable` (lib test) generated 14 warnings (14 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 17.08s Running `/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/writeable-70570b6c9e7ea7de` running 15 tests test cmp::tests::test_write_str ... ok test cmp::tests::test_mixed ... ok test cmp::tests::test_write_char ... ok test ops::tests::test_bitor ... ok test ops::tests::test_sum ... ok test ops::tests::test_mul ... ok test impls::test_u8 ... ok test try_writeable::test_result_try_writeable ... ok test impls::test_string_impls ... ok test impls::test_usize ... ok test ops::tests::test_add ... ok test impls::test_u64 ... ok test impls::test_u16 ... ok test impls::test_u32 ... ok test impls::test_u128 ... ok test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/writeable-43b261b24e84536e` running 1 test test test_basic ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests writeable Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name writeable --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps --extern rand=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/librand-1c340d8f2f7f6e7a.rlib --extern writeable=/home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/writeable-0.6.1/target/rpm/deps/libwriteable-ead1d7eb743716bc.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("either"))' --error-format human` running 17 tests test src/try_writeable.rs - try_writeable::TryWriteable::try_write_to (line 113) ... ok test src/try_writeable.rs - try_writeable::TryWriteable::try_write_to (line 127) ... ok test src/lib.rs - Writeable::write_to_string (line 298) ... ok test src/lib.rs - LengthHint::capacity (line 173) ... ok test src/lib.rs - (line 34) ... ok test src/ops.rs - ops::LengthHint::bitor (line 77) ... ok test src/lib.rs - Writeable::write_to_string (line 278) ... ok test src/try_writeable.rs - try_writeable::TryWriteable::try_write_to (line 140) ... ok test src/try_writeable.rs - try_writeable::TryWriteable::try_write_to_string (line 183) ... ok test src/cmp.rs - cmp::cmp_str (line 70) ... ok test src/to_string_or_borrow.rs - to_string_or_borrow::to_string_or_borrow (line 111) ... ok test src/lib.rs - Part (line 200) ... ok test src/lib.rs - assert_writeable_eq (line 370) ... ok test src/to_string_or_borrow.rs - to_string_or_borrow::to_string_or_borrow (line 160) ... ok test src/parts_write_adapter.rs - parts_write_adapter::WithPart (line 41) ... ok test src/impls.rs - impls::str::write_to_string (line 107) ... ok test src/try_writeable.rs - try_writeable::TryWriteable (line 37) ... ok test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-writeable-devel-0.6.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/writeable-0.6.1/LICENSE warning: File listed twice: /usr/share/cargo/registry/writeable-0.6.1/README.md Provides: crate(writeable) = 0.6.1 rust-writeable-devel = 0.6.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo rust >= 1.81 Processing files: rust-writeable+default-devel-0.6.1-1.mga10.noarch Provides: crate(writeable/default) = 0.6.1 rust-writeable+default-devel = 0.6.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(writeable) = 0.6.1 Processing files: rust-writeable+either-devel-0.6.1-1.mga10.noarch Provides: crate(writeable/either) = 0.6.1 rust-writeable+either-devel = 0.6.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(either) >= 1.9.0 crate(writeable) = 0.6.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-writeable+default-devel-0.6.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-writeable+either-devel-0.6.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-writeable-devel-0.6.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zkzM57 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-writeable-0.6.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/writeable-0.6.1/LICENSE File listed twice: /usr/share/cargo/registry/writeable-0.6.1/README.md D: [iurt_root_command] Success!