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 x86_64 --nodeps /builddir/build/SPECS/rust-enumber.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-201593-14498/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-enumber.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-enumber-0.3.1-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-enumber.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-201593-14498/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-enumber.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x0IHpQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf enumber-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/enumber-0.3.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd enumber-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jgKDoF + umask 022 + cd /builddir/build/BUILD + cd enumber-0.3.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-enumber-0.3.1-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 x86_64 --nodeps /builddir/build/SPECS/rust-enumber.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-201593-14498/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-enumber.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Gvbnn5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf enumber-0.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/enumber-0.3.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd enumber-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.NOZct3 + umask 022 + cd /builddir/build/BUILD + cd enumber-0.3.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-enumber-0.3.1-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 x86_64 --nodeps /builddir/build/SPECS/rust-enumber.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-201593-14498/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-enumber.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: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.idc7eF + umask 022 + cd /builddir/build/BUILD + cd enumber-0.3.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.d0Bmu6 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 enumber-0.3.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 proc-macro2 v1.0.85 Compiling unicode-ident v1.0.12 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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="proc-macro"' -C metadata=4ec64ec071209616 -C extra-filename=-4ec64ec071209616 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/build/proc-macro2-4ec64ec071209616 -L dependency=/builddir/build/BUILD/enumber-0.3.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_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/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=922c4ae60b6842b1 -C extra-filename=-922c4ae60b6842b1 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/enumber-0.3.1/target/rpm/build/proc-macro2-4ec64ec071209616/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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="proc-macro"' -C metadata=5e94acb56c85a105 -C extra-filename=-5e94acb56c85a105 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libunicode_ident-922c4ae60b6842b1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro --cfg proc_macro_span` Compiling quote v1.0.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/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"' -C metadata=a5d5e3785323a0a0 -C extra-filename=-a5d5e3785323a0a0 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libproc_macro2-5e94acb56c85a105.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.66 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.66/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="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' -C metadata=85925ea8e4493bdb -C extra-filename=-85925ea8e4493bdb --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libproc_macro2-5e94acb56c85a105.rmeta --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-a5d5e3785323a0a0.rmeta --extern unicode_ident=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libunicode_ident-922c4ae60b6842b1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling enumber v0.3.1 (/builddir/build/BUILD/enumber-0.3.1) Running `/usr/bin/rustc --crate-name enumber --edition=2018 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 opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=5d8d4cc5cbeaacc5 -C extra-filename=-5d8d4cc5cbeaacc5 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-a5d5e3785323a0a0.rlib --extern syn=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libsyn-85925ea8e4493bdb.rlib --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished rpm [optimized + debuginfo] target(s) in 35.38s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xlBxaE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64 + cd enumber-0.3.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=enumber ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.1 + REG_DIR=/builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64/usr/share/cargo/registry/enumber-0.3.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64/usr/share/cargo/registry/enumber-0.3.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-enumber-0.3.1-1.ocs23.x86_64/usr/share/cargo/registry/enumber-0.3.1 warning: No (git) VCS found for `/builddir/build/BUILD/enumber-0.3.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64/usr/share/cargo/registry/enumber-0.3.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64/usr/share/cargo/registry/enumber-0.3.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.3WkapP + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 enumber-0.3.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 proc-macro2 v1.0.85 Compiling unicode-ident v1.0.12 Compiling enumber v0.3.1 (/builddir/build/BUILD/enumber-0.3.1) Running `/builddir/build/BUILD/enumber-0.3.1/target/rpm/build/proc-macro2-4ec64ec071209616/build-script-build` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.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 -C metadata=9c67b4ee0403c7e2 -C extra-filename=-9c67b4ee0403c7e2 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.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 enumber --edition=2018 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 -C metadata=17e6d5e73ef886e1 -C extra-filename=-17e6d5e73ef886e1 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-a5d5e3785323a0a0.rlib --extern syn=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libsyn-85925ea8e4493bdb.rlib --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name enumber --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C prefer-dynamic -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=89a9ea02a630a255 -C extra-filename=-89a9ea02a630a255 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-a5d5e3785323a0a0.rlib --extern syn=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libsyn-85925ea8e4493bdb.rlib --extern proc_macro -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.85/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="proc-macro"' -C metadata=cfdf8120c7455906 -C extra-filename=-cfdf8120c7455906 --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libunicode_ident-9c67b4ee0403c7e2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg no_literal_byte_character --cfg no_literal_c_string --cfg wrap_proc_macro --cfg proc_macro_span` Compiling quote v1.0.36 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.36/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="proc-macro"' -C metadata=b197f9b224768f1f -C extra-filename=-b197f9b224768f1f --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libproc_macro2-cfdf8120c7455906.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.66 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.66/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="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' -C metadata=f3114dca9b78688a -C extra-filename=-f3114dca9b78688a --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libproc_macro2-cfdf8120c7455906.rmeta --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-b197f9b224768f1f.rmeta --extern unicode_ident=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libunicode_ident-9c67b4ee0403c7e2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name simple --edition=2018 tests/simple.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 -C metadata=3aecdc13969cebeb -C extra-filename=-3aecdc13969cebeb --out-dir /builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern enumber=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libenumber-17e6d5e73ef886e1.so --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-b197f9b224768f1f.rlib --extern syn=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libsyn-f3114dca9b78688a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: field `0` is never read --> tests/simple.rs:4:8 | 3 | #[enumber::convert] | ------------------- field in this variant 4 | #[repr(u16)] | ^^^ | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 4 | #[repr(())] | ~~ warning: fields `0`, `1`, `2`, and `3` are never read --> tests/simple.rs:38:8 | 38 | V4(u8, u8, u8, u8), | -- ^^ ^^ ^^ ^^ | | | fields in this variant | help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 38 | V4((), (), (), ()), | ~~ ~~ ~~ ~~ warning: field `0` is never read --> tests/simple.rs:40:8 | 40 | V6(String), | -- ^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 40 | V6(()), | ~~ warning: field `value` is never read --> tests/simple.rs:45:5 | 44 | struct Fingerprint { | ----------- field in this struct 45 | value: Box<[u8]>, | ^^^^^ | = note: `Fingerprint` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `0` is never read --> tests/simple.rs:52:29 | 52 | CannotLoadCryptoLibrary(String) = 0x110, | ----------------------- ^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 52 | CannotLoadCryptoLibrary(()) = 0x110, | ~~ warning: fields `0` and `1` are never read --> tests/simple.rs:54:19 | 54 | AmbiguousName(String, String) = 0x202, | ------------- ^^^^^^ ^^^^^^ | | | fields in this variant | help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 54 | AmbiguousName((), ()) = 0x202, | ~~ ~~ warning: fields `0` and `1` are never read --> tests/simple.rs:55:21 | 55 | CannotDeleteKey(Fingerprint, String) = 0x212, | --------------- ^^^^^^^^^^^ ^^^^^^ | | | fields in this variant | help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 55 | CannotDeleteKey((), ()) = 0x212, | ~~ ~~ warning: `enumber` (test "simple") generated 7 warnings Finished rpm [optimized + debuginfo] target(s) in 29.24s Running `/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/enumber-89a9ea02a630a255` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/simple-3aecdc13969cebeb` running 5 tests test check_from_hex ... ok test test_errors ... ok test test_ip_addr ... ok test test_errors_refs ... ok test test_open_from_num_canfail ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests enumber Running `/usr/bin/rustdoc --edition=2018 --crate-type proc-macro --crate-name enumber --test src/lib.rs --test-run-directory /builddir/build/BUILD/enumber-0.3.1 -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps -L dependency=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps --extern enumber=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libenumber-17e6d5e73ef886e1.so --extern quote=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libquote-a5d5e3785323a0a0.rlib --extern syn=/builddir/build/BUILD/enumber-0.3.1/target/rpm/deps/libsyn-85925ea8e4493bdb.rlib --extern proc_macro -C embed-bitcode=no --error-format human` running 9 tests test src/lib.rs - convert (line 703) - compile fail ... ok test src/lib.rs - into (line 786) - compile fail ... ok test src/lib.rs - convert (line 662) ... ok test src/lib.rs - into (line 739) ... ok test src/lib.rs - convert (line 640) ... ok test src/lib.rs - convert (line 675) ... ok test src/lib.rs - (line 51) ... ok test src/lib.rs - into (line 756) ... ok test src/lib.rs - (line 11) ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-enumber-devel-0.3.1-1.ocs23.noarch warning: File listed twice: /usr/share/cargo/registry/enumber-0.3.1/COPYING warning: File listed twice: /usr/share/cargo/registry/enumber-0.3.1/README.md Provides: crate(enumber) = 0.3.1 rust-enumber-devel = 0.3.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(quote/default) >= 1.0.0 with crate(quote/default) < 2.0.0~) (crate(syn/default) >= 2.0.0 with crate(syn/default) < 3.0.0~) (crate(syn/full) >= 2.0.0 with crate(syn/full) < 3.0.0~) cargo Processing files: rust-enumber+default-devel-0.3.1-1.ocs23.noarch Provides: crate(enumber/default) = 0.3.1 rust-enumber+default-devel = 0.3.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(enumber) = 0.3.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-enumber-0.3.1-1.ocs23.x86_64 Wrote: /builddir/build/SRPMS/rust-enumber-0.3.1-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-enumber+default-devel-0.3.1-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-enumber-devel-0.3.1-1.ocs23.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/enumber-0.3.1/COPYING File listed twice: /usr/share/cargo/registry/enumber-0.3.1/README.md Child return code was: 0