D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-error-chain-0.12.4-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1jHbug Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.d16Z8P + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + rm -rf error-chain-0.12.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/error-chain-0.12.4.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd error-chain-0.12.4 + /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 /home/pterjan/rpmbuild/tmp/rpm-tmp.E5bmwt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + cd error-chain-0.12.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PD3xlv + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd error-chain-0.12.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling libc v0.2.174 Compiling adler2 v2.0.0 Compiling version_check v0.9.5 Compiling gimli v0.31.1 Compiling memchr v2.7.4 Compiling cfg-if v1.0.1 Compiling rustc-demangle v0.1.24 Running `/usr/bin/rustc --crate-name version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.5/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,test)' --check-cfg 'cfg(feature, values())' -C metadata=8a4be99631df7f49 -C extra-filename=-6bdb52ed0ff338a6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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,test)' --check-cfg 'cfg(feature, values("default", "endian-reader", "fallible-iterator", "read", "read-all", "read-core", "std", "write"))' -C metadata=c08f644eceb47ce4 -C extra-filename=-8d8327655b87fdcc --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=511cabc3b95ee9d6 -C extra-filename=-b22f00c6ed10ca20 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std", "std"))' -C metadata=97d518ec6165f60e -C extra-filename=-6e881c9b59b66efe --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=e36c5635509685b1 -C extra-filename=-ef87fd9400bde0bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.174/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --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=15a889c209b393cc -C extra-filename=-cb4dc4b1d11a51d1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/build/libc-cb4dc4b1d11a51d1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=1e805363e23f96da -C extra-filename=-ca6074a552590636 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling miniz_oxide v0.8.8 Running `/usr/bin/rustc --crate-name miniz_oxide --edition=2021 /usr/share/cargo/registry/miniz_oxide-0.8.8/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,test)' --check-cfg 'cfg(feature, values("alloc", "block-boundary", "compiler_builtins", "core", "default", "rustc-dep-of-std", "serde", "simd", "simd-adler32", "std", "with-alloc"))' -C metadata=5aa5a99b2431fbfd -C extra-filename=-36e7156702b7c354 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern adler2=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libadler2-b22f00c6ed10ca20.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling object v0.36.5 Running `/usr/bin/rustc --crate-name object --edition=2018 /usr/share/cargo/registry/object-0.36.5/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,test)' --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=3cbab502489ebb08 -C extra-filename=-451e13dd3d502a87 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libmemchr-ca6074a552590636.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling error-chain v0.12.4 (/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4) Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 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="backtrace"' --cfg 'feature="default"' --cfg 'feature="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=9a750b24ec2bf116 -C extra-filename=-18e56387267ebb41 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/build/error-chain-18e56387267ebb41 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern version_check=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libversion_check-6bdb52ed0ff338a6.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/build/libc-cb4dc4b1d11a51d1/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.174/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=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' --check-cfg 'cfg(docsrs,test)' --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=0325413c5799f0a5 -C extra-filename=-c4166686ded8827b --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_old_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(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --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(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/build/error-chain-18e56387267ebb41/build-script-build` 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,test)' --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=c4e6c87c4816d6cb -C extra-filename=-df9c1ba9362731ac --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern gimli=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libgimli-8d8327655b87fdcc.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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,test)' --check-cfg 'cfg(feature, values("coresymbolication", "cpp_demangle", "dbghelp", "default", "dl_iterate_phdr", "dladdr", "kernel32", "libunwind", "serde", "serialize-serde", "std", "unix-backtrace"))' -C metadata=cdc456133b84064a -C extra-filename=-678e22a59b668fbf --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern addr2line=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libaddr2line-df9c1ba9362731ac.rmeta --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libcfg_if-ef87fd9400bde0bc.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liblibc-c4166686ded8827b.rmeta --extern miniz_oxide=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libminiz_oxide-36e7156702b7c354.rmeta --extern object=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libobject-451e13dd3d502a87.rmeta --extern rustc_demangle=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/librustc_demangle-6e881c9b59b66efe.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name error_chain --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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=fdf952a6657629c2 -C extra-filename=-5d1e028f1cd7041d --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` warning: unexpected `cfg` condition name: `has_error_source` --> src/error_chain.rs:3:11 | 3 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `has_error_source` --> src/error_chain.rs:36:7 | 36 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:73:7 | 73 | #[cfg(has_error_description_deprecated)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:82:11 | 82 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:323:23 | 323 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/example_generated.rs:24:5 | 24 | error_chain! {} | --------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:323:23 | 323 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/example_generated.rs:27:1 | 27 | / error_chain! { 28 | | links { 29 | | Inner(inner::Error, inner::ErrorKind) #[doc = "Link to another `ErrorChain`."]; ... | 38 | | } | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_source` --> src/lib.rs:581:31 | 581 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> src/lib.rs:583:27 | 583 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:323:23 | 323 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/lib.rs:823:5 | 823 | error_chain! {} | --------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `error-chain` (lib) generated 9 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 20.41s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zg0Taw + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd error-chain-0.12.4 + '[' 1 -eq 1 ']' + 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=error-chain ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.12.4 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT/usr/share/cargo/registry/error-chain-0.12.4 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT/usr/share/cargo/registry/error-chain-0.12.4 + /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 --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 /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT/usr/share/cargo/registry/error-chain-0.12.4 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT/usr/share/cargo/registry/error-chain-0.12.4/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT/usr/share/cargo/registry/error-chain-0.12.4/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TM7EKI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd error-chain-0.12.4 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Fresh version_check v0.9.5 Fresh adler2 v2.0.0 Fresh gimli v0.31.1 Fresh memchr v2.7.4 Fresh object v0.36.5 Fresh addr2line v0.24.2 Fresh miniz_oxide v0.8.8 Fresh libc v0.2.174 Fresh cfg-if v1.0.1 Fresh rustc-demangle v0.1.24 Fresh backtrace v0.3.74 warning: unexpected `cfg` condition name: `has_error_source` --> src/error_chain.rs:3:11 | 3 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `has_error_source` --> src/error_chain.rs:36:7 | 36 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:73:7 | 73 | #[cfg(has_error_description_deprecated)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:82:11 | 82 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:323:23 | 323 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/example_generated.rs:24:5 | 24 | error_chain! {} | --------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:323:23 | 323 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/example_generated.rs:27:1 | 27 | / error_chain! { 28 | | links { 29 | | Inner(inner::Error, inner::ErrorKind) #[doc = "Link to another `ErrorChain`."]; ... | 38 | | } | |_- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_source` --> src/lib.rs:581:31 | 581 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> src/lib.rs:583:27 | 583 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> src/error_chain.rs:323:23 | 323 | #[cfg(not(has_error_description_deprecated))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ::: src/lib.rs:823:5 | 823 | error_chain! {} | --------------- in this macro invocation | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_description_deprecated)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_description_deprecated)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `error-chain` (lib) generated 9 warnings Compiling error-chain v0.12.4 (/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4) Running `/usr/bin/rustc --crate-name doc --edition=2015 examples/doc.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=eabac794a317651d -C extra-filename=-e979ddf816ea5347 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name chain_err --edition=2015 examples/chain_err.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=c170ff5217effaf2 -C extra-filename=-ed39a656dbc311d8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name all --edition=2015 examples/all.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=4a58f7c3e51d93f2 -C extra-filename=-50d651365ac49ae7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name has_backtrace --edition=2015 examples/has_backtrace.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=6ac9824a2ef5f2d2 -C extra-filename=-dd93a9f1e1e1e478 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name error_chain --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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=1f4c15c5a88bf4cc -C extra-filename=-2aae8650cd5cf638 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name quick_main --edition=2015 tests/quick_main.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=299763840929c5bb -C extra-filename=-635968c4cdf23536 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name tests --edition=2015 tests/tests.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=4744c7cc11c930ed -C extra-filename=-cfe408d350118875 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name size --edition=2015 examples/size.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=86e332ca3509cd25 -C extra-filename=-944c585ee540874b --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` Running `/usr/bin/rustc --crate-name quickstart --edition=2015 examples/quickstart.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="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' -C metadata=54d9f06085351ffe -C extra-filename=-b2d9bf915324d852 --out-dir /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"'` warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/doc.rs:10:5 | 10 | error_chain! {} | ^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/doc.rs:13:1 | 13 | / error_chain! { 14 | | links { 15 | | Inner(inner::Error, inner::ErrorKind) #[doc = "Doc"]; ... | 26 | | } | |_^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/has_backtrace.rs:8:1 | 8 | / error_chain! { 9 | | errors { 10 | | MyError 11 | | } 12 | | } | |_^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/quick_main.rs:5:1 | 5 | error_chain!(); | ^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `a_feature` --> examples/all.rs:8:7 | 8 | #[cfg(feature = "a_feature")] | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `backtrace`, `default`, and `example_generated` = help: consider adding `a_feature` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/chain_err.rs:13:5 | 13 | / error_chain! { 14 | | foreign_links { 15 | | Io(io::Error) #[doc = "Error during IO"]; ... | 29 | | } | |_____^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `a_feature` --> examples/all.rs:27:59 | 27 | Feature(feature::Error, feature::ErrorKind) #[cfg(feature = "a_feature")]; | ^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `backtrace`, `default`, and `example_generated` = help: consider adding `a_feature` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/all.rs:5:5 | 5 | error_chain! {} | ^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/all.rs:13:1 | 13 | / error_chain! { 14 | | // Types generated by the macro. If empty or absent, it defaults to 15 | | // Error, ErrorKind, Result; 16 | | types { ... | 34 | | } | |_^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/size.rs:6:1 | 6 | / error_chain! { 7 | | errors { 8 | | AVariant 9 | | Another 10 | | } 11 | | } | |_^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> examples/quickstart.rs:17:5 | 17 | error_chain! {} | ^^^^^^^^^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:8:5 | 8 | / error_chain! { 9 | | types { 10 | | Error, ErrorKind, ResultExt, Result; ... | 17 | | errors { } 18 | | }; | |_____^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 more = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:23:5 | 23 | / error_chain! { 24 | | types { } 25 | | 26 | | links { } ... | 30 | | errors { } 31 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:36:5 | 36 | / error_chain! { 37 | | links { } 38 | | 39 | | foreign_links { } 40 | | 41 | | errors { } 42 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:47:5 | 47 | / error_chain! { 48 | | links { } 49 | | 50 | | foreign_links { } ... | 58 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:63:5 | 63 | / error_chain! { 64 | | types { } 65 | | 66 | | links { } ... | 76 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:81:5 | 81 | / error_chain! { 82 | | errors { 83 | | HttpStatus(e: u32) { 84 | | description("http request returned an unsuccessful status code") ... | 88 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:93:5 | 93 | / error_chain! { 94 | | types { } 95 | | 96 | | foreign_links { } ... | 104 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:109:5 | 109 | / error_chain! { 110 | | types { } 111 | | 112 | | links { } ... | 122 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:127:5 | 127 | error_chain! { types { } links { } foreign_links { } errors { } }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:132:5 | 132 | error_chain! { links { } types { } foreign_links { } errors { } }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:137:5 | 137 | error_chain! { foreign_links { } links { } errors { } types { } }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:142:5 | 142 | error_chain! { errors { } types { } foreign_links { } }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:147:5 | 147 | error_chain! { foreign_links { } types { } }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:152:5 | 152 | / error_chain! { 153 | | links { } 154 | | 155 | | errors { ... | 163 | | foreign_links { } 164 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:169:5 | 169 | / error_chain! { 170 | | links { } 171 | | 172 | | foreign_links { } ... | 177 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:182:5 | 182 | / error_chain! { 183 | | links { } 184 | | 185 | | foreign_links { } ... | 191 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:196:5 | 196 | error_chain! {}; | ^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `build` --> tests/tests.rs:205:30 | 205 | let cmd_folder = if cfg!(build = "debug") { | ^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("debug"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"debug\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `build` --> tests/tests.rs:207:20 | 207 | } else if cfg!(build = "release") { | ^^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(build, values("release"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(build, values(\"release\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:242:5 | 242 | / error_chain! { 243 | | foreign_links { 244 | | Fmt(fmt::Error); ... | 249 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:259:5 | 259 | / error_chain! { 260 | | errors { 261 | | Test 262 | | } 263 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:278:9 | 278 | error_chain! {} | ^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:281:5 | 281 | / error_chain! { 282 | | links { 283 | | Test(test::Error, test::ErrorKind); 284 | | } 285 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_source` --> tests/tests.rs:374:15 | 374 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> tests/tests.rs:384:11 | 384 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> tests/tests.rs:305:19 | 305 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> tests/tests.rs:310:15 | 310 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> tests/tests.rs:330:19 | 330 | #[cfg(not(has_error_source))] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_source` --> tests/tests.rs:335:15 | 335 | #[cfg(has_error_source)] | ^^^^^^^^^^^^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_error_source)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_error_source)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:347:5 | 347 | / error_chain! { 348 | | types{ 349 | | Error, ErrorKind, ResultExt, Result; ... | 356 | | errors {} 357 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:436:5 | 436 | / error_chain! { 437 | | types { 438 | | Error, ErrorKind, ResultExt, Result; ... | 455 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:460:5 | 460 | / error_chain! { 461 | | types { 462 | | Error, ErrorKind, ResultExt, Result; 463 | | } 464 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:470:5 | 470 | / error_chain! { 471 | | types { 472 | | Error, ErrorKind, ResultExt; 473 | | } 474 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:481:9 | 481 | error_chain! {} | ^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:484:5 | 484 | / error_chain! { 485 | | links { 486 | | Inner(inner::Error, inner::ErrorKind) #[doc = "Doc"]; ... | 495 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:500:5 | 500 | / error_chain! { 501 | | types { 502 | | MyError, MyErrorKind, MyResultExt, MyResult; 503 | | } 504 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:505:5 | 505 | error_chain! {} | ^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:511:5 | 511 | error_chain! {} | ^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:517:5 | 517 | / error_chain! { 518 | | links { 519 | | Download(error_chain::mock::Error, error_chain::mock::ErrorKind); ... | 529 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:534:5 | 534 | / error_chain! { 535 | | links { } 536 | | 537 | | foreign_links { } 538 | | 539 | | errors { } 540 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:551:5 | 551 | error_chain! {} | ^^^^^^^^^^^^^^^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:566:5 | 566 | / error_chain! { 567 | | errors { 568 | | LocatingWorkingDir { 569 | | description("could not locate working directory") ... | 577 | | foreign_links { } 578 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:583:5 | 583 | / error_chain! { 584 | | errors { Foo } 585 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:602:5 | 602 | / error_chain! { 603 | | errors { Bar } 604 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:619:5 | 619 | / error_chain! { 620 | | types { 621 | | MyError, MyErrorKind, MyResultExt, MyResult; 622 | | } 623 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:639:5 | 639 | / error_chain! { 640 | | foreign_links { 641 | | VarErr(VarError); ... | 647 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:670:5 | 670 | / error_chain! { 671 | | links { } 672 | | 673 | | foreign_links { } ... | 681 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:686:5 | 686 | / error_chain! { 687 | | links { } 688 | | 689 | | foreign_links { } ... | 697 | | }; | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition name: `has_error_description_deprecated` --> tests/tests.rs:702:5 | 702 | / error_chain! { 703 | | skip_msg_variant 704 | | 705 | | errors { ... | 711 | | } | |_____^ | = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) warning: this attribute can only be applied at the crate level --> tests/tests.rs:508:7 | 508 | #[doc(test)] | ^^^^ | = note: read for more information = note: `#[warn(invalid_doc_attributes)]` on by default help: to apply to the crate, use an inner attribute | 508 | #![doc(test)] | + warning: `error-chain` (example "doc") generated 2 warnings warning: `error-chain` (example "all") generated 4 warnings warning: `error-chain` (example "has_backtrace") generated 1 warning warning: `error-chain` (test "quick_main") generated 1 warning warning: `error-chain` (lib test) generated 9 warnings (9 duplicates) warning: `error-chain` (example "size") generated 1 warning warning: `error-chain` (example "quickstart") generated 1 warning warning: `error-chain` (example "chain_err") generated 1 warning warning: `error-chain` (test "tests") generated 50 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 2.10s Running `/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/error_chain-2aae8650cd5cf638` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/quick_main-635968c4cdf23536` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/tests-cfe408d350118875` running 38 tests test documentation ... ok test smoke_test_2 ... ok test bail ... ok test smoke_test_3 ... ok test smoke_test_4 ... ok test order_test_7 ... ok test error_patterns ... ok test foreign_link_test::finds_source ... ok test comma_in_errors_impl ... ok test order_test_6 ... ok test order_test_4 ... ok test order_test_1 ... ok test result_match ... ok test order_test_3 ... ok test links ... ok test smoke_test_5 ... ok test foreign_link_test::iterates ... ok test error_first ... ok test empty ... ok test smoke_test_7 ... ok test rustup_regression ... ok test chain_err ... ok test skipping_msg_variant ... ok test smoke_test_1 ... ok test types_declarations ... ok test without_result ... ok test with_result ... ok test foreign_link_test::display_underlying_error ... ok test trailing_comma_in_errors_impl ... ok test ensure ... ok test order_test_5 ... ok test order_test_8 ... ok test order_test_2 ... ok test error_chain_err ... ok test rewrapping ... ok test smoke_test_8 ... ok test smoke_test_6 ... ok test has_backtrace_depending_on_env ... ok test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s Doc-tests error_chain Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name error_chain --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps --extern backtrace=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/libbacktrace-678e22a59b668fbf.rlib --extern error_chain=/home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/error-chain-0.12.4/target/rpm/deps/liberror_chain-5d1e028f1cd7041d.rlib -C embed-bitcode=no --cfg 'feature="backtrace"' --cfg 'feature="default"' --cfg 'feature="example_generated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "example_generated"))' --cfg has_error_source --cfg has_error_description_deprecated --cfg 'build="release"' --error-format human` running 20 tests test src/quick_main.rs - quick_main::quick_main (line 30) ... ok test src/lib.rs - bail (line 726) ... ok test src/lib.rs - bail (line 714) ... ok test src/quick_main.rs - quick_main::quick_main (line 4) ... ok test src/quick_main.rs - quick_main::quick_main (line 18) ... ok test src/lib.rs - bail (line 740) ... ok test src/lib.rs - ensure (line 792) ... ok test src/lib.rs - (line 102) ... ok test src/lib.rs - (line 269) ... ok test src/lib.rs - (line 221) ... ok test src/lib.rs - bail (line 760) ... ok test src/lib.rs - (line 339) ... ok test src/lib.rs - (line 198) ... ok test src/lib.rs - (line 295) ... ok test src/lib.rs - (line 242) ... ok test src/lib.rs - (line 311) ... ok test src/lib.rs - (line 471) ... ok test src/lib.rs - (line 361) ... ok test src/lib.rs - (line 187) ... ok test src/lib.rs - (line 395) ... ok test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-error-chain-devel-0.12.4-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/README.md Provides: crate(error-chain) = 0.12.4 rust-error-chain-devel = 0.12.4-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(version_check/default) >= 0.9.0 Processing files: rust-error-chain+default-devel-0.12.4-0.1.mga10.noarch Provides: crate(error-chain/default) = 0.12.4 rust-error-chain+default-devel = 0.12.4-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(error-chain) = 0.12.4 crate(error-chain/backtrace) = 0.12.4 crate(error-chain/example_generated) = 0.12.4 Processing files: rust-error-chain+backtrace-devel-0.12.4-0.1.mga10.noarch Provides: crate(error-chain/backtrace) = 0.12.4 rust-error-chain+backtrace-devel = 0.12.4-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(backtrace/default) >= 0.3.3 crate(error-chain) = 0.12.4 Processing files: rust-error-chain+example_generated-devel-0.12.4-0.1.mga10.noarch Provides: crate(error-chain/example_generated) = 0.12.4 rust-error-chain+example_generated-devel = 0.12.4-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(error-chain) = 0.12.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-error-chain+example_generated-devel-0.12.4-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-error-chain+backtrace-devel-0.12.4-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-error-chain+default-devel-0.12.4-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-error-chain-devel-0.12.4-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fDxkbb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + test -d /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-error-chain-0.12.4-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/CHANGELOG.md File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/LICENSE-MIT File listed twice: /usr/share/cargo/registry/error-chain-0.12.4/README.md D: [iurt_root_command] Success!