Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-option-operations.spec'], chrootPath='/var/lib/mock/f42-build-56844900-6546624/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.8acdax9d:/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.8acdax9d:/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', '85ccad2403b7472cb7a20b405d299ea1', '-D', '/var/lib/mock/f42-build-56844900-6546624/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8acdax9d:/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-option-operations.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-option-operations-0.5.0-5.fc42.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-option-operations.spec'], chrootPath='/var/lib/mock/f42-build-56844900-6546624/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.8acdax9d:/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.8acdax9d:/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', 'b552c30eefbc423cb421729aff95bf40', '-D', '/var/lib/mock/f42-build-56844900-6546624/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8acdax9d:/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-option-operations.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.WjFJ9t + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + test -d /builddir/build/BUILD/rust-option-operations-0.5.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-option-operations-0.5.0-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-option-operations-0.5.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-option-operations-0.5.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-option-operations-0.5.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WXB7nV + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + rm -rf option-operations-0.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/option-operations-0.5.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd option-operations-0.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.1QhkkV + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + cd option-operations-0.5.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-option-operations-0.5.0-5.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 x86_64 --nodeps /builddir/build/SPECS/rust-option-operations.spec'], chrootPath='/var/lib/mock/f42-build-56844900-6546624/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.8acdax9d:/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.8acdax9d:/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', '9cefd22d33ee4968a7f254eee6f96e12', '-D', '/var/lib/mock/f42-build-56844900-6546624/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8acdax9d:/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-option-operations.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.xfd3z8 + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + cd option-operations-0.5.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-option-operations-0.5.0-5.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 /builddir/build/SPECS/rust-option-operations.spec'], chrootPath='/var/lib/mock/f42-build-56844900-6546624/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.8acdax9d:/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.8acdax9d:/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', '3be552d7ab874a5d8328444c73c5f124', '-D', '/var/lib/mock/f42-build-56844900-6546624/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8acdax9d:/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-option-operations.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.UmkHfS + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + cd option-operations-0.5.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.TSG8Fm + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.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 -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 option-operations-0.5.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 -j48 -Z avoid-dev-deps --profile rpm Compiling paste v1.0.15 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/paste-1.0.15/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())' -C metadata=53b788997e77114c -C extra-filename=-53b788997e77114c --out-dir /builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/build/paste-53b788997e77114c -L dependency=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.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/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/build/paste-53b788997e77114c/build-script-build` Running `/usr/bin/rustc --crate-name paste --edition=2018 /usr/share/cargo/registry/paste-1.0.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=04c481a1d9f23a59 -C extra-filename=-04c481a1d9f23a59 --out-dir /builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps --extern proc_macro --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 --check-cfg 'cfg(no_literal_fromstr)' --check-cfg 'cfg(feature, values("protocol_feature_paste"))'` Compiling option-operations v0.5.0 (/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0) Running `/usr/bin/rustc --crate-name option_operations --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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=8ce1be62b6906210 -C extra-filename=-8ce1be62b6906210 --out-dir /builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps --extern paste=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps/libpaste-04c481a1d9f23a59.so -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` Finished `rpm` profile [optimized + debuginfo] target(s) in 3.47s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.c0moJP + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.0-build + '[' /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-option-operations-0.5.0-build + mkdir /builddir/build/BUILD/rust-option-operations-0.5.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 -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 option-operations-0.5.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=option-operations ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.5.0 + REG_DIR=/builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT/usr/share/cargo/registry/option-operations-0.5.0 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT/usr/share/cargo/registry/option-operations-0.5.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/BUILD/rust-option-operations-0.5.0-build/BUILDROOT/usr/share/cargo/registry/option-operations-0.5.0 warning: no (git) VCS found for `/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT/usr/share/cargo/registry/option-operations-0.5.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT/usr/share/cargo/registry/option-operations-0.5.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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j48 /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT Scanned 8 directories and 24 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-option-operations-0.5.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dLGwf8 + umask 022 + cd /builddir/build/BUILD/rust-option-operations-0.5.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 -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 option-operations-0.5.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 -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh paste v1.0.15 Compiling option-operations v0.5.0 (/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0) Running `/usr/bin/rustc --crate-name option_operations --edition=2018 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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=65ce9b4dd6b9c4d0 -C extra-filename=-65ce9b4dd6b9c4d0 --out-dir /builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps --extern paste=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps/libpaste-04c481a1d9f23a59.so -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: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:203:9 | 202 | fn checked_add() { | ---------------- move the `impl` block outside of this function `checked_add` 203 | impl OptionCheckedAdd for MyInt { | ^^^^^----------------^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` = note: `#[warn(non_local_definitions)]` on by default warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:210:9 | 202 | fn checked_add() { | ---------------- move the `impl` block outside of this function `checked_add` ... 210 | impl OptionCheckedAdd for MyInt { | ^^^^^----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:236:9 | 235 | fn saturating_add() { | ------------------- move the `impl` block outside of this function `saturating_add` 236 | impl OptionSaturatingAdd for MyInt { | ^^^^^-------------------^^^^^----- | | | | | `MyInt` is not local | `OptionSaturatingAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:243:9 | 235 | fn saturating_add() { | ------------------- move the `impl` block outside of this function `saturating_add` ... 243 | impl OptionSaturatingAdd for MyInt { | ^^^^^-------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionSaturatingAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:264:9 | 263 | fn overflowing_add() { | -------------------- move the `impl` block outside of this function `overflowing_add` 264 | impl OptionOverflowingAdd for MyInt { | ^^^^^--------------------^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:273:9 | 263 | fn overflowing_add() { | -------------------- move the `impl` block outside of this function `overflowing_add` ... 273 | impl OptionOverflowingAdd for MyInt { | ^^^^^--------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:296:9 | 295 | fn wrapping_add() { | ----------------- move the `impl` block outside of this function `wrapping_add` 296 | impl OptionWrappingAdd for MyInt { | ^^^^^-----------------^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/add.rs:303:9 | 295 | fn wrapping_add() { | ----------------- move the `impl` block outside of this function `wrapping_add` ... 303 | impl OptionWrappingAdd for MyInt { | ^^^^^-----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingAdd` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/div.rs:248:9 | 247 | fn checked_div() { | ---------------- move the `impl` block outside of this function `checked_div` 248 | impl OptionCheckedDiv for MyInt { | ^^^^^----------------^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedDiv` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/div.rs:255:9 | 247 | fn checked_div() { | ---------------- move the `impl` block outside of this function `checked_div` ... 255 | impl OptionCheckedDiv for MyInt { | ^^^^^----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedDiv` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/div.rs:291:9 | 290 | fn overflowing_div() { | -------------------- move the `impl` block outside of this function `overflowing_div` 291 | impl OptionOverflowingDiv for MyInt { | ^^^^^--------------------^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingDiv` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/div.rs:300:9 | 290 | fn overflowing_div() { | -------------------- move the `impl` block outside of this function `overflowing_div` ... 300 | impl OptionOverflowingDiv for MyInt { | ^^^^^--------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingDiv` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/div.rs:337:9 | 336 | fn wrapping_div() { | ----------------- move the `impl` block outside of this function `wrapping_div` 337 | impl OptionWrappingDiv for MyInt { | ^^^^^-----------------^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingDiv` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/div.rs:344:9 | 336 | fn wrapping_div() { | ----------------- move the `impl` block outside of this function `wrapping_div` ... 344 | impl OptionWrappingDiv for MyInt { | ^^^^^-----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingDiv` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:221:9 | 220 | fn checked_mul() { | ---------------- move the `impl` block outside of this function `checked_mul` 221 | impl OptionCheckedMul for MyInt { | ^^^^^----------------^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:228:9 | 220 | fn checked_mul() { | ---------------- move the `impl` block outside of this function `checked_mul` ... 228 | impl OptionCheckedMul for MyInt { | ^^^^^----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:256:9 | 255 | fn saturating_mul() { | ------------------- move the `impl` block outside of this function `saturating_mul` 256 | impl OptionSaturatingMul for MyInt { | ^^^^^-------------------^^^^^----- | | | | | `MyInt` is not local | `OptionSaturatingMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:263:9 | 255 | fn saturating_mul() { | ------------------- move the `impl` block outside of this function `saturating_mul` ... 263 | impl OptionSaturatingMul for MyInt { | ^^^^^-------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionSaturatingMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:285:9 | 284 | fn overflowing_mul() { | -------------------- move the `impl` block outside of this function `overflowing_mul` 285 | impl OptionOverflowingMul for MyInt { | ^^^^^--------------------^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:294:9 | 284 | fn overflowing_mul() { | -------------------- move the `impl` block outside of this function `overflowing_mul` ... 294 | impl OptionOverflowingMul for MyInt { | ^^^^^--------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:339:9 | 338 | fn wrapping_mul() { | ----------------- move the `impl` block outside of this function `wrapping_mul` 339 | impl OptionWrappingMul for MyInt { | ^^^^^-----------------^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/mul.rs:346:9 | 338 | fn wrapping_mul() { | ----------------- move the `impl` block outside of this function `wrapping_mul` ... 346 | impl OptionWrappingMul for MyInt { | ^^^^^-----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingMul` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/rem.rs:236:9 | 235 | fn checked_rem() { | ---------------- move the `impl` block outside of this function `checked_rem` 236 | impl OptionCheckedRem for MyInt { | ^^^^^----------------^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedRem` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/rem.rs:243:9 | 235 | fn checked_rem() { | ---------------- move the `impl` block outside of this function `checked_rem` ... 243 | impl OptionCheckedRem for MyInt { | ^^^^^----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedRem` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/rem.rs:279:9 | 278 | fn overflowing_rem() { | -------------------- move the `impl` block outside of this function `overflowing_rem` 279 | impl OptionOverflowingRem for MyInt { | ^^^^^--------------------^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingRem` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/rem.rs:288:9 | 278 | fn overflowing_rem() { | -------------------- move the `impl` block outside of this function `overflowing_rem` ... 288 | impl OptionOverflowingRem for MyInt { | ^^^^^--------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingRem` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/rem.rs:316:9 | 315 | fn wrapping_rem() { | ----------------- move the `impl` block outside of this function `wrapping_rem` 316 | impl OptionWrappingRem for MyInt { | ^^^^^-----------------^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingRem` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/rem.rs:323:9 | 315 | fn wrapping_rem() { | ----------------- move the `impl` block outside of this function `wrapping_rem` ... 323 | impl OptionWrappingRem for MyInt { | ^^^^^-----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingRem` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:205:9 | 204 | fn checked_sub() { | ---------------- move the `impl` block outside of this function `checked_sub` 205 | impl OptionCheckedSub for MyInt { | ^^^^^----------------^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:212:9 | 204 | fn checked_sub() { | ---------------- move the `impl` block outside of this function `checked_sub` ... 212 | impl OptionCheckedSub for MyInt { | ^^^^^----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionCheckedSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:238:9 | 237 | fn saturating_sub() { | ------------------- move the `impl` block outside of this function `saturating_sub` 238 | impl OptionSaturatingSub for MyInt { | ^^^^^-------------------^^^^^----- | | | | | `MyInt` is not local | `OptionSaturatingSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:245:9 | 237 | fn saturating_sub() { | ------------------- move the `impl` block outside of this function `saturating_sub` ... 245 | impl OptionSaturatingSub for MyInt { | ^^^^^-------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionSaturatingSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:266:9 | 265 | fn overflowing_sub() { | -------------------- move the `impl` block outside of this function `overflowing_sub` 266 | impl OptionOverflowingSub for MyInt { | ^^^^^--------------------^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:275:9 | 265 | fn overflowing_sub() { | -------------------- move the `impl` block outside of this function `overflowing_sub` ... 275 | impl OptionOverflowingSub for MyInt { | ^^^^^--------------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionOverflowingSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:298:9 | 297 | fn wrapping_sub() { | ----------------- move the `impl` block outside of this function `wrapping_sub` 298 | impl OptionWrappingSub for MyInt { | ^^^^^-----------------^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> src/sub.rs:305:9 | 297 | fn wrapping_sub() { | ----------------- move the `impl` block outside of this function `wrapping_sub` ... 305 | impl OptionWrappingSub for MyInt { | ^^^^^-----------------^^^^^^^^^^----- | | | | | `MyInt` is not local | `OptionWrappingSub` is not local | = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` warning: `option-operations` (lib test) generated 36 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 1.77s Running `/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps/option_operations-65ce9b4dd6b9c4d0` running 52 tests test add::test::add_assign_my ... ok test add::test::add_my ... ok test add::test::add_u64 ... ok test add::test::add_assign_u64 ... ok test add::test::checked_add ... ok test add::test::overflowing_add ... ok test add::test::saturating_add ... ok test add::test::wrapping_add ... ok test div::test::checked_div ... ok test div::test::div_assign_i64 ... ok test div::test::div_assign_by_zero_my - should panic ... ok test div::test::div_assign_by_zero_i64 - should panic ... ok test div::test::div_assign_my ... ok test div::test::div_by_zero_i64 - should panic ... ok test div::test::div_i64 ... ok test div::test::div_by_zero_my - should panic ... ok test div::test::div_my ... ok test div::test::overflowing_div ... ok test div::test::wrapping_div ... ok test eq::test::opt_eq ... ok test eq::test::opt_ne ... ok test min_max::test::max ... ok test min_max::test::min ... ok test mul::test::checked_mul ... ok test mul::test::mul_assign_my ... ok test mul::test::mul_assign_u64 ... ok test mul::test::mul_my ... ok test mul::test::mul_u64 ... ok test mul::test::overflowing_mul ... ok test mul::test::saturating_mul ... ok test mul::test::wrapping_mul ... ok test ord::test::opt_cmp ... ok test ord::test::option_partial_ord_workaround ... ok test rem::test::checked_rem ... ok test rem::test::overflowing_rem ... ok test rem::test::rem_assign_by_zero_i64 - should panic ... ok test rem::test::rem_assign_by_zero_my - should panic ... ok test rem::test::rem_assign_i64 ... ok test rem::test::rem_assign_my ... ok test rem::test::rem_by_zero_i64 - should panic ... ok test rem::test::rem_by_zero_my - should panic ... ok test rem::test::rem_i64 ... ok test rem::test::rem_my ... ok test rem::test::wrapping_rem ... ok test sub::test::checked_sub ... ok test sub::test::overflowing_sub ... ok test sub::test::saturating_sub ... ok test sub::test::sub_assign_my ... ok test sub::test::sub_assign_u64 ... ok test sub::test::sub_my ... ok test sub::test::sub_u64 ... ok test sub::test::wrapping_sub ... ok test result: ok. 52 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests option_operations Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name option_operations --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0 -L dependency=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps --extern option_operations=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps/liboption_operations-8ce1be62b6906210.rlib --extern paste=/builddir/build/BUILD/rust-option-operations-0.5.0-build/option-operations-0.5.0/target/rpm/deps/libpaste-04c481a1d9f23a59.so -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' --error-format human` running 8 tests test src/lib.rs - (line 54) ... ok test src/ord.rs - ord::OptionOrd (line 29) ... ok test src/ord.rs - ord::OptionOrd (line 15) ... ok test src/lib.rs - (line 8) ... ok test src/lib.rs - (line 20) ... ok test src/lib.rs - (line 76) ... ok test src/lib.rs - (line 66) ... ok test src/lib.rs - (line 32) ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-option-operations-devel-0.5.0-5.fc42.noarch warning: File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/README.md Provides: crate(option-operations) = 0.5.0 rust-option-operations-devel = 0.5.0-5.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(paste/default) >= 1.0.6 with crate(paste/default) < 2.0.0~) cargo rust >= 1.53 Processing files: rust-option-operations+default-devel-0.5.0-5.fc42.noarch Provides: crate(option-operations/default) = 0.5.0 rust-option-operations+default-devel = 0.5.0-5.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(option-operations) = 0.5.0 crate(option-operations/std) = 0.5.0 Processing files: rust-option-operations+std-devel-0.5.0-5.fc42.noarch Provides: crate(option-operations/std) = 0.5.0 rust-option-operations+std-devel = 0.5.0-5.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(option-operations) = 0.5.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-option-operations-0.5.0-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-option-operations-0.5.0-5.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-option-operations+std-devel-0.5.0-5.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-option-operations+default-devel-0.5.0-5.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-option-operations-devel-0.5.0-5.fc42.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/CHANGELOG.md File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/LICENSE-MIT File listed twice: /usr/share/cargo/registry/option-operations-0.5.0/README.md Child return code was: 0