Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f40-build-2130610-50790/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703462400 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f40-build-2130610-50790/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703376000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q1CEnO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nix-0.14.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nix-0.14.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd nix-0.14.1 + rm -rf /builddir/build/BUILD/nix-0.14.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nix-0.14.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/nix-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 /var/tmp/rpm-tmp.Tbp9FE + umask 022 + cd /builddir/build/BUILD + cd nix-0.14.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-1.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f40-build-2130610-50790/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703376000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hr8vh3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nix-0.14.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nix-0.14.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd nix-0.14.1 + rm -rf /builddir/build/BUILD/nix-0.14.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/nix-0.14.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/nix-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 /var/tmp/rpm-tmp.zjHY4z + umask 022 + cd /builddir/build/BUILD + cd nix-0.14.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-nix0.14-0.14.1-1.fc40.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 riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec'], chrootPath='/var/lib/mock/f40-build-2130610-50790/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1703376000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PDzoxp + umask 022 + cd /builddir/build/BUILD + cd nix-0.14.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FhgyNU + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nix-0.14.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.150 Compiling nix v0.14.1 (/builddir/build/BUILD/nix-0.14.1) Compiling cfg-if v0.1.10 Compiling bitflags v1.3.2 Compiling void v1.0.2 Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.150/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=83a5b7401395b39b -C extra-filename=-83a5b7401395b39b --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/build/libc-83a5b7401395b39b -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build 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 -C metadata=244a6df7b7494369 -C extra-filename=-244a6df7b7494369 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/build/nix-244a6df7b7494369 -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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=b16a6889cec5299b -C extra-filename=-b16a6889cec5299b --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name void /usr/share/cargo/registry/void-1.0.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="std"' -C metadata=a0af88e1d9a3a973 -C extra-filename=-a0af88e1d9a3a973 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2018 /usr/share/cargo/registry/bitflags-1.3.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"' -C metadata=288b748a00c0b870 -C extra-filename=-288b748a00c0b870 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff97bde4b2] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffbcbde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbf621800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffbbfe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffbc147514] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9a611800] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbe523870] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff96fe6264] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbe523ab6] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffff97147514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff99523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff99523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff995250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbe5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbe523b76] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff99523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffbc145f36] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff97145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff96f9569c] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffbbf9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff96fe7c78] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffbbfe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb3bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb65fd800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb2fe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb310ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb314754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb5523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb5523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb55250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb5523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb3145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb2f9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb2fe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa2dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa58fa800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x64)[0xffffffa57fddd6] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa583a54e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa4723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa4723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa47250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa4723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa5838f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa22fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa234dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/nix-0.14.1/target/rpm/build/nix-244a6df7b7494369/build-script-build` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa6bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffa95b3800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa5fe6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa610ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa614754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa8523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa8523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa85250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa8523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa6145f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa5f9569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa5fe7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/nix-0.14.1/target/rpm/build/libc-83a5b7401395b39b/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.150/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=04f1137dc7635388 -C extra-filename=-04f1137dc7635388 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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` Running `/usr/bin/rustc --crate-name nix 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=840aa1fe758cf4a2 -C extra-filename=-840aa1fe758cf4a2 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libbitflags-288b748a00c0b870.rmeta --extern cfg_if=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libcfg_if-b16a6889cec5299b.rmeta --extern libc=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/liblibc-04f1137dc7635388.rmeta --extern void=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libvoid-a0af88e1d9a3a973.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8b9de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8e538800] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x0)[0xffffff8e43bd72] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8e47854e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8d323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8d323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8d3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8d323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8e476f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8aefb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8af4dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error[E0432]: unresolved import `self::consts` --> src/sys/ioctl/linux.rs:50:15 | 50 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0425]: cannot find value `SIZEBITS` in this scope --> src/sys/ioctl/linux.rs:59:50 | 59 | pub const DIRSHIFT: ioctl_num_type = SIZESHIFT + SIZEBITS as ioctl_num_type; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `SIZEBITS` in this scope --> src/sys/ioctl/linux.rs:66:44 | 66 | pub const SIZEMASK: ioctl_num_type = (1 << SIZEBITS) - 1; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `DIRBITS` in this scope --> src/sys/ioctl/linux.rs:68:43 | 13 | pub const NRBITS: ioctl_num_type = 8; | ------------------------------------- similarly named constant `NRBITS` defined here ... 68 | pub const DIRMASK: ioctl_num_type = (1 << DIRBITS) - 1; | ^^^^^^^ help: a constant with a similar name exists: `NRBITS` warning: 8th rule of macro `libc_enum` is never used --> src/macros.rs:204:5 | 204 | / (@accumulate_entries 205 | | $prefix:tt, 206 | | [$($entries:tt)*]; 207 | | $entry:ident as $ty:ty, $($tail:tt)* 208 | | ) => { | |_____^ | note: the lint level is defined here --> src/lib.rs:13:9 | 13 | #![deny(unused)] | ^^^^^^ = note: `#[warn(unused_macro_rules)]` implied by `#[warn(unused)]` warning: `...` range patterns are deprecated --> src/features.rs:42:21 | 42 | b'0'...b'9' => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: unnecessary parentheses around type --> src/mqueue.rs:154:46 | 154 | pub fn mq_set_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { | ^ ^ | = note: `#[warn(unused_parens)]` implied by `#[warn(unused)]` help: remove these parentheses | 154 - pub fn mq_set_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { 154 + pub fn mq_set_nonblock(mqd: mqd_t) -> Result { | warning: unnecessary parentheses around type --> src/mqueue.rs:166:49 | 166 | pub fn mq_remove_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { | ^ ^ | help: remove these parentheses | 166 - pub fn mq_remove_nonblock(mqd: mqd_t) -> Result<(MqAttr)> { 166 + pub fn mq_remove_nonblock(mqd: mqd_t) -> Result { | warning: 2nd rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:131:5 | 131 | (GetOnly, $name:ident, $level:path, $flag:path, u8) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 3rd rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:135:5 | 135 | (GetOnly, $name:ident, $level:path, $flag:path, usize) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 4th rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:139:5 | 139 | (SetOnly, $name:ident, $level:path, $flag:path, bool) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: 5th rule of macro `sockopt_impl` is never used --> src/sys/socket/sockopt.rs:143:5 | 143 | (SetOnly, $name:ident, $level:path, $flag:path, u8) => { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/dir.rs:112:52 | 112 | let mut ent: Entry = Entry(::std::mem::uninitialized()); | ^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/ifaddrs.rs:128:55 | 128 | let mut addrs: *mut libc::ifaddrs = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mqueue.rs:135:34 | 135 | let mut attr = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mqueue.rs:146:34 | 146 | let mut attr = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/mqueue.rs:54:38 | 54 | let mut attr = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/pty.rs:222:48 | 222 | let mut slave: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/pty.rs:223:49 | 223 | let mut master: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/pty.rs:298:49 | 298 | let mut master: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/ptrace/linux.rs:225:33 | 225 | let data: T = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/quota.rs:264:35 | 264 | let mut dqblk = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/select.rs:20:39 | 20 | let mut fdset = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:507:27 | 507 | let mut oldact = mem::uninitialized::(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:340:56 | 340 | let mut sigset: libc::sigset_t = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:347:56 | 347 | let mut sigset: libc::sigset_t = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:385:49 | 385 | let mut oldmask: SigSet = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:407:49 | 407 | let mut oldmask: SigSet = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:415:53 | 415 | let mut signum: libc::c_int = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signal.rs:457:35 | 457 | let mut s = unsafe { mem::uninitialized::() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/signalfd.rs:101:69 | 101 | let mut buffer: [u8; SIGNALFD_SIGINFO_SIZE] = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:909:44 | 909 | let mut mhdr: msghdr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:950:55 | 950 | let mut address: sockaddr_storage = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:961:44 | 961 | let mut mhdr: msghdr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:1242:43 | 1242 | let addr: sockaddr_storage = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:1258:43 | 1258 | let addr: sockaddr_storage = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/mod.rs:398:23 | 398 | unsafe { mem::uninitialized() } | ^^^^^^^^^^^^^ warning: use of deprecated struct `libc::af_alg_iv`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:778:58 | 778 | let alg_iv = cmsg_data as *mut libc::af_alg_iv; | ^^^^^^^^^ warning: use of deprecated struct `libc::af_alg_iv`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:818:38 | 818 | mem::size_of::() + iv.len() | ^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/socket/addr.rs:552:60 | 552 | let mut in6_addr_var: libc::in6_addr = unsafe{mem::uninitialized()}; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:81:33 | 81 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:94:33 | 94 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:107:33 | 107 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/stat.rs:116:33 | 116 | let mut dst = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/statvfs.rs:128:38 | 128 | let mut stat: Statvfs = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/statvfs.rs:141:38 | 141 | let mut stat: Statvfs = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/sysinfo.rs:70:49 | 70 | let mut info: libc::sysinfo = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/termios.rs:1049:52 | 1049 | let mut termios: libc::termios = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/termios.rs:254:38 | 254 | inner: RefCell::new(mem::uninitialized()), | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/sys/utsname.rs:35:37 | 35 | let mut ret: UtsName = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/unistd.rs:1010:40 | 1010 | let mut fds: [c_int; 2] = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/unistd.rs:1037:45 | 1037 | let mut fds: [c_int; 2] = unsafe { mem::uninitialized() }; | ^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:105:20 | 105 | BoxedSlice(Box>), | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 105 | BoxedSlice(Box>), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:107:23 | 107 | BoxedMutSlice(Box>), | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 107 | BoxedMutSlice(Box>), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sched.rs:39:28 | 39 | pub type CloneCb<'a> = Box isize + 'a>; | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 39 | pub type CloneCb<'a> = Box isize + 'a>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:168:49 | 168 | pub fn boxed_slice(&mut self) -> Option>> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 168 | pub fn boxed_slice(&mut self) -> Option>> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:190:53 | 190 | pub fn boxed_mut_slice(&mut self) -> Option>> { | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 190 | pub fn boxed_mut_slice(&mut self) -> Option>> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:451:62 | 451 | pub fn from_boxed_slice(fd: RawFd, offs: off_t, buf: Box>, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 451 | pub fn from_boxed_slice(fd: RawFd, offs: off_t, buf: Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:519:46 | 519 | ... mut buf: Box>, | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 519 | mut buf: Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/socket/mod.rs:947:48 | 947 | cmsg_buffer: Option<&'a mut CmsgBuffer>, | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 947 | cmsg_buffer: Option<&'a mut dyn CmsgBuffer>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sched.rs:113:71 | 113 | libc::clone(mem::transmute(callback as extern "C" fn(*mut Box<::std::ops::FnMut() -> isize>) -> i32), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 113 | libc::clone(mem::transmute(callback as extern "C" fn(*mut Box isize)>) -> i32), | +++++ + warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:119:33 | 119 | let borrowed : &Borrow<[u8]> = bs.borrow(); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 119 | let borrowed : &dyn Borrow<[u8]> = bs.borrow(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:124:33 | 124 | let borrowed : &BorrowMut<[u8]> = bms.borrow(); | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 | let borrowed : &dyn BorrowMut<[u8]> = bms.borrow(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:121:40 | 121 | borrowed as *const Borrow<[u8]>) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 121 | borrowed as *const dyn Borrow<[u8]>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:126:40 | 126 | borrowed as *const BorrowMut<[u8]>) | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 126 | borrowed as *const dyn BorrowMut<[u8]>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:456:29 | 456 | let borrowed : &Borrow<[u8]> = buf.borrow(); | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 456 | let borrowed : &dyn Borrow<[u8]> = buf.borrow(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sys/aio.rs:524:33 | 524 | let borrowed : &mut BorrowMut<[u8]> = buf.borrow_mut(); | ^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 524 | let borrowed : &mut dyn BorrowMut<[u8]> = buf.borrow_mut(); | +++ warning: use of deprecated field `libc::af_alg_iv::ivlen`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:779:21 | 779 | (*alg_iv).ivlen = iv.len() as u32; | ^^^^^^^^^^^^^^^ warning: use of deprecated field `libc::af_alg_iv::iv`: this struct has unsafe trait implementations that will be removed in the future --> src/sys/socket/mod.rs:782:25 | 782 | (*alg_iv).iv.as_mut_ptr(), | ^^^^^^^^^^^^ Some errors have detailed explanations: E0425, E0432. For more information about an error, try `rustc --explain E0425`. warning: `nix` (lib) generated 65 warnings error: could not compile `nix` (lib) due to 4 previous errors; 65 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name nix 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=840aa1fe758cf4a2 -C extra-filename=-840aa1fe758cf4a2 --out-dir /builddir/build/BUILD/nix-0.14.1/target/rpm/deps -L dependency=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libbitflags-288b748a00c0b870.rmeta --extern cfg_if=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libcfg_if-b16a6889cec5299b.rmeta --extern libc=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/liblibc-04f1137dc7635388.rmeta --extern void=/builddir/build/BUILD/nix-0.14.1/target/rpm/deps/libvoid-a0af88e1d9a3a973.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` (exit status: 1) error: Bad exit status from /var/tmp/rpm-tmp.FhgyNU (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.FhgyNU (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/rust-nix0.14.spec