D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rust-os_str_bytes-6.4.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ERP7Rc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tFK9O6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + rm -rf os_str_bytes-6.4.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/os_str_bytes-6.4.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd os_str_bytes-6.4.1 + /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.Xa3pVN + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + cd os_str_bytes-6.4.1 + /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.tLrOry + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + cd os_str_bytes-6.4.1 + '[' 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 memchr v2.7.4 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="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=4a04e0cce5f75b11 -C extra-filename=-4a04e0cce5f75b11 --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling os_str_bytes v6.4.1 (/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1) Running `/usr/bin/rustc --crate-name os_str_bytes --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="raw_os_str"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("checked_conversions", "default", "memchr", "print_bytes", "raw_os_str", "uniquote"))' -C metadata=3bef9690da3af966 -C extra-filename=-3bef9690da3af966 --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libmemchr-4a04e0cce5f75b11.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:174:13 | 174 | #![cfg_attr(os_str_bytes_docs_rs, feature(doc_cfg))] | ^^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:203:11 | 203 | #[cfg(not(os_str_bytes_docs_rs))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/iter.rs:3:13 | 3 | #![cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:294:9 | 294 | os_str_bytes_docs_rs, | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/pattern.rs:35:12 | 35 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/raw_str.rs:104:12 | 104 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/raw_str.rs:917:12 | 917 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/raw_str.rs:983:12 | 983 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:397:13 | 397 | os_str_bytes_docs_rs, | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:537:13 | 537 | os_str_bytes_docs_rs, | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `os_str_bytes` (lib) generated 10 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 1.69s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EuzXw9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT + cd os_str_bytes-6.4.1 + '[' 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=os_str_bytes ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=6.4.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT/usr/share/cargo/registry/os_str_bytes-6.4.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT/usr/share/cargo/registry/os_str_bytes-6.4.1 + /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 + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT/usr/share/cargo/registry/os_str_bytes-6.4.1 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT/usr/share/cargo/registry/os_str_bytes-6.4.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT/usr/share/cargo/registry/os_str_bytes-6.4.1/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 Reading /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FeVWMX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + cd os_str_bytes-6.4.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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.168 Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=e0b86a4176dae342 -C extra-filename=-e0b86a4176dae342 --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/build/libc-e0b86a4176dae342 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh memchr v2.7.4 warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:174:13 | 174 | #![cfg_attr(os_str_bytes_docs_rs, feature(doc_cfg))] | ^^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:203:11 | 203 | #[cfg(not(os_str_bytes_docs_rs))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/iter.rs:3:13 | 3 | #![cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:294:9 | 294 | os_str_bytes_docs_rs, | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/pattern.rs:35:12 | 35 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/raw_str.rs:104:12 | 104 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/raw_str.rs:917:12 | 917 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/raw_str.rs:983:12 | 983 | #[cfg_attr(os_str_bytes_docs_rs, doc(cfg(feature = "raw_os_str")))] | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:397:13 | 397 | os_str_bytes_docs_rs, | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `os_str_bytes_docs_rs` --> src/lib.rs:537:13 | 537 | os_str_bytes_docs_rs, | ^^^^^^^^^^^^^^^^^^^^ | = 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(os_str_bytes_docs_rs)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os_str_bytes_docs_rs)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=25316131be321185 -C extra-filename=-25316131be321185 --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `os_str_bytes` (lib) generated 10 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/build/libc-e0b86a4176dae342/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=90336115020ad1da -C extra-filename=-90336115020ad1da --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling getrandom v0.2.11 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.11/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)' --check-cfg 'cfg(feature, values("custom", "rdrand", "std"))' -C metadata=b77d4546a8e30d4f -C extra-filename=-b77d4546a8e30d4f --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libcfg_if-25316131be321185.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/liblibc-90336115020ad1da.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling os_str_bytes v6.4.1 (/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1) Running `/usr/bin/rustc --crate-name os_str_bytes --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="raw_os_str"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("checked_conversions", "default", "memchr", "print_bytes", "raw_os_str", "uniquote"))' -C metadata=3cdda2cb32839c2d -C extra-filename=-3cdda2cb32839c2d --out-dir /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libgetrandom-b77d4546a8e30d4f.rlib --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libmemchr-4a04e0cce5f75b11.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `os_str_bytes` (lib test) generated 10 warnings (10 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.20s Running `/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/os_str_bytes-3cdda2cb32839c2d` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests os_str_bytes Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name os_str_bytes --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libgetrandom-b77d4546a8e30d4f.rlib --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libmemchr-4a04e0cce5f75b11.rlib --extern os_str_bytes=/home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/os_str_bytes-6.4.1/target/rpm/deps/libos_str_bytes-3bef9690da3af966.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="raw_os_str"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("checked_conversions", "default", "memchr", "print_bytes", "raw_os_str", "uniquote"))' --error-format human` running 47 tests test src/lib.rs - OsStrBytes::to_raw_bytes (line 411) ... ok test src/raw_str.rs - raw_str::RawOsString::into_os_string (line 1185) ... ok test src/raw_str.rs - raw_str::RawOsStr::to_str (line 728) ... ok test src/lib.rs - OsStrBytes::assert_from_raw_bytes (line 346) ... ok test src/raw_str.rs - raw_str::RawOsStr::starts_with (line 610) ... ok test src/raw_str.rs - raw_str::RawOsStr::contains (line 300) ... ok test src/raw_str.rs - raw_str::RawOsString::new (line 994) ... ok test src/raw_str.rs - raw_str::RawOsStr::trim_start_matches (line 846) ... ok test src/raw_str.rs - raw_str::RawOsStr::split_once (line 587) ... ok test src/raw_str.rs - raw_str::RawOsStr::ends_with_os (line 343) ... ok test src/raw_str.rs - raw_str::RawOsStr::trim_end_matches (line 798) ... ok test src/lib.rs - OsStrBytes::from_raw_bytes (line 381) ... ok test src/raw_str.rs - raw_str::RawOsString::truncate (line 1291) ... ok test src/raw_str.rs - raw_str::RawOsStr::to_str_lossy (line 752) ... ok test src/raw_str.rs - raw_str::RawOsString::into_raw_vec (line 1209) ... ok test src/raw_str.rs - raw_str::RawOsStr::strip_suffix (line 677) ... ok test src/raw_str.rs - raw_str::RawOsStr::split (line 531) ... ok test src/raw_str.rs - raw_str::RawOsStr::strip_prefix (line 651) ... ok test src/raw_str.rs - raw_str::RawOsStr::new (line 124) ... ok test src/raw_str.rs - raw_str::RawOsString::into_string (line 1228) ... ok test src/raw_str.rs - raw_str::RawOsStrCow::into_raw_bytes (line 945) ... ok test src/raw_str.rs - raw_str::RawOsStrCow::into_os_str (line 923) ... ok test src/raw_str.rs - raw_str::RawOsStr::from_str (line 151) ... ok test src/lib.rs - (line 125) ... ok test src/raw_str.rs - raw_str::RawOsStr::is_empty (line 383) ... ok test src/lib.rs - OsStringBytes::into_raw_vec (line 549) ... ok test src/raw_str.rs - raw_str::RawOsStr::as_raw_bytes (line 281) ... ok test src/raw_str.rs - raw_str::RawOsString::clear (line 1146) ... ok test src/raw_str.rs - raw_str::RawOsStr::rfind (line 425) ... ok test src/raw_str.rs - raw_str::RawOsStr::raw_len (line 409) ... ok test src/raw_str.rs - raw_str::RawOsString::split_off (line 1265) ... ok test src/raw_str.rs - raw_str::RawOsStr::assert_from_raw_bytes (line 176) ... ok test src/lib.rs - OsStringBytes::assert_from_raw_vec (line 488) ... ok test src/raw_str.rs - raw_str::RawOsString::into_box (line 1168) ... ok test src/raw_str.rs - raw_str::RawOsStr::from_raw_bytes_unchecked (line 247) ... ok test src/raw_str.rs - raw_str::RawOsStr::to_os_str (line 706) ... ok test src/raw_str.rs - raw_str::RawOsString::shrink_to_fit (line 1244) ... ok test src/raw_str.rs - raw_str::RawOsStr::rsplit_once (line 472) ... ok test src/raw_str.rs - raw_str::RawOsStr::starts_with_os (line 634) ... ok test src/raw_str.rs - raw_str::RawOsStr::split_at (line 555) ... ok test src/raw_str.rs - raw_str::RawOsStr::trim_matches (line 818) ... ok test src/raw_str.rs - raw_str::RawOsString::from_string (line 1018) ... ok test src/raw_str.rs - raw_str::RawOsStr::ends_with (line 320) ... ok test src/raw_str.rs - raw_str::RawOsString::assert_from_raw_vec (line 1042) ... ok test src/lib.rs - OsStringBytes::from_raw_vec (line 521) ... ok test src/raw_str.rs - raw_str::RawOsStr::find (line 360) ... ok test src/raw_str.rs - raw_str::RawOsString::from_raw_vec_unchecked (line 1114) ... ok test result: ok. 47 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.81s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-os_str_bytes-devel-6.4.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/COPYRIGHT warning: File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/README.md Provides: crate(os_str_bytes) = 6.4.1 rust-os_str_bytes-devel = 6.4.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo rust >= 1.57.0 Processing files: rust-os_str_bytes+default-devel-6.4.1-1.mga10.noarch Provides: crate(os_str_bytes/default) = 6.4.1 rust-os_str_bytes+default-devel = 6.4.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(os_str_bytes) = 6.4.1 crate(os_str_bytes/memchr) = 6.4.1 crate(os_str_bytes/raw_os_str) = 6.4.1 Processing files: rust-os_str_bytes+memchr-devel-6.4.1-1.mga10.noarch Provides: crate(os_str_bytes/memchr) = 6.4.1 rust-os_str_bytes+memchr-devel = 6.4.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(memchr/default) >= 2.4.0 crate(os_str_bytes) = 6.4.1 Processing files: rust-os_str_bytes+raw_os_str-devel-6.4.1-1.mga10.noarch Provides: crate(os_str_bytes/raw_os_str) = 6.4.1 rust-os_str_bytes+raw_os_str-devel = 6.4.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(os_str_bytes) = 6.4.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-os_str_bytes+raw_os_str-devel-6.4.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-os_str_bytes+default-devel-6.4.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-os_str_bytes+memchr-devel-6.4.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-os_str_bytes-devel-6.4.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lBvU71 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-os_str_bytes-6.4.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/COPYRIGHT File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/LICENSE-MIT File listed twice: /usr/share/cargo/registry/os_str_bytes-6.4.1/README.md D: [iurt_root_command] Success!