Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163005-79750/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/rust-smartstring-1.0.1-2.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163005-79750/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IlkECK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smartstring-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/smartstring-1.0.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd smartstring-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/smartstring-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aeVb4T + umask 022 + cd /builddir/build/BUILD + cd smartstring-1.0.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-smartstring-1.0.1-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163005-79750/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QBuc3O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smartstring-1.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/smartstring-1.0.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd smartstring-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/smartstring-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.KeauQG + umask 022 + cd /builddir/build/BUILD + cd smartstring-1.0.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-smartstring-1.0.1-2.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-163005-79750/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-smartstring.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cf9Qar + umask 022 + cd /builddir/build/BUILD + cd smartstring-1.0.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ze5RjX + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd smartstring-1.0.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 -j32 -Z avoid-dev-deps --profile rpm Compiling version_check v0.9.4 Compiling autocfg v1.3.0 Compiling static_assertions v1.1.0 Running `/usr/bin/rustc --crate-name version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.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)' --check-cfg 'cfg(feature, values())' -C metadata=93dfe0bbf6e59543 -C extra-filename=-93dfe0bbf6e59543 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 static_assertions --edition=2015 /usr/share/cargo/registry/static_assertions-1.1.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("nightly"))' -C metadata=72a60728b7ecc466 -C extra-filename=-72a60728b7ecc466 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=73abf5e2878d8537 -C extra-filename=-73abf5e2878d8537 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling smartstring v1.0.1 (/builddir/build/BUILD/smartstring-1.0.1) 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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "proptest", "serde", "std", "test"))' -C metadata=8f893f72eb8d9708 -C extra-filename=-8f893f72eb8d9708 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/smartstring-8f893f72eb8d9708 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern autocfg=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libautocfg-73abf5e2878d8537.rlib --extern version_check=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libversion_check-93dfe0bbf6e59543.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/smartstring-8f893f72eb8d9708/build-script-build` Running `/usr/bin/rustc --crate-name smartstring --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "proptest", "serde", "std", "test"))' -C metadata=8de6a78281e6b0e8 -C extra-filename=-8de6a78281e6b0e8 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern static_assertions=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libstatic_assertions-72a60728b7ecc466.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `needs_allocator_feature` --> src/lib.rs:104:13 | 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))] | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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(needs_allocator_feature)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` 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: `has_allocator` --> src/boxed.rs:175:19 | 175 | #[cfg(has_allocator)] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_allocator` --> src/boxed.rs:199:23 | 199 | #[cfg(not(has_allocator))] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_allocator` --> src/boxed.rs:208:15 | 208 | #[cfg(has_allocator)] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_allocator` --> src/boxed.rs:226:19 | 226 | #[cfg(not(has_allocator))] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `smartstring` (lib) generated 5 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.59s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p0xpjW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64 + cd smartstring-1.0.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=smartstring ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.0.1 + REG_DIR=/builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64/usr/share/cargo/registry/smartstring-1.0.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64/usr/share/cargo/registry/smartstring-1.0.1 + gawk -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 /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64/usr/share/cargo/registry/smartstring-1.0.1 warning: no (git) VCS found for `/builddir/build/BUILD/smartstring-1.0.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64/usr/share/cargo/registry/smartstring-1.0.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64/usr/share/cargo/registry/smartstring-1.0.1/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ssm20a + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd smartstring-1.0.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 -j32 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Fresh autocfg v1.3.0 Compiling rustix v0.38.34 Compiling proc-macro2 v0.4.30 Compiling libm v0.2.8 Compiling unicode-xid v0.1.0 Compiling bitflags v2.6.0 Compiling linux-raw-sys v0.4.12 Compiling ppv-lite86 v0.2.17 Compiling syn v0.15.44 Compiling serde v1.0.203 Compiling fastrand v2.1.0 Fresh version_check v0.9.4 Compiling bit-vec v0.6.3 Compiling fnv v1.0.7 Compiling quick-error v1.2.3 Compiling lazy_static v1.4.0 Fresh static_assertions v1.1.0 Compiling unarray v0.1.4 Compiling regex-syntax v0.8.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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 --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' --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=c50b91c9076ef959 -C extra-filename=-c50b91c9076ef959 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/libc-c50b91c9076ef959 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 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=cb889d061f321cb4 -C extra-filename=-cb889d061f321cb4 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 build_script_build --edition=2015 /usr/share/cargo/registry/proc-macro2-0.4.30/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 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=9a5bb2cbccca6c51 -C extra-filename=-9a5bb2cbccca6c51 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/proc-macro2-9a5bb2cbccca6c51 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "cc", "default", "event", "fs", "io_uring", "itoa", "libc", "libc-extra-traits", "libc_errno", "linux_4_11", "linux_latest", "mm", "mount", "net", "once_cell", "param", "pipe", "process", "procfs", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=879640283697ad74 -C extra-filename=-879640283697ad74 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/rustix-879640283697ad74 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 build_script_build --edition=2018 /usr/share/cargo/registry/libm-0.2.8/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 --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "musl-reference-tests", "rand", "unstable"))' -C metadata=500391811b281568 -C extra-filename=-500391811b281568 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/libm-500391811b281568 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 unicode_xid --edition=2015 /usr/share/cargo/registry/unicode-xid-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bench", "default", "no_std"))' -C metadata=5af5a3cb568445fb -C extra-filename=-5af5a3cb568445fb --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.12/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="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "default", "elf", "errno", "general", "if_ether", "io_uring", "ioctl", "mempolicy", "net", "netlink", "no_std", "prctl", "rustc-dep-of-std", "std", "system", "xdp"))' -C metadata=9ee88bbdd6c028fe -C extra-filename=-9ee88bbdd6c028fe --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.6.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 --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "compiler_builtins", "core", "example_generated", "rustc-dep-of-std", "serde", "std"))' -C metadata=33b3468d6fa2a86a -C extra-filename=-33b3468d6fa2a86a --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 ppv_lite86 --edition=2018 /usr/share/cargo/registry/ppv-lite86-0.2.17/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="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=852e1cf0ce9c5d1d -C extra-filename=-852e1cf0ce9c5d1d --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 build_script_build --edition=2015 /usr/share/cargo/registry/syn-0.15.44/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 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"))' -C metadata=2cb7ac5444d25f7e -C extra-filename=-2cb7ac5444d25f7e --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/syn-2cb7ac5444d25f7e -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.203/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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=5e7ae4a2bd7ea515 -C extra-filename=-5e7ae4a2bd7ea515 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/serde-5e7ae4a2bd7ea515 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.1.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=499f06b73cf3e9b2 -C extra-filename=-499f06b73cf3e9b2 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 bit_vec --edition=2015 /usr/share/cargo/registry/bit-vec-0.6.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="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "serde_no_std", "serde_std", "std"))' -C metadata=56ef731cc8bfb5f0 -C extra-filename=-56ef731cc8bfb5f0 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=619bb8b1051687ff -C extra-filename=-619bb8b1051687ff --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.4.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("spin", "spin_no_std"))' -C metadata=edf794d32b7e403d -C extra-filename=-edf794d32b7e403d --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 quick_error --edition=2015 /usr/share/cargo/registry/quick-error-1.2.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=bbfdb0d030a9263e -C extra-filename=-bbfdb0d030a9263e --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 unarray --edition=2018 /usr/share/cargo/registry/unarray-0.1.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=584191216de894ae -C extra-filename=-584191216de894ae --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.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="default"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=7b8148c9a0b885ac -C extra-filename=-7b8148c9a0b885ac --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/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 build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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 --cfg 'feature="libm"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=7b4a05605cafd2bd -C extra-filename=-7b4a05605cafd2bd --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/num-traits-7b4a05605cafd2bd -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern autocfg=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libautocfg-73abf5e2878d8537.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `needs_allocator_feature` --> src/lib.rs:104:13 | 104 | #![cfg_attr(needs_allocator_feature, feature(allocator_api))] | ^^^^^^^^^^^^^^^^^^^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `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(needs_allocator_feature)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(needs_allocator_feature)");` 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: `has_allocator` --> src/boxed.rs:175:19 | 175 | #[cfg(has_allocator)] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_allocator` --> src/boxed.rs:199:23 | 199 | #[cfg(not(has_allocator))] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_allocator` --> src/boxed.rs:208:15 | 208 | #[cfg(has_allocator)] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_allocator` --> src/boxed.rs:226:19 | 226 | #[cfg(not(has_allocator))] | ^^^^^^^^^^^^^ | = 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(has_allocator)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_allocator)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `smartstring` (lib) generated 5 warnings Compiling bit-set v0.5.3 Running `/usr/bin/rustc --crate-name bit_set --edition=2015 /usr/share/cargo/registry/bit-set-0.5.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="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=3e8aad17f7dc1767 -C extra-filename=-3e8aad17f7dc1767 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern bit_vec=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libbit_vec-56ef731cc8bfb5f0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/num-traits-7b4a05605cafd2bd/build-script-build` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/libm-500391811b281568/build-script-build` Running `/usr/bin/rustc --crate-name libm --edition=2018 /usr/share/cargo/registry/libm-0.2.8/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "musl-reference-tests", "rand", "unstable"))' -C metadata=fdabaad0308d2342 -C extra-filename=-fdabaad0308d2342 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg assert_no_panic` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/syn-2cb7ac5444d25f7e/build-script-build` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/serde-5e7ae4a2bd7ea515/build-script-build` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/proc-macro2-9a5bb2cbccca6c51/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.203/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)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=9a45a11af117513f -C extra-filename=-9a45a11af117513f --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_core_try_from)' --check-cfg 'cfg(no_float_copysign)' --check-cfg 'cfg(no_num_nonzero_signed)' --check-cfg 'cfg(no_relaxed_trait_bounds)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_systemtime_checked_add)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2015 /usr/share/cargo/registry/proc-macro2-0.4.30/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="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=f81b4af646cabbe6 -C extra-filename=-f81b4af646cabbe6 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern unicode_xid=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libunicode_xid-5af5a3cb568445fb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg u128 --cfg use_proc_macro --cfg wrap_proc_macro` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/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="libm"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=f483c4d19734d882 -C extra-filename=-f483c4d19734d882 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern libm=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblibm-fdabaad0308d2342.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_total_cmp` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/rustix-879640283697ad74/build-script-build` Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/build/libc-c50b91c9076ef959/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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="extra_traits"' --cfg 'feature="std"' --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=64b2ef6f054560b6 -C extra-filename=-64b2ef6f054560b6 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time64)' --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_align)' --check-cfg 'cfg(libc_cfg_target_vendor)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_const_extern_fn_unstable)' --check-cfg 'cfg(libc_const_size_of)' --check-cfg 'cfg(libc_core_cvoid)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_int128)' --check-cfg 'cfg(libc_long_array)' --check-cfg 'cfg(libc_non_exhaustive)' --check-cfg 'cfg(libc_packedN)' --check-cfg 'cfg(libc_priv_mod_use)' --check-cfg 'cfg(libc_ptr_addr_of)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_underscore_const_names)' --check-cfg 'cfg(libc_union)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","visionos"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling quote v0.6.13 Running `/usr/bin/rustc --crate-name quote --edition=2015 /usr/share/cargo/registry/quote-0.6.13/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="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=31374fb7e3bd8c9b -C extra-filename=-31374fb7e3bd8c9b --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproc_macro2-f81b4af646cabbe6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2015 /usr/share/cargo/registry/syn-0.15.44/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"))' -C metadata=ca948fc19daadfc2 -C extra-filename=-ca948fc19daadfc2 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproc_macro2-f81b4af646cabbe6.rmeta --extern quote=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libquote-31374fb7e3bd8c9b.rmeta --extern unicode_xid=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libunicode_xid-5af5a3cb568445fb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg syn_can_match_trailing_dollar --cfg syn_can_use_thread_id --cfg syn_can_use_associated_constants --cfg syn_can_call_macro_by_path --cfg syn_disable_nightly_tests` Compiling getrandom v0.2.15 Compiling errno v0.3.8 Compiling wait-timeout v0.2.0 Running `/usr/bin/rustc --crate-name errno --edition=2018 /usr/share/cargo/registry/errno-0.3.8/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)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=d3a716fd51701822 -C extra-filename=-d3a716fd51701822 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern libc=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblibc-64b2ef6f054560b6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name wait_timeout --edition=2015 /usr/share/cargo/registry/wait-timeout-0.2.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())' -C metadata=c3e22676cfb65f76 -C extra-filename=-c3e22676cfb65f76 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern libc=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblibc-64b2ef6f054560b6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=6c71ef65dccb1804 -C extra-filename=-6c71ef65dccb1804 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libcfg_if-cb889d061f321cb4.rmeta --extern libc=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblibc-64b2ef6f054560b6.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.34/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="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "cc", "default", "event", "fs", "io_uring", "itoa", "libc", "libc-extra-traits", "libc_errno", "linux_4_11", "linux_latest", "mm", "mount", "net", "once_cell", "param", "pipe", "process", "procfs", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=df09f5ac9b4a6a88 -C extra-filename=-df09f5ac9b4a6a88 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libbitflags-33b3468d6fa2a86a.rmeta --extern libc_errno=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liberrno-d3a716fd51701822.rmeta --extern libc=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblibc-64b2ef6f054560b6.rmeta --extern linux_raw_sys=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblinux_raw_sys-9ee88bbdd6c028fe.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg static_assertions --cfg libc --cfg linux_like --cfg linux_kernel` Compiling rand_core v0.6.4 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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=a4679f405dc0e48a -C extra-filename=-a4679f405dc0e48a --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern getrandom=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libgetrandom-6c71ef65dccb1804.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_chacha v0.3.1 Compiling rand_xorshift v0.3.0 Running `/usr/bin/rustc --crate-name rand_xorshift --edition=2018 /usr/share/cargo/registry/rand_xorshift-0.3.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("serde", "serde1"))' -C metadata=8c8a75a054d9844b -C extra-filename=-8c8a75a054d9844b --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern rand_core=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand_core-a4679f405dc0e48a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.3.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)' --check-cfg 'cfg(feature, values("default", "serde", "serde1", "simd", "std"))' -C metadata=75571e2b5ca8342e -C extra-filename=-75571e2b5ca8342e --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern ppv_lite86=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libppv_lite86-852e1cf0ce9c5d1d.rmeta --extern rand_core=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand_core-a4679f405dc0e48a.rmeta --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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="libc"' --cfg 'feature="rand_chacha"' --cfg 'feature="std"' --cfg 'feature="std_rng"' --check-cfg 'cfg(docsrs)' --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=730f1ebce3d9fdd8 -C extra-filename=-730f1ebce3d9fdd8 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern libc=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblibc-64b2ef6f054560b6.rmeta --extern rand_chacha=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand_chacha-75571e2b5ca8342e.rmeta --extern rand_core=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand_core-a4679f405dc0e48a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tempfile v3.10.1 Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.10.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=3f0b530e7d4d44e7 -C extra-filename=-3f0b530e7d4d44e7 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libcfg_if-cb889d061f321cb4.rmeta --extern fastrand=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libfastrand-499f06b73cf3e9b2.rmeta --extern rustix=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librustix-df09f5ac9b4a6a88.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling serde_test v1.0.176 Running `/usr/bin/rustc --crate-name serde_test --edition=2021 /usr/share/cargo/registry/serde_test-1.0.176/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())' -C metadata=9a8270aa4034d52d -C extra-filename=-9a8270aa4034d52d --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern serde=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libserde-9a45a11af117513f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rusty-fork v0.3.0 Running `/usr/bin/rustc --crate-name rusty_fork --edition=2018 /usr/share/cargo/registry/rusty-fork-0.3.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 --cfg 'feature="timeout"' --cfg 'feature="wait-timeout"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "timeout", "wait-timeout"))' -C metadata=32aef40750d86016 -C extra-filename=-32aef40750d86016 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern fnv=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libfnv-619bb8b1051687ff.rmeta --extern quick_error=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libquick_error-bbfdb0d030a9263e.rmeta --extern tempfile=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libtempfile-3f0b530e7d4d44e7.rmeta --extern wait_timeout=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libwait_timeout-c3e22676cfb65f76.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling proptest v1.4.0 Running `/usr/bin/rustc --crate-name proptest --edition=2018 /usr/share/cargo/registry/proptest-1.4.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 --cfg 'feature="bit-set"' --cfg 'feature="default"' --cfg 'feature="fork"' --cfg 'feature="lazy_static"' --cfg 'feature="regex-syntax"' --cfg 'feature="rusty-fork"' --cfg 'feature="std"' --cfg 'feature="tempfile"' --cfg 'feature="timeout"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "atomic64bit", "bit-set", "default", "default-code-coverage", "fork", "hardware-rng", "lazy_static", "regex-syntax", "rusty-fork", "std", "tempfile", "timeout", "unstable", "x86"))' -C metadata=00a89c56745dbf70 -C extra-filename=-00a89c56745dbf70 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern bit_set=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libbit_set-3e8aad17f7dc1767.rmeta --extern bit_vec=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libbit_vec-56ef731cc8bfb5f0.rmeta --extern bitflags=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libbitflags-33b3468d6fa2a86a.rmeta --extern lazy_static=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/liblazy_static-edf794d32b7e403d.rmeta --extern num_traits=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libnum_traits-f483c4d19734d882.rmeta --extern rand=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand-730f1ebce3d9fdd8.rmeta --extern rand_chacha=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand_chacha-75571e2b5ca8342e.rmeta --extern rand_xorshift=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand_xorshift-8c8a75a054d9844b.rmeta --extern regex_syntax=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libregex_syntax-7b8148c9a0b885ac.rmeta --extern rusty_fork=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librusty_fork-32aef40750d86016.rmeta --extern tempfile=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libtempfile-3f0b530e7d4d44e7.rmeta --extern unarray=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libunarray-584191216de894ae.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling proptest-derive v0.3.0 Running `/usr/bin/rustc --crate-name proptest_derive --edition=2018 /usr/share/cargo/registry/proptest-derive-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=947119a2dea8a4d2 -C extra-filename=-947119a2dea8a4d2 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproc_macro2-f81b4af646cabbe6.rlib --extern quote=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libquote-31374fb7e3bd8c9b.rlib --extern syn=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libsyn-ca948fc19daadfc2.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling smartstring v1.0.1 (/builddir/build/BUILD/smartstring-1.0.1) Running `/usr/bin/rustc --crate-name smartstring --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "proptest", "serde", "std", "test"))' -C metadata=fc6ab52d02d12aa7 -C extra-filename=-fc6ab52d02d12aa7 --out-dir /builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern proptest=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproptest-00a89c56745dbf70.rlib --extern proptest_derive=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproptest_derive-947119a2dea8a4d2.so --extern rand=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand-730f1ebce3d9fdd8.rlib --extern serde_test=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libserde_test-9a8270aa4034d52d.rlib --extern static_assertions=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libstatic_assertions-72a60728b7ecc466.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `smartstring` (lib test) generated 5 warnings (5 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1m 43s Running `/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/smartstring-fc6ab52d02d12aa7` running 18 tests test test::tests::check_alignment ... ok test test::tests::dont_panic_on_removing_last_index_from_an_inline_string ... ok test test::tests::drain_over_inline_boundary ... ok test test::tests::dont_panic_when_inserting_a_string_at_exactly_inline_capacity ... ok test test::tests::drain_wrapped_shouldnt_drop_twice ... ok test test::tests::fail ... ok test test::tests::must_not_promote_before_insert_succeeds ... ok test test::tests::drain_bounds_integer_overflow_must_panic - should panic ... ok test test::tests::from_string ... ok test test::tests::must_panic_on_insert_outside_char_boundary ... ok test test::tests::must_panic_on_out_of_bounds_range ... ok test test::tests::must_panic_on_slice_outside_char_boundary ... ok test test::tests::shouldnt_panic_on_inclusive_range_end_one_less_than_start ... ok test test::tests::proptest_ordering_lazycompact ... ok test test::tests::proptest_eq ... ok test test::tests::proptest_ordering_compact ... ok test test::tests::proptest_everything_lazycompact ... ok test test::tests::proptest_everything_compact ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s Doc-tests smartstring Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --crate-name smartstring --test src/lib.rs --test-run-directory /builddir/build/BUILD/smartstring-1.0.1 -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps -L dependency=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps --extern proptest=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproptest-00a89c56745dbf70.rlib --extern proptest_derive=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libproptest_derive-947119a2dea8a4d2.so --extern rand=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/librand-730f1ebce3d9fdd8.rlib --extern serde_test=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libserde_test-9a8270aa4034d52d.rlib --extern smartstring=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libsmartstring-8de6a78281e6b0e8.rlib --extern static_assertions=/builddir/build/BUILD/smartstring-1.0.1/target/rpm/deps/libstatic_assertions-72a60728b7ecc466.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "default", "proptest", "serde", "std", "test"))' --error-format human` running 1 test test src/lib.rs - (line 32) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-smartstring-devel-1.0.1-2.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/CODE_OF_CONDUCT.md warning: File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/LICENCE.md warning: File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/README.md Provides: crate(smartstring) = 1.0.1 rust-smartstring-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(autocfg/default) >= 1.0.0 with crate(autocfg/default) < 2.0.0~) (crate(static_assertions/default) >= 1.0.0 with crate(static_assertions/default) < 2.0.0~) (crate(version_check/default) >= 0.9.0 with crate(version_check/default) < 0.10.0~) cargo rust >= 1.57 Processing files: rust-smartstring+default-devel-1.0.1-2.oc9.noarch Provides: crate(smartstring/default) = 1.0.1 rust-smartstring+default-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(smartstring) = 1.0.1 crate(smartstring/std) = 1.0.1 Processing files: rust-smartstring+arbitrary-devel-1.0.1-2.oc9.noarch Provides: crate(smartstring/arbitrary) = 1.0.1 rust-smartstring+arbitrary-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(arbitrary/default) >= 1.0.0 with crate(arbitrary/default) < 2.0.0~) cargo crate(smartstring) = 1.0.1 Processing files: rust-smartstring+proptest-devel-1.0.1-2.oc9.noarch Provides: crate(smartstring/proptest) = 1.0.1 rust-smartstring+proptest-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(proptest/default) >= 1.0.0 with crate(proptest/default) < 2.0.0~) cargo crate(smartstring) = 1.0.1 Processing files: rust-smartstring+serde-devel-1.0.1-2.oc9.noarch Provides: crate(smartstring/serde) = 1.0.1 rust-smartstring+serde-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0~) cargo crate(smartstring) = 1.0.1 Processing files: rust-smartstring+std-devel-1.0.1-2.oc9.noarch Provides: crate(smartstring/std) = 1.0.1 rust-smartstring+std-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(smartstring) = 1.0.1 Processing files: rust-smartstring+test-devel-1.0.1-2.oc9.noarch Provides: crate(smartstring/test) = 1.0.1 rust-smartstring+test-devel = 1.0.1-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(arbitrary/default) >= 1.0.0 with crate(arbitrary/default) < 2.0.0~) (crate(arbitrary/derive) >= 1.0.0 with crate(arbitrary/derive) < 2.0.0~) cargo crate(smartstring) = 1.0.1 crate(smartstring/arbitrary) = 1.0.1 crate(smartstring/std) = 1.0.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-smartstring-1.0.1-2.oc9.loongarch64 Wrote: /builddir/build/SRPMS/rust-smartstring-1.0.1-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-smartstring+serde-devel-1.0.1-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-smartstring+default-devel-1.0.1-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-smartstring+proptest-devel-1.0.1-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-smartstring+arbitrary-devel-1.0.1-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-smartstring+test-devel-1.0.1-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-smartstring+std-devel-1.0.1-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-smartstring-devel-1.0.1-2.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/CHANGELOG.md File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/CODE_OF_CONDUCT.md File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/LICENCE.md File listed twice: /usr/share/cargo/registry/smartstring-1.0.1/README.md Child return code was: 0