Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f42-build-55136866-6532768/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '37e767b2070e4a70986af75ed46a6350', '-D', '/var/lib/mock/f42-build-55136866-6532768/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.28.0-4.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f42-build-55136866-6532768/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f864875e165b43e683ce97db927b1897', '-D', '/var/lib/mock/f42-build-55136866-6532768/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.AC272X + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + test -d /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PEADjU + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + rm -rf protobuf-codegen-pure-2.28.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/protobuf-codegen-pure-2.28.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd protobuf-codegen-pure-2.28.0 + /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 -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.j8kbEY + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + cd protobuf-codegen-pure-2.28.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.28.0-4.fc42.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 --noprep --noclean --target ppc64le --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f42-build-55136866-6532768/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6464035dbb864f3399417772094e0858', '-D', '/var/lib/mock/f42-build-55136866-6532768/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target ppc64le --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Ae6cTk + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + cd protobuf-codegen-pure-2.28.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.28.0-4.fc42.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target ppc64le /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f42-build-55136866-6532768/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '173d48a73b9644a1a284f84936914f1f', '-D', '/var/lib/mock/f42-build-55136866-6532768/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d0hus2gn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target ppc64le /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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721433600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.tG8802 + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + cd protobuf-codegen-pure-2.28.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.72yaNL + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + CFLAGS='-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 -m64 -mcpu=power8 -mtune=power8 -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,-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -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 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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.28.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling protobuf v2.28.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/protobuf-2.28.0/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bytes", "serde", "serde_derive", "with-bytes", "with-serde"))' -C metadata=806a90e2cf296946 -C extra-filename=-806a90e2cf296946 --out-dir /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/build/protobuf-806a90e2cf296946 -L dependency=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/build/protobuf-806a90e2cf296946/build-script-build` Running `/usr/bin/rustc --crate-name protobuf --edition=2018 /usr/share/cargo/registry/protobuf-2.28.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bytes", "serde", "serde_derive", "with-bytes", "with-serde"))' -C metadata=b86e32a95508909b -C extra-filename=-b86e32a95508909b --out-dir /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling protobuf-codegen v2.28.0 Running `/usr/bin/rustc --crate-name protobuf_codegen --edition=2015 /usr/share/cargo/registry/protobuf-codegen-2.28.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=409605a5e3498993 -C extra-filename=-409605a5e3498993 --out-dir /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps --extern protobuf=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf-b86e32a95508909b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling protobuf-codegen-pure v2.28.0 (/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0) Running `/usr/bin/rustc --crate-name protobuf_codegen_pure --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f419608bebbb41a8 -C extra-filename=-f419608bebbb41a8 --out-dir /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps --extern protobuf=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf-b86e32a95508909b.rmeta --extern protobuf_codegen=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf_codegen-409605a5e3498993.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unexpected `cfg` condition value: `nightly` --> src/linked_hash_map.rs:38:17 | 38 | #![cfg_attr(all(feature = "nightly", test), feature(test))] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `nightly` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `clippy` --> src/linked_hash_map.rs:39:13 | 39 | #![cfg_attr(feature = "clippy", feature(plugin))] | ^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/linked_hash_map.rs:40:13 | 40 | #![cfg_attr(feature = "clippy", plugin(clippy))] | ^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/linked_hash_map.rs:41:13 | 41 | #![cfg_attr(feature = "clippy", deny(clippy))] | ^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `nightly` --> src/linked_hash_map.rs:1471:11 | 1471 | #[cfg(all(feature = "nightly", test))] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `nightly` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unused import: `parser::ParserError` --> src/model.rs:8:9 | 8 | pub use parser::ParserError; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: field `0` is never read --> src/lib.rs:178:29 | 178 | ParserErrorWithLocation(parser::ParserErrorWithLocation), | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 178 | ParserErrorWithLocation(()), | ~~ warning: field `0` is never read --> src/lib.rs:179:18 | 179 | ConvertError(convert::ConvertError), | ------------ ^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 179 | ConvertError(()), | ~~ warning: field `0` is never read --> src/convert.rs:19:23 | 19 | UnsupportedOption(String), | ----------------- ^^^^^^ | | | field in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 19 | UnsupportedOption(()), | ~~ warning: field `0` is never read --> src/convert.rs:20:23 | 20 | ExtensionNotFound(String), | ----------------- ^^^^^^ | | | field in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 20 | ExtensionNotFound(()), | ~~ warning: fields `0` and `1` are never read --> src/convert.rs:21:24 | 21 | WrongExtensionType(String, &'static str), | ------------------ ^^^^^^ ^^^^^^^^^^^^ | | | fields in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 21 | WrongExtensionType((), ()), | ~~ ~~ warning: fields `0` and `1` are never read --> src/convert.rs:22:30 | 22 | UnsupportedExtensionType(String, String), | ------------------------ ^^^^^^ ^^^^^^ | | | fields in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 22 | UnsupportedExtensionType((), ()), | ~~ ~~ warning: field `0` is never read --> src/convert.rs:23:23 | 23 | StrLitDecodeError(StrLitDecodeError), | ----------------- ^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 23 | StrLitDecodeError(()), | ~~ warning: fields `reserved_nums` and `reserved_names` are never read --> src/model.rs:174:9 | 166 | pub struct Message { | ------- fields in this struct ... 174 | pub reserved_nums: Vec, | ^^^^^^^^^^^^^ 175 | /// Message reserved names 176 | pub reserved_names: Vec, | ^^^^^^^^^^^^^^ | = note: `Message` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `0` is never read --> src/parser.rs:44:16 | 44 | ExpectChar(char), | ---------- ^^^^ | | | field in this variant | = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 44 | ExpectChar(()), | ~~ warning: field `0` is never read --> src/parser.rs:57:23 | 57 | StrLitDecodeError(StrLitDecodeError), | ----------------- ^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 57 | StrLitDecodeError(()), | ~~ warning: variant `NotUtf8` is never constructed --> src/parser.rs:43:5 | 40 | pub enum ParserError { | ----------- variant in this enum ... 43 | NotUtf8, | ^^^^^^^ | = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `error`, `line`, and `col` are never read --> src/parser.rs:67:9 | 66 | pub struct ParserErrorWithLocation { | ----------------------- fields in this struct 67 | pub error: ParserError, | ^^^^^ 68 | /// 1-based 69 | pub line: u32, | ^^^^ 70 | /// 1-based 71 | pub col: u32, | ^^^ | = note: `ParserErrorWithLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: trait `ToU8` is never used --> src/parser.rs:94:7 | 94 | trait ToU8 { | ^^^^ warning: trait `ToChar` is never used --> src/parser.rs:106:7 | 106 | trait ToChar { | ^^^^^^ 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(Box::from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 172 | let _ = Box::from_raw(cur); | +++++++ 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(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 1184 | let _ = Box::from_raw(self.tail); | +++++++ warning: `protobuf-codegen-pure` (lib) generated 22 warnings (run `cargo fix --lib -p protobuf-codegen-pure` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 1m 01s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Q5Z8PJ + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + '[' /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + mkdir /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT + CFLAGS='-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 -m64 -mcpu=power8 -mtune=power8 -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,-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -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 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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.28.0 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=protobuf-codegen-pure ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=2.28.0 + REG_DIR=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0 + /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 -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/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0 warning: no (git) VCS found for `/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT Scanned 13 directories and 26 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.YVYXsS + umask 022 + cd /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build + CFLAGS='-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 -m64 -mcpu=power8 -mtune=power8 -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,-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -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 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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.28.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast --lib warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Fresh protobuf v2.28.0 Fresh protobuf-codegen v2.28.0 Compiling protobuf-codegen-pure v2.28.0 (/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0) Running `/usr/bin/rustc --crate-name protobuf_codegen_pure --edition=2015 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=951a0676cf63e26b -C extra-filename=-951a0676cf63e26b --out-dir /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps --extern protobuf=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf-b86e32a95508909b.rlib --extern protobuf_codegen=/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf_codegen-409605a5e3498993.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unexpected `cfg` condition value: `nightly` --> src/linked_hash_map.rs:38:17 | 38 | #![cfg_attr(all(feature = "nightly", test), feature(test))] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `nightly` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `clippy` --> src/linked_hash_map.rs:39:13 | 39 | #![cfg_attr(feature = "clippy", feature(plugin))] | ^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/linked_hash_map.rs:40:13 | 40 | #![cfg_attr(feature = "clippy", plugin(clippy))] | ^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `clippy` --> src/linked_hash_map.rs:41:13 | 41 | #![cfg_attr(feature = "clippy", deny(clippy))] | ^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `nightly` --> src/linked_hash_map.rs:1471:11 | 1471 | #[cfg(all(feature = "nightly", test))] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition | = note: no expected values for `feature` = help: consider adding `nightly` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unused import: `parser::ParserError` --> src/model.rs:8:9 | 8 | pub use parser::ParserError; | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default 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: field `0` is never read --> src/lib.rs:178:29 | 178 | ParserErrorWithLocation(parser::ParserErrorWithLocation), | ----------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 178 | ParserErrorWithLocation(()), | ~~ warning: field `0` is never read --> src/lib.rs:179:18 | 179 | ConvertError(convert::ConvertError), | ------------ ^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `CodegenError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 179 | ConvertError(()), | ~~ warning: field `0` is never read --> src/convert.rs:19:23 | 19 | UnsupportedOption(String), | ----------------- ^^^^^^ | | | field in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 19 | UnsupportedOption(()), | ~~ warning: field `0` is never read --> src/convert.rs:20:23 | 20 | ExtensionNotFound(String), | ----------------- ^^^^^^ | | | field in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 20 | ExtensionNotFound(()), | ~~ warning: fields `0` and `1` are never read --> src/convert.rs:21:24 | 21 | WrongExtensionType(String, &'static str), | ------------------ ^^^^^^ ^^^^^^^^^^^^ | | | fields in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 21 | WrongExtensionType((), ()), | ~~ ~~ warning: fields `0` and `1` are never read --> src/convert.rs:22:30 | 22 | UnsupportedExtensionType(String, String), | ------------------------ ^^^^^^ ^^^^^^ | | | fields in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields | 22 | UnsupportedExtensionType((), ()), | ~~ ~~ warning: field `0` is never read --> src/convert.rs:23:23 | 23 | StrLitDecodeError(StrLitDecodeError), | ----------------- ^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `ConvertError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 23 | StrLitDecodeError(()), | ~~ warning: field `0` is never read --> src/parser.rs:44:16 | 44 | ExpectChar(char), | ---------- ^^^^ | | | field in this variant | = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 44 | ExpectChar(()), | ~~ warning: field `0` is never read --> src/parser.rs:57:23 | 57 | StrLitDecodeError(StrLitDecodeError), | ----------------- ^^^^^^^^^^^^^^^^^ | | | field in this variant | = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 57 | StrLitDecodeError(()), | ~~ warning: variant `NotUtf8` is never constructed --> src/parser.rs:43:5 | 40 | pub enum ParserError { | ----------- variant in this enum ... 43 | NotUtf8, | ^^^^^^^ | = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: fields `error` and `col` are never read --> src/parser.rs:67:9 | 66 | pub struct ParserErrorWithLocation { | ----------------------- fields in this struct 67 | pub error: ParserError, | ^^^^^ ... 71 | pub col: u32, | ^^^ | = note: `ParserErrorWithLocation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: trait `ToU8` is never used --> src/parser.rs:94:7 | 94 | trait ToU8 { | ^^^^ warning: trait `ToChar` is never used --> src/parser.rs:106:7 | 106 | trait ToChar { | ^^^^^^ 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(Box::from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 172 | let _ = Box::from_raw(cur); | +++++++ 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(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 1184 | let _ = Box::from_raw(self.tail); | +++++++ warning: `protobuf-codegen-pure` (lib test) generated 22 warnings (run `cargo fix --lib -p protobuf-codegen-pure --tests` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.95s Running `/builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/protobuf-codegen-pure-2.28.0/target/rpm/deps/protobuf_codegen_pure-951a0676cf63e26b` running 24 tests test parser::test::test_enum ... ok test parser::test::test_default_value_int ... ok test parser::test::test_default_value_string ... ok test parser::test::test_default_value_bytes ... ok test parser::test::test_field_default_value_int ... ok test parser::test::test_extend ... ok test parser::test::test_field_default_value_float ... ok test parser::test::test_ident ... ok test parser::test::test_group ... ok test parser::test::test_ignore ... ok test parser::test::test_lexer_float_lit ... 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_message ... ok test parser::test::test_nested_message ... ok test parser::test::test_no_package ... ok test parser::test::test_package ... ok test parser::test::test_oneof ... ok test parser::test::test_syntax ... ok test test::test_relative_path_to_protobuf_path ... ok test test_against_protobuf_protos::test ... ok test parser::test::test_str_lit ... ok test parser::test::test_reserved ... ok test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-protobuf-codegen-pure-devel-2.28.0-4.fc42.noarch warning: File listed twice: /usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/LICENSE.txt warning: File listed twice: /usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/README.md Provides: crate(protobuf-codegen-pure) = 2.28.0 rust-protobuf-codegen-pure-devel = 2.28.0-4.fc42 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.28.0 crate(protobuf/default) = 2.28.0 Processing files: rust-protobuf-codegen-pure+default-devel-2.28.0-4.fc42.noarch Provides: crate(protobuf-codegen-pure/default) = 2.28.0 rust-protobuf-codegen-pure+default-devel = 2.28.0-4.fc42 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.28.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-protobuf-codegen-pure-2.28.0-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.28.0-4.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-pure+default-devel-2.28.0-4.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-pure-devel-2.28.0-4.fc42.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/LICENSE.txt File listed twice: /usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/README.md Child return code was: 0