D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-mio0.6-0.6.23-0.2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RDKGzT Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VONpas + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + rm -rf mio-0.6.23 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mio-0.6.23.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mio-0.6.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mio-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.Yy8n8A + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + cd mio-0.6.23 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.DaQJ9o + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-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 mio-0.6.23 + '[' 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.177 Compiling cfg-if v0.1.10 Compiling log v0.4.28 Compiling slab v0.4.11 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.177/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 --cfg 'feature="default"' --cfg 'feature="std"' --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=6c53a61b680a75b4 -C extra-filename=-247bd7b76ee2d7cf --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/build/libc-247bd7b76ee2d7cf -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/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-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/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 log --edition=2021 /usr/share/cargo/registry/log-0.4.28/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("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=1e3be9df091f230e -C extra-filename=-f38a316696fb9eb4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/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 slab --edition=2018 /usr/share/cargo/registry/slab-0.4.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=07f5bcb19142b7c2 -C extra-filename=-32b04edd2f039be4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/build/libc-247bd7b76ee2d7cf/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.177/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' --cfg 'feature="default"' --cfg 'feature="std"' --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=a599050c4c5aeb77 -C extra-filename=-4f7180ecd5406f0f --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --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_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --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"))'` Compiling iovec v0.1.4 Compiling net2 v0.2.39 Running `/usr/bin/rustc --crate-name iovec --edition=2015 /usr/share/cargo/registry/iovec-0.1.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())' -C metadata=c8ae2c9b503b50cb -C extra-filename=-adbd3ad4094d1ea3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblibc-4f7180ecd5406f0f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name net2 --edition=2015 /usr/share/cargo/registry/net2-0.2.39/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="duration"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "duration", "nightly"))' -C metadata=0e33f44a58eff655 -C extra-filename=-7035ca3dd5ae022a --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libcfg_if-2a9848a7ee5f67c5.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblibc-4f7180ecd5406f0f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mio v0.6.23 (/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23) Running `/usr/bin/rustc --crate-name mio --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="default"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "with-deprecated"))' -C metadata=764052d5fd4861e8 -C extra-filename=-fe0a0235c61b0923 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libcfg_if-2a9848a7ee5f67c5.rmeta --extern iovec=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libiovec-adbd3ad4094d1ea3.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblibc-4f7180ecd5406f0f.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblog-f38a316696fb9eb4.rmeta --extern net2=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libnet2-7035ca3dd5ae022a.rmeta --extern slab=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libslab-32b04edd2f039be4.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `cargo-clippy` --> src/lib.rs:10:13 | 10 | #![cfg_attr(feature = "cargo-clippy", allow(clippy::trivially_copy_pass_by_ref))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `with-deprecated` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unused imports: `Read` and `Write` --> src/io.rs:2:19 | 2 | pub use std::io::{Read, Write, Result, Error, ErrorKind}; | ^^^^ ^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: unexpected `cfg` condition value: `cargo-clippy` --> src/poll.rs:1154:16 | 1154 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::if_same_then_else))] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `default` and `with-deprecated` = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bitrig` --> src/sys/unix/mod.rs:22:11 | 22 | #[cfg(any(target_os = "bitrig", target_os = "dragonfly", | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `bitrig` --> src/sys/unix/mod.rs:27:11 | 27 | #[cfg(any(target_os = "bitrig", target_os = "dragonfly", | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 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(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/unix/dlsym.rs:10:56 | 10 | static $name: ::sys::unix::dlsym::DlSym $ret> = | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | ::: src/sys/unix/epoll.rs:36:13 | 36 | dlsym!(fn epoll_create1(c_int) -> c_int); | ---------------------------------------- in this macro invocation | = note: `#[warn(missing_abi)]` on by default = note: this warning originates in the macro `dlsym` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unused import: `iovec::IoVec` --> src/sys/unix/mod.rs:53:9 | 53 | pub use iovec::IoVec; | ^^^^^^^^^^^^ warning: `extern` declarations without an explicit ABI are deprecated --> src/sys/unix/dlsym.rs:10:56 | 10 | static $name: ::sys::unix::dlsym::DlSym $ret> = | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | ::: src/sys/unix/mod.rs:60:5 | 60 | dlsym!(fn pipe2(*mut c_int, c_int) -> c_int); | -------------------------------------------- in this macro invocation | = note: this warning originates in the macro `dlsym` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `#[deprecated]` attribute cannot be used on trait impl blocks --> src/event_imp.rs:515:1 | 515 | #[deprecated(since = "0.6.10", note = "removed")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, and crates = note: `#[warn(useless_deprecated)]` on by default warning: `#[deprecated]` attribute cannot be used on trait impl blocks --> src/event_imp.rs:1002:1 | 1002 | #[deprecated(since = "0.6.10", note = "removed")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, and crates warning: `#[deprecated]` attribute cannot be used on trait impl blocks --> src/sys/unix/ready.rs:480:1 | 480 | #[deprecated(since = "0.6.10", note = "removed")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = help: `#[deprecated]` can be applied to functions, data types, modules, unions, constants, statics, macro defs, type aliases, use statements, foreign statics, struct fields, traits, associated types, associated consts, enum variants, inherent impl blocks, and crates warning: a method with this name may be added to the standard library in the future --> src/sys/unix/tcp.rs:116:20 | 116 | self.inner.set_linger(dur) | ^^^^^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `net2::TcpStreamExt::set_linger(...)` to keep using the current method = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default help: add `#![feature(tcp_linger)]` to the crate attributes to enable `std::net::TcpStream::set_linger` --> src/lib.rs:111:1 | 111 + #![feature(tcp_linger)] | warning: a method with this name may be added to the standard library in the future --> src/sys/unix/tcp.rs:120:20 | 120 | self.inner.linger() | ^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `net2::TcpStreamExt::linger(...)` to keep using the current method help: add `#![feature(tcp_linger)]` to the crate attributes to enable `std::net::TcpStream::linger` --> src/lib.rs:111:1 | 111 + #![feature(tcp_linger)] | warning: hiding a lifetime that's elided elsewhere is confusing --> src/poll.rs:1433:17 | 1433 | pub fn iter(&self) -> Iter { | ^^^^^ ^^^^ 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 | 1433 | pub fn iter(&self) -> Iter<'_> { | ++++ warning: the type `sockaddr_un` does not permit being left uninitialized --> src/sys/unix/uds.rs:55:39 | 55 | let addr: libc::sockaddr_un = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: integers must be initialized = note: `#[warn(invalid_value)]` on by default warning: `mio` (lib) generated 15 warnings (run `cargo fix --lib -p mio` to apply 8 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.22s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2QvimK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-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 mio-0.6.23 + '[' 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=mio ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.23 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT/usr/share/cargo/registry/mio-0.6.23 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT/usr/share/cargo/registry/mio-0.6.23 + /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-mio0.6-0.6.23-build/BUILDROOT/usr/share/cargo/registry/mio-0.6.23 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT/usr/share/cargo/registry/mio-0.6.23/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT/usr/share/cargo/registry/mio-0.6.23/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 Processing files: rust-mio0.6-devel-0.6.23-0.2.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/mio-0.6.23/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/mio-0.6.23/LICENSE warning: File listed twice: /usr/share/cargo/registry/mio-0.6.23/README.md Provides: crate(mio) = 0.6.23 rust-mio0.6-devel = 0.6.23-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(cfg-if/default) >= 0.1.9 crate(iovec/default) >= 0.1.1 crate(libc/default) >= 0.2.54 crate(log/default) >= 0.4.0 crate(net2/default) >= 0.2.36 crate(slab/default) >= 0.4.0 Processing files: rust-mio0.6+default-devel-0.6.23-0.2.mga10.noarch Provides: crate(mio/default) = 0.6.23 rust-mio0.6+default-devel = 0.6.23-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(mio) = 0.6.23 crate(mio/with-deprecated) = 0.6.23 Processing files: rust-mio0.6+with-deprecated-devel-0.6.23-0.2.mga10.noarch Provides: crate(mio/with-deprecated) = 0.6.23 rust-mio0.6+with-deprecated-devel = 0.6.23-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(mio) = 0.6.23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mio0.6+with-deprecated-devel-0.6.23-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mio0.6+default-devel-0.6.23-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mio0.6-devel-0.6.23-0.2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NDstp6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + test -d /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/mio-0.6.23/CHANGELOG.md File listed twice: /usr/share/cargo/registry/mio-0.6.23/LICENSE File listed twice: /usr/share/cargo/registry/mio-0.6.23/README.md D: [iurt_root_command] Success!