D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch sh: line 4: [: -j8: integer expected Installing /home/pterjan/rpmbuild/SRPMS/rust-encoding_rs-0.8.35-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tvtqn3 sh: line 4: [: -j8: integer expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sn9fXR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build + rm -rf encoding_rs-0.8.35 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/encoding_rs-0.8.35.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd encoding_rs-0.8.35 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/encoding_rs-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 sh: line 4: [: -j8: integer expected Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OyvthZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build + cd encoding_rs-0.8.35 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JhBJmq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-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 encoding_rs-0.8.35 + '[' 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 -j48 -Z avoid-dev-deps --profile rpm Compiling cfg-if v1.0.4 Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=4ad11ff6a7cbc2f5 -C extra-filename=-5d90397df7d21981 --out-dir /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling encoding_rs v0.8.35 (/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35) Running `/usr/bin/rustc --crate-name encoding_rs --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "any_all_workaround", "default", "fast-big5-hanzi-encode", "fast-gb-hanzi-encode", "fast-hangul-encode", "fast-hanja-encode", "fast-kanji-encode", "fast-legacy-encode", "less-slow-big5-hanzi-encode", "less-slow-gb-hanzi-encode", "less-slow-kanji-encode", "serde", "simd-accel"))' -C metadata=7e08e1d72318247b -C extra-filename=-94568dd9e39cdd33 --out-dir /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35/target/rpm/deps/libcfg_if-5d90397df7d21981.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:42:5 | 42 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `cargo-clippy` --> src/iso_2022_jp.rs:377:5 | 377 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/iso_2022_jp.rs:398:5 | 398 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/utf_8.rs:229:12 | 229 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop, cyclomatic_complexity))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/utf_8.rs:606:12 | 606 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/data.rs:456:12 | 456 | #[cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/handles.rs:1183:16 | 1183 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/handles.rs:1217:16 | 1217 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:336:12 | 336 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:710:12 | 710 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if, cyclomatic_complexity))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:1140:12 | 1140 | #[cfg_attr(feature = "cargo-clippy", allow(collapsible_if))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/macros.rs:689:16 | 689 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/euc_jp.rs:77:5 | 77 | / euc_jp_decoder_functions!( 78 | | { 79 | | let trail_minus_offset = byte.wrapping_sub(0xA1); ... | 220 | | handle 221 | | ); | |_____- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `euc_jp_decoder_function` which comes from the expansion of the macro `euc_jp_decoder_functions` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/macros.rs:364:16 | 364 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/gb18030.rs:112:5 | 112 | / gb18030_decoder_functions!( ... | 295 | | handle, 296 | | 'outermost); | |___________________- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `gb18030_decoder_function` which comes from the expansion of the macro `gb18030_decoder_functions` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/ascii.rs:1725:20 | 1725 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `cargo-clippy` --> src/ascii.rs:227:13 | 227 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 1856 | basic_latin_alu!(ascii_to_basic_latin, u8, u16, ascii_to_basic_latin_stride_alu); | -------------------------------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `basic_latin_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/ascii.rs:227:13 | 227 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 1857 | basic_latin_alu!(basic_latin_to_ascii, u16, u8, basic_latin_to_ascii_stride_alu); | -------------------------------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `basic_latin_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/ascii.rs:349:13 | 349 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 1858 | latin1_alu!(unpack_latin1, u8, u16, unpack_latin1_stride_alu); | ------------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `latin1_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/ascii.rs:349:13 | 349 | feature = "cargo-clippy", | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 1859 | latin1_alu!(pack_latin1, u16, u8, pack_latin1_stride_alu); | --------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `latin1_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/ascii.rs:105:20 | 105 | #[cfg_attr(feature = "cargo-clippy", allow(never_loop, cast_ptr_alignment))] | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 1861 | ascii_alu!(ascii_to_ascii, u8, u8, ascii_to_ascii_stride); | --------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `ascii_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:86:20 | 86 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 322 | by_unit_check_alu!(is_ascii_impl, u8, 0x80, ASCII_MASK); | ------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `by_unit_check_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:86:20 | 86 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 323 | by_unit_check_alu!(is_basic_latin_impl, u16, 0x80, BASIC_LATIN_MASK); | -------------------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `by_unit_check_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:86:20 | 86 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] | ^^^^^^^^^^^^^^^^^^^^^^^^ ... 324 | by_unit_check_alu!(is_utf16_latin1_impl, u16, 0x100, LATIN1_MASK); | ----------------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `by_unit_check_alu` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `cargo-clippy` --> src/mem.rs:591:20 | 591 | #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `any_all_workaround`, `default`, `fast-big5-hanzi-encode`, `fast-gb-hanzi-encode`, `fast-hangul-encode`, `fast-hanja-encode`, `fast-kanji-encode`, `fast-legacy-encode`, `less-slow-big5-hanzi-encode`, `less-slow-gb-hanzi-encode`, `less-slow-kanji-encode`, `serde`, and `simd-accel` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `disabled` --> src/ascii.rs:1508:68 | 1508 | if #[cfg(all(feature = "simd-accel", target_endian = "little", target_arch = "disabled"))] { | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_arch, values("disabled"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_arch, values(\"disabled\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `fuzzing` --> src/mem.rs:44:32 | 44 | ($($arg:tt)*) => (if !cfg!(fuzzing) { debug_assert!($($arg)*); }) | ^^^^^^^ ... 1933 | non_fuzz_debug_assert!(is_utf8_latin1(src)); | ------------------------------------------- in this macro invocation | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `non_fuzz_debug_assert` (in Nightly builds, run with -Z macro-backtrace for more info) warning: hiding a lifetime that's elided elsewhere is confusing --> src/handles.rs:390:21 | 390 | pub fn new(src: &[u8]) -> ByteSource { | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 390 | pub fn new(src: &[u8]) -> ByteSource<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/handles.rs:597:21 | 597 | pub fn new(dst: &mut [u16]) -> Utf16Destination { | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ 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 | 597 | pub fn new(dst: &mut [u16]) -> Utf16Destination<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/handles.rs:942:21 | 942 | pub fn new(dst: &mut [u8]) -> Utf8Destination { | ^^^^^^^^^ ^^^^^^^^^^^^^^^ 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 | 942 | pub fn new(dst: &mut [u8]) -> Utf8Destination<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/handles.rs:1168:21 | 1168 | pub fn new(src: &[u16]) -> Utf16Source { | ^^^^^^ ^^^^^^^^^^^ 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 | 1168 | pub fn new(src: &[u16]) -> Utf16Source<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/handles.rs:1477:21 | 1477 | pub fn new(src: &str) -> Utf8Source { | ^^^^ ^^^^^^^^^^ 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 | 1477 | pub fn new(src: &str) -> Utf8Source<'_> { | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/handles.rs:1936:21 | 1936 | pub fn new(dst: &mut [u8]) -> ByteDestination { | ^^^^^^^^^ ^^^^^^^^^^^^^^^ 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 | 1936 | pub fn new(dst: &mut [u8]) -> ByteDestination<'_> { | ++++ warning: `encoding_rs` (lib) generated 33 warnings (2 duplicates) (run `cargo fix --lib -p encoding_rs` to apply 6 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.26s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expected sh: line 4: [: -j8: integer expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.f8zIaP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-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 encoding_rs-0.8.35 + '[' 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=encoding_rs ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.8.35 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT/usr/share/cargo/registry/encoding_rs-0.8.35 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT/usr/share/cargo/registry/encoding_rs-0.8.35 + /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-encoding_rs-0.8.35-build/BUILDROOT/usr/share/cargo/registry/encoding_rs-0.8.35 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT/usr/share/cargo/registry/encoding_rs-0.8.35/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/BUILDROOT/usr/share/cargo/registry/encoding_rs-0.8.35/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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink sh: line 4: [: -j8: integer expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OoHb2A + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-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 encoding_rs-0.8.35 + '[' 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 -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast error: failed to select a version for the requirement `bincode = "^1.0"` candidate versions found which didn't match: 2.0.1 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `encoding_rs v0.8.35 (/home/pterjan/rpmbuild/BUILD/rust-encoding_rs-0.8.35-build/encoding_rs-0.8.35)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OoHb2A (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OoHb2A (%check) I: [iurt_root_command] ERROR: chroot