Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-chainerror.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433519-18791/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-chainerror.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Wrote: /builddir/build/SRPMS/rust-chainerror-0.7.0-5.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-chainerror.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433519-18791/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-chainerror.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rOk3Ap + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chainerror-0.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/chainerror-0.7.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd chainerror-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + 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.ASQAoa + umask 022 + cd /builddir/build/BUILD + cd chainerror-0.7.0 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-chainerror-0.7.0-5.fc38.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 --target riscv64 --nodeps /builddir/build/SPECS/rust-chainerror.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-433519-18791/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-chainerror.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674172800 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.BK6ju7 + umask 022 + cd /builddir/build/BUILD + cd chainerror-0.7.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.Bm2IAP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chainerror-0.7.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --release Compiling chainerror v0.7.0 (/builddir/build/BUILD/chainerror-0.7.0) Running `/usr/bin/rustc --crate-name chainerror --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 --cfg 'feature="default"' -C metadata=f3d0872acb0d7dfa -C extra-filename=-f3d0872acb0d7dfa --out-dir /builddir/build/BUILD/chainerror-0.7.0/target/release/deps -L dependency=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:201:32 | 201 | self.iter().filter_map(Error::downcast_ref::).next() | ^^^^^ | = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 201 | self.iter().filter_map(::downcast_ref::).next() | ++++ + warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:223:25 | 223 | .filter_map(Error::downcast_ref::>) | ^^^^^ | = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 223 | .filter_map(::downcast_ref::>) | ++++ + warning: `chainerror` (lib) generated 2 warnings (run `cargo fix --lib -p chainerror` to apply 2 suggestions) Finished release [optimized] target(s) in 16.10s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.02XPDd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64 + 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chainerror-0.7.0 + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=chainerror ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.7.0 + REG_DIR=/builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/cargo/registry/chainerror-0.7.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/cargo/registry/chainerror-0.7.0 + gawk -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 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/cargo/registry/chainerror-0.7.0 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/chainerror-0.7.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/cargo/registry/chainerror-0.7.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/cargo/registry/chainerror-0.7.0/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NoL07g + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd chainerror-0.7.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --release --no-fail-fast warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:201:32 | 201 | self.iter().filter_map(Error::downcast_ref::).next() | ^^^^^ | = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 201 | self.iter().filter_map(::downcast_ref::).next() | ++++ + warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:223:25 | 223 | .filter_map(Error::downcast_ref::>) | ^^^^^ | = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 223 | .filter_map(::downcast_ref::>) | ++++ + warning: `chainerror` (lib) generated 2 warnings (run `cargo fix --lib -p chainerror` to apply 2 suggestions) Compiling chainerror v0.7.0 (/builddir/build/BUILD/chainerror-0.7.0) Running `/usr/bin/rustc --crate-name test_iter --edition=2018 tests/test_iter.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' -C metadata=7475c285aed25514 -C extra-filename=-7475c285aed25514 --out-dir /builddir/build/BUILD/chainerror-0.7.0/target/release/deps -L dependency=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps --extern chainerror=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps/libchainerror-f3d0872acb0d7dfa.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name chainerror --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 --test --cfg 'feature="default"' -C metadata=fac2c9580aeb369b -C extra-filename=-fac2c9580aeb369b --out-dir /builddir/build/BUILD/chainerror-0.7.0/target/release/deps -L dependency=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/test_iter.rs:27:21 | 27 | .filter_map(Error::downcast_ref::) | ^^^^^ | = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 27 | .filter_map(::downcast_ref::) | ++++ + warning: trait objects without an explicit `dyn` are deprecated --> tests/test_iter.rs:91:53 | 91 | let io_error: Option<&io::Error> = err.and_then(Error::downcast_ref::); | ^^^^^ | = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 91 | let io_error: Option<&io::Error> = err.and_then(::downcast_ref::); | ++++ + warning: `chainerror` (lib test) generated 2 warnings (2 duplicates) warning: `chainerror` (test "test_iter") generated 2 warnings (run `cargo fix --test "test_iter"` to apply 2 suggestions) Finished release [optimized] target(s) in 21.98s Running `/builddir/build/BUILD/chainerror-0.7.0/target/release/deps/chainerror-fac2c9580aeb369b` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/builddir/build/BUILD/chainerror-0.7.0/target/release/deps/test_iter-7475c285aed25514` running 3 tests test test_iter ... ok test test_root_cause ... ok test test_find_cause ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s Doc-tests chainerror Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name chainerror --test /builddir/build/BUILD/chainerror-0.7.0/src/lib.rs -L dependency=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps -L dependency=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps --extern chainerror=/builddir/build/BUILD/chainerror-0.7.0/target/release/deps/libchainerror-f3d0872acb0d7dfa.rlib -C embed-bitcode=no --cfg 'feature="default"' --error-format human` running 8 tests test src/lib.rs - derive_err_kind (line 745) ... ok test src/lib.rs - (line 6) ... ok test src/lib.rs - ChainError::find_chain_cause (line 210) ... ok test src/lib.rs - ChainError::find_kind_or_cause (line 233) ... ok test src/lib.rs - (line 41) ... ok test src/lib.rs - ChainError::kind (line 262) ... ok test src/lib.rs - derive_str_context (line 682) ... ok test src/lib.rs - ChainError::find_cause (line 160) ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 13.82s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-chainerror-devel-0.7.0-5.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ccOPUc + umask 022 + cd /builddir/build/BUILD + cd chainerror-0.7.0 + DOCDIR=/builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/doc/rust-chainerror-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/doc/rust-chainerror-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/doc/rust-chainerror-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FnJ6hA + umask 022 + cd /builddir/build/BUILD + cd chainerror-0.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/licenses/rust-chainerror-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/licenses/rust-chainerror-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/licenses/rust-chainerror-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64/usr/share/licenses/rust-chainerror-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(chainerror) = 0.7.0 rust-chainerror-devel = 0.7.0-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-chainerror+default-devel-0.7.0-5.fc38.noarch Provides: crate(chainerror/default) = 0.7.0 rust-chainerror+default-devel = 0.7.0-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(chainerror) = 0.7.0 Processing files: rust-chainerror+display-cause-devel-0.7.0-5.fc38.noarch Provides: crate(chainerror/display-cause) = 0.7.0 rust-chainerror+display-cause-devel = 0.7.0-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(chainerror) = 0.7.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64 Wrote: /builddir/build/SRPMS/rust-chainerror-0.7.0-5.fc38.src.rpm Wrote: /builddir/build/RPMS/rust-chainerror+default-devel-0.7.0-5.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-chainerror+display-cause-devel-0.7.0-5.fc38.noarch.rpm Wrote: /builddir/build/RPMS/rust-chainerror-devel-0.7.0-5.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.muBoTd + umask 022 + cd /builddir/build/BUILD + cd chainerror-0.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-chainerror-0.7.0-5.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.of7RSk + umask 022 + cd /builddir/build/BUILD + rm -rf chainerror-0.7.0 chainerror-0.7.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0