Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202764-14559/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 aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-ncurses-5.101.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202764-14559/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 aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1f0EZQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncurses-5.101.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ncurses-5.101.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd ncurses-5.101.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zWSpdb + umask 022 + cd /builddir/build/BUILD + cd ncurses-5.101.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo ncurses-devel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-ncurses-5.101.0-1.ocs23.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 aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202764-14559/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 aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j8kqXc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ncurses-5.101.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ncurses-5.101.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd ncurses-5.101.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8tfQu7 + umask 022 + cd /builddir/build/BUILD + cd ncurses-5.101.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo ncurses-devel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-ncurses-5.101.0-1.ocs23.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 aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-202764-14559/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 aarch64 --nodeps /builddir/build/SPECS/rust-ncurses.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: aarch64 Building for target aarch64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aJjgVR + umask 022 + cd /builddir/build/BUILD + cd ncurses-5.101.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo ncurses-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ftr0em + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 ncurses-5.101.0 + /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 -j8 -Z avoid-dev-deps --profile rpm Compiling cc v1.0.99 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.99/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 -C metadata=b92eb23f8881a650 -C extra-filename=-b92eb23f8881a650 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pkg-config v0.3.30 Compiling libc v0.2.155 Running `/usr/bin/rustc --crate-name pkg_config /usr/share/cargo/registry/pkg-config-0.3.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 -C metadata=fff45a6d0e3e08dc -C extra-filename=-fff45a6d0e3e08dc --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /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="std"' -C metadata=3a87d976b4d5549a -C extra-filename=-3a87d976b4d5549a --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/build/libc-3a87d976b4d5549a -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/ncurses-5.101.0/target/rpm/build/libc-3a87d976b4d5549a/build-script-build` Running `/usr/bin/rustc --crate-name libc /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="std"' -C metadata=4174073a058e2b22 -C extra-filename=-4174073a058e2b22 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps -L dependency=/builddir/build/BUILD/ncurses-5.101.0/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` Compiling ncurses v5.101.0 (/builddir/build/BUILD/ncurses-5.101.0) Running `/usr/bin/rustc --crate-name build_script_build 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"' -C metadata=4d8decd0a7334c74 -C extra-filename=-4d8decd0a7334c74 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/build/ncurses-4d8decd0a7334c74 -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern cc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libcc-b92eb23f8881a650.rlib --extern pkg_config=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libpkg_config-fff45a6d0e3e08dc.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/ncurses-5.101.0/target/rpm/build/ncurses-4d8decd0a7334c74/build-script-build` Running `/usr/bin/rustc --crate-name ncurses 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"' -C metadata=98ab4770ec1c1fc3 -C extra-filename=-98ab4770ec1c1fc3 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -l ncurses -l tinfo` warning: attribute should be applied to a foreign function or static --> src/lib.rs:161:1 | 161 | #[link_name="box"] pub fn box_(w: WINDOW, v: chtype, h: chtype) -> i32 | _^^^^^^^^^^^^^^^^^^_- 162 | | { wborder(w, v, v, h, h, 0, 0, 0, 0) } | |______________________________________- not a foreign function or static | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: `#[warn(unused_attributes)]` on by default warning: use of deprecated function `printw`: printw can segfault when printing string that contains % sign. Use addstr instead --> src/lib.rs:842:3 | 842 | printw(s) | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: creating a shared reference to mutable static is discouraged --> src/constants.rs:61:9 | 61 | &wrapped::acs_map as *const chtype | ^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior = note: `#[warn(static_mut_refs)]` on by default help: use `addr_of!` instead to create a raw pointer | 61 | addr_of!(wrapped::acs_map) as *const chtype | ~~~~~~~~~~~~~~~~~~~~~~~~~~ warning: `ncurses` (lib) generated 3 warnings Finished rpm [optimized + debuginfo] target(s) in 16.24s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uw8wUK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64 + cd ncurses-5.101.0 + 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=ncurses ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=5.101.0 + REG_DIR=/builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64/usr/share/cargo/registry/ncurses-5.101.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64/usr/share/cargo/registry/ncurses-5.101.0 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64/usr/share/cargo/registry/ncurses-5.101.0 + /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 warning: No (git) VCS found for `/builddir/build/BUILD/ncurses-5.101.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64/usr/share/cargo/registry/ncurses-5.101.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64/usr/share/cargo/registry/ncurses-5.101.0/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.KgdmTb + 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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 -mbranch-protection=standard -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 ncurses-5.101.0 + /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 -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh pkg-config v0.3.30 Fresh cc v1.0.99 Fresh libc v0.2.155 warning: attribute should be applied to a foreign function or static --> src/lib.rs:161:1 | 161 | #[link_name="box"] pub fn box_(w: WINDOW, v: chtype, h: chtype) -> i32 | _^^^^^^^^^^^^^^^^^^_- 162 | | { wborder(w, v, v, h, h, 0, 0, 0, 0) } | |______________________________________- not a foreign function or static | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: `#[warn(unused_attributes)]` on by default warning: use of deprecated function `printw`: printw can segfault when printing string that contains % sign. Use addstr instead --> src/lib.rs:842:3 | 842 | printw(s) | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: creating a shared reference to mutable static is discouraged --> src/constants.rs:61:9 | 61 | &wrapped::acs_map as *const chtype | ^^^^^^^^^^^^^^^^^ shared reference to mutable static | = note: for more information, see issue #114447 = note: this will be a hard error in the 2024 edition = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior = note: `#[warn(static_mut_refs)]` on by default help: use `addr_of!` instead to create a raw pointer | 61 | addr_of!(wrapped::acs_map) as *const chtype | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling ncurses v5.101.0 (/builddir/build/BUILD/ncurses-5.101.0) warning: `ncurses` (lib) generated 3 warnings Running `/usr/bin/rustc --crate-name ex_3 examples/ex_3.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=a527648c6b34bbd1 -C extra-filename=-a527648c6b34bbd1 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ex_5 examples/ex_5.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=51abe0270e087992 -C extra-filename=-51abe0270e087992 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ex_4 examples/ex_4.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=ed1bc4d4c4ab15f3 -C extra-filename=-ed1bc4d4c4ab15f3 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ncurses 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"' -C metadata=ef68b1d05fbf4909 -C extra-filename=-ef68b1d05fbf4909 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn -l ncurses -l tinfo` Running `/usr/bin/rustc --crate-name ex_1 examples/ex_1.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=88dadf64178f1c3a -C extra-filename=-88dadf64178f1c3a --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ex_7 examples/ex_7.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=800d4a603a1f6832 -C extra-filename=-800d4a603a1f6832 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ex_2 examples/ex_2.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=5bd82c01772a446e -C extra-filename=-5bd82c01772a446e --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ex_8 examples/ex_8.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=3f34941df831b510 -C extra-filename=-3f34941df831b510 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unused import: `ncurses::*` --> examples/ex_5.rs:4:5 | 4 | use ncurses::*; | ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused import: `std::char` --> examples/ex_7.rs:13:5 | 13 | use std::char; | ^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: `ncurses` (example "ex_7") generated 1 warning (run `cargo fix --example "ex_7"` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name ex_6 examples/ex_6.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=ca0f15eaffcbe709 -C extra-filename=-ca0f15eaffcbe709 --out-dir /builddir/build/BUILD/ncurses-5.101.0/target/rpm/examples -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `ncurses` (example "ex_5") generated 1 warning (run `cargo fix --example "ex_5"` to apply 1 suggestion) warning: `ncurses` (lib test) generated 3 warnings (3 duplicates) Finished rpm [optimized + debuginfo] target(s) in 2.20s Running `/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/ncurses-ef68b1d05fbf4909` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ncurses Running `/usr/bin/rustdoc --crate-type lib --crate-name ncurses --test src/lib.rs --test-run-directory /builddir/build/BUILD/ncurses-5.101.0 -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps -L dependency=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps --extern libc=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern ncurses=/builddir/build/BUILD/ncurses-5.101.0/target/rpm/deps/libncurses-98ab4770ec1c1fc3.rlib -C embed-bitcode=no --cfg 'feature="default"' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-ncurses-devel-5.101.0-1.ocs23.noarch warning: File listed twice: /usr/share/cargo/registry/ncurses-5.101.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/ncurses-5.101.0/README.md Provides: crate(ncurses) = 5.101.0 rust-ncurses-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(cc/default) >= 1.0.18 with crate(cc/default) < 2.0.0~) (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) (crate(pkg-config/default) >= 0.3.0 with crate(pkg-config/default) < 0.4.0~) cargo Processing files: rust-ncurses+default-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/default) = 5.101.0 rust-ncurses+default-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 Processing files: rust-ncurses+extended_colors-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/extended_colors) = 5.101.0 rust-ncurses+extended_colors-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 crate(ncurses/wide) = 5.101.0 Processing files: rust-ncurses+menu-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/menu) = 5.101.0 rust-ncurses+menu-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 Processing files: rust-ncurses+mouse_v1-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/mouse_v1) = 5.101.0 rust-ncurses+mouse_v1-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 Processing files: rust-ncurses+panel-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/panel) = 5.101.0 rust-ncurses+panel-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 Processing files: rust-ncurses+wide-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/wide) = 5.101.0 rust-ncurses+wide-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 Processing files: rust-ncurses+wide_chtype-devel-5.101.0-1.ocs23.noarch Provides: crate(ncurses/wide_chtype) = 5.101.0 rust-ncurses+wide_chtype-devel = 5.101.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ncurses) = 5.101.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-ncurses-5.101.0-1.ocs23.aarch64 Wrote: /builddir/build/SRPMS/rust-ncurses-5.101.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-ncurses+default-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses+menu-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses+mouse_v1-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses+wide-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses+extended_colors-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses+wide_chtype-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses+panel-devel-5.101.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-ncurses-devel-5.101.0-1.ocs23.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/ncurses-5.101.0/LICENSE File listed twice: /usr/share/cargo/registry/ncurses-5.101.0/README.md Child return code was: 0