D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-html-escape-0.2.13-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FK1Xtf Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Q31xxU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + rm -rf html-escape-0.2.13 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/html-escape-0.2.13.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd html-escape-0.2.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/html-escape-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.OWb9EH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + cd html-escape-0.2.13 + /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.1QNqpi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-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 html-escape-0.2.13 + '[' 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 utf8-width v0.1.7 Running `/usr/bin/rustc --crate-name utf8_width --edition=2021 /usr/share/cargo/registry/utf8-width-0.1.7/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=cf1e722f02e2b09b -C extra-filename=-0dfd314f6d52d6ba --out-dir /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling html-escape v0.2.13 (/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13) Running `/usr/bin/rustc --crate-name html_escape --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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=a74fc05a07821213 -C extra-filename=-02737e9e895c2424 --out-dir /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps --extern utf8_width=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps/libutf8_width-0dfd314f6d52d6ba.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/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:139:1 | 139 | / decode_impl! { 140 | | 7; 141 | | /// The following substring is unescaped: 142 | | /// ... | 152 | | decode_script_to_writer; 153 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:155:1 | 155 | / decode_impl! { 156 | | 7; 157 | | /// The following substring and character is unescaped: 158 | | /// ... | 169 | | decode_script_single_quoted_text_to_writer; 170 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:172:1 | 172 | / decode_impl! { 173 | | 7; 174 | | /// The following substring and character are unescaped: 175 | | /// ... | 186 | | decode_script_double_quoted_text_to_writer; 187 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:189:1 | 189 | / decode_impl! { 190 | | 7; 191 | | /// The following substring and characters are unescaped: 192 | | /// ... | 204 | | decode_script_quoted_text_to_writer; 205 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:132:1 | 132 | / decode_impl! { 133 | | 6; 134 | | /// The following substring is unescaped: 135 | | /// ... | 145 | | decode_style_to_writer; 146 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:148:1 | 148 | / decode_impl! { 149 | | 6; 150 | | /// The following substring and character is unescaped: 151 | | /// ... | 162 | | decode_style_single_quoted_text_to_writer; 163 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:165:1 | 165 | / decode_impl! { 166 | | 6; 167 | | /// The following substring and character are unescaped: 168 | | /// ... | 179 | | decode_style_double_quoted_text_to_writer; 180 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:182:1 | 182 | / decode_impl! { 183 | | 6; 184 | | /// The following substring and characters are unescaped: 185 | | /// ... | 197 | | decode_style_quoted_text_to_writer; 198 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/html_entity/mod.rs:18:59 | 18 | pub fn decode_html_entities>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | pub fn decode_html_entities>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:167:1 | 167 | / encode_impl! { 168 | | 7; 169 | | /// The following substring is escaped: 170 | | /// ... | 181 | | encode_script_to_writer; 182 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:184:1 | 184 | / encode_impl! { 185 | | 7; 186 | | /// The following substring and character are escaped: 187 | | /// ... | 199 | | encode_script_single_quoted_text_to_writer; 200 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:202:1 | 202 | / encode_impl! { 203 | | 7; 204 | | /// The following substring and character are escaped: 205 | | /// ... | 217 | | encode_script_double_quoted_text_to_writer; 218 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:220:1 | 220 | / encode_impl! { 221 | | 7; 222 | | /// The following substring and characters are escaped: 223 | | /// ... | 236 | | encode_script_quoted_text_to_writer; 237 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:156:1 | 156 | / encode_impl! { 157 | | 6; 158 | | /// The following substring is escaped: 159 | | /// ... | 170 | | encode_style_to_writer; 171 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:173:1 | 173 | / encode_impl! { 174 | | 6; 175 | | /// The following substring and character are escaped: 176 | | /// ... | 188 | | encode_style_single_quoted_text_to_writer; 189 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:191:1 | 191 | / encode_impl! { 192 | | 6; 193 | | /// The following substring and character are escaped: 194 | | /// ... | 206 | | encode_style_double_quoted_text_to_writer; 207 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:209:1 | 209 | / encode_impl! { 210 | | 6; 211 | | /// The following substring and characters are escaped: 212 | | /// ... | 225 | | encode_style_quoted_text_to_writer; 226 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 196 | / encode_impl! { 197 | | /// The following characters are escaped: 198 | | /// 199 | | /// * `&` => `&` ... | 209 | | encode_text_minimal_to_writer; 210 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 212 | / encode_impl! { 213 | | /// The following characters are escaped: 214 | | /// 215 | | /// * `&` => `&` ... | 226 | | encode_text_to_writer; 227 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 229 | / encode_impl! { 230 | | /// The following characters are escaped: 231 | | /// 232 | | /// * `&` => `&` ... | 244 | | encode_double_quoted_attribute_to_writer; 245 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 247 | / encode_impl! { 248 | | /// The following characters are escaped: 249 | | /// 250 | | /// * `&` => `&` ... | 262 | | encode_single_quoted_attribute_to_writer; 263 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 265 | / encode_impl! { 266 | | /// The following characters (HTML reserved characters) are escaped: 267 | | /// 268 | | /// * `&` => `&` ... | 281 | | encode_quoted_attribute_to_writer; 282 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 284 | / encode_impl! { 285 | | /// The following characters are escaped: 286 | | /// 287 | | /// * `&` => `&` ... | 301 | | encode_safe_to_writer; 302 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/unquoted_attribute.rs:22:64 | 22 | pub fn encode_unquoted_attribute>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 22 | pub fn encode_unquoted_attribute>(text: &S) -> Cow<'_, str> { | +++ warning: `html-escape` (lib) generated 24 warnings (run `cargo fix --lib -p html-escape` to apply 24 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.19s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3xtcrX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-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 html-escape-0.2.13 + '[' 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=html-escape ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.13 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT/usr/share/cargo/registry/html-escape-0.2.13 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT/usr/share/cargo/registry/html-escape-0.2.13 + /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-html-escape-0.2.13-build/BUILDROOT/usr/share/cargo/registry/html-escape-0.2.13 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT/usr/share/cargo/registry/html-escape-0.2.13/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT/usr/share/cargo/registry/html-escape-0.2.13/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.GJEnzH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-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 html-escape-0.2.13 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh utf8-width v0.1.7 warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:139:1 | 139 | / decode_impl! { 140 | | 7; 141 | | /// The following substring is unescaped: 142 | | /// ... | 152 | | decode_script_to_writer; 153 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:155:1 | 155 | / decode_impl! { 156 | | 7; 157 | | /// The following substring and character is unescaped: 158 | | /// ... | 169 | | decode_script_single_quoted_text_to_writer; 170 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:172:1 | 172 | / decode_impl! { 173 | | 7; 174 | | /// The following substring and character are unescaped: 175 | | /// ... | 186 | | decode_script_double_quoted_text_to_writer; 187 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/script.rs:189:1 | 189 | / decode_impl! { 190 | | 7; 191 | | /// The following substring and characters are unescaped: 192 | | /// ... | 204 | | decode_script_quoted_text_to_writer; 205 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:132:1 | 132 | / decode_impl! { 133 | | 6; 134 | | /// The following substring is unescaped: 135 | | /// ... | 145 | | decode_style_to_writer; 146 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:148:1 | 148 | / decode_impl! { 149 | | 6; 150 | | /// The following substring and character is unescaped: 151 | | /// ... | 162 | | decode_style_single_quoted_text_to_writer; 163 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:165:1 | 165 | / decode_impl! { 166 | | 6; 167 | | /// The following substring and character are unescaped: 168 | | /// ... | 179 | | decode_style_double_quoted_text_to_writer; 180 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/element/decode_impl.rs:7:59 | 7 | pub fn $decode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/decode/element/style.rs:182:1 | 182 | / decode_impl! { 183 | | 6; 184 | | /// The following substring and characters are unescaped: 185 | | /// ... | 197 | | decode_style_quoted_text_to_writer; 198 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `decode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $decode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/decode/html_entity/mod.rs:18:59 | 18 | pub fn decode_html_entities>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 18 | pub fn decode_html_entities>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:167:1 | 167 | / encode_impl! { 168 | | 7; 169 | | /// The following substring is escaped: 170 | | /// ... | 181 | | encode_script_to_writer; 182 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:184:1 | 184 | / encode_impl! { 185 | | 7; 186 | | /// The following substring and character are escaped: 187 | | /// ... | 199 | | encode_script_single_quoted_text_to_writer; 200 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:202:1 | 202 | / encode_impl! { 203 | | 7; 204 | | /// The following substring and character are escaped: 205 | | /// ... | 217 | | encode_script_double_quoted_text_to_writer; 218 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/script.rs:220:1 | 220 | / encode_impl! { 221 | | 7; 222 | | /// The following substring and characters are escaped: 223 | | /// ... | 236 | | encode_script_quoted_text_to_writer; 237 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:156:1 | 156 | / encode_impl! { 157 | | 6; 158 | | /// The following substring is escaped: 159 | | /// ... | 170 | | encode_style_to_writer; 171 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:173:1 | 173 | / encode_impl! { 174 | | 6; 175 | | /// The following substring and character are escaped: 176 | | /// ... | 188 | | encode_style_single_quoted_text_to_writer; 189 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:191:1 | 191 | / encode_impl! { 192 | | 6; 193 | | /// The following substring and character are escaped: 194 | | /// ... | 206 | | encode_style_double_quoted_text_to_writer; 207 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/element/encode_impl.rs:7:59 | 7 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | ::: src/encode/element/style.rs:209:1 | 209 | / encode_impl! { 210 | | 6; 211 | | /// The following substring and characters are escaped: 212 | | /// ... | 225 | | encode_style_quoted_text_to_writer; 226 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 7 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 196 | / encode_impl! { 197 | | /// The following characters are escaped: 198 | | /// 199 | | /// * `&` => `&` ... | 209 | | encode_text_minimal_to_writer; 210 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 212 | / encode_impl! { 213 | | /// The following characters are escaped: 214 | | /// 215 | | /// * `&` => `&` ... | 226 | | encode_text_to_writer; 227 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 229 | / encode_impl! { 230 | | /// The following characters are escaped: 231 | | /// 232 | | /// * `&` => `&` ... | 244 | | encode_double_quoted_attribute_to_writer; 245 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 247 | / encode_impl! { 248 | | /// The following characters are escaped: 249 | | /// 250 | | /// * `&` => `&` ... | 262 | | encode_single_quoted_attribute_to_writer; 263 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 265 | / encode_impl! { 266 | | /// The following characters (HTML reserved characters) are escaped: 267 | | /// 268 | | /// * `&` => `&` ... | 281 | | encode_quoted_attribute_to_writer; 282 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/mod.rs:112:59 | 112 | pub fn $encode_name>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here ... 284 | / encode_impl! { 285 | | /// The following characters are escaped: 286 | | /// 287 | | /// * `&` => `&` ... | 301 | | encode_safe_to_writer; 302 | | } | |_- in this macro invocation | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: this warning originates in the macro `encode_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: use `'_` for type paths | 112 | pub fn $encode_name>(text: &S) -> Cow<'_, str> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/encode/html_entity/unquoted_attribute.rs:22:64 | 22 | pub fn encode_unquoted_attribute>(text: &S) -> Cow { | ^^ ^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 22 | pub fn encode_unquoted_attribute>(text: &S) -> Cow<'_, str> { | +++ warning: `html-escape` (lib) generated 24 warnings (run `cargo fix --lib -p html-escape` to apply 24 suggestions) Compiling html-escape v0.2.13 (/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13) Running `/usr/bin/rustc --crate-name html_escape --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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=12f041aa3e6568a3 -C extra-filename=-d07b33832b88b034 --out-dir /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps --extern utf8_width=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps/libutf8_width-0dfd314f6d52d6ba.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `html-escape` (lib test) generated 24 warnings (24 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.72s Running `/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps/html_escape-d07b33832b88b034` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests html_escape Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name html_escape --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps --extern html_escape=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps/libhtml_escape-02737e9e895c2424.rlib --extern utf8_width=/home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/html-escape-0.2.13/target/rpm/deps/libutf8_width-0dfd314f6d52d6ba.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' --error-format human` running 4 tests test src/lib.rs - (line 13) ... ok test src/lib.rs - (line 37) ... ok test src/lib.rs - (line 19) ... ok test src/lib.rs - (line 33) ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-html-escape-devel-0.2.13-2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/html-escape-0.2.13/LICENSE warning: File listed twice: /usr/share/cargo/registry/html-escape-0.2.13/README.md Provides: crate(html-escape) = 0.2.13 rust-html-escape-devel = 0.2.13-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(utf8-width/default) >= 0.1.0 Processing files: rust-html-escape+default-devel-0.2.13-2.mga10.noarch Provides: crate(html-escape/default) = 0.2.13 rust-html-escape+default-devel = 0.2.13-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(html-escape) = 0.2.13 crate(html-escape/std) = 0.2.13 Processing files: rust-html-escape+std-devel-0.2.13-2.mga10.noarch Provides: crate(html-escape/std) = 0.2.13 rust-html-escape+std-devel = 0.2.13-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(html-escape) = 0.2.13 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-html-escape+default-devel-0.2.13-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-html-escape+std-devel-0.2.13-2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-html-escape-devel-0.2.13-2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Spy47D + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + test -d /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-html-escape-0.2.13-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/html-escape-0.2.13/LICENSE File listed twice: /usr/share/cargo/registry/html-escape-0.2.13/README.md D: [iurt_root_command] Success!