Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.spec'], chrootPath='/var/lib/mock/f40-build-739203-108876/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rust-system76_ectool-0.3.8-7.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.spec'], chrootPath='/var/lib/mock/f40-build-739203-108876/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8IdcPf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf system76_ectool-0.3.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/system76_ectool-0.3.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd system76_ectool-0.3.8 + rm -rf /builddir/build/BUILD/system76_ectool-0.3.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/system76_ectool-0.3.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/system76_ectool-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.JHTLxM + umask 022 + cd /builddir/build/BUILD + cd system76_ectool-0.3.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-system76_ectool-0.3.8-7.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.spec'], chrootPath='/var/lib/mock/f40-build-739203-108876/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G6I39a + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf system76_ectool-0.3.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/system76_ectool-0.3.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd system76_ectool-0.3.8 + rm -rf /builddir/build/BUILD/system76_ectool-0.3.8-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/system76_ectool-0.3.8-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/system76_ectool-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.HyVARQ + umask 022 + cd /builddir/build/BUILD + cd system76_ectool-0.3.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-system76_ectool-0.3.8-7.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.spec'], chrootPath='/var/lib/mock/f40-build-739203-108876/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-system76_ectool.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hajBdk + umask 022 + cd /builddir/build/BUILD + cd system76_ectool-0.3.8 + /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.SOta4J + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd system76_ectool-0.3.8 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j4 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.150 Compiling pkg-config v0.3.27 Compiling unicode-width v0.1.11 Compiling ansi_term v0.12.1 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/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=cce15180855497f1 -C extra-filename=-cce15180855497f1 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/build/libc-cce15180855497f1 -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name pkg_config /usr/share/cargo/registry/pkg-config-0.3.27/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=5d616ef046c34f92 -C extra-filename=-5d616ef046c34f92 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name ansi_term /usr/share/cargo/registry/ansi_term-0.12.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=ac1d7f419ab9af22 -C extra-filename=-ac1d7f419ab9af22 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_width /usr/share/cargo/registry/unicode-width-0.1.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' -C metadata=93aa362d659a1f22 -C extra-filename=-93aa362d659a1f22 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling textwrap v0.11.0 Running `/usr/bin/rustc --crate-name textwrap /usr/share/cargo/registry/textwrap-0.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=cb64f90a4604391f -C extra-filename=-cb64f90a4604391f --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern unicode_width=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libunicode_width-93aa362d659a1f22.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling bitflags v1.3.2 Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.2/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=e59ee6a0de8b28d2 -C extra-filename=-e59ee6a0de8b28d2 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling strsim v0.10.0 Running `/usr/bin/rustc --crate-name strsim /usr/share/cargo/registry/strsim-0.10.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=1ea97b19f5bc6c76 -C extra-filename=-1ea97b19f5bc6c76 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling vec_map v0.8.2 Running `/usr/bin/rustc --crate-name vec_map /usr/share/cargo/registry/vec_map-0.8.2/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=d3a12c5cd93ec94f -C extra-filename=-d3a12c5cd93ec94f --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/build/libc-cce15180855497f1/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.150/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="std"' -C metadata=68565b22fedda592 -C extra-filename=-68565b22fedda592 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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` Running `/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/build/libc-cce15180855497f1/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.150/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=c9ae3a6e653f70ec -C extra-filename=-c9ae3a6e653f70ec --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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 cc v1.0.83 Running `/usr/bin/rustc --crate-name cc --edition=2018 /usr/share/cargo/registry/cc-1.0.83/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=c27d5e09e24a4c63 -C extra-filename=-c27d5e09e24a4c63 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-68565b22fedda592.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling atty v0.2.14 Running `/usr/bin/rustc --crate-name atty /usr/share/cargo/registry/atty-0.2.14/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=7eb502f94e665f92 -C extra-filename=-7eb502f94e665f92 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling clap v2.34.0 Running `/usr/bin/rustc --crate-name clap --edition=2018 /usr/share/cargo/registry/clap-2.34.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="color"' --cfg 'feature="default"' --cfg 'feature="strsim"' --cfg 'feature="suggestions"' --cfg 'feature="vec_map"' -C metadata=19f7bfecd2388e47 -C extra-filename=-19f7bfecd2388e47 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern ansi_term=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libansi_term-ac1d7f419ab9af22.rmeta --extern atty=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libatty-7eb502f94e665f92.rmeta --extern bitflags=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libbitflags-e59ee6a0de8b28d2.rmeta --extern strsim=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libstrsim-1ea97b19f5bc6c76.rmeta --extern textwrap=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libtextwrap-cb64f90a4604391f.rmeta --extern unicode_width=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libunicode_width-93aa362d659a1f22.rmeta --extern vec_map=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libvec_map-d3a12c5cd93ec94f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling downcast-rs v1.2.0 Running `/usr/bin/rustc --crate-name downcast_rs /usr/share/cargo/registry/downcast-rs-1.2.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="std"' -C metadata=378ce3c2af8d9deb -C extra-filename=-378ce3c2af8d9deb --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling hidapi v1.4.1 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/hidapi-1.4.1/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="linux-shared-hidraw"' -C metadata=f9f12f47d684317f -C extra-filename=-f9f12f47d684317f --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/build/hidapi-f9f12f47d684317f -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern cc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libcc-c27d5e09e24a4c63.rlib --extern pkg_config=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libpkg_config-5d616ef046c34f92.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/build/hidapi-f9f12f47d684317f/build-script-build` Running `/usr/bin/rustc --crate-name hidapi /usr/share/cargo/registry/hidapi-1.4.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 --cfg 'feature="linux-shared-hidraw"' -C metadata=cdc22fc5f3a1c564 -C extra-filename=-cdc22fc5f3a1c564 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64 -l hidapi-hidraw` Compiling system76_ectool v0.3.8 (/builddir/build/BUILD/system76_ectool-0.3.8) Running `/usr/bin/rustc --crate-name ectool --edition=2018 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="clap"' --cfg 'feature="default"' --cfg 'feature="hidapi"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=c2925a9a437759f8 -C extra-filename=-c2925a9a437759f8 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern clap=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libclap-19f7bfecd2388e47.rmeta --extern downcast_rs=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libdowncast_rs-378ce3c2af8d9deb.rmeta --extern hidapi=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libhidapi-cdc22fc5f3a1c564.rmeta --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name system76_ectool --edition=2018 src/main.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="clap"' --cfg 'feature="default"' --cfg 'feature="hidapi"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=1a10cce1a8354b16 -C extra-filename=-1a10cce1a8354b16 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern clap=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libclap-19f7bfecd2388e47.rlib --extern downcast_rs=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libdowncast_rs-378ce3c2af8d9deb.rlib --extern hidapi=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libhidapi-cdc22fc5f3a1c564.rlib --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rlib --extern ectool=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libectool-c2925a9a437759f8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64` warning: use of deprecated unit variant `hidapi::HidError::OpenHidDeviceError` --> src/main.rs:413:43 | 413 | Err(hidapi::HidError::OpenHidDeviceError.into()) | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: `system76_ectool` (bin "system76_ectool") generated 1 warning Finished rpm [optimized + debuginfo] target(s) in 3m 55s + set -euo pipefail + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo tree -Z avoid-dev-deps --workspace --offline --edges no-build,no-dev,no-proc-macro --no-dedupe --target all --prefix none --format '# {l}' + sort -u + sed -e 's: / :/:g' -e 's:/: OR :g' # MIT # MIT OR Apache-2.0 + set -euo pipefail + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo tree -Z avoid-dev-deps --workspace --offline --edges no-build,no-dev,no-proc-macro --no-dedupe --target all --prefix none --format '{l}: {p}' + sort -u ++ pwd + sed -e 's: (/builddir/build/BUILD/system76_ectool-0.3.8[^)]*)::g' -e 's: / :/:g' -e 's:/: OR :g' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6Gwh5f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd system76_ectool-0.3.8 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=system76_ectool ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.8 + REG_DIR=/builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/cargo/registry/system76_ectool-0.3.8 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/cargo/registry/system76_ectool-0.3.8 + /usr/bin/awk -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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/cargo/registry/system76_ectool-0.3.8 warning: No (git) VCS found for `/builddir/build/BUILD/system76_ectool-0.3.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/cargo/registry/system76_ectool-0.3.8/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/cargo/registry/system76_ectool-0.3.8/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo install -j4 -Z avoid-dev-deps --profile rpm --no-track --path . Installing system76_ectool v0.3.8 (/builddir/build/BUILD/system76_ectool-0.3.8) Fresh pkg-config v0.3.27 Fresh unicode-width v0.1.11 Fresh libc v0.2.150 Fresh textwrap v0.11.0 Fresh strsim v0.10.0 Fresh cc v1.0.83 Fresh atty v0.2.14 Fresh ansi_term v0.12.1 Fresh bitflags v1.3.2 Fresh vec_map v0.8.2 Fresh downcast-rs v1.2.0 Fresh clap v2.34.0 Fresh hidapi v1.4.1 Fresh system76_ectool v0.3.8 (/builddir/build/BUILD/system76_ectool-0.3.8) warning: use of deprecated unit variant `hidapi::HidError::OpenHidDeviceError` --> src/main.rs:413:43 | 413 | Err(hidapi::HidError::OpenHidDeviceError.into()) | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: `system76_ectool` (bin "system76_ectool") generated 1 warning Finished rpm [optimized + debuginfo] target(s) in 0.28s Installing /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/bin/system76_ectool Installed package `system76_ectool v0.3.8 (/builddir/build/BUILD/system76_ectool-0.3.8)` (executable `system76_ectool`) warning: be sure to add `/builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/bin` to your PATH to be able to run the installed binaries + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.3.8-7.fc40 --unique-debug-suffix -0.3.8-7.fc40.riscv64 --unique-debug-src-base rust-system76_ectool-0.3.8-7.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/system76_ectool-0.3.8 find-debuginfo: starting Extracting debug info from 1 files warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/bin/system76_ectool. Use `info auto-load python-scripts [REGEXP]' to list them. DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rust-system76_ectool-0.3.8-7.fc40.riscv64 102 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ogHcyp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd system76_ectool-0.3.8 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j4 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh pkg-config v0.3.27 Fresh unicode-width v0.1.11 Fresh libc v0.2.150 Fresh textwrap v0.11.0 Fresh vec_map v0.8.2 Fresh cc v1.0.83 Fresh atty v0.2.14 Fresh ansi_term v0.12.1 Fresh bitflags v1.3.2 Fresh strsim v0.10.0 Fresh downcast-rs v1.2.0 Fresh clap v2.34.0 Fresh hidapi v1.4.1 Compiling system76_ectool v0.3.8 (/builddir/build/BUILD/system76_ectool-0.3.8) Running `/usr/bin/rustc --crate-name ectool --edition=2018 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="clap"' --cfg 'feature="default"' --cfg 'feature="hidapi"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=c92e891eded36269 -C extra-filename=-c92e891eded36269 --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern clap=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libclap-19f7bfecd2388e47.rlib --extern downcast_rs=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libdowncast_rs-378ce3c2af8d9deb.rlib --extern hidapi=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libhidapi-cdc22fc5f3a1c564.rlib --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64` Running `/usr/bin/rustc --crate-name system76_ectool --edition=2018 src/main.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="clap"' --cfg 'feature="default"' --cfg 'feature="hidapi"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=4e10546180e5618d -C extra-filename=-4e10546180e5618d --out-dir /builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps --extern clap=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libclap-19f7bfecd2388e47.rlib --extern downcast_rs=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libdowncast_rs-378ce3c2af8d9deb.rlib --extern hidapi=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libhidapi-cdc22fc5f3a1c564.rlib --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rlib --extern ectool=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libectool-c2925a9a437759f8.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn -L native=/usr/lib64` warning: use of deprecated unit variant `hidapi::HidError::OpenHidDeviceError` --> src/main.rs:413:43 | 413 | Err(hidapi::HidError::OpenHidDeviceError.into()) | ^^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: `system76_ectool` (bin "system76_ectool" test) generated 1 warning Finished rpm [optimized + debuginfo] target(s) in 3.55s Running `/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/ectool-c92e891eded36269` 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/system76_ectool-0.3.8/target/rpm/deps/system76_ectool-4e10546180e5618d` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests ectool Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name ectool --test src/lib.rs --test-run-directory /builddir/build/BUILD/system76_ectool-0.3.8 -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L dependency=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps -L native=/usr/lib64 --extern clap=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libclap-19f7bfecd2388e47.rlib --extern downcast_rs=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libdowncast_rs-378ce3c2af8d9deb.rlib --extern hidapi=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libhidapi-cdc22fc5f3a1c564.rlib --extern libc=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/liblibc-c9ae3a6e653f70ec.rlib --extern ectool=/builddir/build/BUILD/system76_ectool-0.3.8/target/rpm/deps/libectool-c2925a9a437759f8.rlib -C embed-bitcode=no --cfg 'feature="clap"' --cfg 'feature="default"' --cfg 'feature="hidapi"' --cfg 'feature="libc"' --cfg 'feature="std"' --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: system76_ectool-0.3.8-7.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.kDscet + umask 022 + cd /builddir/build/BUILD + cd system76_ectool-0.3.8 + LICENSEDIR=/builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/licenses/system76_ectool + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/licenses/system76_ectool + cp -pr /builddir/build/BUILD/system76_ectool-0.3.8/LICENSE /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/licenses/system76_ectool + cp -pr /builddir/build/BUILD/system76_ectool-0.3.8/LICENSE.dependencies /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64/usr/share/licenses/system76_ectool + RPM_EC=0 ++ jobs -p + exit 0 Provides: system76_ectool = 0.3.8-7.fc40 system76_ectool(riscv-64) = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libhidapi-hidraw.so.0()(64bit) rtld(GNU_HASH) Processing files: rust-system76_ectool-devel-0.3.8-7.fc40.noarch warning: File listed twice: /usr/share/cargo/registry/system76_ectool-0.3.8/LICENSE Provides: crate(system76_ectool) = 0.3.8 rust-system76_ectool-devel = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(downcast-rs) >= 1.2.0 with crate(downcast-rs) < 2.0.0~) cargo Processing files: rust-system76_ectool+default-devel-0.3.8-7.fc40.noarch Provides: crate(system76_ectool/default) = 0.3.8 rust-system76_ectool+default-devel = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(system76_ectool) = 0.3.8 crate(system76_ectool/clap) = 0.3.8 crate(system76_ectool/hidapi) = 0.3.8 crate(system76_ectool/std) = 0.3.8 Processing files: rust-system76_ectool+clap-devel-0.3.8-7.fc40.noarch Provides: crate(system76_ectool/clap) = 0.3.8 rust-system76_ectool+clap-devel = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(clap/default) >= 2.0.0 with crate(clap/default) < 3.0.0~) cargo crate(system76_ectool) = 0.3.8 Processing files: rust-system76_ectool+hidapi-devel-0.3.8-7.fc40.noarch Provides: crate(system76_ectool/hidapi) = 0.3.8 rust-system76_ectool+hidapi-devel = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(hidapi) >= 1.2.0 with crate(hidapi) < 2.0.0~) (crate(hidapi/linux-shared-hidraw) >= 1.2.0 with crate(hidapi/linux-shared-hidraw) < 2.0.0~) cargo crate(system76_ectool) = 0.3.8 Processing files: rust-system76_ectool+libc-devel-0.3.8-7.fc40.noarch Provides: crate(system76_ectool/libc) = 0.3.8 rust-system76_ectool+libc-devel = 0.3.8-7.fc40 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 crate(system76_ectool) = 0.3.8 Processing files: rust-system76_ectool+std-devel-0.3.8-7.fc40.noarch Provides: crate(system76_ectool/std) = 0.3.8 rust-system76_ectool+std-devel = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(downcast-rs/std) >= 1.2.0 with crate(downcast-rs/std) < 2.0.0~) cargo crate(system76_ectool) = 0.3.8 crate(system76_ectool/libc) = 0.3.8 Processing files: rust-system76_ectool-debugsource-0.3.8-7.fc40.riscv64 Provides: rust-system76_ectool-debugsource = 0.3.8-7.fc40 rust-system76_ectool-debugsource(riscv-64) = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: system76_ectool-debuginfo-0.3.8-7.fc40.riscv64 Provides: debuginfo(build-id) = 8b37265b21f1fedea8b5001034061716b7e0b11f system76_ectool-debuginfo = 0.3.8-7.fc40 system76_ectool-debuginfo(riscv-64) = 0.3.8-7.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rust-system76_ectool-debugsource(riscv-64) = 0.3.8-7.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64 Wrote: /builddir/build/SRPMS/rust-system76_ectool-0.3.8-7.fc40.src.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool-debugsource-0.3.8-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool-devel-0.3.8-7.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool+default-devel-0.3.8-7.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool+clap-devel-0.3.8-7.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool+hidapi-devel-0.3.8-7.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool+libc-devel-0.3.8-7.fc40.noarch.rpm Wrote: /builddir/build/RPMS/rust-system76_ectool+std-devel-0.3.8-7.fc40.noarch.rpm Wrote: /builddir/build/RPMS/system76_ectool-0.3.8-7.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/system76_ectool-debuginfo-0.3.8-7.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.z6wRQV + umask 022 + cd /builddir/build/BUILD + cd system76_ectool-0.3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-system76_ectool-0.3.8-7.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.nt8Zj8 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/system76_ectool-0.3.8-SPECPARTS + rm -rf system76_ectool-0.3.8 system76_ectool-0.3.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/system76_ectool-0.3.8/LICENSE Child return code was: 0