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-protobuf-codegen.spec'], chrootPath='/var/lib/mock/f37-build-649034-72748/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-protobuf-codegen.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=1658534400 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-2.25.2-4.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.spec'], chrootPath='/var/lib/mock/f37-build-649034-72748/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-protobuf-codegen.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1rA2Yn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-codegen-2.25.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-codegen-2.25.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-codegen-2.25.2 + /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 + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.snerg1 + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-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-2.25.2-4.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.spec'], chrootPath='/var/lib/mock/f37-build-649034-72748/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-protobuf-codegen.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dZHqeA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf protobuf-codegen-2.25.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-codegen-2.25.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-codegen-2.25.2 + /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 + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PH3NC3 + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-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-2.25.2-4.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.spec'], chrootPath='/var/lib/mock/f37-build-649034-72748/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-protobuf-codegen.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=1658534400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.aaZoyx + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-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.wIGvom + 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-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 -j4 -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=f964ea8e97cf03e9 -C extra-filename=-f964ea8e97cf03e9 --out-dir /builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/build/protobuf-f964ea8e97cf03e9 -L dependency=/builddir/build/BUILD/protobuf-codegen-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-2.25.2/target/release/build/protobuf-f964ea8e97cf03e9/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=7253ed378d0f8eb2 -C extra-filename=-7253ed378d0f8eb2 --out-dir /builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-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 (/builddir/build/BUILD/protobuf-codegen-2.25.2) Running `/usr/bin/rustc --crate-name protobuf_codegen 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=4c6ab2cba177a9ad -C extra-filename=-4c6ab2cba177a9ad --out-dir /builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf-7253ed378d0f8eb2.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: field `name` is never read --> src/field/mod.rs:192:5 | 191 | pub struct MapField<'a> { | -------- field in this struct 192 | name: String, | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default = note: `MapField` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `root_scope` is never read --> src/field/mod.rs:431:5 | 430 | pub(crate) struct FieldGen<'a> { | -------- field in this struct 431 | root_scope: &'a RootScope<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `FieldGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: fields `oneof`, `variant` and `customize` are never read --> src/oneof.rs:81:5 | 80 | pub(crate) struct OneofVariantGen<'a> { | --------------- fields in this struct 81 | oneof: &'a OneofGen<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^ 82 | variant: OneofVariantWithContext<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 86 | customize: Customize, | ^^^^^^^^^^^^^^^^^^^^ | = note: `OneofVariantGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `lite_runtime` is never read --> src/oneof.rs:131:5 | 126 | pub(crate) struct OneofGen<'a> { | -------- field in this struct ... 131 | lite_runtime: bool, | ^^^^^^^^^^^^^^^^^^ | = note: `OneofGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `en` is never read --> src/scope.rs:415:5 | 414 | pub(crate) struct EnumValueWithContext<'a> { | -------------------- field in this struct 415 | pub en: EnumWithScope<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `EnumValueWithContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: `protobuf-codegen` (lib) generated 5 warnings Running `/usr/bin/rustc --crate-name protobuf_bin_gen_rust_do_not_use src/bin/protobuf-bin-gen-rust-do-not-use.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 metadata=d5672376132cf96c -C extra-filename=-d5672376132cf96c --out-dir /builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf-7253ed378d0f8eb2.rlib --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf_codegen-4c6ab2cba177a9ad.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` Running `/usr/bin/rustc --crate-name protoc_gen_rust src/bin/protoc-gen-rust.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 metadata=f94fd8711cb6455e -C extra-filename=-f94fd8711cb6455e --out-dir /builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf-7253ed378d0f8eb2.rlib --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf_codegen-4c6ab2cba177a9ad.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` Finished release [optimized] target(s) in 11m 03s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CKywex + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.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-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 ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=2.25.2 + REG_DIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-2.25.2 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-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-2.25.2-4.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-2.25.2 warning: No (git) VCS found for `/builddir/build/BUILD/protobuf-codegen-2.25.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-2.25.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/cargo/registry/protobuf-codegen-2.25.2/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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 install -j4 -Z avoid-dev-deps --no-track --path . Installing protobuf-codegen v2.25.2 (/builddir/build/BUILD/protobuf-codegen-2.25.2) Fresh protobuf v2.25.2 warning: field `name` is never read --> src/field/mod.rs:192:5 | 191 | pub struct MapField<'a> { | -------- field in this struct 192 | name: String, | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default = note: `MapField` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `root_scope` is never read --> src/field/mod.rs:431:5 | 430 | pub(crate) struct FieldGen<'a> { | -------- field in this struct 431 | root_scope: &'a RootScope<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `FieldGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: fields `oneof`, `variant` and `customize` are never read --> src/oneof.rs:81:5 | 80 | pub(crate) struct OneofVariantGen<'a> { | --------------- fields in this struct 81 | oneof: &'a OneofGen<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^ 82 | variant: OneofVariantWithContext<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 86 | customize: Customize, | ^^^^^^^^^^^^^^^^^^^^ | = note: `OneofVariantGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `lite_runtime` is never read --> src/oneof.rs:131:5 | 126 | pub(crate) struct OneofGen<'a> { | -------- field in this struct ... 131 | lite_runtime: bool, | ^^^^^^^^^^^^^^^^^^ | = note: `OneofGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `en` is never read --> src/scope.rs:415:5 | 414 | pub(crate) struct EnumValueWithContext<'a> { | -------------------- field in this struct 415 | pub en: EnumWithScope<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `EnumValueWithContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: `protobuf-codegen` (lib) generated 5 warnings Fresh protobuf-codegen v2.25.2 (/builddir/build/BUILD/protobuf-codegen-2.25.2) Finished release [optimized] target(s) in 0.08s Installing /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/bin/protobuf-bin-gen-rust-do-not-use Installing /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/bin/protoc-gen-rust Installed package `protobuf-codegen v2.25.2 (/builddir/build/BUILD/protobuf-codegen-2.25.2)` (executables `protobuf-bin-gen-rust-do-not-use`, `protoc-gen-rust`) warning: be sure to add `/builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.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 2.25.2-4.fc37 --unique-debug-suffix -2.25.2-4.fc37.riscv64 --unique-debug-src-base rust-protobuf-codegen-2.25.2-4.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/protobuf-codegen-2.25.2 extracting debug info from /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/bin/protobuf-bin-gen-rust-do-not-use extracting debug info from /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/bin/protoc-gen-rust warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/bin/protoc-gen-rust. Use `info auto-load python-scripts [REGEXP]' to list them. warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/bin/protobuf-bin-gen-rust-do-not-use. Use `info auto-load python-scripts [REGEXP]' to list them. original debug info size: 59788kB, size after compression: 49956kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 416 blocks + /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 + /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.zsFcQp + 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-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 -j4 -Z avoid-dev-deps --release --no-fail-fast Fresh protobuf v2.25.2 warning: field `name` is never read --> src/field/mod.rs:192:5 | 191 | pub struct MapField<'a> { | -------- field in this struct 192 | name: String, | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default = note: `MapField` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `root_scope` is never read --> src/field/mod.rs:431:5 | 430 | pub(crate) struct FieldGen<'a> { | -------- field in this struct 431 | root_scope: &'a RootScope<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `FieldGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: fields `oneof`, `variant` and `customize` are never read --> src/oneof.rs:81:5 | 80 | pub(crate) struct OneofVariantGen<'a> { | --------------- fields in this struct 81 | oneof: &'a OneofGen<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^ 82 | variant: OneofVariantWithContext<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 86 | customize: Customize, | ^^^^^^^^^^^^^^^^^^^^ | = note: `OneofVariantGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `lite_runtime` is never read --> src/oneof.rs:131:5 | 126 | pub(crate) struct OneofGen<'a> { | -------- field in this struct ... 131 | lite_runtime: bool, | ^^^^^^^^^^^^^^^^^^ | = note: `OneofGen` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: field `en` is never read --> src/scope.rs:415:5 | 414 | pub(crate) struct EnumValueWithContext<'a> { | -------------------- field in this struct 415 | pub en: EnumWithScope<'a>, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `EnumValueWithContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis warning: `protobuf-codegen` (lib) generated 5 warnings Compiling protobuf-codegen v2.25.2 (/builddir/build/BUILD/protobuf-codegen-2.25.2) Running `/usr/bin/rustc --crate-name protobuf_codegen 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=0b5e5ecae17af24f -C extra-filename=-0b5e5ecae17af24f --out-dir /builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf-7253ed378d0f8eb2.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: `protobuf-codegen` (lib test) generated 5 warnings (5 duplicates) Finished release [optimized] target(s) in 23.67s Running `/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/protobuf_codegen-0b5e5ecae17af24f` running 14 tests test file::test::test_mod_path_dir ... ok test file::test::test_mod_path_empty_ext ... ok test file::test::test_mod_path_proto_ext ... ok test file::test::test_mod_path_unknown_ext ... ok test float::test::test_format_protobuf_float ... ok test protobuf_name::absolute_path_test::absolute_path_push_simple ... ok test protobuf_name::absolute_path_test::absolute_path_remove_prefix ... ok test protobuf_name::relative_path_test::last_part ... ok test protobuf_name::relative_path_test::parent ... ok test rust_types_values::test_file_last_component ... ok test strx::test::test_capitalize ... ok test strx::test::test_remove_suffix ... ok test strx::test::test_remove_to ... ok test well_known_types::test::test_is_well_known_type_full ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Doc-tests protobuf-codegen Running `/usr/bin/rustdoc --crate-type lib --crate-name protobuf_codegen --test /builddir/build/BUILD/protobuf-codegen-2.25.2/src/lib.rs -L dependency=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf-7253ed378d0f8eb2.rlib --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-2.25.2/target/release/deps/libprotobuf_codegen-4c6ab2cba177a9ad.rlib -C embed-bitcode=no --error-format human` warning: lint `broken_intra_doc_links` has been renamed to `rustdoc::broken_intra_doc_links` --> /builddir/build/BUILD/protobuf-codegen-2.25.2/src/lib.rs:15:9 | 15 | #![deny(broken_intra_doc_links)] | ^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` | = note: `#[warn(renamed_and_removed_lints)]` on by default warning: 1 warning emitted 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: protobuf-codegen-2.25.2-4.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tbOZRz + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-2.25.2 + DOCDIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/doc/protobuf-codegen + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/doc/protobuf-codegen + cp -pr README.md /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/doc/protobuf-codegen + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xITKTg + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-2.25.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/licenses/protobuf-codegen + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/licenses/protobuf-codegen + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/licenses/protobuf-codegen + RPM_EC=0 ++ jobs -p + exit 0 Provides: protobuf-codegen = 2.25.2-4.fc37 protobuf-codegen(riscv-64) = 2.25.2-4.fc37 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.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) rtld(GNU_HASH) Processing files: rust-protobuf-codegen-devel-2.25.2-4.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dhtnQw + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-2.25.2 + DOCDIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/doc/rust-protobuf-codegen-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/doc/rust-protobuf-codegen-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/doc/rust-protobuf-codegen-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WhkG4I + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-2.25.2 + LICENSEDIR=/builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/licenses/rust-protobuf-codegen-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/licenses/rust-protobuf-codegen-devel + cp -pr LICENSE.txt /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64/usr/share/licenses/rust-protobuf-codegen-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(protobuf-codegen) = 2.25.2 rust-protobuf-codegen-devel = 2.25.2-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(protobuf/default) = 2.25.2 Processing files: rust-protobuf-codegen+default-devel-2.25.2-4.fc37.noarch Provides: crate(protobuf-codegen/default) = 2.25.2 rust-protobuf-codegen+default-devel = 2.25.2-4.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) = 2.25.2 Processing files: rust-protobuf-codegen-debugsource-2.25.2-4.fc37.riscv64 Provides: rust-protobuf-codegen-debugsource = 2.25.2-4.fc37 rust-protobuf-codegen-debugsource(riscv-64) = 2.25.2-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: protobuf-codegen-debuginfo-2.25.2-4.fc37.riscv64 Provides: debuginfo(build-id) = 75e922d07108e1c4351a5ab2aa71c5f165288250 debuginfo(build-id) = d2a48ee58c0648b7ab17e154453371939bef8c99 protobuf-codegen-debuginfo = 2.25.2-4.fc37 protobuf-codegen-debuginfo(riscv-64) = 2.25.2-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rust-protobuf-codegen-debugsource(riscv-64) = 2.25.2-4.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-2.25.2-4.fc37.src.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-devel-2.25.2-4.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen+default-devel-2.25.2-4.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-debugsource-2.25.2-4.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/protobuf-codegen-2.25.2-4.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/protobuf-codegen-debuginfo-2.25.2-4.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hwL7jX + umask 022 + cd /builddir/build/BUILD + cd protobuf-codegen-2.25.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-protobuf-codegen-2.25.2-4.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.672Kq5 + umask 022 + cd /builddir/build/BUILD + rm -rf protobuf-codegen-2.25.2 protobuf-codegen-2.25.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0