D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-terminfo-0.9.0-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sx827J Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dsSHsa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + rm -rf terminfo-0.9.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/terminfo-0.9.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd terminfo-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-inconsistent-lifetime-elision-flagged-by-Rust-1..patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-error-E0716-temporary-value-dropped-while-borrow.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/terminfo-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.qQeW9s + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + cd terminfo-0.9.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.CV8P6b + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.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 terminfo-0.9.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 siphasher v1.0.1 Running `/usr/bin/rustc --crate-name siphasher --edition=2018 /usr/share/cargo/registry/siphasher-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "serde_json", "serde_no_std", "serde_std", "std"))' -C metadata=5e15d75bbfba09bf -C extra-filename=-c7390df1bfd5f8b1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling fastrand v2.3.0 Compiling memchr v2.7.6 Compiling minimal-lexical v0.2.1 Compiling fnv v1.0.7 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 embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=c0294a08a975226d -C extra-filename=-896d772d662eb288 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.6/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=945b98d750cbbfd2 -C extra-filename=-ea23da70d03ba017 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name fnv --edition=2015 /usr/share/cargo/registry/fnv-1.0.7/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=92a60c82e1cbfdc2 -C extra-filename=-3d68a66b71c5c12e --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name minimal_lexical --edition=2018 /usr/share/cargo/registry/minimal-lexical-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compact", "default", "lint", "nightly", "std"))' -C metadata=452f35d3f586ef16 -C extra-filename=-c46736686b990fac --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name siphasher --edition=2018 /usr/share/cargo/registry/siphasher-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "serde_json", "serde_no_std", "serde_std", "std"))' -C metadata=63d57a4fe4276c46 -C extra-filename=-62c706afbc7e531f --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf_shared v0.13.1 Running `/usr/bin/rustc --crate-name phf_shared --edition=2021 /usr/share/cargo/registry/phf_shared-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std", "uncased", "unicase"))' -C metadata=a5b7bc4fc21fa280 -C extra-filename=-ff2a9e5a2f9047d7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern siphasher=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libsiphasher-62c706afbc7e531f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name phf_shared --edition=2021 /usr/share/cargo/registry/phf_shared-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std", "uncased", "unicase"))' -C metadata=e23ba4bb326821be -C extra-filename=-1260f7853da27497 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern siphasher=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libsiphasher-c7390df1bfd5f8b1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf v0.13.1 Running `/usr/bin/rustc --crate-name phf --edition=2021 /usr/share/cargo/registry/phf-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "macros", "phf_macros", "serde", "std", "uncased", "unicase"))' -C metadata=426b0c910563a25e -C extra-filename=-954f9fb67cf9c04a --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern phf_shared=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf_shared-ff2a9e5a2f9047d7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf_generator v0.13.1 Running `/usr/bin/rustc --crate-name phf_generator --edition=2021 /usr/share/cargo/registry/phf_generator-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=77950e991a1edece -C extra-filename=-9b148de38f9ab1b2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern fastrand=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libfastrand-896d772d662eb288.rmeta --extern phf_shared=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf_shared-1260f7853da27497.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling nom v7.1.3 Running `/usr/bin/rustc --crate-name nom --edition=2018 /usr/share/cargo/registry/nom-7.1.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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "docsrs", "std"))' -C metadata=0d717a06722db80d -C extra-filename=-b4a54a325a6ebffb --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libmemchr-ea23da70d03ba017.rmeta --extern minimal_lexical=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libminimal_lexical-c46736686b990fac.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf_codegen v0.13.1 Running `/usr/bin/rustc --crate-name phf_codegen --edition=2021 /usr/share/cargo/registry/phf_codegen-0.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=8674edf0951a8361 -C extra-filename=-188d632a5b75d606 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern phf_generator=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf_generator-9b148de38f9ab1b2.rmeta --extern phf_shared=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf_shared-1260f7853da27497.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling terminfo v0.9.0 (/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0) Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a0ab080e9680c3b9 -C extra-filename=-286b43725dbc6e97 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/build/terminfo-286b43725dbc6e97 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern phf_codegen=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf_codegen-188d632a5b75d606.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/build/terminfo-286b43725dbc6e97/build-script-build` Running `/usr/bin/rustc --crate-name terminfo --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6c01010c24aa1bab -C extra-filename=-e8f43cc8a4385a88 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern fnv=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libfnv-3d68a66b71c5c12e.rmeta --extern nom=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libnom-b4a54a325a6ebffb.rmeta --extern phf=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf-954f9fb67cf9c04a.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: constant `NONE` is never used --> src/parser/util.rs:24:7 | 24 | const NONE: u8 = 0b000000; | ^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: constant `PRINT` is never used --> src/parser/util.rs:25:7 | 25 | const PRINT: u8 = 0b000001; | ^^^^^ warning: constant `SPACE` is never used --> src/parser/util.rs:26:7 | 26 | const SPACE: u8 = 0b000010; | ^^^^^ warning: constant `CONTROL` is never used --> src/parser/util.rs:27:7 | 27 | const CONTROL: u8 = 0b000100; | ^^^^^^^ warning: constant `PIPE` is never used --> src/parser/util.rs:28:7 | 28 | const PIPE: u8 = 0b001000; | ^^^^ warning: constant `COMMA` is never used --> src/parser/util.rs:29:7 | 29 | const COMMA: u8 = 0b010000; | ^^^^^ warning: constant `EOL` is never used --> src/parser/util.rs:30:7 | 30 | const EOL: u8 = 0b100000; | ^^^ warning: static `ASCII` is never used --> src/parser/util.rs:34:8 | 34 | static ASCII: [u8; 256] = [ | ^^^^^ warning: function `is_ws` is never used --> src/parser/util.rs:70:8 | 70 | pub fn is_ws(ch: u8) -> bool { | ^^^^^ warning: function `is_eol` is never used --> src/parser/util.rs:75:8 | 75 | pub fn is_eol(ch: u8) -> bool { | ^^^^^^ warning: function `is_printable_no_pipe` is never used --> src/parser/util.rs:80:8 | 80 | pub fn is_printable_no_pipe(ch: u8) -> bool { | ^^^^^^^^^^^^^^^^^^^^ warning: function `is_printable_no_comma` is never used --> src/parser/util.rs:85:8 | 85 | pub fn is_printable_no_comma(ch: u8) -> bool { | ^^^^^^^^^^^^^^^^^^^^^ warning: function `is_printable_no_control` is never used --> src/parser/util.rs:90:8 | 90 | pub fn is_printable_no_control(ch: u8) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^ warning: function `ws` is never used --> src/parser/util.rs:94:8 | 94 | pub fn ws(input: &[u8]) -> IResult<&[u8], char> { | ^^ warning: function `end` is never used --> src/parser/util.rs:98:8 | 98 | pub fn end(input: &[u8]) -> IResult<&[u8], &[u8]> { | ^^^ warning: function `unescape` is never used --> src/parser/util.rs:117:8 | 117 | pub fn unescape(i: &[u8]) -> Cow<'_, [u8]> { | ^^^^^^^^ warning: enum `Item` is never used --> src/parser/source.rs:29:10 | 29 | pub enum Item<'a> { | ^^^^ warning: function `parse` is never used --> src/parser/source.rs:40:8 | 40 | pub fn parse(input: &[u8]) -> IResult<&[u8], Item<'_>> { | ^^^^^ warning: function `comment` is never used --> src/parser/source.rs:44:4 | 44 | fn comment(input: &[u8]) -> IResult<&[u8], Item<'_>> { | ^^^^^^^ warning: function `definition` is never used --> src/parser/source.rs:52:4 | 52 | fn definition(input: &[u8]) -> IResult<&[u8], Item<'_>> { | ^^^^^^^^^^ warning: function `disable` is never used --> src/parser/source.rs:75:4 | 75 | fn disable(input: &[u8]) -> IResult<&[u8], Item<'_>> { | ^^^^^^^ warning: function `entry` is never used --> src/parser/source.rs:93:4 | 93 | fn entry(input: &[u8]) -> IResult<&[u8], Item<'_>> { | ^^^^^ warning: `terminfo` (lib) generated 22 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 10.64s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SBmXs7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.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 terminfo-0.9.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=terminfo ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.9.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT/usr/share/cargo/registry/terminfo-0.9.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT/usr/share/cargo/registry/terminfo-0.9.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-terminfo-0.9.0-build/BUILDROOT/usr/share/cargo/registry/terminfo-0.9.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT/usr/share/cargo/registry/terminfo-0.9.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT/usr/share/cargo/registry/terminfo-0.9.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.dTNZY6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.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 terminfo-0.9.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 --lib Fresh fastrand v2.3.0 Fresh phf_generator v0.13.1 Fresh phf_codegen v0.13.1 Fresh siphasher v1.0.1 Fresh phf_shared v0.13.1 Fresh memchr v2.7.6 Fresh minimal-lexical v0.2.1 Fresh nom v7.1.3 Fresh phf v0.13.1 Fresh fnv v1.0.7 Compiling terminfo v0.9.0 (/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0) Running `/usr/bin/rustc --crate-name terminfo --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=35919b49dc93fbee -C extra-filename=-56c3a19b79f48494 --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps --extern fnv=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libfnv-3d68a66b71c5c12e.rlib --extern nom=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libnom-b4a54a325a6ebffb.rlib --extern phf=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf-954f9fb67cf9c04a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 7.21s Running `/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/terminfo-56c3a19b79f48494` running 18 tests test expand::test::test_basic_setabf ... ok test capability::test::cursor_address ... ok test expand::test::conditional ... ok test expand::test::print ... ok test parser::compiled::test::aliases ... ok test parser::compiled::test::bigger_numbers ... ok test parser::compiled::test::extended ... ok test parser::expansion::test::conditional ... ok test parser::compiled::test::standard ... ok test parser::expansion::test::constant ... ok test parser::compiled::test::name ... ok test parser::expansion::test::percent ... ok test parser::expansion::test::operation ... ok test parser::expansion::test::string ... ok test parser::expansion::test::variable ... ok test parser::compiled::test::description ... ok test parser::source::test::parsing ... ok test parser::expansion::test::print ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-terminfo-devel-0.9.0-3.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/terminfo-0.9.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/terminfo-0.9.0/README.md Provides: crate(terminfo) = 0.9.0 rust-terminfo-devel = 0.9.0-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(fnv/default) >= 1.0.0 crate(nom) >= 7.0.0 crate(nom/std) >= 7.0.0 crate(phf/default) >= 0.13.0 crate(phf_codegen/default) >= 0.13.0 Processing files: rust-terminfo+default-devel-0.9.0-3.mga10.noarch Provides: crate(terminfo/default) = 0.9.0 rust-terminfo+default-devel = 0.9.0-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(terminfo) = 0.9.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-terminfo+default-devel-0.9.0-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-terminfo-devel-0.9.0-3.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Oy3P0y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/terminfo-0.9.0/LICENSE File listed twice: /usr/share/cargo/registry/terminfo-0.9.0/README.md D: [iurt_root_command] Success!