D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-tokio-current-thread-0.1.7-0.2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pcJFoK Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XFfDBs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + rm -rf tokio-current-thread-0.1.7 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tokio-current-thread-0.1.7.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd tokio-current-thread-0.1.7 + /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.sTX0lG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + cd tokio-current-thread-0.1.7 + /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.3rpJX5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-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 tokio-current-thread-0.1.7 + '[' 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 autocfg v1.5.0 Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.0/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=30692a400051ab54 -C extra-filename=-7b58e34681fff90e --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cfg-if v0.1.10 Compiling futures v0.1.31 Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.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("spin", "spin_no_std"))' -C metadata=f2c3a5e0279bf110 -C extra-filename=-3c9f4a80ddbc7bc3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/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-0.1.10/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"))' -C metadata=cd49c8efaf970d86 -C extra-filename=-2a9848a7ee5f67c5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/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 futures --edition=2015 /usr/share/cargo/registry/futures-0.1.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=5063688144fd1005 -C extra-filename=-1b79d26d7888db9e --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling crossbeam-utils v0.7.2 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/crossbeam-utils-0.7.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="lazy_static"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "lazy_static", "nightly", "std"))' -C metadata=a9ed3d128da5a0a6 -C extra-filename=-68f9a770f3bc246e --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/build/crossbeam-utils-68f9a770f3bc246e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libautocfg-7b58e34681fff90e.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/build/crossbeam-utils-68f9a770f3bc246e/build-script-build` Running `/usr/bin/rustc --crate-name crossbeam_utils --edition=2015 /usr/share/cargo/registry/crossbeam-utils-0.7.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 --cfg 'feature="default"' --cfg 'feature="lazy_static"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "lazy_static", "nightly", "std"))' -C metadata=7842b2236e23ef4b -C extra-filename=-9c59fc374deeb668 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libcfg_if-2a9848a7ee5f67c5.rmeta --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/liblazy_static-3c9f4a80ddbc7bc3.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_min_const_fn --cfg has_atomic_u8 --cfg has_atomic_u16 --cfg has_atomic_u32 --cfg has_atomic_u64 --check-cfg 'cfg(has_atomic_u8)' --check-cfg 'cfg(has_atomic_u16)' --check-cfg 'cfg(has_atomic_u32)' --check-cfg 'cfg(has_atomic_u64)' --check-cfg 'cfg(has_atomic_u128)'` Compiling tokio-executor v0.1.10 Running `/usr/bin/rustc --crate-name tokio_executor --edition=2015 /usr/share/cargo/registry/tokio-executor-0.1.10/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())' -C metadata=0c48f6e9793efad4 -C extra-filename=-ae1f16f10a97fb9d --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libcrossbeam_utils-9c59fc374deeb668.rmeta --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libfutures-1b79d26d7888db9e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tokio-current-thread v0.1.7 (/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7) Running `/usr/bin/rustc --crate-name tokio_current_thread --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=231ee1fa30e8296e -C extra-filename=-af45574fcdbd1182 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libfutures-1b79d26d7888db9e.rmeta --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libtokio_executor-ae1f16f10a97fb9d.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:121:32 | 121 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:139:32 | 139 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:161:32 | 161 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:401:15 | 401 | fn borrow(&mut self) -> Borrow { | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 401 | fn borrow(&mut self) -> Borrow<'_, P::Unpark> { | +++ warning: `tokio-current-thread` (lib) generated 4 warnings (run `cargo fix --lib -p tokio-current-thread` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.83s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FrgLZR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-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 tokio-current-thread-0.1.7 + '[' 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=tokio-current-thread ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.7 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT/usr/share/cargo/registry/tokio-current-thread-0.1.7 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT/usr/share/cargo/registry/tokio-current-thread-0.1.7 + /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-tokio-current-thread-0.1.7-build/BUILDROOT/usr/share/cargo/registry/tokio-current-thread-0.1.7 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT/usr/share/cargo/registry/tokio-current-thread-0.1.7/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT/usr/share/cargo/registry/tokio-current-thread-0.1.7/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.KfwFtX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-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 tokio-current-thread-0.1.7 + '[' 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 autocfg v1.5.0 Fresh cfg-if v0.1.10 Fresh lazy_static v1.5.0 Fresh crossbeam-utils v0.7.2 Fresh futures v0.1.31 Fresh tokio-executor v0.1.10 warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:121:32 | 121 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:139:32 | 139 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:161:32 | 161 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:401:15 | 401 | fn borrow(&mut self) -> Borrow { | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 401 | fn borrow(&mut self) -> Borrow<'_, P::Unpark> { | +++ Compiling tokio-current-thread v0.1.7 (/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7) warning: `tokio-current-thread` (lib) generated 4 warnings (run `cargo fix --lib -p tokio-current-thread` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name tokio_current_thread --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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f1d6fba0b6e63b2d -C extra-filename=-5638da5031fbe961 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libfutures-1b79d26d7888db9e.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libtokio_executor-ae1f16f10a97fb9d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name current_thread --edition=2015 tests/current_thread.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1c11f51b99061cee -C extra-filename=-f3696cc0f5040f5d --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libfutures-1b79d26d7888db9e.rlib --extern tokio_current_thread=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libtokio_current_thread-af45574fcdbd1182.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libtokio_executor-ae1f16f10a97fb9d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: field `0` is never read --> tests/current_thread.rs:168:14 | 168 | struct Never(Rc<()>); | ----- ^^^^^^ | | | field in this struct | = help: consider removing this field = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: unused `Result` that must be used --> tests/current_thread.rs:828:5 | 828 | current_thread.run(); | ^^^^^^^^^^^^^^^^^^^^ | = note: this `Result` may be an `Err` variant, which should be handled = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default help: use `let _ = ...` to ignore the resulting value | 828 | let _ = current_thread.run(); | +++++++ warning: `tokio-current-thread` (lib test) generated 4 warnings (4 duplicates) warning: `tokio-current-thread` (test "current_thread") generated 2 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 6.17s Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/tokio_current_thread-5638da5031fbe961` 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-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/current_thread-f3696cc0f5040f5d` running 26 tests test and_turn::execute ... ok test and_turn::spawn ... ok test does_not_set_global_executor_by_default::execute ... ok test from_block_on_all::execute ... ok test does_not_set_global_executor_by_default::spawn ... ok test from_block_on_future::execute ... ok test from_block_on_future::spawn ... ok test in_drop::execute ... ok test from_block_on_all::spawn ... ok test in_drop::spawn ... ok test outstanding_tasks_are_dropped_when_executor_is_dropped::execute ... ok test nesting_run - should panic ... ok test run_in_future::execute - should panic ... ok test outstanding_tasks_are_dropped_when_executor_is_dropped::spawn ... ok test spawn_from_executor_with_handle ... ok test run_in_future::spawn - should panic ... ok test spawn_many ... ok test spawn_from_other_thread ... ok test spawn_from_other_thread_unpark ... ok test tasks_are_scheduled_fairly::execute ... ok test tasks_are_scheduled_fairly::spawn ... ok test turn_fair ... ok test turn_has_polled ... ok test tick_on_infini_future ... ok test hammer_turn ... ok test block_waits ... ok test result: ok. 26 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s Doc-tests tokio_current_thread Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name tokio_current_thread --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libfutures-1b79d26d7888db9e.rlib --extern tokio_current_thread=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libtokio_current_thread-af45574fcdbd1182.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/tokio-current-thread-0.1.7/target/rpm/deps/libtokio_executor-ae1f16f10a97fb9d.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-tokio-current-thread-devel-0.1.7-0.2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/tokio-current-thread-0.1.7/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/tokio-current-thread-0.1.7/LICENSE warning: File listed twice: /usr/share/cargo/registry/tokio-current-thread-0.1.7/README.md Provides: crate(tokio-current-thread) = 0.1.7 rust-tokio-current-thread-devel = 0.1.7-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(futures/default) >= 0.1.19 crate(tokio-executor/default) >= 0.1.7 Processing files: rust-tokio-current-thread+default-devel-0.1.7-0.2.mga10.noarch Provides: crate(tokio-current-thread/default) = 0.1.7 rust-tokio-current-thread+default-devel = 0.1.7-0.2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(tokio-current-thread) = 0.1.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tokio-current-thread+default-devel-0.1.7-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tokio-current-thread-devel-0.1.7-0.2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.D2t14n + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + test -d /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-tokio-current-thread-0.1.7-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/tokio-current-thread-0.1.7/CHANGELOG.md File listed twice: /usr/share/cargo/registry/tokio-current-thread-0.1.7/LICENSE File listed twice: /usr/share/cargo/registry/tokio-current-thread-0.1.7/README.md D: [iurt_root_command] Success!