Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-118623-6409/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.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=1674086400 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.25.2-1.fc37.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-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-118623-6409/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=864000uid=996gid=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-protobuf-codegen-pure.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=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oges4R + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-codegen-pure-2.25.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-codegen-pure-2.25.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-codegen-pure-2.25.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/protobuf-codegen-pure-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + 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.2jI76U + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-pure-2.25.2 + /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-protobuf-codegen-pure-2.25.2-1.fc37.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-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-118623-6409/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=864000uid=996gid=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-protobuf-codegen-pure.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=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sXgYZg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-codegen-pure-2.25.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-codegen-pure-2.25.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-codegen-pure-2.25.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/protobuf-codegen-pure-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + 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.wxES4C + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-pure-2.25.2 + /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-protobuf-codegen-pure-2.25.2-1.fc37.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-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-118623-6409/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=864000uid=996gid=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-protobuf-codegen-pure.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=1674086400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.xHSdid + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-pure-2.25.2 + /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.0Hch4X + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/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 protobuf-codegen-pure-2.25.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 -j8 -Z avoid-dev-deps --release Compiling protobuf v2.25.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/protobuf-2.25.2/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 -C metadata=f83d130de1606122 -C extra-filename=-f83d130de1606122 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/build/protobuf-f83d130de1606122 -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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/protobuf-codegen-pure-2.25.2/target/release/build/protobuf-f83d130de1606122/build-script-build` Running `/usr/bin/rustc --crate-name protobuf --edition=2018 /usr/share/cargo/registry/protobuf-2.25.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 metadata=138f24bdde7b0a53 -C extra-filename=-138f24bdde7b0a53 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling protobuf-codegen v2.25.2 Running `/usr/bin/rustc --crate-name protobuf_codegen /usr/share/cargo/registry/protobuf-codegen-2.25.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 metadata=9468153e9a16f244 -C extra-filename=-9468153e9a16f244 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps/libprotobuf-138f24bdde7b0a53.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling protobuf-codegen-pure v2.25.2 (/builddir/build/BUILD/protobuf-codegen-pure-2.25.2) Running `/usr/bin/rustc --crate-name protobuf_codegen_pure 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 metadata=cd2aff2db64503e1 -C extra-filename=-cd2aff2db64503e1 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps/libprotobuf-138f24bdde7b0a53.rmeta --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps/libprotobuf_codegen-9468153e9a16f244.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: fields `file` and `error` are never read --> src/lib.rs:179:5 | 178 | struct WithFileError { | ------------- fields in this struct 179 | file: String, | ^^^^ 180 | error: CodegenError, | ^^^^^ | = note: `WithFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: unused return value of `Box::::from_raw` that must be used --> src/linked_hash_map.rs:172:13 | 172 | Box::from_raw(cur); | ^^^^^^^^^^^^^^^^^^^ | = note: call `drop(from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` on by default warning: unused return value of `Box::::from_raw` that must be used --> src/linked_hash_map.rs:1184:17 | 1184 | Box::from_raw(self.tail); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(from_raw(ptr))` if you intend to drop the `Box` warning: `protobuf-codegen-pure` (lib) generated 3 warnings Finished release [optimized] target(s) in 15m 05s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IMOasN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/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 protobuf-codegen-pure-2.25.2 + 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=protobuf-codegen-pure ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=2.25.2 + REG_DIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-pure-2.25.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-pure-2.25.2 + 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 -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-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-pure-2.25.2 warning: No (git) VCS found for `/builddir/build/BUILD/protobuf-codegen-pure-2.25.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-pure-2.25.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-pure-2.25.2/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/brp-remove-la-files + /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.AtVBag + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/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 protobuf-codegen-pure-2.25.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 -j8 -Z avoid-dev-deps --release --no-fail-fast --lib Fresh protobuf v2.25.2 Fresh protobuf-codegen v2.25.2 Compiling protobuf-codegen-pure v2.25.2 (/builddir/build/BUILD/protobuf-codegen-pure-2.25.2) Running `/usr/bin/rustc --crate-name protobuf_codegen_pure 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 --test -C metadata=8509e5e19050d74d -C extra-filename=-8509e5e19050d74d --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps/libprotobuf-138f24bdde7b0a53.rlib --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps/libprotobuf_codegen-9468153e9a16f244.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unused variable: `name` --> src/parser.rs:2073:35 | 2073 | if let FieldType::Group { name, fields } = &mess.regular_fields_for_test()[1].typ { | ^^^^ help: try ignoring the field: `name: _` | = note: `#[warn(unused_variables)]` on by default warning: fields `file` and `error` are never read --> src/lib.rs:179:5 | 178 | struct WithFileError { | ------------- fields in this struct 179 | file: String, | ^^^^ 180 | error: CodegenError, | ^^^^^ | = note: `WithFileError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: unused return value of `Box::::from_raw` that must be used --> src/linked_hash_map.rs:172:13 | 172 | Box::from_raw(cur); | ^^^^^^^^^^^^^^^^^^^ | = note: call `drop(from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` on by default warning: unused return value of `Box::::from_raw` that must be used --> src/linked_hash_map.rs:1184:17 | 1184 | Box::from_raw(self.tail); | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(from_raw(ptr))` if you intend to drop the `Box` warning: `protobuf-codegen-pure` (lib test) generated 4 warnings Finished release [optimized] target(s) in 2m 18s Running `/builddir/build/BUILD/protobuf-codegen-pure-2.25.2/target/release/deps/protobuf_codegen_pure-8509e5e19050d74d` running 24 tests test parser::test::test_enum ... ok test parser::test::test_default_value_bytes ... ok test parser::test::test_default_value_string ... ok test parser::test::test_default_value_int ... ok test parser::test::test_field_default_value_float ... ok test parser::test::test_extend ... ok test parser::test::test_group ... ok test parser::test::test_ident ... ok test parser::test::test_ignore ... ok test parser::test::test_incorrect_file_descriptor ... ok test parser::test::test_lexer_int_lit ... ok test parser::test::test_map ... ok test parser::test::test_lexer_float_lit ... ok test parser::test::test_message ... ok test parser::test::test_nested_message ... ok test parser::test::test_no_package ... ok test parser::test::test_oneof ... ok test parser::test::test_package ... ok test parser::test::test_reserved ... ok test parser::test::test_syntax ... ok test parser::test::test_str_lit ... ok test test::test_relative_path_to_protobuf_path ... ok test test_against_protobuf_protos::test ... ok test parser::test::test_field_default_value_int ... ok test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-protobuf-codegen-pure-devel-2.25.2-1.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.63NQu0 + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-pure-2.25.2 + DOCDIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/doc/rust-protobuf-codegen-pure-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/doc/rust-protobuf-codegen-pure-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/doc/rust-protobuf-codegen-pure-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fKXcft + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-pure-2.25.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/licenses/rust-protobuf-codegen-pure-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/licenses/rust-protobuf-codegen-pure-devel + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64/usr/share/licenses/rust-protobuf-codegen-pure-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(protobuf-codegen-pure) = 2.25.2 rust-protobuf-codegen-pure-devel = 2.25.2-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf-codegen/default) = 2.25.2 crate(protobuf/default) = 2.25.2 Processing files: rust-protobuf-codegen-pure+default-devel-2.25.2-1.fc37.noarch Provides: crate(protobuf-codegen-pure/default) = 2.25.2 rust-protobuf-codegen-pure+default-devel = 2.25.2-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf-codegen-pure) = 2.25.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.25.2-1.fc37.src.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-pure+default-devel-2.25.2-1.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-pure-devel-2.25.2-1.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UYX8mm + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-pure-2.25.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.25.2-1.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ge87tr + umask 022 + cd /builddir/build/BUILD + rm -rf protobuf-codegen-pure-2.25.2 protobuf-codegen-pure-2.25.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0