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.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0rrCvi Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.B2oRS6 + 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.gwrkFR + 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.SkXlW7 + 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.171 Compiling autocfg v1.4.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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="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=42efa26aba98bd78 -C extra-filename=-5121e35c8cbfbca6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/build/libc-5121e35c8cbfbca6 -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` Compiling cfg-if v0.1.10 Compiling log v0.4.26 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.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=e124a71a4c38a5a2 -C extra-filename=-33df3ec257ba7fb0 --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.26/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=081303fc207f2870 -C extra-filename=-d36e7413773bcebc --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 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=ea36edddcb162427 -C extra-filename=-07b2a6d1d9af9f31 --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-5121e35c8cbfbca6/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=725a75cc44332baf -C extra-filename=-8db1b84232c234ea --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 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(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(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling net2 v0.2.39 Compiling iovec v0.1.4 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=d45cfd7d128e0c1c -C extra-filename=-7a7b578bd58e0421 --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-07b2a6d1d9af9f31.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblibc-8db1b84232c234ea.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=a60278404bab5a51 -C extra-filename=-0f481ccb3205578b --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-8db1b84232c234ea.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling slab v0.4.9 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/slab-0.4.9/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=e12777e9133405d3 -C extra-filename=-7a25bc39971cb492 --out-dir /home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/build/slab-7a25bc39971cb492 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libautocfg-33df3ec257ba7fb0.rlib --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/slab-7a25bc39971cb492/build-script-build` Running `/usr/bin/rustc --crate-name slab --edition=2018 /usr/share/cargo/registry/slab-0.4.9/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=ea2a3fed5653d3a8 -C extra-filename=-d4f5e76ceec649ae --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` 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=7178a84f78b532e4 -C extra-filename=-e866522877f17ce9 --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-07b2a6d1d9af9f31.rmeta --extern iovec=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libiovec-0f481ccb3205578b.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblibc-8db1b84232c234ea.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/liblog-d36e7413773bcebc.rmeta --extern net2=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libnet2-7a7b578bd58e0421.rmeta --extern slab=/home/pterjan/rpmbuild/BUILD/rust-mio0.6-0.6.23-build/mio-0.6.23/target/rpm/deps/libslab-d4f5e76ceec649ae.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)]` 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`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, and `unknown` and 8 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: this `#[deprecated]` annotation has no effect --> src/event_imp.rs:515:1 | 515 | #[deprecated(since = "0.6.10", note = "removed")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute | = note: `#[warn(useless_deprecated)]` on by default warning: this `#[deprecated]` annotation has no effect --> src/event_imp.rs:1002:1 | 1002 | #[deprecated(since = "0.6.10", note = "removed")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute warning: this `#[deprecated]` annotation has no effect --> src/sys/unix/ready.rs:480:1 | 480 | #[deprecated(since = "0.6.10", note = "removed")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the unnecessary deprecation attribute 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)]` 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: 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 14 warnings (run `cargo fix --lib -p mio` to apply 7 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.15s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6CZMOI + 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.1.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.1.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.1.mga10.noarch Provides: crate(mio/default) = 0.6.23 rust-mio0.6+default-devel = 0.6.23-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(mio) = 0.6.23 crate(mio/with-deprecated) = 0.6.23 Processing files: rust-mio0.6+with-deprecated-devel-0.6.23-0.1.mga10.noarch Provides: crate(mio/with-deprecated) = 0.6.23 rust-mio0.6+with-deprecated-devel = 0.6.23-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(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+default-devel-0.6.23-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mio0.6+with-deprecated-devel-0.6.23-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-mio0.6-devel-0.6.23-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IcHZB4 + 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!