Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.spec'], chrootPath='/var/lib/mock/f35-build-29592956-4037811/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.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 setting SOURCE_DATE_EPOCH=1630454400 Wrote: /builddir/build/SRPMS/rust-os_type-2.3.0-1.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.spec'], chrootPath='/var/lib/mock/f35-build-29592956-4037811/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.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 setting SOURCE_DATE_EPOCH=1630454400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0DHKnq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os_type-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/os_type-2.3.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd os_type-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hdQSAB + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-os_type-2.3.0-1.fc35.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 --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.spec'], chrootPath='/var/lib/mock/f35-build-29592956-4037811/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.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 setting SOURCE_DATE_EPOCH=1630454400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z5ZxvU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf os_type-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/os_type-2.3.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd os_type-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.TTHXNX + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-os_type-2.3.0-1.fc35.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 --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.spec'], chrootPath='/var/lib/mock/f35-build-29592956-4037811/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target x86_64 --nodeps /builddir/build/SPECS/rust-os_type.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 setting SOURCE_DATE_EPOCH=1630454400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.khdoEn + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nBS57z + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo build -j48 -Z avoid-dev-deps --release Compiling memchr v2.4.1 Compiling regex-syntax v0.6.25 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/memchr-2.4.1/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=f4647780a0c7f3d3 -C extra-filename=-f4647780a0c7f3d3 --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/build/memchr-f4647780a0c7f3d3 -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Running `/usr/bin/rustc --crate-name regex_syntax --edition=2018 /usr/share/cargo/registry/regex-syntax-0.6.25/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=bd5011c252b97e3c -C extra-filename=-bd5011c252b97e3c --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Running `/builddir/build/BUILD/os_type-2.3.0/target/release/build/memchr-f4647780a0c7f3d3/build-script-build` Running `/usr/bin/rustc --crate-name memchr --edition=2018 /usr/share/cargo/registry/memchr-2.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=03e3152b7c3ec0e2 -C extra-filename=-03e3152b7c3ec0e2 --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn --cfg memchr_runtime_simd --cfg memchr_runtime_sse2 --cfg memchr_runtime_sse42 --cfg memchr_runtime_avx` Compiling aho-corasick v0.7.18 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2018 /usr/share/cargo/registry/aho-corasick-0.7.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=105682bacb647e79 -C extra-filename=-105682bacb647e79 --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern memchr=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libmemchr-03e3152b7c3ec0e2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Compiling regex v1.5.4 Running `/usr/bin/rustc --crate-name regex --edition=2018 /usr/share/cargo/registry/regex-1.5.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="aho-corasick"' --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="perf"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' -C metadata=f0cd9492bbede3cf -C extra-filename=-f0cd9492bbede3cf --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern aho_corasick=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libaho_corasick-105682bacb647e79.rmeta --extern memchr=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libmemchr-03e3152b7c3ec0e2.rmeta --extern regex_syntax=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex_syntax-bd5011c252b97e3c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Compiling os_type v2.3.0 (/builddir/build/BUILD/os_type-2.3.0) Running `/usr/bin/rustc --crate-name os_type src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C metadata=19ba4d51a4a8792d -C extra-filename=-19ba4d51a4a8792d --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern regex=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex-f0cd9492bbede3cf.rmeta -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` warning: unused import: `super::*` --> src/os_release.rs:60:9 | 60 | use super::*; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: struct is never constructed: `WindowsVer` --> src/windows_ver.rs:4:12 | 4 | pub struct WindowsVer { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `retrieve` --> src/windows_ver.rs:8:8 | 8 | pub fn retrieve() -> Option { | ^^^^^^^^ warning: function is never used: `parse` --> src/windows_ver.rs:17:8 | 17 | pub fn parse(output: String) -> WindowsVer { | ^^^^^ warning: function is never used: `is_os_x` --> src/sw_vers.rs:27:8 | 27 | pub fn is_os_x() -> bool { | ^^^^^^^ warning: 5 warnings emitted Finished release [optimized] target(s) in 29.84s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yOCZLy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64 + cd os_type-2.3.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=os_type ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=2.3.0 + REG_DIR=/builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/cargo/registry/os_type-2.3.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/cargo/registry/os_type-2.3.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 /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-os_type-2.3.0-1.fc35.x86_64/usr/share/cargo/registry/os_type-2.3.0 warning: No (git) VCS found for `/builddir/build/BUILD/os_type-2.3.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/cargo/registry/os_type-2.3.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/cargo/registry/os_type-2.3.0/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Guib1I + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 /usr/bin/cargo test -j48 -Z avoid-dev-deps --release --no-fail-fast Fresh regex-syntax v0.6.25 Fresh memchr v2.4.1 Fresh aho-corasick v0.7.18 Fresh regex v1.5.4 warning: unused import: `super::*` --> src/os_release.rs:60:9 | 60 | use super::*; | ^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: struct is never constructed: `WindowsVer` --> src/windows_ver.rs:4:12 | 4 | pub struct WindowsVer { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `retrieve` --> src/windows_ver.rs:8:8 | 8 | pub fn retrieve() -> Option { | ^^^^^^^^ warning: function is never used: `parse` --> src/windows_ver.rs:17:8 | 17 | pub fn parse(output: String) -> WindowsVer { | ^^^^^ warning: function is never used: `is_os_x` --> src/sw_vers.rs:27:8 | 27 | pub fn is_os_x() -> bool { | ^^^^^^^ warning: 5 warnings emitted Compiling os_type v2.3.0 (/builddir/build/BUILD/os_type-2.3.0) Running `/usr/bin/rustc --crate-name os_type src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=2d41d941a32ab930 -C extra-filename=-2d41d941a32ab930 --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern regex=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex-f0cd9492bbede3cf.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Running `/usr/bin/rustc --crate-name sw_vers_test tests/sw_vers_test.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=a3c5d4adffaf8832 -C extra-filename=-a3c5d4adffaf8832 --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern os_type=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libos_type-19ba4d51a4a8792d.rlib --extern regex=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex-f0cd9492bbede3cf.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Running `/usr/bin/rustc --crate-name lsb_release_test tests/lsb_release_test.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=6219d2b3cd8e4416 -C extra-filename=-6219d2b3cd8e4416 --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern os_type=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libos_type-19ba4d51a4a8792d.rlib --extern regex=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex-f0cd9492bbede3cf.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` Running `/usr/bin/rustc --crate-name centos_release_test tests/centos_release_test.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test -C metadata=0ec1717a4634be4d -C extra-filename=-0ec1717a4634be4d --out-dir /builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern os_type=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libos_type-19ba4d51a4a8792d.rlib --extern regex=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex-f0cd9492bbede3cf.rlib -Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn` warning: function is never used: `read_file` --> tests/../src/rhel_release.rs:12:4 | 12 | fn read_file(filename: &str) -> Result { | ^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `retrieve` --> tests/../src/rhel_release.rs:19:8 | 19 | pub fn retrieve() -> Option { | ^^^^^^^^ warning: function is never used: `file_exists` --> tests/../src/utils.rs:5:8 | 5 | pub fn file_exists>(path: P) -> bool { | ^^^^^^^^^^^ warning: function is never used: `is_os_x` --> tests/../src/sw_vers.rs:27:8 | 27 | pub fn is_os_x() -> bool { | ^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `retrieve` --> tests/../src/sw_vers.rs:34:8 | 34 | pub fn retrieve() -> Option { | ^^^^^^^^ warning: function is never used: `file_exists` --> tests/../src/utils.rs:5:8 | 5 | pub fn file_exists>(path: P) -> bool { | ^^^^^^^^^^^ warning: function is never used: `retrieve` --> tests/../src/lsb_release.rs:9:8 | 9 | pub fn retrieve() -> Option { | ^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `is_available` --> tests/../src/lsb_release.rs:18:8 | 18 | pub fn is_available() -> bool { | ^^^^^^^^^^^^ warning: function is never used: `file_exists` --> tests/../src/utils.rs:5:8 | 5 | pub fn file_exists>(path: P) -> bool { | ^^^^^^^^^^^ warning: struct is never constructed: `WindowsVer` --> src/windows_ver.rs:4:12 | 4 | pub struct WindowsVer { | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `retrieve` --> src/windows_ver.rs:8:8 | 8 | pub fn retrieve() -> Option { | ^^^^^^^^ warning: function is never used: `parse` --> src/windows_ver.rs:17:8 | 17 | pub fn parse(output: String) -> WindowsVer { | ^^^^^ warning: function is never used: `is_os_x` --> src/sw_vers.rs:27:8 | 27 | pub fn is_os_x() -> bool { | ^^^^^^^ warning: 3 warnings emitted warning: 3 warnings emitted warning: 4 warnings emitted warning: 3 warnings emitted Finished release [optimized] target(s) in 1.72s Running `/builddir/build/BUILD/os_type-2.3.0/target/release/deps/os_type-2d41d941a32ab930` running 2 tests test os_release::tests::parse_ubuntu_18_04_os_release ... ok test os_release::tests::parse_alpine_3_9_5_os_release ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/os_type-2.3.0/target/release/deps/centos_release_test-0ec1717a4634be4d` running 2 tests test test_parses_distribution ... ok test test_parses_version ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/os_type-2.3.0/target/release/deps/lsb_release_test-6219d2b3cd8e4416` running 8 tests test test_parses_lsb_distro ... ok test test_parses_arch_lsb_version ... ok test test_parses_opensuse_lsb_version ... ok test test_parses_arch_lsb_distro ... ok test test_parses_lsb_version ... ok test test_parses_opensuse_lsb_distro ... ok test test_parses_manjaro_lsb_distro ... ok test test_parses_manjaro_lsb_version ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/os_type-2.3.0/target/release/deps/sw_vers_test-a3c5d4adffaf8832` running 3 tests test parses_product_name ... ok test parses_build_version ... ok test parses_product_version ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests os_type Running `/usr/bin/rustdoc --crate-type lib --crate-name os_type --test /builddir/build/BUILD/os_type-2.3.0/src/lib.rs -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps -L dependency=/builddir/build/BUILD/os_type-2.3.0/target/release/deps --extern os_type=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libos_type-19ba4d51a4a8792d.rlib --extern regex=/builddir/build/BUILD/os_type-2.3.0/target/release/deps/libregex-f0cd9492bbede3cf.rlib -C embed-bitcode=no --error-format human` running 1 test test src/lib.rs - current_platform (line 181) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-os_type-devel-2.3.0-1.fc35.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9twdhO + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/doc/rust-os_type-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/doc/rust-os_type-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/doc/rust-os_type-devel + cp -pr Changelog.md /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/doc/rust-os_type-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5i5A2f + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/licenses/rust-os_type-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/licenses/rust-os_type-devel + cp -pr LICENSE /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64/usr/share/licenses/rust-os_type-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(os_type) = 2.3.0 rust-os_type-devel = 2.3.0-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0~) cargo Processing files: rust-os_type+default-devel-2.3.0-1.fc35.noarch Provides: crate(os_type/default) = 2.3.0 rust-os_type+default-devel = 2.3.0-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(os_type) = 2.3.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64 Wrote: /builddir/build/SRPMS/rust-os_type-2.3.0-1.fc35.src.rpm Wrote: /builddir/build/RPMS/rust-os_type+default-devel-2.3.0-1.fc35.noarch.rpm Wrote: /builddir/build/RPMS/rust-os_type-devel-2.3.0-1.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FCprwu + umask 022 + cd /builddir/build/BUILD + cd os_type-2.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-os_type-2.3.0-1.fc35.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0