Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-failure.spec'], chrootPath='/var/lib/mock/f42-build-56099898-6540646/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.sbnsc8ag:/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.sbnsc8ag:/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', '05fd84f568ba40e3a3f000855298d3ec', '-D', '/var/lib/mock/f42-build-56099898-6540646/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sbnsc8ag:/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 aarch64 --nodeps /builddir/build/SPECS/rust-failure.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Wrote: /builddir/build/SRPMS/rust-failure-0.1.8-12.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-failure.spec'], chrootPath='/var/lib/mock/f42-build-56099898-6540646/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.sbnsc8ag:/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.sbnsc8ag:/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', '7fbdf8b790084846851367beb46d5f25', '-D', '/var/lib/mock/f42-build-56099898-6540646/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sbnsc8ag:/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 aarch64 --nodeps /builddir/build/SPECS/rust-failure.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.MIqZPi + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-build + test -d /builddir/build/BUILD/rust-failure-0.1.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-failure-0.1.8-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-failure-0.1.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-failure-0.1.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-failure-0.1.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6AvmMq + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-build + cd /builddir/build/BUILD/rust-failure-0.1.8-build + rm -rf failure-0.1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/failure-0.1.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd failure-0.1.8 + /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.IrXfVK + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-build + cd failure-0.1.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-failure-0.1.8-12.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 aarch64 --nodeps /builddir/build/SPECS/rust-failure.spec'], chrootPath='/var/lib/mock/f42-build-56099898-6540646/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.sbnsc8ag:/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.sbnsc8ag:/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', '3640bc1c9062423bbd05c3d3fba210d0', '-D', '/var/lib/mock/f42-build-56099898-6540646/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sbnsc8ag:/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 aarch64 --nodeps /builddir/build/SPECS/rust-failure.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.byt3GP + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-build + cd failure-0.1.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-failure-0.1.8-12.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 aarch64 /builddir/build/SPECS/rust-failure.spec'], chrootPath='/var/lib/mock/f42-build-56099898-6540646/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.sbnsc8ag:/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.sbnsc8ag:/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', '5e18022ac8b24202b3c43f04c0006c2b', '-D', '/var/lib/mock/f42-build-56099898-6540646/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sbnsc8ag:/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 aarch64 /builddir/build/SPECS/rust-failure.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1721347200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.6lINW5 + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-build + cd failure-0.1.8 + /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.dAE4gv + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 failure-0.1.8 + /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 -j12 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling proc-macro2 v1.0.92 Compiling unicode-ident v1.0.14 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.92/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 --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=cb0f661b0d1accb5 -C extra-filename=-cb0f661b0d1accb5 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/proc-macro2-cb0f661b0d1accb5 -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling syn v1.0.109 Compiling object v0.36.7 Compiling libc v0.2.169 Compiling adler2 v2.0.0 Compiling gimli v0.31.1 Compiling failure_derive v0.1.8 Compiling memchr v2.7.4 Compiling unicode-xid v0.2.6 Compiling cfg-if v1.0.0 Compiling rustc-demangle v0.1.24 Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.14/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=1bf4921b0b683deb -C extra-filename=-1bf4921b0b683deb --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.169/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=5c2565dd829be632 -C extra-filename=-5c2565dd829be632 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/libc-5c2565dd829be632 -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name adler2 --edition=2021 /usr/share/cargo/registry/adler2-2.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=36eadffa32172310 -C extra-filename=-36eadffa32172310 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/object-0.36.7/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 --cfg 'feature="archive"' --cfg 'feature="coff"' --cfg 'feature="elf"' --cfg 'feature="macho"' --cfg 'feature="pe"' --cfg 'feature="read_core"' --cfg 'feature="unaligned"' --cfg 'feature="xcoff"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all", "alloc", "archive", "build", "build_core", "cargo-all", "coff", "compiler_builtins", "compression", "core", "default", "doc", "elf", "macho", "pe", "read", "read_core", "rustc-dep-of-std", "std", "unaligned", "unstable", "unstable-all", "write", "write_core", "write_std", "xcoff"))' -C metadata=fb5c601492c75703 -C extra-filename=-fb5c601492c75703 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/object-fb5c601492c75703 -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/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 --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=6ba0a630ab8768f2 -C extra-filename=-6ba0a630ab8768f2 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/syn-6ba0a630ab8768f2 -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name gimli --edition=2018 /usr/share/cargo/registry/gimli-0.31.1/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="read"' --cfg 'feature="read-core"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "endian-reader", "fallible-iterator", "read", "read-all", "read-core", "std", "write"))' -C metadata=2cd632312882df96 -C extra-filename=-2cd632312882df96 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/failure_derive-0.1.8/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("std"))' -C metadata=fffe663e15018f90 -C extra-filename=-fffe663e15018f90 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/failure_derive-fffe663e15018f90 -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/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("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=01cb5df5bba3804f -C extra-filename=-01cb5df5bba3804f --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name unicode_xid --edition=2015 /usr/share/cargo/registry/unicode-xid-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "no_std"))' -C metadata=91ea54b1b49657d1 -C extra-filename=-91ea54b1b49657d1 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=6f2d7bb990828d86 -C extra-filename=-6f2d7bb990828d86 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 `/usr/bin/rustc --crate-name rustc_demangle --edition=2015 /usr/share/cargo/registry/rustc-demangle-0.1.24/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("compiler_builtins", "core", "rustc-dep-of-std", "std"))' -C metadata=49f35d91c8049327 -C extra-filename=-49f35d91c8049327 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling miniz_oxide v0.8.2 Running `/usr/bin/rustc --crate-name miniz_oxide --edition=2021 /usr/share/cargo/registry/miniz_oxide-0.8.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "rustc-dep-of-std", "simd", "simd-adler32", "std", "with-alloc"))' -C metadata=a2100a4edb2965d8 -C extra-filename=-a2100a4edb2965d8 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern adler2=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libadler2-36eadffa32172310.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/failure_derive-fffe663e15018f90/build-script-build` Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/object-fb5c601492c75703/build-script-build` Running `/usr/bin/rustc --crate-name object --edition=2018 /usr/share/cargo/registry/object-0.36.7/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="archive"' --cfg 'feature="coff"' --cfg 'feature="elf"' --cfg 'feature="macho"' --cfg 'feature="pe"' --cfg 'feature="read_core"' --cfg 'feature="unaligned"' --cfg 'feature="xcoff"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all", "alloc", "archive", "build", "build_core", "cargo-all", "coff", "compiler_builtins", "compression", "core", "default", "doc", "elf", "macho", "pe", "read", "read_core", "rustc-dep-of-std", "std", "unaligned", "unstable", "unstable-all", "write", "write_core", "write_std", "xcoff"))' -C metadata=3d3dcd398226aa87 -C extra-filename=-3d3dcd398226aa87 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern memchr=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libmemchr-01cb5df5bba3804f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg core_error --check-cfg 'cfg(core_error)'` Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/syn-6ba0a630ab8768f2/build-script-build` Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/proc-macro2-cb0f661b0d1accb5/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.92/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=04f96a568fe2b51b -C extra-filename=-04f96a568fe2b51b --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern unicode_ident=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libunicode_ident-1bf4921b0b683deb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/build/libc-5c2565dd829be632/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.169/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=25399fe455d8c10d -C extra-filename=-25399fe455d8c10d --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/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 --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling quote v1.0.37 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=beeeebfc0e68a72e -C extra-filename=-beeeebfc0e68a72e --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libproc_macro2-04f96a568fe2b51b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=4e9d05b40aa77ea1 -C extra-filename=-4e9d05b40aa77ea1 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libproc_macro2-04f96a568fe2b51b.rmeta --extern quote=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libquote-beeeebfc0e68a72e.rmeta --extern unicode_ident=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libunicode_ident-1bf4921b0b683deb.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg syn_disable_nightly_tests` Compiling addr2line v0.24.2 Running `/usr/bin/rustc --crate-name addr2line --edition=2018 /usr/share/cargo/registry/addr2line-0.24.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all", "alloc", "bin", "cargo-all", "compiler_builtins", "core", "cpp_demangle", "default", "fallible-iterator", "loader", "rustc-demangle", "rustc-dep-of-std", "smallvec", "std"))' -C metadata=2e51dce27c784fff -C extra-filename=-2e51dce27c784fff --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern gimli=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libgimli-2cd632312882df96.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling synstructure v0.12.6 Running `/usr/bin/rustc --crate-name synstructure --edition=2018 /usr/share/cargo/registry/synstructure-0.12.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=5f4b284d1c292551 -C extra-filename=-5f4b284d1c292551 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libproc_macro2-04f96a568fe2b51b.rmeta --extern quote=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libquote-beeeebfc0e68a72e.rmeta --extern syn=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libsyn-4e9d05b40aa77ea1.rmeta --extern unicode_xid=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libunicode_xid-91ea54b1b49657d1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling backtrace v0.3.74 Running `/usr/bin/rustc --crate-name backtrace --edition=2021 /usr/share/cargo/registry/backtrace-0.3.74/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 --allow=unexpected_cfgs --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("coresymbolication", "cpp_demangle", "dbghelp", "default", "dl_iterate_phdr", "dladdr", "kernel32", "libunwind", "serde", "serialize-serde", "std", "unix-backtrace"))' -C metadata=4b05d608297b2b5c -C extra-filename=-4b05d608297b2b5c --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern addr2line=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libaddr2line-2e51dce27c784fff.rmeta --extern cfg_if=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libcfg_if-6f2d7bb990828d86.rmeta --extern libc=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/liblibc-25399fe455d8c10d.rmeta --extern miniz_oxide=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libminiz_oxide-a2100a4edb2965d8.rmeta --extern object=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libobject-3d3dcd398226aa87.rmeta --extern rustc_demangle=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/librustc_demangle-49f35d91c8049327.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name failure_derive --edition=2015 /usr/share/cargo/registry/failure_derive-0.1.8/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("std"))' -C metadata=daca46d58137688a -C extra-filename=-daca46d58137688a --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern proc_macro2=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libproc_macro2-04f96a568fe2b51b.rlib --extern quote=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libquote-beeeebfc0e68a72e.rlib --extern syn=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libsyn-4e9d05b40aa77ea1.rlib --extern synstructure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libsynstructure-5f4b284d1c292551.rlib --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 --cfg has_dyn_trait` Compiling failure v0.1.8 (/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8) Running `/usr/bin/rustc --crate-name failure --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=2147d1283c1c6912 -C extra-filename=-2147d1283c1c6912 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rmeta --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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: unexpected `cfg` condition value: `small-error` --> src/lib.rs:26:13 | 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std` = help: consider adding `small-error` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration note: the lint level is defined here --> src/lib.rs:25:9 | 25 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: unexpected `cfg` condition value: `small-error` --> src/error/mod.rs:11:12 | 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std` = help: consider adding `small-error` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: `failure` (lib) generated 2 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 21.67s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mUnTOY + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-build + '[' /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-failure-0.1.8-build + mkdir /builddir/build/BUILD/rust-failure-0.1.8-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 failure-0.1.8 + 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=failure ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.8 + REG_DIR=/builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT/usr/share/cargo/registry/failure-0.1.8 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT/usr/share/cargo/registry/failure-0.1.8 + /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-failure-0.1.8-build/BUILDROOT/usr/share/cargo/registry/failure-0.1.8 warning: no (git) VCS found for `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT/usr/share/cargo/registry/failure-0.1.8/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT/usr/share/cargo/registry/failure-0.1.8/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 mangling shebang in /usr/share/cargo/registry/failure-0.1.8/build-docs.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT Scanned 13 directories and 45 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-failure-0.1.8-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.dn2A4P + umask 022 + cd /builddir/build/BUILD/rust-failure-0.1.8-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 failure-0.1.8 + /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 -j12 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Fresh unicode-ident v1.0.14 Fresh proc-macro2 v1.0.92 Fresh quote v1.0.37 Fresh syn v1.0.109 Fresh memchr v2.7.4 Fresh unicode-xid v0.2.6 Fresh gimli v0.31.1 Fresh adler2 v2.0.0 Fresh object v0.36.7 Fresh libc v0.2.169 Fresh cfg-if v1.0.0 Fresh rustc-demangle v0.1.24 Fresh addr2line v0.24.2 Fresh miniz_oxide v0.8.2 Fresh synstructure v0.12.6 Fresh backtrace v0.3.74 Fresh failure_derive v0.1.8 warning: unexpected `cfg` condition value: `small-error` --> src/lib.rs:26:13 | 26 | #![cfg_attr(feature = "small-error", feature(extern_types, allocator_api))] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std` = help: consider adding `small-error` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration note: the lint level is defined here --> src/lib.rs:25:9 | 25 | #![deny(warnings)] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: unexpected `cfg` condition value: `small-error` --> src/error/mod.rs:11:12 | 11 | #[cfg_attr(feature = "small-error", path = "./error_impl_small.rs")] | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `backtrace`, `default`, `derive`, `failure_derive`, and `std` = help: consider adding `small-error` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration Compiling failure v0.1.8 (/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8) warning: `failure` (lib) generated 2 warnings Running `/usr/bin/rustc --crate-name failure --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=5ef210a7d8989a28 -C extra-filename=-5ef210a7d8989a28 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name string_custom_error_pattern --edition=2015 examples/string_custom_error_pattern.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 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=dcf106f81f9ad5a6 -C extra-filename=-dcf106f81f9ad5a6 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name fail_compat --edition=2015 tests/fail_compat.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="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=03816ced9f9f8e2f -C extra-filename=-03816ced9f9f8e2f --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name basic_fail --edition=2015 tests/basic_fail.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="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=f6955db04e821a1b -C extra-filename=-f6955db04e821a1b --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name simple --edition=2015 examples/simple.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 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=3eda942f098b695b -C extra-filename=-3eda942f098b695b --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name macro_trailing_comma --edition=2015 tests/macro_trailing_comma.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="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=a28f77cf2326eec4 -C extra-filename=-a28f77cf2326eec4 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name bail_ensure --edition=2015 examples/bail_ensure.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 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=10c29bbc3cb68319 -C extra-filename=-10c29bbc3cb68319 --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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` Running `/usr/bin/rustc --crate-name error_as_cause --edition=2015 examples/error_as_cause.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 --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' -C metadata=8b576ad6e990a41a -C extra-filename=-8b576ad6e990a41a --out-dir /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/examples -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.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: unused `#[macro_use]` import --> examples/simple.rs:1:1 | 1 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused `#[macro_use]` import --> tests/basic_fail.rs:1:1 | 1 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused `#[macro_use]` import --> tests/fail_compat.rs:1:1 | 1 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> examples/string_custom_error_pattern.rs:38:32 | 38 | fn cause(&self) -> Option<&Fail> { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 38 | fn cause(&self) -> Option<&dyn Fail> { | +++ warning: unused `#[macro_use]` import --> examples/error_as_cause.rs:1:1 | 1 | #[macro_use] | ^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> examples/string_custom_error_pattern.rs:13:18 | 13 | for cause in Fail::iter_causes(&err) { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: if this is a dyn-compatible trait, use `dyn` | 13 | for cause in ::iter_causes(&err) { | ++++ + warning: trait objects without an explicit `dyn` are deprecated --> examples/error_as_cause.rs:15:18 | 15 | for cause in Fail::iter_causes(&bad_function().unwrap_err()) { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 15 | for cause in ::iter_causes(&bad_function().unwrap_err()) { | ++++ + warning: trait objects without an explicit `dyn` are deprecated --> examples/simple.rs:19:18 | 19 | for cause in Fail::iter_chain(&bad_function().unwrap_err()) { | ^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: if this is a dyn-compatible trait, use `dyn` | 19 | for cause in ::iter_chain(&bad_function().unwrap_err()) { | ++++ + warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> examples/error_as_cause.rs:6:17 | 6 | #[derive(Debug, Fail)] | ^--- | | | `Fail` is not local | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WrappingError` 7 | #[fail(display = "my wrapping error")] 8 | struct WrappingError(#[fail(cause)] Error); | ------------- `WrappingError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> examples/error_as_cause.rs:6:17 | 6 | #[derive(Debug, Fail)] | ^--- | | | `Display` is not local | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WrappingError` 7 | #[fail(display = "my wrapping error")] 8 | struct WrappingError(#[fail(cause)] Error); | ------------- `WrappingError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> examples/simple.rs:6:17 | 6 | #[derive(Debug, Fail)] | ^--- | | | `Fail` is not local | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` 7 | #[fail(display = "my error")] 8 | struct MyError; | ------- `MyError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> examples/simple.rs:6:17 | 6 | #[derive(Debug, Fail)] | ^--- | | | `Display` is not local | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` 7 | #[fail(display = "my error")] 8 | struct MyError; | ------- `MyError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> examples/simple.rs:10:17 | 10 | #[derive(Debug, Fail)] | ^--- | | | `Fail` is not local | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_WrappingError` 11 | #[fail(display = "my wrapping error")] 12 | struct WrappingError(#[fail(cause)] MyError); | ------------- `WrappingError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> examples/simple.rs:10:17 | 10 | #[derive(Debug, Fail)] | ^--- | | | `Display` is not local | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_WrappingError` 11 | #[fail(display = "my wrapping error")] 12 | struct WrappingError(#[fail(cause)] MyError); | ------------- `WrappingError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/basic_fail.rs:8:14 | 8 | #[derive(Fail, Debug)] | ^--- | | | `Fail` is not local | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` and up 2 bodies 9 | #[fail(display = "my error")] 10 | struct MyError; | ------- `MyError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/basic_fail.rs:8:14 | 8 | #[derive(Fail, Debug)] | ^--- | | | `Display` is not local | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` and up 2 bodies 9 | #[fail(display = "my error")] 10 | struct MyError; | ------- `MyError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/fail_compat.rs:7:14 | 7 | #[derive(Fail, Debug)] | ^--- | | | `Fail` is not local | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_MyError` and up 2 bodies 8 | #[fail(display = "my error")] 9 | struct MyError; | ------- `MyError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: `#[warn(non_local_definitions)]` on by default = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item --> tests/fail_compat.rs:7:14 | 7 | #[derive(Fail, Debug)] | ^--- | | | `Display` is not local | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_MyError` and up 2 bodies 8 | #[fail(display = "my error")] 9 | struct MyError; | ------- `MyError` is not local | = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` = 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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `failure` (example "simple") generated 6 warnings (run `cargo fix --example "simple"` to apply 1 suggestion) warning: `failure` (example "error_as_cause") generated 4 warnings (run `cargo fix --example "error_as_cause"` to apply 1 suggestion) warning: `failure` (example "string_custom_error_pattern") generated 2 warnings (run `cargo fix --example "string_custom_error_pattern"` to apply 2 suggestions) warning: `failure` (test "fail_compat") generated 3 warnings warning: `failure` (test "basic_fail") generated 3 warnings warning: `failure` (lib test) generated 2 warnings (2 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.01s Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/failure-5ef210a7d8989a28` running 7 tests test backtrace::internal::tests::follows_general_if_failure_is_not_set ... ok test context::test_map ... ok test backtrace::internal::tests::always_enabled_if_failure_is_set_to_yes ... ok test backtrace::internal::tests::never_enabled_if_failure_is_set_to_no ... ok test error::test::assert_error_is_just_data ... ok test error::test::downcast_can_be_used ... ok test error::test::methods_seem_to_work ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/basic_fail-f6955db04e821a1b` running 1 test test test_name ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/fail_compat-03816ced9f9f8e2f` running 2 tests test smoke_compat_send_sync ... ok test smoke_default_compat ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/macro_trailing_comma-a28f77cf2326eec4` running 4 tests test bail ... ok test ensure ... ok test format_err ... ok test single_arg_ensure ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests failure Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name failure --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8 -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps --extern backtrace=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libbacktrace-4b05d608297b2b5c.rlib --extern failure=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure-2147d1283c1c6912.rlib --extern failure_derive=/builddir/build/BUILD/rust-failure-0.1.8-build/failure-0.1.8/target/rpm/deps/libfailure_derive-daca46d58137688a.so -C embed-bitcode=no --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="failure_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("backtrace", "default", "derive", "failure_derive", "std"))' --error-format human` running 7 tests test src/macros.rs - macros::bail (line 6) ... ignored test src/error/mod.rs - error::Error::from_boxed_compat (line 49) ... ok test src/macros.rs - macros::format_err (line 53) ... ok test src/sync_failure.rs - sync_failure::SyncFailure::new (line 25) ... ok test src/result_ext.rs - result_ext::ResultExt::context (line 67) ... ok test src/result_ext.rs - result_ext::ResultExt::with_context (line 110) ... ok test src/result_ext.rs - result_ext::ResultExt::compat (line 12) ... ok test result: ok. 6 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.36s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-failure-devel-0.1.8-12.fc42.noarch warning: File listed twice: /usr/share/cargo/registry/failure-0.1.8/CODE_OF_CONDUCT.md warning: File listed twice: /usr/share/cargo/registry/failure-0.1.8/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/failure-0.1.8/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/failure-0.1.8/README.md warning: File listed twice: /usr/share/cargo/registry/failure-0.1.8/RELEASES.md Provides: crate(failure) = 0.1.8 deprecated() rust-failure-devel = 0.1.8-12.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash cargo Processing files: rust-failure+default-devel-0.1.8-12.fc42.noarch Provides: crate(failure/default) = 0.1.8 rust-failure+default-devel = 0.1.8-12.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(failure) = 0.1.8 crate(failure/derive) = 0.1.8 crate(failure/std) = 0.1.8 Processing files: rust-failure+backtrace-devel-0.1.8-12.fc42.noarch Provides: crate(failure/backtrace) = 0.1.8 rust-failure+backtrace-devel = 0.1.8-12.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(backtrace/default) >= 0.3.3 with crate(backtrace/default) < 0.4.0~) cargo crate(failure) = 0.1.8 Processing files: rust-failure+derive-devel-0.1.8-12.fc42.noarch Provides: crate(failure/derive) = 0.1.8 rust-failure+derive-devel = 0.1.8-12.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(failure) = 0.1.8 crate(failure/failure_derive) = 0.1.8 Processing files: rust-failure+failure_derive-devel-0.1.8-12.fc42.noarch Provides: crate(failure/failure_derive) = 0.1.8 rust-failure+failure_derive-devel = 0.1.8-12.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(failure_derive/default) >= 0.1.7 with crate(failure_derive/default) < 0.2.0~) cargo crate(failure) = 0.1.8 Processing files: rust-failure+std-devel-0.1.8-12.fc42.noarch Provides: crate(failure/std) = 0.1.8 rust-failure+std-devel = 0.1.8-12.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(failure) = 0.1.8 crate(failure/backtrace) = 0.1.8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-failure-0.1.8-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-failure-0.1.8-12.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-failure+std-devel-0.1.8-12.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-failure+default-devel-0.1.8-12.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-failure+failure_derive-devel-0.1.8-12.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-failure+derive-devel-0.1.8-12.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-failure+backtrace-devel-0.1.8-12.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-failure-devel-0.1.8-12.fc42.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/failure-0.1.8/CODE_OF_CONDUCT.md File listed twice: /usr/share/cargo/registry/failure-0.1.8/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/failure-0.1.8/LICENSE-MIT File listed twice: /usr/share/cargo/registry/failure-0.1.8/README.md File listed twice: /usr/share/cargo/registry/failure-0.1.8/RELEASES.md Child return code was: 0