Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-blsctl.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-c/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=0uid=1000gid=135user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ilxhdzv:/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.2ilxhdzv:/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', '9d778f79068a4834bf12f0ae7ac127d9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-c/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ilxhdzv:/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-blsctl.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=1737244800 Wrote: /builddir/build/SRPMS/rust-blsctl-0.2.3-16.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-blsctl.spec"], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-c/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=0uid=1000gid=135user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Truenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ilxhdzv:/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.2ilxhdzv:/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', 'cc6ca5a7ea204fda9876b9b6a4939f22', '-D', '/var/lib/mock/fedora-rawhide-x86_64-c/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ilxhdzv:/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 --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-blsctl.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=1737244800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Uwx1oH + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + test -d /builddir/build/BUILD/rust-blsctl-0.2.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-blsctl-0.2.3-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-blsctl-0.2.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-blsctl-0.2.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-blsctl-0.2.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z362sW + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + rm -rf blsctl-0.2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/blsctl-0.2.3.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd blsctl-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/blsctl-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.HBjtQG + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + cd blsctl-0.2.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo rpm-devel + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-blsctl-0.2.3-16.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 x86_64 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-blsctl.spec"], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-c/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=0uid=1000gid=135user='mockbuild'unshare_net=TrueprintOutput=Truenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ilxhdzv:/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.2ilxhdzv:/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', '3f73744e4b2b44978b4477f4e2e11de1', '-D', '/var/lib/mock/fedora-rawhide-x86_64-c/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.2ilxhdzv:/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 --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/rust-blsctl.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=1737244800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GJBDUx + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + cd blsctl-0.2.3 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + echo rpm-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X0ZdAc + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,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 blsctl-0.2.3 + /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 -j64 -Z avoid-dev-deps --profile rpm Compiling blsctl v0.2.3 (/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3) Running `/usr/bin/rustc --crate-name blsctl --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=f5f3667e6146bfde -C extra-filename=-f5f3667e6146bfde --out-dir /builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/target/rpm/deps -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: unnecessary trailing semicolon --> src/cmdline.rs:94:6 | 94 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:105:5 | 105 | Box::into_raw(cmdline); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 105 | let _ = Box::into_raw(cmdline); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:114:3 | 114 | Box::into_raw(cmdline); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 114 | let _ = Box::into_raw(cmdline); | +++++++ warning: unused return value of `Box::::from_raw` that must be used --> src/cshim.rs:121:11 | 121 | unsafe{ Box::from_raw(cmdline) }; | ^^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 121 | unsafe{ let _ = Box::from_raw(cmdline); }; | +++++++ + warning: unused return value of `Box::::from_raw` that must be used --> src/cshim.rs:144:12 | 144 | unsafe { Box::from_raw(entry) }; | ^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 144 | unsafe { let _ = Box::from_raw(entry); }; | +++++++ + warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:184:3 | 184 | Box::into_raw(entry); | ^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 184 | let _ = Box::into_raw(entry); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:201:3 | 201 | Box::into_raw(entry); | ^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 201 | let _ = Box::into_raw(entry); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:234:3 | 234 | Box::into_raw(entry); | ^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 234 | let _ = Box::into_raw(entry); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:246:3 | 246 | Box::into_raw(list); | ^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 246 | let _ = Box::into_raw(list); | +++++++ warning: `blsctl` (lib) generated 9 warnings Running `/usr/bin/rustc --crate-name blsctl --edition=2018 src/main.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=397e294d69ae99b1 -C extra-filename=-397e294d69ae99b1 --out-dir /builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/target/rpm/deps --extern blsctl=/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/target/rpm/deps/libblsctl-f5f3667e6146bfde.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: unnecessary trailing semicolon --> src/main.rs:113:4 | 113 | }; | ^ help: remove this semicolon warning: method `get` is never used --> src/cmdline.rs:36:6 | 35 | pub trait VecOfTuplesAsDict { | ----------------- method in this trait 36 | fn get<'a> (&'a mut self, key: &String) -> Option<&'a mut CmdlineParam>; | ^^^ | = note: `#[warn(dead_code)]` on by default warning: `blsctl` (bin "blsctl") generated 3 warnings (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.54s + set -euo pipefail + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo tree -Z avoid-dev-deps --workspace --offline --edges no-build,no-dev,no-proc-macro --no-dedupe --target all --prefix none --format '# {l}' + sed -e 's: / :/:g' -e 's:/: OR :g' + sort -u # LGPL-2.1-or-later + set -euo pipefail + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo tree -Z avoid-dev-deps --workspace --offline --edges no-build,no-dev,no-proc-macro --no-dedupe --target all --prefix none --format '{l}: {p}' + sort -u ++ pwd + sed -e 's: (/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3[^)]*)::g' -e 's: / :/:g' -e 's:/: OR :g' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.q8oKqA + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + '[' /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-blsctl-0.2.3-build + mkdir /builddir/build/BUILD/rust-blsctl-0.2.3-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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,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 blsctl-0.2.3 + 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=blsctl ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.2.3 + REG_DIR=/builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/cargo/registry/blsctl-0.2.3 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/cargo/registry/blsctl-0.2.3 + /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/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/cargo/registry/blsctl-0.2.3 warning: manifest has no documentation, homepage or repository. See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info. warning: no (git) VCS found for `/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/cargo/registry/blsctl-0.2.3/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/cargo/registry/blsctl-0.2.3/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo install -j64 -Z avoid-dev-deps --profile rpm --no-track --path . Installing blsctl v0.2.3 (/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3) warning: unnecessary trailing semicolon --> src/cmdline.rs:94:6 | 94 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:105:5 | 105 | Box::into_raw(cmdline); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 105 | let _ = Box::into_raw(cmdline); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:114:3 | 114 | Box::into_raw(cmdline); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 114 | let _ = Box::into_raw(cmdline); | +++++++ warning: unused return value of `Box::::from_raw` that must be used --> src/cshim.rs:121:11 | 121 | unsafe{ Box::from_raw(cmdline) }; | ^^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 121 | unsafe{ let _ = Box::from_raw(cmdline); }; | +++++++ + warning: unused return value of `Box::::from_raw` that must be used --> src/cshim.rs:144:12 | 144 | unsafe { Box::from_raw(entry) }; | ^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 144 | unsafe { let _ = Box::from_raw(entry); }; | +++++++ + warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:184:3 | 184 | Box::into_raw(entry); | ^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 184 | let _ = Box::into_raw(entry); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:201:3 | 201 | Box::into_raw(entry); | ^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 201 | let _ = Box::into_raw(entry); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:234:3 | 234 | Box::into_raw(entry); | ^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 234 | let _ = Box::into_raw(entry); | +++++++ warning: unused return value of `Box::::into_raw` that must be used --> src/cshim.rs:246:3 | 246 | Box::into_raw(list); | ^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 246 | let _ = Box::into_raw(list); | +++++++ warning: `blsctl` (lib) generated 9 warnings Fresh blsctl v0.2.3 (/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3) warning: unnecessary trailing semicolon --> src/main.rs:113:4 | 113 | }; | ^ help: remove this semicolon warning: method `get` is never used --> src/cmdline.rs:36:6 | 35 | pub trait VecOfTuplesAsDict { | ----------------- method in this trait 36 | fn get<'a> (&'a mut self, key: &String) -> Option<&'a mut CmdlineParam>; | ^^^ | = note: `#[warn(dead_code)]` on by default warning: `blsctl` (bin "blsctl") generated 3 warnings (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.02s Installing /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/bin/blsctl Installed package `blsctl v0.2.3 (/builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3)` (executable `blsctl`) warning: be sure to add `/builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/bin` to your PATH to be able to run the installed binaries + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 0.2.3-16.fc42 --unique-debug-suffix -0.2.3-16.fc42.x86_64 --unique-debug-src-base rust-blsctl-0.2.3-16.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3 find-debuginfo: starting Extracting debug info from 1 files warning: Unsupported auto-load script at offset 0 in section .debug_gdb_scripts of file /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/bin/blsctl. Use `info auto-load python-scripts [REGEXP]' to list them. DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rust-blsctl-0.2.3-16.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT Scanned 18 directories and 18 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-blsctl-0.2.3-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uUoK8E Processing files: blsctl-0.2.3-16.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.97WgIu + umask 022 + cd /builddir/build/BUILD/rust-blsctl-0.2.3-build + cd blsctl-0.2.3 + LICENSEDIR=/builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/licenses/blsctl + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/licenses/blsctl + cp -pr /builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/LICENSE.gpl3 /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/licenses/blsctl + cp -pr /builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/LICENSE.lgpl2 /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/licenses/blsctl + cp -pr /builddir/build/BUILD/rust-blsctl-0.2.3-build/blsctl-0.2.3/LICENSE.dependencies /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT/usr/share/licenses/blsctl + RPM_EC=0 ++ jobs -p + exit 0 Provides: blsctl = 0.2.3-16.fc42 blsctl(x86-64) = 0.2.3-16.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) librpmio.so.10()(64bit) rtld(GNU_HASH) Processing files: rust-blsctl-devel-0.2.3-16.fc42.noarch warning: File listed twice: /usr/share/cargo/registry/blsctl-0.2.3/LICENSE.gpl3 warning: File listed twice: /usr/share/cargo/registry/blsctl-0.2.3/LICENSE.lgpl2 Provides: crate(blsctl) = 0.2.3 rust-blsctl-devel = 0.2.3-16.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-blsctl+default-devel-0.2.3-16.fc42.noarch Provides: crate(blsctl/default) = 0.2.3 rust-blsctl+default-devel = 0.2.3-16.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(blsctl) = 0.2.3 Processing files: rust-blsctl-debugsource-0.2.3-16.fc42.x86_64 Provides: rust-blsctl-debugsource = 0.2.3-16.fc42 rust-blsctl-debugsource(x86-64) = 0.2.3-16.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: blsctl-debuginfo-0.2.3-16.fc42.x86_64 Provides: blsctl-debuginfo = 0.2.3-16.fc42 blsctl-debuginfo(x86-64) = 0.2.3-16.fc42 debuginfo(build-id) = adff952ff7fa12acf2aa8669be7bc27be3a562fb Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rust-blsctl-debugsource(x86-64) = 0.2.3-16.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-blsctl-0.2.3-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-blsctl-0.2.3-16.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-blsctl+default-devel-0.2.3-16.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-blsctl-debugsource-0.2.3-16.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/rust-blsctl-devel-0.2.3-16.fc42.noarch.rpm Wrote: /builddir/build/RPMS/blsctl-0.2.3-16.fc42.x86_64.rpm Wrote: /builddir/build/RPMS/blsctl-debuginfo-0.2.3-16.fc42.x86_64.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/blsctl-0.2.3/LICENSE.gpl3 File listed twice: /usr/share/cargo/registry/blsctl-0.2.3/LICENSE.lgpl2 Child return code was: 0