Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f39-build-51864061-6211029/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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', '1597faec774841b7aea22b4bda39d30d', '-D', '/var/lib/mock/f39-build-51864061-6211029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.28.0-2.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f39-build-51864061-6211029/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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', 'eee18ed964ad4aa6a5cb47ea7084591e', '-D', '/var/lib/mock/f39-build-51864061-6211029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7lJWr5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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 + rm -rf /builddir/build/BUILD/protobuf-codegen-pure-2.28.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/protobuf-codegen-pure-2.28.0-SPECPARTS + /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.RypXy8 + umask 022 + cd /builddir/build/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-2.fc39.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 x86_64 --nodeps /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f39-build-51864061-6211029/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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', 'bdcffe53623e43bda2a6de78459b72e0', '-D', '/var/lib/mock/f39-build-51864061-6211029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jlhOy9 + umask 022 + cd /builddir/build/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-2.fc39.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 x86_64 /builddir/build/SPECS/rust-protobuf-codegen-pure.spec'], chrootPath='/var/lib/mock/f39-build-51864061-6211029/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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', '9fadd4535972418aaf53376762744086', '-D', '/var/lib/mock/f39-build-51864061-6211029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0_a3_kx4:/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 x86_64 /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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.we565m + umask 022 + cd /builddir/build/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.CtSGOn + umask 022 + cd /builddir/build/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd 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 -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j6 -Z avoid-dev-deps --profile rpm 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 -C metadata=3dfccf8eca5f9268 -C extra-filename=-3dfccf8eca5f9268 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/build/protobuf-3dfccf8eca5f9268 -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/build/protobuf-3dfccf8eca5f9268/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 -C metadata=9d2549faf249e492 -C extra-filename=-9d2549faf249e492 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 -C metadata=76731c737a04e71a -C extra-filename=-76731c737a04e71a --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf-9d2549faf249e492.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling protobuf-codegen-pure v2.28.0 (/builddir/build/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 -C metadata=156ec56ebdfa5ee0 -C extra-filename=-156ec56ebdfa5ee0 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf-9d2549faf249e492.rmeta --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf_codegen-76731c737a04e71a.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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: `#[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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 17 warnings (run `cargo fix --lib -p protobuf-codegen-pure` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 49.37s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5FDnoj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd 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/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64/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 -Cforce-frame-pointers=yes -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.28.0-2.fc39.x86_64/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0 warning: no (git) VCS found for `/builddir/build/BUILD/protobuf-codegen-pure-2.28.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64/usr/share/cargo/registry/protobuf-codegen-pure-2.28.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64/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 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.d5QN22 + umask 022 + cd /builddir/build/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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd 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 -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j6 -Z avoid-dev-deps --profile rpm --no-fail-fast --lib Fresh protobuf v2.28.0 Fresh protobuf-codegen v2.28.0 Compiling protobuf-codegen-pure v2.28.0 (/builddir/build/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 -C metadata=eaf7c3f9a5a55176 -C extra-filename=-eaf7c3f9a5a55176 --out-dir /builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps -L dependency=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps --extern protobuf=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf-9d2549faf249e492.rlib --extern protobuf_codegen=/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps/libprotobuf_codegen-76731c737a04e71a.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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: `#[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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 17 warnings (run `cargo fix --lib -p protobuf-codegen-pure --tests` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.35s Running `/builddir/build/BUILD/protobuf-codegen-pure-2.28.0/target/rpm/deps/protobuf_codegen_pure-eaf7c3f9a5a55176` running 24 tests test parser::test::test_default_value_int ... ok test parser::test::test_default_value_bytes ... ok test parser::test::test_enum ... ok test parser::test::test_default_value_string ... ok test parser::test::test_field_default_value_float ... ok test parser::test::test_field_default_value_int ... ok test parser::test::test_group ... ok test parser::test::test_ident ... ok test parser::test::test_extend ... ok test parser::test::test_ignore ... ok test parser::test::test_incorrect_file_descriptor ... ok test parser::test::test_lexer_float_lit ... 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_oneof ... ok test parser::test::test_package ... ok test parser::test::test_reserved ... ok test parser::test::test_str_lit ... ok test parser::test::test_syntax ... ok test test::test_relative_path_to_protobuf_path ... ok test test_against_protobuf_protos::test ... 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-2.fc39.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-2.fc39 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-2.fc39.noarch Provides: crate(protobuf-codegen-pure/default) = 2.28.0 rust-protobuf-codegen-pure+default-devel = 2.28.0-2.fc39 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/BUILDROOT/rust-protobuf-codegen-pure-2.28.0-2.fc39.x86_64 Wrote: /builddir/build/SRPMS/rust-protobuf-codegen-pure-2.28.0-2.fc39.src.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-pure+default-devel-2.28.0-2.fc39.noarch.rpm Wrote: /builddir/build/RPMS/rust-protobuf-codegen-pure-devel-2.28.0-2.fc39.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