D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-terminfo-0.9.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wPETco Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3TuRY7 + 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 . + 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.QXOdmD + 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.kUv6oc + 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 rand_core v0.6.4 Compiling siphasher v0.3.10 Compiling memchr v2.7.4 Compiling minimal-lexical v0.2.1 Compiling fnv v1.0.7 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=0d9d0858d748774a -C extra-filename=-67670c4ad024a22d --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-0.3.10/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_no_std", "serde_std", "std"))' -C metadata=e261d2fe68a88f5a -C extra-filename=-36f705cdd27b4fc3 --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.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=9228fa86758e8c03 -C extra-filename=-3b1147e61686bb87 --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=76dd191ec5795237 -C extra-filename=-6084cf16007fca87 --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=1aa55f94493c2884 -C extra-filename=-48a15bfabd685c29 --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-0.3.10/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_no_std", "serde_std", "std"))' -C metadata=aeb4ca05c4d91614 -C extra-filename=-063f7d847b11d42f --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 rand v0.8.5 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="small_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=1c2b009cf7c54145 -C extra-filename=-ab4ec335a9b9c1b9 --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 rand_core=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/librand_core-67670c4ad024a22d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf_shared v0.11.2 Running `/usr/bin/rustc --crate-name phf_shared --edition=2021 /usr/share/cargo/registry/phf_shared-0.11.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std", "uncased", "unicase"))' -C metadata=163010dfbe3f6d2a -C extra-filename=-4a1a069ee7f9237c --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-063f7d847b11d42f.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.11.2/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=eff0e9a6d2b96c66 -C extra-filename=-cf6db1a84233b34c --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-36f705cdd27b4fc3.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf v0.11.2 Running `/usr/bin/rustc --crate-name phf --edition=2021 /usr/share/cargo/registry/phf-0.11.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --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=7ff8a9131e0524e4 -C extra-filename=-da8b0074b77bc122 --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-4a1a069ee7f9237c.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=6b03b8e1c21bc698 -C extra-filename=-3888cdae2d32358b --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-3b1147e61686bb87.rmeta --extern minimal_lexical=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libminimal_lexical-6084cf16007fca87.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf_generator v0.11.2 Running `/usr/bin/rustc --crate-name phf_generator --edition=2021 /usr/share/cargo/registry/phf_generator-0.11.2/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=8558889ce96cfd8c -C extra-filename=-aee5e5b7e95539d1 --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-cf6db1a84233b34c.rmeta --extern rand=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/librand-ab4ec335a9b9c1b9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling phf_codegen v0.11.2 Running `/usr/bin/rustc --crate-name phf_codegen --edition=2021 /usr/share/cargo/registry/phf_codegen-0.11.2/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=fe5c2cff97b2ee04 -C extra-filename=-eb3457f80a662db7 --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-aee5e5b7e95539d1.rmeta --extern phf_shared=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf_shared-cf6db1a84233b34c.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=95e3ce4cd788884d -C extra-filename=-81470b818f0bc1eb --out-dir /home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/build/terminfo-81470b818f0bc1eb -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-eb3457f80a662db7.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-81470b818f0bc1eb/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=2b56d1f5c5f8f3ee -C extra-filename=-caa4d3e799374088 --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-48a15bfabd685c29.rmeta --extern nom=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libnom-3888cdae2d32358b.rmeta --extern phf=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf-da8b0074b77bc122.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: elided lifetime has a name --> src/database.rs:95:63 | 95 | pub fn set<'a, C: Capability<'a>>(&'a mut self, value: C) -> &mut Self { | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: constant `NONE` is never used --> src/parser/util.rs:24:7 | 24 | const NONE: u8 = 0b000000; | ^^^^ | = note: `#[warn(dead_code)]` 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: variants `Comment`, `Definition`, `True`, `Number`, `String`, and `Disable` are never constructed --> src/parser/source.rs:30:2 | 29 | pub enum Item<'a> { | ---- variants in this enum 30 | Comment(&'a str), | ^^^^^^^ 31 | 32 | Definition { name: &'a str, aliases: Vec<&'a str>, description: &'a str }, | ^^^^^^^^^^ 33 | 34 | True(&'a str), | ^^^^ 35 | Number(&'a str, i16), | ^^^^^^ 36 | String(&'a str, Cow<'a, [u8]>), | ^^^^^^ 37 | Disable(&'a str), | ^^^^^^^ | = note: `Item` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis 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 23 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 8.08s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.b9nnSH + 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.9kxHVE + 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 rand_core v0.6.4 Fresh rand v0.8.5 Fresh phf_generator v0.11.2 Fresh phf_codegen v0.11.2 Fresh siphasher v0.3.10 Fresh memchr v2.7.4 Fresh minimal-lexical v0.2.1 Fresh fnv v1.0.7 Fresh phf_shared v0.11.2 Fresh nom v7.1.3 Fresh phf v0.11.2 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=fcc6de674435379b -C extra-filename=-2519610265b6ff4a --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-48a15bfabd685c29.rlib --extern nom=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libnom-3888cdae2d32358b.rlib --extern phf=/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/libphf-da8b0074b77bc122.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: elided lifetime has a name --> src/database.rs:95:63 | 95 | pub fn set<'a, C: Capability<'a>>(&'a mut self, value: C) -> &mut Self { | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: `terminfo` (lib test) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 6.32s Running `/home/pterjan/rpmbuild/BUILD/rust-terminfo-0.9.0-build/terminfo-0.9.0/target/rpm/deps/terminfo-2519610265b6ff4a` running 18 tests test expand::test::conditional ... ok test expand::test::print ... ok test expand::test::test_basic_setabf ... ok test capability::test::cursor_address ... ok test parser::compiled::test::aliases ... ok test parser::compiled::test::description ... ok test parser::compiled::test::bigger_numbers ... ok test parser::compiled::test::name ... ok test parser::compiled::test::extended ... ok test parser::expansion::test::conditional ... ok test parser::compiled::test::standard ... ok test parser::expansion::test::operation ... ok test parser::expansion::test::constant ... ok test parser::expansion::test::percent ... ok test parser::expansion::test::print ... ok test parser::expansion::test::string ... ok test parser::expansion::test::variable ... ok test parser::source::test::parsing ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-terminfo-devel-0.9.0-1.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-1.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.11.0 crate(phf_codegen/default) >= 0.11.0 Processing files: rust-terminfo+default-devel-0.9.0-1.mga10.noarch Provides: crate(terminfo/default) = 0.9.0 rust-terminfo+default-devel = 0.9.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(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-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-terminfo-devel-0.9.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.him5yp + 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!