Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-mio-uds.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97845-60118/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust-mio-uds.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/rust-mio-uds-0.6.8-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-mio-uds.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97845-60118/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-mio-uds.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7q21Fv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mio-uds-0.6.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mio-uds-0.6.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mio-uds-0.6.8 + /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 /var/tmp/rpm-tmp.HNwjMO + umask 022 + cd /builddir/build/BUILD + cd mio-uds-0.6.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-mio-uds-0.6.8-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-mio-uds.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97845-60118/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-mio-uds.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GoR4Nn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mio-uds-0.6.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mio-uds-0.6.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd mio-uds-0.6.8 + /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 /var/tmp/rpm-tmp.OF12Ma + umask 022 + cd /builddir/build/BUILD + cd mio-uds-0.6.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-mio-uds-0.6.8-1.oc9.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-mio-uds.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-97845-60118/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/rust-mio-uds.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1ElN33 + umask 022 + cd /builddir/build/BUILD + cd mio-uds-0.6.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UhGJEG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mio-uds-0.6.8 + /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 -j32 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Compiling autocfg v1.3.0 Compiling cfg-if v0.1.10 Compiling log v0.4.21 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.3.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 -C metadata=64ae38532deb06ce -C extra-filename=-64ae38532deb06ce --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/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=2015 /usr/share/cargo/registry/libc-0.2.155/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"' -C metadata=5e78fbeb3c6ee7a6 -C extra-filename=-5e78fbeb3c6ee7a6 --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/build/libc-5e78fbeb3c6ee7a6 -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/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.21/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 -C metadata=a0237e1711a6129f -C extra-filename=-a0237e1711a6129f --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/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 -C metadata=10415273e1a7a9c8 -C extra-filename=-10415273e1a7a9c8 --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/build/libc-5e78fbeb3c6ee7a6/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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"' -C metadata=004dff9a6d043987 -C extra-filename=-004dff9a6d043987 --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn` 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 -C metadata=d48883d9614ae91b -C extra-filename=-d48883d9614ae91b --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --extern libc=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/liblibc-004dff9a6d043987.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"' -C metadata=41a9b7fee94139a0 -C extra-filename=-41a9b7fee94139a0 --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libcfg_if-10415273e1a7a9c8.rmeta --extern libc=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/liblibc-004dff9a6d043987.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"' -C metadata=c9920f66a8f145af -C extra-filename=-c9920f66a8f145af --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/build/slab-c9920f66a8f145af -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --extern autocfg=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libautocfg-64ae38532deb06ce.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/build/slab-c9920f66a8f145af/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"' -C metadata=6139737bad0d1f0a -C extra-filename=-6139737bad0d1f0a --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mio v0.6.23 Running `/usr/bin/rustc --crate-name mio --edition=2015 /usr/share/cargo/registry/mio-0.6.23/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"' -C metadata=6c8181f843dd7270 -C extra-filename=-6c8181f843dd7270 --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libcfg_if-10415273e1a7a9c8.rmeta --extern iovec=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libiovec-d48883d9614ae91b.rmeta --extern libc=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --extern log=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/liblog-a0237e1711a6129f.rmeta --extern net2=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libnet2-41a9b7fee94139a0.rmeta --extern slab=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libslab-6139737bad0d1f0a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling mio-uds v0.6.8 (/builddir/build/BUILD/mio-uds-0.6.8) Running `/usr/bin/rustc --crate-name mio_uds --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 -C metadata=f482cd66f2abf635 -C extra-filename=-f482cd66f2abf635 --out-dir /builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps -L dependency=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps --extern iovec=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libiovec-d48883d9614ae91b.rmeta --extern libc=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/liblibc-004dff9a6d043987.rmeta --extern mio=/builddir/build/BUILD/mio-uds-0.6.8/target/rpm/deps/libmio-6c8181f843dd7270.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:33:13 | 33 | try!(cvt(libc::bind(fd.fd(), addr, len))); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:29:31 | 29 | let (addr, len) = try!(sockaddr_un(path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:30:22 | 30 | let fd = try!(Socket::new(libc::SOCK_DGRAM)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:45:9 | 45 | try!(stream.set_nonblocking(true)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:54:26 | 54 | let (a, b) = try!(Socket::pair(libc::SOCK_DGRAM)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:63:9 | 63 | try!(stream.set_nonblocking(true)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/datagram.rs:62:22 | 62 | let stream = try!(net::UnixDatagram::unbound()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/listener.rs:37:13 | 37 | try!(cvt(libc::bind(fd.fd(), addr, len))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/listener.rs:38:13 | 38 | try!(cvt(libc::listen(fd.fd(), 128))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/listener.rs:33:31 | 33 | let (addr, len) = try!(sockaddr_un(path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/listener.rs:34:22 | 34 | let fd = try!(Socket::new(libc::SOCK_STREAM)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/listener.rs:50:9 | 50 | try!(stream.set_nonblocking(true)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/listener.rs:62:15 | 62 | match try!(self.accept_std()) { | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:65:13 | 65 | try!(cvt(libc::ioctl(fd.fd, libc::FIOCLEX))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:67:13 | 67 | try!(cvt(libc::ioctl(fd.fd, libc::FIONBIO, &mut nonblocking))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:64:35 | 64 | let fd = Socket { fd: try!(cvt(libc::socket(libc::AF_UNIX, ty, 0))) }; | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:93:13 | 93 | try!(cvt(libc::socketpair(libc::AF_UNIX, ty, 0, fds.as_mut_ptr()))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:96:13 | 96 | try!(cvt(libc::ioctl(a.fd, libc::FIOCLEX))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:97:13 | 97 | try!(cvt(libc::ioctl(b.fd, libc::FIOCLEX))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:99:13 | 99 | try!(cvt(libc::ioctl(a.fd, libc::FIONBIO, &mut nonblocking))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/socket.rs:100:13 | 100 | try!(cvt(libc::ioctl(b.fd, libc::FIONBIO, &mut nonblocking))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/stream.rs:52:31 | 52 | let (addr, len) = try!(sockaddr_un(path)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/stream.rs:53:26 | 53 | let socket = try!(Socket::new(libc::SOCK_STREAM)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/stream.rs:71:9 | 71 | try!(stream.set_nonblocking(true)); | ^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/socket.rs:160:44 | 160 | let addr: libc::sockaddr_un = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: the type `sockaddr_un` does not permit being left uninitialized --> src/socket.rs:160:39 | 160 | 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-uds` (lib) generated 26 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 3.65s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.EdgxDu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64 + cd mio-uds-0.6.8 + 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-uds ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.8 + REG_DIR=/builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64/usr/share/cargo/registry/mio-uds-0.6.8 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64/usr/share/cargo/registry/mio-uds-0.6.8 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -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 /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64/usr/share/cargo/registry/mio-uds-0.6.8 warning: no (git) VCS found for `/builddir/build/BUILD/mio-uds-0.6.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64/usr/share/cargo/registry/mio-uds-0.6.8/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64/usr/share/cargo/registry/mio-uds-0.6.8/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: rust-mio-uds-devel-0.6.8-1.oc9.noarch warning: File listed twice: /usr/share/cargo/registry/mio-uds-0.6.8/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/mio-uds-0.6.8/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/mio-uds-0.6.8/README.md Provides: crate(mio-uds) = 0.6.8 rust-mio-uds-devel = 0.6.8-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(iovec/default) >= 0.1.0 with crate(iovec/default) < 0.2.0~) (crate(libc/default) >= 0.2.69 with crate(libc/default) < 0.3.0~) (crate(mio/default) >= 0.6.5 with crate(mio/default) < 0.7.0~) cargo Processing files: rust-mio-uds+default-devel-0.6.8-1.oc9.noarch Provides: crate(mio-uds/default) = 0.6.8 rust-mio-uds+default-devel = 0.6.8-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(mio-uds) = 0.6.8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-mio-uds-0.6.8-1.oc9.x86_64 Wrote: /builddir/build/SRPMS/rust-mio-uds-0.6.8-1.oc9.src.rpm Wrote: /builddir/build/RPMS/rust-mio-uds-devel-0.6.8-1.oc9.noarch.rpm Wrote: /builddir/build/RPMS/rust-mio-uds+default-devel-0.6.8-1.oc9.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/mio-uds-0.6.8/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/mio-uds-0.6.8/LICENSE-MIT File listed twice: /usr/share/cargo/registry/mio-uds-0.6.8/README.md Child return code was: 0