D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-convert_case-0.8.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.a8h6ED Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2ShY0A + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + rm -rf convert_case-0.8.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/convert_case-0.8.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd convert_case-0.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.r9dcPi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + cd convert_case-0.8.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ni1bZi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd convert_case-0.8.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling unicode-segmentation v1.12.0 Running `/usr/bin/rustc --crate-name unicode_segmentation --edition=2018 /usr/share/cargo/registry/unicode-segmentation-1.12.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 panic=abort -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no_std"))' -C metadata=bf0f5fd498e77c5f -C extra-filename=-5b08bfb6d7a6e1a4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling convert_case v0.8.0 (/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0) Running `/usr/bin/rustc --crate-name convert_case --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 panic=abort -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("rand", "random"))' -C metadata=15db4c8a70c0d39a -C extra-filename=-bf78ca6413458804 --out-dir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --extern unicode_segmentation=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libunicode_segmentation-5b08bfb6d7a6e1a4.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/lib.rs:302:18 | 302 | fn from_case(&self, case: Case) -> StateConverter; | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 302 | fn from_case(&self, case: Case) -> StateConverter<'_, T>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:316:24 | 316 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter; | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 316 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:330:27 | 330 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter; | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 330 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:354:24 | 354 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter { | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:358:27 | 358 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter { | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 358 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:362:18 | 362 | fn from_case(&self, case: Case) -> StateConverter { | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 362 | fn from_case(&self, case: Case) -> StateConverter<'_, T> { | +++ warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/case.rs:65:9 | 38 | #[derive(Eq, PartialEq, Hash, Clone, Copy, Debug)] | --------- in this derive macro expansion ... 65 | pattern: fn(&[&str]) -> Vec, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default warning: `convert_case` (lib) generated 7 warnings (run `cargo fix --lib -p convert_case` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.56s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zsYybx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd convert_case-0.8.0 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=convert_case ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.8.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT/usr/share/cargo/registry/convert_case-0.8.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT/usr/share/cargo/registry/convert_case-0.8.0 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT/usr/share/cargo/registry/convert_case-0.8.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT/usr/share/cargo/registry/convert_case-0.8.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT/usr/share/cargo/registry/convert_case-0.8.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9Qcurz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd convert_case-0.8.0 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling unicode-segmentation v1.12.0 Running `/usr/bin/rustc --crate-name unicode_segmentation --edition=2018 /usr/share/cargo/registry/unicode-segmentation-1.12.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 linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no_std"))' -C metadata=78dbc79978b24d08 -C extra-filename=-baf20dfdddab5955 --out-dir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling convert_case v0.8.0 (/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0) Running `/usr/bin/rustc --crate-name convert_case --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 linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("rand", "random"))' -C metadata=69f79aadd6e4fc38 -C extra-filename=-2297f15f498ca438 --out-dir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --extern unicode_segmentation=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libunicode_segmentation-baf20dfdddab5955.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/lib.rs:302:18 | 302 | fn from_case(&self, case: Case) -> StateConverter; | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 302 | fn from_case(&self, case: Case) -> StateConverter<'_, T>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:316:24 | 316 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter; | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 316 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:330:27 | 330 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter; | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 330 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>; | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:354:24 | 354 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter { | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | fn with_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:358:27 | 358 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter { | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 358 | fn without_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:362:18 | 362 | fn from_case(&self, case: Case) -> StateConverter { | ^^^^^ ^^^^^^^^^^^^^^^^^ 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 | 362 | fn from_case(&self, case: Case) -> StateConverter<'_, T> { | +++ warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/case.rs:65:9 | 38 | #[derive(Eq, PartialEq, Hash, Clone, Copy, Debug)] | --------- in this derive macro expansion ... 65 | pattern: fn(&[&str]) -> Vec, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default Running `/usr/bin/rustc --crate-name convert_case --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("rand", "random"))' -C metadata=4062609d53c2c724 -C extra-filename=-9767e231206acd56 --out-dir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --extern unicode_segmentation=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libunicode_segmentation-baf20dfdddab5955.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/lib.rs:478:26 | 478 | fn possible_cases(s: &str) -> Vec { | ^^^^ ^^^^ 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 | 478 | fn possible_cases(s: &str) -> Vec> { | ++++ warning: `convert_case` (lib) generated 7 warnings (run `cargo fix --lib -p convert_case` to apply 6 suggestions) Running `/usr/bin/rustc --crate-name string_types --edition=2021 tests/string_types.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("rand", "random"))' -C metadata=bd8097c0e371322d -C extra-filename=-ec9ad91582ba8f6a --out-dir /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --extern convert_case=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libconvert_case-2297f15f498ca438.rlib --extern unicode_segmentation=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libunicode_segmentation-baf20dfdddab5955.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `convert_case` (lib test) generated 8 warnings (7 duplicates) (run `cargo fix --lib -p convert_case --tests` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 19.78s Running `/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/convert_case-9767e231206acd56` running 44 tests test boundary::tests::acronym ... ok test boundary::tests::boundaries_found_in_string ... ok test boundary::tests::boundary_consts_same ... ok test boundary::tests::delimiters ... ok test boundary::tests::from_delim_dot ... ok test boundary::tests::from_delim_double_colon ... ok test boundary::tests::lower_upper ... ok test boundary::tests::space ... ok test boundary::tests::underscore ... ok test boundary::tests::hyphen ... ok test converter::test::add_boundaries ... ok test converter::test::add_boundary ... ok test converter::test::custom_pattern ... ok test converter::test::custom_delim ... ok test converter::test::explicit_boundaries ... ok test converter::test::no_digit_boundaries ... ok test converter::test::remove_boundary ... ok test converter::test::reuse_after_change ... ok test converter::test::no_pattern ... ok test converter::test::snake_converter_from_case ... ok test converter::test::no_delim ... ok test converter::test::snake_converter_from_scratch ... ok test pattern::test::mutate_empty_strings ... ok test test::accent_mark ... ok test test::alternating_ignore_symbols ... ok test test::camel_case_acroynms ... ok test test::default_all_boundaries ... ok test test::detect_many_cases ... ok test test::double_delimeters ... ok test test::early_word_boundaries ... ok test test::empty_string ... ok test test::late_word_boundaries ... ok test test::leading_tailing_delimeters ... ok test test::multiline_strings ... ok test test::multiple_from_case ... ok test test::obvious_default_parsing ... ok test test::owned_string ... ok test test::detect_each_case ... ok test test::remove_boundaries ... ok test test::lossless_against_lossless ... ok test test::russian ... ok test test::string_is_kebab ... ok test test::string_is_snake ... ok test test::with_boundaries ... ok test result: ok. 44 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/string_types-ec9ad91582ba8f6a` running 5 tests test rc_str_type ... ok test arc_str_type ... ok test string_type ... ok test str_type ... ok test string_ref_type ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests convert_case Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name convert_case --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps --extern convert_case=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libconvert_case-2297f15f498ca438.rlib --extern unicode_segmentation=/home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/convert_case-0.8.0/target/rpm/deps/libunicode_segmentation-baf20dfdddab5955.rlib -C lto --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("rand", "random"))' --error-format human` warning: expected `=`, found `}` --> src/lib.rs:1:1 | 1 | / //! Converts to and from various cases. 2 | | //! 3 | | //! # Command Line Utility `ccase` 4 | | //! ... | 256 | | //! convert_case = { version = "^0.8.0", features = ["random"] } 257 | | //! ``` | |_______^ | = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default warning: 1 warning emitted running 85 tests test src/converter.rs - converter::Converter::remove_boundary (line 182) ... ok test src/boundary.rs - boundary::Boundary::SPACE (line 101) ... ok test src/converter.rs - converter::Converter::new (line 87) ... ok test src/case.rs - case::Case::Sentence (line 237) ... ok test src/converter.rs - converter::Converter::from_case (line 128) ... ok test src/boundary.rs - boundary::Boundary::digit_letter (line 343) ... ok test src/boundary.rs - boundary::Boundary::defaults_from (line 363) ... ok test src/case.rs - case::Case::Custom (line 46) ... ok test src/converter.rs - converter::Converter (line 52) ... ok test src/boundary.rs - boundary::Boundary::digits (line 306) ... ok test src/boundary.rs - boundary::Boundary::DIGIT_LOWER (line 214) ... ok test src/case.rs - case::Case::Train (line 137) ... ok test src/boundary.rs - boundary::Boundary::UPPER_LOWER (line 136) ... ok test src/case.rs - case::Case::Upper (line 212) ... ok test src/case.rs - case::Case<'_>::join (line 423) ... ok test src/boundary.rs - boundary::Boundary::HYPHEN (line 85) ... ok test src/case.rs - case::Case<'_>::split (line 396) ... ok test src/boundary.rs - boundary::Boundary::LOWER_UPPER (line 117) ... ok test src/case.rs - case::Case::Ada (line 100) ... ok test src/converter.rs - converter::Converter::remove_boundaries (line 195) ... ok test src/case.rs - case::Case (line 9) ... ok test src/case.rs - case::Case::Snake (line 74) ... ok test src/case.rs - case::Case::Constant (line 85) ... ok test src/boundary.rs - boundary::Boundary::DIGIT_UPPER (line 233) ... ok test src/converter.rs - converter::Converter (line 24) ... ok test src/case.rs - case::Case::Toggle (line 261) ... ok test src/boundary.rs - boundary::Boundary::UNDERSCORE (line 69) ... ok test src/case.rs - case::Case::Flat (line 148) ... ok test src/case.rs - case::Case::Lower (line 201) ... ok test src/case.rs - case::Case::Kebab (line 111) ... ok test src/boundary.rs - boundary::Boundary::UPPER_DIGIT (line 195) ... ok test src/boundary.rs - boundary::Boundary::ACRONYM (line 156) ... ok test src/case.rs - case::Case::UpperFlat (line 159) ... ok test src/boundary.rs - boundary::Boundary (line 28) ... ok test src/boundary.rs - boundary::Boundary::from_delim (line 252) ... ok test src/boundary.rs - boundary::Boundary::LOWER_DIGIT (line 176) ... ok test src/case.rs - case::Case<'_>::mutate (line 411) ... ok test src/converter.rs - converter::Converter::add_boundary (line 154) ... ok test src/boundary.rs - boundary::split (line 401) ... ok test src/converter.rs - converter::Converter::convert (line 97) ... ok test src/boundary.rs - boundary::Boundary::defaults (line 274) ... ok test src/case.rs - case::Case::Camel (line 190) ... ok test src/boundary.rs - boundary::Boundary::letter_digit (line 328) ... ok test src/case.rs - case::Case::Title (line 225) ... ok test src/case.rs - case::Case::Pascal (line 173) ... ok test src/case.rs - case::Case::Cobol (line 122) ... ok test src/converter.rs - converter::Converter::add_boundaries (line 168) ... ok test src/case.rs - case::Case::Alternating (line 249) ... ok test src/converter.rs - converter::Converter::remove_pattern (line 253) ... ok test src/converter.rs - converter::Converter::set_delim (line 210) ... ok test src/converter.rs - converter::Converter::remove_delim (line 226) ... ok test src/converter.rs - converter::Converter::set_boundaries (line 141) ... ok test src/lib.rs - (line 115) ... ok test src/lib.rs - (line 211) ... ok test src/lib.rs - (line 74) ... ok test src/lib.rs - (line 166) ... ok test src/converter.rs - converter::Converter::set_pattern (line 239) ... ok test src/lib.rs - (line 35) ... ok test src/lib.rs - (line 16) ... ok test src/converter.rs - converter::Converter::to_case (line 114) ... ok test src/lib.rs - (line 196) ... ok test src/lib.rs - (line 234) ... ok test src/lib.rs - (line 153) ... ok test src/lib.rs - (line 83) ... ok test src/lib.rs - (line 49) ... ok test src/lib.rs - (line 95) ... ok test src/lib.rs - (line 61) ... ok test src/lib.rs - Casing::without_boundaries (line 320) ... ok test src/lib.rs - Casing::is_case (line 334) ... ok test src/lib.rs - StateConverter<'a,T>::without_boundaries (line 439) ... ok test src/lib.rs - Casing::from_case (line 291) ... ok test src/lib.rs - StateConverter (line 378) ... ok test src/lib.rs - Casing::to_case (line 280) ... ok test src/lib.rs - StateConverter<'a,T>::with_boundaries (line 420) ... ok test src/lib.rs - Casing::with_boundaries (line 306) ... ok test src/pattern.rs - pattern::alternating (line 175) ... ok test src/lib.rs - StateConverter<'a,T>::to_case (line 458) ... ok test src/lib.rs - StateConverter<'a,T>::from_case (line 401) ... ok test src/pattern.rs - pattern::noop (line 50) ... ok test src/pattern.rs - pattern::camel (line 109) ... ok test src/pattern.rs - pattern::uppercase (line 77) ... ok test src/pattern.rs - pattern::capital (line 93) ... ok test src/pattern.rs - pattern::toggle (line 155) ... ok test src/pattern.rs - pattern::lowercase (line 62) ... ok test src/pattern.rs - pattern::sentence (line 132) ... ok test result: ok. 85 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.66s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-convert_case-devel-0.8.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/convert_case-0.8.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/convert_case-0.8.0/README.md Provides: crate(convert_case) = 0.8.0 rust-convert_case-devel = 0.8.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(unicode-segmentation/default) >= 1.9.0 Processing files: rust-convert_case+default-devel-0.8.0-1.mga10.noarch Provides: crate(convert_case/default) = 0.8.0 rust-convert_case+default-devel = 0.8.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(convert_case) = 0.8.0 Processing files: rust-convert_case+rand-devel-0.8.0-1.mga10.noarch Provides: crate(convert_case/rand) = 0.8.0 rust-convert_case+rand-devel = 0.8.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(convert_case) = 0.8.0 crate(rand/default) >= 0.8.0 Processing files: rust-convert_case+random-devel-0.8.0-1.mga10.noarch Provides: crate(convert_case/random) = 0.8.0 rust-convert_case+random-devel = 0.8.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(convert_case) = 0.8.0 crate(convert_case/rand) = 0.8.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-convert_case+rand-devel-0.8.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-convert_case+default-devel-0.8.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-convert_case+random-devel-0.8.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-convert_case-devel-0.8.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Hbgsaz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-convert_case-0.8.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/convert_case-0.8.0/LICENSE File listed twice: /usr/share/cargo/registry/convert_case-0.8.0/README.md D: [iurt_root_command] Success!