Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-generic-array.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-184683-80200/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=983gid=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-generic-array.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-generic-array-0.14.7-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-generic-array.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-184683-80200/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=983gid=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-generic-array.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.7N7cpj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf generic-array-0.14.7 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/generic-array-0.14.7.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd generic-array-0.14.7 + /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 /var/tmp/rpm-tmp.ZigKMM + umask 022 + cd /builddir/build/BUILD + cd generic-array-0.14.7 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-generic-array-0.14.7-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 --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-generic-array.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-184683-80200/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target loongarch64 --nodeps /builddir/build/SPECS/rust-generic-array.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.Ouvf0M + umask 022 + cd /builddir/build/BUILD + cd generic-array-0.14.7 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-generic-array-0.14.7-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 /builddir/build/SPECS/rust-generic-array.spec'], chrootPath='/home/lib/ocmock/dist-oc9-epol-build-184683-80200/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=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target loongarch64 /builddir/build/SPECS/rust-generic-array.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.6aRacZ + umask 022 + cd /builddir/build/BUILD + cd generic-array-0.14.7 + /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.cHpGTI + 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 generic-array-0.14.7 + /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 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling typenum v1.17.0 Compiling version_check v0.9.4 Running `/usr/bin/rustc --crate-name build_script_main --edition=2018 /usr/share/cargo/registry/typenum-1.17.0/build/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("const-generics", "force_unix_path_separator", "i128", "no_std", "scale-info", "scale_info", "strict"))' -C metadata=b75242d87b2f0369 -C extra-filename=-0e45c6845afb3921 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/typenum-0e45c6845afb3921 -L dependency=/builddir/build/BUILD/generic-array-0.14.7/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 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,test)' --check-cfg 'cfg(feature, values())' -C metadata=882ded118fd8657c -C extra-filename=-028eaef300b9be58 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling generic-array v0.14.7 (/builddir/build/BUILD/generic-array-0.14.7) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=d62cfda89ebf35d2 -C extra-filename=-fd06457d380ce07a --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/generic-array-fd06457d380ce07a -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --extern version_check=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libversion_check-028eaef300b9be58.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/generic-array-fd06457d380ce07a/build-script-build` Running `/builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/typenum-0e45c6845afb3921/build-script-main` Running `/usr/bin/rustc --crate-name typenum --edition=2018 /usr/share/cargo/registry/typenum-1.17.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,test)' --check-cfg 'cfg(feature, values("const-generics", "force_unix_path_separator", "i128", "no_std", "scale-info", "scale_info", "strict"))' -C metadata=300595327b2d6208 -C extra-filename=-b524739d150bfb83 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/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 generic_array --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=1bf14ef8f04529c1 -C extra-filename=-f57394287708f03f --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --extern typenum=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libtypenum-b524739d150bfb83.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg relaxed_coherence` warning: unexpected `cfg` condition name: `relaxed_coherence` --> src/impls.rs:136:19 | 136 | #[cfg(relaxed_coherence)] | ^^^^^^^^^^^^^^^^^ ... 183 | / impl_from! { 184 | | 1 => ::typenum::U1, 185 | | 2 => ::typenum::U2, 186 | | 3 => ::typenum::U3, ... | 215 | | 32 => ::typenum::U32 216 | | } | |_- in this macro invocation | = 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(relaxed_coherence)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `relaxed_coherence` --> src/impls.rs:158:23 | 158 | #[cfg(not(relaxed_coherence))] | ^^^^^^^^^^^^^^^^^ ... 183 | / impl_from! { 184 | | 1 => ::typenum::U1, 185 | | 2 => ::typenum::U2, 186 | | 3 => ::typenum::U3, ... | 215 | | 32 => ::typenum::U32 216 | | } | |_- in this macro invocation | = 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(relaxed_coherence)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `generic-array` (lib) generated 2 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 9.66s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0Z3UiX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64 ++ dirname /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64 + cd generic-array-0.14.7 + 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=generic-array ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.14.7 + REG_DIR=/builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64/usr/share/cargo/registry/generic-array-0.14.7 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64/usr/share/cargo/registry/generic-array-0.14.7 + 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-generic-array-0.14.7-2.oc9.loongarch64/usr/share/cargo/registry/generic-array-0.14.7 warning: no (git) VCS found for `/builddir/build/BUILD/generic-array-0.14.7` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64/usr/share/cargo/registry/generic-array-0.14.7/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64/usr/share/cargo/registry/generic-array-0.14.7/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.GQ6I4w + 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 generic-array-0.14.7 + /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 -- --skip arr::doctests_only::DocTests warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling serde v1.0.203 Fresh version_check v0.9.4 Compiling serde_json v1.0.117 Compiling itoa v1.0.11 Compiling ryu v1.0.18 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,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=5a9823bc02da7217 -C extra-filename=-982ba61704497fb4 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/serde-982ba61704497fb4 -L dependency=/builddir/build/BUILD/generic-array-0.14.7/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/serde_json-1.0.117/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,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=a2c3b5e908d4ef7f -C extra-filename=-b65ef1cbd28528a4 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/serde_json-b65ef1cbd28528a4 -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh typenum v1.17.0 warning: unexpected `cfg` condition name: `relaxed_coherence` --> src/impls.rs:136:19 | 136 | #[cfg(relaxed_coherence)] | ^^^^^^^^^^^^^^^^^ ... 183 | / impl_from! { 184 | | 1 => ::typenum::U1, 185 | | 2 => ::typenum::U2, 186 | | 3 => ::typenum::U3, ... | 215 | | 32 => ::typenum::U32 216 | | } | |_- in this macro invocation | = 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(relaxed_coherence)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `relaxed_coherence` --> src/impls.rs:158:23 | 158 | #[cfg(not(relaxed_coherence))] | ^^^^^^^^^^^^^^^^^ ... 183 | / impl_from! { 184 | | 1 => ::typenum::U1, 185 | | 2 => ::typenum::U2, 186 | | 3 => ::typenum::U3, ... | 215 | | 32 => ::typenum::U32 216 | | } | |_- in this macro invocation | = 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(relaxed_coherence)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(relaxed_coherence)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_from` (in Nightly builds, run with -Z macro-backtrace for more info) Running `/usr/bin/rustc --crate-name ryu --edition=2018 /usr/share/cargo/registry/ryu-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic", "small"))' -C metadata=3d011fa4e20f2254 -C extra-filename=-6029af6d78a1da15 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/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 itoa --edition=2018 /usr/share/cargo/registry/itoa-1.0.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,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=8194f0556078fdc6 -C extra-filename=-e652fe6f532bfb6f --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `generic-array` (lib) generated 2 warnings Running `/builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/serde_json-b65ef1cbd28528a4/build-script-build` Running `/builddir/build/BUILD/generic-array-0.14.7/target/rpm/build/serde-982ba61704497fb4/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,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=eb6fb14299dad151 -C extra-filename=-df1e8bdbffb147df --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/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)'` Compiling bincode v1.3.3 Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.117/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=f56e1f0a236506ba -C extra-filename=-58d46e15e23cb90c --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --extern itoa=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libitoa-e652fe6f532bfb6f.rmeta --extern ryu=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libryu-6029af6d78a1da15.rmeta --extern serde=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libserde-df1e8bdbffb147df.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg limb_width_64 --check-cfg 'cfg(limb_width_32)' --check-cfg 'cfg(limb_width_64)'` Running `/usr/bin/rustc --crate-name bincode --edition=2015 /usr/share/cargo/registry/bincode-1.3.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,test)' --check-cfg 'cfg(feature, values("i128"))' -C metadata=c0b12f6f8ea84172 -C extra-filename=-e1b3129138440760 --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --extern serde=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libserde-df1e8bdbffb147df.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling generic-array v0.14.7 (/builddir/build/BUILD/generic-array-0.14.7) Running `/usr/bin/rustc --crate-name generic_array --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=a9a3c2bf0d6b6a49 -C extra-filename=-b9856c6efccbf4ad --out-dir /builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --extern bincode=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libbincode-e1b3129138440760.rlib --extern serde_json=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libserde_json-58d46e15e23cb90c.rlib --extern typenum=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libtypenum-b524739d150bfb83.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg relaxed_coherence` warning: `generic-array` (lib test) generated 2 warnings (2 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 17.79s Running `/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/generic_array-b9856c6efccbf4ad --skip 'arr::doctests_only::DocTests'` running 2 tests test iter::test::test_send_iter ... ok test test::test_assembly ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests generic_array Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name generic_array --test src/lib.rs --test-run-directory /builddir/build/BUILD/generic-array-0.14.7 -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps -L dependency=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps --test-args --skip --test-args 'arr::doctests_only::DocTests' --extern bincode=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libbincode-e1b3129138440760.rlib --extern generic_array=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libgeneric_array-f57394287708f03f.rlib --extern serde_json=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libserde_json-58d46e15e23cb90c.rlib --extern typenum=/builddir/build/BUILD/generic-array-0.14.7/target/rpm/deps/libtypenum-b524739d150bfb83.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' --cfg relaxed_coherence --error-format human` warning: expected `=`, found `}` --> src/lib.rs:1:1 | 1 | / //! This crate implements a structure that can be used as a generic array type. 2 | | //! Core Rust array types `[T; N]` can't be used generically with 3 | | //! respect to `N`, so for example this: 4 | | //! ... | 65 | | //! # } 66 | | //! ``` | |_______^ | = note: `#[warn(rustdoc::invalid_codeblock_attributes)]` on by default warning: 1 warning emitted running 9 tests test src/lib.rs - (line 16) ... ok test src/lib.rs - (line 43) ... ok test src/lib.rs - (line 28) ... ok test src/lib.rs - (line 58) ... ok test src/sequence.rs - sequence::Shorten::pop_front (line 176) ... ok test src/sequence.rs - sequence::Shorten::pop_back (line 160) ... ok test src/sequence.rs - sequence::Lengthen::append (line 119) ... ok test src/sequence.rs - sequence::Lengthen::prepend (line 135) ... ok test src/hex.rs - hex (line 7) ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 0.29s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-generic-array-devel-0.14.7-2.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/generic-array-0.14.7/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/generic-array-0.14.7/LICENSE warning: File listed twice: /usr/share/cargo/registry/generic-array-0.14.7/README.md Provides: crate(generic-array) = 0.14.7 rust-generic-array-devel = 0.14.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(typenum/default) >= 1.12.0 with crate(typenum/default) < 2.0.0~) (crate(version_check/default) >= 0.9.0 with crate(version_check/default) < 0.10.0~) cargo Processing files: rust-generic-array+default-devel-0.14.7-2.oc9.noarch Provides: crate(generic-array/default) = 0.14.7 rust-generic-array+default-devel = 0.14.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(generic-array) = 0.14.7 Processing files: rust-generic-array+more_lengths-devel-0.14.7-2.oc9.noarch Provides: crate(generic-array/more_lengths) = 0.14.7 rust-generic-array+more_lengths-devel = 0.14.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(generic-array) = 0.14.7 Processing files: rust-generic-array+serde-devel-0.14.7-2.oc9.noarch Provides: crate(generic-array/serde) = 0.14.7 rust-generic-array+serde-devel = 0.14.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0~) cargo crate(generic-array) = 0.14.7 Processing files: rust-generic-array+zeroize-devel-0.14.7-2.oc9.noarch Provides: crate(generic-array/zeroize) = 0.14.7 rust-generic-array+zeroize-devel = 0.14.7-2.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(zeroize) >= 1.0.0 with crate(zeroize) < 2.0.0~) cargo crate(generic-array) = 0.14.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-generic-array-0.14.7-2.oc9.loongarch64 Wrote: /builddir/build/SRPMS/rust-generic-array-0.14.7-2.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-generic-array+more_lengths-devel-0.14.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-generic-array+default-devel-0.14.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-generic-array+serde-devel-0.14.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-generic-array+zeroize-devel-0.14.7-2.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-generic-array-devel-0.14.7-2.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/generic-array-0.14.7/CHANGELOG.md File listed twice: /usr/share/cargo/registry/generic-array-0.14.7/LICENSE File listed twice: /usr/share/cargo/registry/generic-array-0.14.7/README.md Child return code was: 0