D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-tar-0.4.44-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bseFE1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YNgngL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + rm -rf tar-0.4.44 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tar-0.4.44.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd tar-0.4.44 + /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.FAHwhG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + cd tar-0.4.44 + /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.exLG0Z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-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 tar-0.4.44 + '[' 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 rustix v1.1.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-1.1.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=71255b256abb97ee -C extra-filename=-712923fb5196e988 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/build/rustix-712923fb5196e988 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling libc v0.2.177 Compiling bitflags v2.10.0 Compiling linux-raw-sys v0.11.0 Compiling cfg-if v1.0.4 Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.11.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 --warn=unexpected_cfgs --check-cfg 'cfg(target_arch, values("xtensa"))' --cfg 'feature="auxvec"' --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("auxvec", "bootparam", "btrfs", "core", "default", "elf", "elf_uapi", "errno", "general", "if_arp", "if_ether", "if_packet", "image", "io_uring", "ioctl", "landlock", "loop_device", "mempolicy", "net", "netlink", "no_std", "prctl", "ptrace", "rustc-dep-of-std", "std", "system", "xdp"))' -C metadata=5317d21571472e57 -C extra-filename=-cab3d0581d964862 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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 bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.10.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 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "example_generated", "serde", "serde_core", "std"))' -C metadata=16fbcfd0cedd0eb8 -C extra-filename=-0c3d03fcad8fc5e6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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 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=08b529e5e0e8f31d -C extra-filename=-882b1cd97dcfd39c --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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 --cfg 'feature="default"' --cfg 'feature="std"' --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=7c69aeef3111cf2b -C extra-filename=-87d6f412400d82c7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/build/libc-87d6f412400d82c7 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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-tar-0.4.44-build/tar-0.4.44/target/rpm/build/libc-87d6f412400d82c7/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/build/rustix-712923fb5196e988/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' --cfg 'feature="default"' --cfg 'feature="std"' --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=34e2034c7ccd6dd1 -C extra-filename=-fc8cc4ba72b4ebba --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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 `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-1.1.2/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 --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' --cfg 'feature="alloc"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=39a891721caded12 -C extra-filename=-5ff7edd4e8e3cdc0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libbitflags-0c3d03fcad8fc5e6.rmeta --extern linux_raw_sys=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblinux_raw_sys-cab3d0581d964862.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg static_assertions --cfg lower_upper_exp_for_non_zero --cfg rustc_diagnostics --cfg linux_raw_dep --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling filetime v0.2.26 Running `/usr/bin/rustc --crate-name filetime --edition=2018 /usr/share/cargo/registry/filetime-0.2.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=2afe645e3fa5c237 -C extra-filename=-a1da38c2641517d2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblibc-fc8cc4ba72b4ebba.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling xattr v1.5.0 Running `/usr/bin/rustc --crate-name xattr --edition=2021 /usr/share/cargo/registry/xattr-1.5.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 --cfg 'feature="default"' --cfg 'feature="unsupported"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unsupported"))' -C metadata=a64efb3e25e7cbbd -C extra-filename=-a7e96eec818916d9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern rustix=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/librustix-5ff7edd4e8e3cdc0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tar v0.4.44 (/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44) Running `/usr/bin/rustc --crate-name tar --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 --cfg 'feature="default"' --cfg 'feature="xattr"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "xattr"))' -C metadata=1c30a035b39e9e43 -C extra-filename=-157ef255e3fe5ccf --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern filetime=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libfiletime-a1da38c2641517d2.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblibc-fc8cc4ba72b4ebba.rmeta --extern xattr=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libxattr-a7e96eec818916d9.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive.rs:82:20 | 82 | pub fn entries(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^ 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 | 82 | pub fn entries(&mut self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive.rs:187:30 | 187 | pub fn entries_with_seek(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^ 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 | 187 | pub fn entries_with_seek(&mut self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:77:17 | 77 | pub fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 77 | pub fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:87:23 | 87 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 87 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:104:22 | 104 | pub fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 104 | pub fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:113:28 | 113 | pub fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 113 | pub fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:135:27 | 135 | pub fn pax_extensions(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^^^^ 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 | 135 | pub fn pax_extensions(&mut self) -> io::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:303:13 | 303 | fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 303 | fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:307:19 | 307 | fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 307 | fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:336:18 | 336 | fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 336 | fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:343:24 | 343 | fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 343 | fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:367:23 | 367 | fn pax_extensions(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^^^^ 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 | 367 | fn pax_extensions(&mut self) -> io::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:354:17 | 354 | pub fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 354 | pub fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:365:23 | 365 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 365 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:429:22 | 429 | pub fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 429 | pub fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:443:28 | 443 | pub fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 443 | pub fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:980:23 | 980 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 980 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:1682:22 | 1682 | pub fn path2bytes(p: &Path) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 1682 | pub fn path2bytes(p: &Path) -> io::Result> { | +++ warning: `tar` (lib) generated 18 warnings (run `cargo fix --lib -p tar` to apply 18 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 10.10s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3icUX7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-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 tar-0.4.44 + '[' 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=tar ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.44 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT/usr/share/cargo/registry/tar-0.4.44 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT/usr/share/cargo/registry/tar-0.4.44 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT/usr/share/cargo/registry/tar-0.4.44 + /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)' warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT/usr/share/cargo/registry/tar-0.4.44/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT/usr/share/cargo/registry/tar-0.4.44/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.KZCo92 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-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 tar-0.4.44 + '[' 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 --lib Compiling rustix v1.1.2 Fresh libc v0.2.177 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-1.1.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=7aa575db8ffc71f1 -C extra-filename=-6160b92b7b253cf0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/build/rustix-6160b92b7b253cf0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh linux-raw-sys v0.11.0 Fresh bitflags v2.10.0 Compiling getrandom v0.3.4 Fresh cfg-if v1.0.4 Compiling once_cell v1.21.3 Compiling fastrand v2.3.0 Fresh filetime v0.2.26 Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.3/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="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=eaf4f7267ba8c5f5 -C extra-filename=-0c81559b51215464 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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 fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=157f72edf53aaf13 -C extra-filename=-bff68224de12f64a --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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/getrandom-0.3.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "wasm_js", "windows_legacy", "unsupported"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std"))' -C metadata=e9cf39c92eb416ba -C extra-filename=-10dffb3503a4b841 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/build/getrandom-10dffb3503a4b841 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/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-tar-0.4.44-build/tar-0.4.44/target/rpm/build/getrandom-10dffb3503a4b841/build-script-build` Running `/usr/bin/rustc --crate-name getrandom --edition=2021 /usr/share/cargo/registry/getrandom-0.3.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 --warn=unexpected_cfgs --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "wasm_js", "windows_legacy", "unsupported"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std"))' -C metadata=7fa016ed82b95b90 -C extra-filename=-ebabf6049263e2f8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblibc-fc8cc4ba72b4ebba.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/build/rustix-6160b92b7b253cf0/build-script-build` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-1.1.2/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 --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=11260102ba12d0d5 -C extra-filename=-a6f8684bffffd266 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libbitflags-0c3d03fcad8fc5e6.rmeta --extern linux_raw_sys=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblinux_raw_sys-cab3d0581d964862.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg static_assertions --cfg lower_upper_exp_for_non_zero --cfg rustc_diagnostics --cfg linux_raw_dep --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling tempfile v3.23.0 Compiling xattr v1.5.0 Running `/usr/bin/rustc --crate-name xattr --edition=2021 /usr/share/cargo/registry/xattr-1.5.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 --cfg 'feature="default"' --cfg 'feature="unsupported"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unsupported"))' -C metadata=6747572ad307b2e1 -C extra-filename=-5a5d546193bdf9d6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern rustix=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/librustix-a6f8684bffffd266.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.23.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 --cfg 'feature="default"' --cfg 'feature="getrandom"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "getrandom", "nightly"))' -C metadata=25bc91e59d4ecfeb -C extra-filename=-7989119421572e8f --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern fastrand=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libfastrand-bff68224de12f64a.rmeta --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libgetrandom-ebabf6049263e2f8.rmeta --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libonce_cell-0c81559b51215464.rmeta --extern rustix=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/librustix-a6f8684bffffd266.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tar v0.4.44 (/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44) Running `/usr/bin/rustc --crate-name tar --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 --cfg 'feature="default"' --cfg 'feature="xattr"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "xattr"))' -C metadata=6d4a966038f4a8d3 -C extra-filename=-24eb65b7681529c6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern filetime=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libfiletime-a1da38c2641517d2.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblibc-fc8cc4ba72b4ebba.rlib --extern tempfile=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libtempfile-7989119421572e8f.rlib --extern xattr=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libxattr-5a5d546193bdf9d6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive.rs:82:20 | 82 | pub fn entries(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^ 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: the lint level is defined here --> src/lib.rs:22:24 | 22 | #![cfg_attr(test, deny(warnings))] | ^^^^^^^^ = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` help: use `'_` for type paths | 82 | pub fn entries(&mut self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive.rs:187:30 | 187 | pub fn entries_with_seek(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^ 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 | 187 | pub fn entries_with_seek(&mut self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:77:17 | 77 | pub fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 77 | pub fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:87:23 | 87 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 87 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:104:22 | 104 | pub fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 104 | pub fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:113:28 | 113 | pub fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 113 | pub fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:135:27 | 135 | pub fn pax_extensions(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^^^^ 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 | 135 | pub fn pax_extensions(&mut self) -> io::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:303:13 | 303 | fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 303 | fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:307:19 | 307 | fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 307 | fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:336:18 | 336 | fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 336 | fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:343:24 | 343 | fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 343 | fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:367:23 | 367 | fn pax_extensions(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^^^^ 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 | 367 | fn pax_extensions(&mut self) -> io::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:354:17 | 354 | pub fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 354 | pub fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:365:23 | 365 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 365 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:429:22 | 429 | pub fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 429 | pub fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:443:28 | 443 | pub fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 443 | pub fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:980:23 | 980 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 980 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:1682:22 | 1682 | pub fn path2bytes(p: &Path) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 1682 | pub fn path2bytes(p: &Path) -> io::Result> { | +++ warning: `tar` (lib test) generated 18 warnings (run `cargo fix --lib -p tar --tests` to apply 18 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.84s Running `/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/tar-24eb65b7681529c6` running 1 test test builder::tests::test_find_sparse_entries ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + /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 --doc Fresh libc v0.2.177 Fresh linux-raw-sys v0.11.0 Fresh bitflags v2.10.0 Fresh cfg-if v1.0.4 Fresh fastrand v2.3.0 Fresh once_cell v1.21.3 Fresh rustix v1.1.2 Fresh filetime v0.2.26 Fresh xattr v1.5.0 Fresh getrandom v0.3.4 Fresh tempfile v3.23.0 Compiling tar v0.4.44 (/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44) Running `/usr/bin/rustc --crate-name tar --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 --cfg 'feature="default"' --cfg 'feature="xattr"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "xattr"))' -C metadata=8c23c44f52fdf597 -C extra-filename=-3a1d24ced60ba9a7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern filetime=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libfiletime-a1da38c2641517d2.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblibc-fc8cc4ba72b4ebba.rmeta --extern xattr=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libxattr-5a5d546193bdf9d6.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive.rs:82:20 | 82 | pub fn entries(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^ 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 | 82 | pub fn entries(&mut self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/archive.rs:187:30 | 187 | pub fn entries_with_seek(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^ 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 | 187 | pub fn entries_with_seek(&mut self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:77:17 | 77 | pub fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 77 | pub fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:87:23 | 87 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 87 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:104:22 | 104 | pub fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 104 | pub fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:113:28 | 113 | pub fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 113 | pub fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:135:27 | 135 | pub fn pax_extensions(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^^^^ 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 | 135 | pub fn pax_extensions(&mut self) -> io::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:303:13 | 303 | fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 303 | fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:307:19 | 307 | fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 307 | fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:336:18 | 336 | fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 336 | fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:343:24 | 343 | fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 343 | fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/entry.rs:367:23 | 367 | fn pax_extensions(&mut self) -> io::Result> { | ^^^^^^^^^ ^^^^^^^^^^^^^ 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 | 367 | fn pax_extensions(&mut self) -> io::Result>> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:354:17 | 354 | pub fn path(&self) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 354 | pub fn path(&self) -> io::Result> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:365:23 | 365 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 365 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:429:22 | 429 | pub fn link_name(&self) -> io::Result>> { | ^^^^^ ^^^^^^^^^ 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 | 429 | pub fn link_name(&self) -> io::Result>> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:443:28 | 443 | pub fn link_name_bytes(&self) -> Option> { | ^^^^^ ^^^^^^^^^ 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 | 443 | pub fn link_name_bytes(&self) -> Option> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:980:23 | 980 | pub fn path_bytes(&self) -> Cow<[u8]> { | ^^^^^ ^^^^^^^^^ 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 | 980 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/header.rs:1682:22 | 1682 | pub fn path2bytes(p: &Path) -> io::Result> { | ^^^^^ ^^^^^^^^^ 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 | 1682 | pub fn path2bytes(p: &Path) -> io::Result> { | +++ warning: `tar` (lib) generated 18 warnings (run `cargo fix --lib -p tar` to apply 18 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.21s Doc-tests tar Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name tar --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps --extern filetime=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libfiletime-a1da38c2641517d2.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/liblibc-fc8cc4ba72b4ebba.rlib --extern tar=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libtar-3a1d24ced60ba9a7.rlib --extern tempfile=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libtempfile-7989119421572e8f.rlib --extern xattr=/home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/tar-0.4.44/target/rpm/deps/libxattr-5a5d546193bdf9d6.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="xattr"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "xattr"))' --error-format human` running 13 tests test src/archive.rs - archive::Archive::unpack (line 102) - compile ... ok test src/entry.rs - entry::Entry<'a,R>::unpack (line 192) - compile ... ok test src/builder.rs - builder::Builder::append_file (line 357) - compile ... ok test src/builder.rs - builder::Builder::append_path (line 293) - compile ... ok test src/entry.rs - entry::Entry<'a,R>::unpack_in (line 220) - compile ... ok test src/builder.rs - builder::Builder::append_path_with_name (line 324) - compile ... ok test src/builder.rs - builder::Builder::append_writer (line 204) ... ok test src/builder.rs - builder::Builder::append_dir (line 391) ... ok test src/builder.rs - builder::Builder::append (line 118) ... ok test src/builder.rs - builder::Builder::append_data (line 163) ... ok test src/builder.rs - builder::Builder::append_link (line 249) ... ok test src/builder.rs - builder::Builder::append_dir_all (line 438) ... ok test src/builder.rs - builder::Builder::append_dir_all (line 423) ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-tar-devel-0.4.44-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/tar-0.4.44/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/tar-0.4.44/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/tar-0.4.44/README.md Provides: crate(tar) = 0.4.44 rust-tar-devel = 0.4.44-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(filetime/default) >= 0.2.8 crate(libc/default) >= 0.2.0 Processing files: rust-tar+default-devel-0.4.44-1.mga10.noarch Provides: crate(tar/default) = 0.4.44 rust-tar+default-devel = 0.4.44-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(tar) = 0.4.44 crate(tar/xattr) = 0.4.44 Processing files: rust-tar+xattr-devel-0.4.44-1.mga10.noarch Provides: crate(tar/xattr) = 0.4.44 rust-tar+xattr-devel = 0.4.44-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(tar) = 0.4.44 crate(xattr/default) >= 1.1.3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tar+xattr-devel-0.4.44-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tar+default-devel-0.4.44-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tar-devel-0.4.44-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wbrcVS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + test -d /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-tar-0.4.44-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/tar-0.4.44/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/tar-0.4.44/LICENSE-MIT File listed twice: /usr/share/cargo/registry/tar-0.4.44/README.md D: [iurt_root_command] Success!