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-users.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204955-14677/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-users.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-users-0.11.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-users.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204955-14677/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-users.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.Pd3JSe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf users-0.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/users-0.11.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd users-0.11.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.VAYeAQ + umask 022 + cd /builddir/build/BUILD + cd users-0.11.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-users-0.11.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-users.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204955-14677/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-users.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.25Cpxa + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf users-0.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/users-0.11.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd users-0.11.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.637B3o + umask 022 + cd /builddir/build/BUILD + cd users-0.11.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-users-0.11.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-users.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-204955-14677/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-users.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.MvYZ7J + umask 022 + cd /builddir/build/BUILD + cd users-0.11.0 + /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.qm2bDi + 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 users-0.11.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 -j16 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling log v0.4.21 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/users-0.11.0/target/rpm/build/libc-3a87d976b4d5549a -L dependency=/builddir/build/BUILD/users-0.11.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 log --edition=2021 /usr/share/cargo/registry/log-0.4.21/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=fd57b7fbdfcf7526 -C extra-filename=-fd57b7fbdfcf7526 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/users-0.11.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/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.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 users v0.11.0 (/builddir/build/BUILD/users-0.11.0) Running `/usr/bin/rustc --crate-name users 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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=d3570d8341abc779 -C extra-filename=-d3570d8341abc779 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rmeta --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-fd57b7fbdfcf7526.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: trivial numeric cast: `u32` as `u32` --> src/base.rs:805:46 | 805 | .filter_map(|i| get_group_by_gid(i as gid_t)) | ^^^^^^^^^^ | = help: cast can be replaced by coercion; this might require a temporary variable note: the lint level is defined here --> src/lib.rs:4:9 | 4 | #![warn(trivial_numeric_casts)] | ^^^^^^^^^^^^^^^^^^^^^ warning: `users` (lib) generated 1 warning Finished rpm [optimized + debuginfo] target(s) in 4.15s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1qeDWK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64 + cd users-0.11.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=users ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.11.0 + REG_DIR=/builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64/usr/share/cargo/registry/users-0.11.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64/usr/share/cargo/registry/users-0.11.0 + 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-users-0.11.0-1.ocs23.aarch64/usr/share/cargo/registry/users-0.11.0 warning: No (git) VCS found for `/builddir/build/BUILD/users-0.11.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64/usr/share/cargo/registry/users-0.11.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64/usr/share/cargo/registry/users-0.11.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.wtdmh6 + 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 users-0.11.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 -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling log v0.4.21 Fresh libc v0.2.155 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' -C metadata=b04bb52923cd3bca -C extra-filename=-b04bb52923cd3bca --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling env_logger v0.7.1 Compiling users v0.11.0 (/builddir/build/BUILD/users-0.11.0) Running `/usr/bin/rustc --crate-name env_logger --edition=2018 /usr/share/cargo/registry/env_logger-0.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=4c9b8a78e1caf8d8 -C extra-filename=-4c9b8a78e1caf8d8 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name users 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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=fc9be8ef2230eeee -C extra-filename=-fc9be8ef2230eeee --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rmeta --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: trivial numeric cast: `u32` as `u32` --> src/base.rs:805:46 | 805 | .filter_map(|i| get_group_by_gid(i as gid_t)) | ^^^^^^^^^^ | = help: cast can be replaced by coercion; this might require a temporary variable note: the lint level is defined here --> src/lib.rs:4:9 | 4 | #![warn(trivial_numeric_casts)] | ^^^^^^^^^^^^^^^^^^^^^ Running `/usr/bin/rustc --crate-name users 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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=f9da2218e706ece4 -C extra-filename=-f9da2218e706ece4 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `users` (lib) generated 1 warning Running `/usr/bin/rustc --crate-name list examples/list.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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=d0b6a33e2dd55707 -C extra-filename=-d0b6a33e2dd55707 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/examples -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name switching examples/switching.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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=b77f5a8e2ec7a8d1 -C extra-filename=-b77f5a8e2ec7a8d1 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/examples -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name os examples/os.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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=7ff9048342b2f86b -C extra-filename=-7ff9048342b2f86b --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/examples -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name groups examples/groups.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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=a0409d4648d68d80 -C extra-filename=-a0409d4648d68d80 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/examples -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name threading examples/threading.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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=09e49d329b372fc0 -C extra-filename=-09e49d329b372fc0 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/examples -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name example examples/example.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="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' -C metadata=a0a7cfd9dcd08a21 -C extra-filename=-a0a7cfd9dcd08a21 --out-dir /builddir/build/BUILD/users-0.11.0/target/rpm/examples -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `users` (lib test) generated 1 warning (1 duplicate) Finished rpm [optimized + debuginfo] target(s) in 5.13s Running `/builddir/build/BUILD/users-0.11.0/target/rpm/deps/users-f9da2218e706ece4` running 18 tests test base::test::group_by_name ... ok test base::test::user_by_name ... ok test base::test::uid_for_username ... ok test base::test::uid ... ok test base::test::user_info ... ok test base::test::username ... ok test mock::test::current_username ... ok test base::test::username_for_uid_for_username ... ok test mock::test::gid ... ok test mock::test::group_name ... ok test base::test::user_get_groups ... ok test mock::test::no_current_username ... ok test mock::test::no_gid ... ok test mock::test::no_group_name ... ok test mock::test::no_uid ... ok test mock::test::no_username ... ok test mock::test::uid ... ok test mock::test::username ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests users Running `/usr/bin/rustdoc --crate-type lib --crate-name users --test src/lib.rs --test-run-directory /builddir/build/BUILD/users-0.11.0 -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps -L dependency=/builddir/build/BUILD/users-0.11.0/target/rpm/deps --extern env_logger=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libenv_logger-4c9b8a78e1caf8d8.rlib --extern libc=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblibc-4174073a058e2b22.rlib --extern log=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/liblog-b04bb52923cd3bca.rlib --extern users=/builddir/build/BUILD/users-0.11.0/target/rpm/deps/libusers-fc9be8ef2230eeee.rlib -C embed-bitcode=no --cfg 'feature="cache"' --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="logging"' --cfg 'feature="mock"' --error-format human` running 39 tests test src/base.rs - base::User::groups (line 135) - compile ... ok test src/base.rs - base::get_current_gid (line 638) ... ok test src/base.rs - base::get_current_username (line 571) ... ok test src/base.rs - base::get_current_uid (line 547) ... ok test src/base.rs - base::Group::name (line 215) ... ok test src/base.rs - base::Group::gid (line 201) ... ok test src/base.rs - base::User::name (line 101) ... ok test src/base.rs - base::all_users (line 845) ... ok test src/base.rs - base::get_effective_gid (line 682) ... ok test src/base.rs - base::User::primary_group_id (line 116) ... ok test src/base.rs - base::Group::new (line 185) ... ok test src/base.rs - base::User::new (line 71) ... ok test src/base.rs - base::get_current_groupname (line 659) ... ok test src/base.rs - base::User::uid (line 87) ... ok test src/base.rs - base::get_effective_uid (line 594) ... ok test src/base.rs - base::group_access_list (line 731) - compile ... ok test src/cache.rs - cache (line 47) - compile ... ok test src/cache.rs - cache (line 11) - compile ... ok test src/base.rs - base::get_effective_groupname (line 703) ... ok test src/base.rs - base::get_user_groups (line 768) - compile ... ok test src/lib.rs - (line 102) - compile ... ok test src/base.rs - base::get_effective_username (line 615) ... ok test src/switch.rs - switch::set_both_gid (line 189) - compile ... ok test src/switch.rs - switch::set_both_uid (line 158) - compile ... ok test src/switch.rs - switch::set_current_gid (line 65) - compile ... ok test src/switch.rs - switch::set_current_uid (line 34) - compile ... ok test src/switch.rs - switch::set_effective_gid (line 127) - compile ... ok test src/switch.rs - switch::switch_user_group (line 245) - compile ... ok test src/switch.rs - switch::set_effective_uid (line 96) - compile ... ok test src/base.rs - base::get_group_by_gid (line 433) ... ok test src/base.rs - base::get_user_by_uid (line 318) ... ok test src/base.rs - base::get_group_by_name (line 486) ... ok test src/lib.rs - (line 43) ... ok test src/base.rs - base::get_user_by_name (line 371) ... ok test src/cache.rs - cache::UsersCache::new (line 155) ... ok test src/cache.rs - cache::UsersCache::with_all_users (line 174) ... ok test src/lib.rs - (line 77) ... ok test src/mock.rs - mock (line 19) ... ok test src/mock.rs - mock (line 41) ... ok test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-users-devel-0.11.0-1.ocs23.noarch warning: File listed twice: /usr/share/cargo/registry/users-0.11.0/LICENCE warning: File listed twice: /usr/share/cargo/registry/users-0.11.0/README.md Provides: crate(users) = 0.11.0 rust-users-devel = 0.11.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) cargo Processing files: rust-users+default-devel-0.11.0-1.ocs23.noarch Provides: crate(users/default) = 0.11.0 rust-users+default-devel = 0.11.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(users) = 0.11.0 crate(users/cache) = 0.11.0 crate(users/logging) = 0.11.0 crate(users/mock) = 0.11.0 Processing files: rust-users+cache-devel-0.11.0-1.ocs23.noarch Provides: crate(users/cache) = 0.11.0 rust-users+cache-devel = 0.11.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(users) = 0.11.0 Processing files: rust-users+log-devel-0.11.0-1.ocs23.noarch Provides: crate(users/log) = 0.11.0 rust-users+log-devel = 0.11.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0~) cargo crate(users) = 0.11.0 Processing files: rust-users+logging-devel-0.11.0-1.ocs23.noarch Provides: crate(users/logging) = 0.11.0 rust-users+logging-devel = 0.11.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(users) = 0.11.0 crate(users/log) = 0.11.0 Processing files: rust-users+mock-devel-0.11.0-1.ocs23.noarch Provides: crate(users/mock) = 0.11.0 rust-users+mock-devel = 0.11.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(users) = 0.11.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-users-0.11.0-1.ocs23.aarch64 Wrote: /builddir/build/SRPMS/rust-users-0.11.0-1.ocs23.src.rpm Wrote: /builddir/build/RPMS/rust-users+default-devel-0.11.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-users+cache-devel-0.11.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-users+mock-devel-0.11.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-users+log-devel-0.11.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-users+logging-devel-0.11.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/rust-users-devel-0.11.0-1.ocs23.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/users-0.11.0/LICENCE File listed twice: /usr/share/cargo/registry/users-0.11.0/README.md Child return code was: 0