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-bytes0.4.spec'], chrootPath='/var/lib/mock/f40-build-2169549-50976/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-bytes0.4.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=1703894400 Wrote: /builddir/build/SRPMS/rust-bytes0.4-0.4.12-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-bytes0.4.spec'], chrootPath='/var/lib/mock/f40-build-2169549-50976/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-bytes0.4.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=1703808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.THq01I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bytes-0.4.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bytes-0.4.12.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd bytes-0.4.12 + rm -rf /builddir/build/BUILD/bytes-0.4.12-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bytes-0.4.12-SPECPARTS + /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.mPiNRy + umask 022 + cd /builddir/build/BUILD + cd bytes-0.4.12 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-bytes0.4-0.4.12-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-bytes0.4.spec'], chrootPath='/var/lib/mock/f40-build-2169549-50976/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-bytes0.4.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=1703808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WOdvaT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bytes-0.4.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bytes-0.4.12.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd bytes-0.4.12 + rm -rf /builddir/build/BUILD/bytes-0.4.12-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/bytes-0.4.12-SPECPARTS + /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.mg6hSc + umask 022 + cd /builddir/build/BUILD + cd bytes-0.4.12 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-bytes0.4-0.4.12-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-bytes0.4.spec'], chrootPath='/var/lib/mock/f40-build-2169549-50976/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-bytes0.4.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=1703808000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jYZSEu + umask 022 + cd /builddir/build/BUILD + cd bytes-0.4.12 + /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.CmvqxE + 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 bytes-0.4.12 + /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 byteorder v1.5.0 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/bytes-0.4.12/target/rpm/build/libc-83a5b7401395b39b -L dependency=/builddir/build/BUILD/bytes-0.4.12/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 byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=d25a1b6340117bc4 -C extra-filename=-d25a1b6340117bc4 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/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 /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8dfde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff90a6c800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8d3e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8d50ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8d54754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8f923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8f923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8f9250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8f923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8d545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8d39569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8d3e7c78] 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)[0xffffffa83de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffaae40800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa77e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa790ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa794754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa9d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa9d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa9d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa9d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa7945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa779569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa77e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/bytes-0.4.12/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/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/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` Compiling iovec v0.1.4 Running `/usr/bin/rustc --crate-name iovec /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=00d0cd75ef779136 -C extra-filename=-00d0cd75ef779136 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern libc=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/liblibc-04f1137dc7635388.rmeta --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` Compiling bytes v0.4.12 (/builddir/build/BUILD/bytes-0.4.12) Running `/usr/bin/rustc --crate-name bytes 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=fc31c02da5ab5cd7 -C extra-filename=-fc31c02da5ab5cd7 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rmeta --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.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` warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:17:9 | 17 | try!(write!(fmt, "b\"")); | ^^^ | note: the lint level is defined here --> src/lib.rs:71:9 | 71 | #![deny(warnings, missing_docs, missing_debug_implementations)] | ^^^^^^^^ = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:37:9 | 37 | try!(write!(fmt, "\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:21:17 | 21 | try!(write!(fmt, "\\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:23:17 | 23 | try!(write!(fmt, "\\r")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:25:17 | 25 | try!(write!(fmt, "\\t")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:27:17 | 27 | try!(write!(fmt, "\\{}", c as char)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:29:17 | 29 | try!(write!(fmt, "\\0")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:32:17 | 32 | try!(write!(fmt, "{}", c as char)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:34:17 | 34 | try!(write!(fmt, "\\x{:02x}", c)); | ^^^ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9d1de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9fc3b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9c5e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9c70ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9c74754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9eb23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9eb23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9eb250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9eb23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9c745f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9c59569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9c5e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/bytes.rs:1630:45 | 1630 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/bytes.rs:1822:45 | 1822 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/bytes.rs:2115:41 | 2115 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/buf/buf.rs:1154:30 | 1154 | fn _assert_trait_object(_b: &Buf) {} | ^^^ | = 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)]` implied by `#[warn(warnings)]` help: use `dyn` | 1154 | fn _assert_trait_object(_b: &dyn Buf) {} | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/buf/buf_mut.rs:1167:30 | 1167 | fn _assert_trait_object(_b: &BufMut) {} | ^^^^^^ | = 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` | 1167 | fn _assert_trait_object(_b: &dyn BufMut) {} | +++ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff843de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff86d79800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff837e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8390ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8394754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff85d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff85d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff85d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff85d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff83945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8379569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff837e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/bytes.rs:2220:31 | 2220 | let actual = self.arc.compare_and_swap(arc as *mut Shared, shared, AcqRel); | ^^^^^^^^^^^^^^^^ warning: unused return value of `std::mem::replace` that must be used --> src/bytes.rs:833:9 | 833 | mem::replace(self, result.freeze()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if you don't need the old value, you can just assign the new value directly = note: `#[warn(unused_must_use)]` implied by `#[warn(warnings)]` help: use `let _ = ...` to ignore the resulting value | 833 | let _ = mem::replace(self, result.freeze()); | +++++++ warning: unused return value of `std::mem::replace` that must be used --> src/bytes.rs:1028:9 | 1028 | mem::replace(self, bytes_mut.freeze()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if you don't need the old value, you can just assign the new value directly help: use `let _ = ...` to ignore the resulting value | 1028 | let _ = mem::replace(self, bytes_mut.freeze()); | +++++++ warning: the type `Inner` does not permit being left uninitialized --> src/bytes.rs:1630:40 | 1630 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: raw pointers must be initialized (in this struct field) --> src/bytes.rs:301:5 | 301 | arc: AtomicPtr, | ^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(invalid_value)]` implied by `#[warn(warnings)]` warning: the type `Inner` does not permit being left uninitialized --> src/bytes.rs:1822:40 | 1822 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: raw pointers must be initialized (in this struct field) --> src/bytes.rs:301:5 | 301 | arc: AtomicPtr, | ^^^^^^^^^^^^^^^^^^^^^^ warning: the type `Inner` does not permit being left uninitialized --> src/bytes.rs:2115:36 | 2115 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: raw pointers must be initialized (in this struct field) --> src/bytes.rs:301:5 | 301 | arc: AtomicPtr, | ^^^^^^^^^^^^^^^^^^^^^^ warning: unused return value of `Box::::from_raw` that must be used --> src/bytes.rs:2554:9 | 2554 | Box::from_raw(ptr); | ^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 2554 | let _ = Box::from_raw(ptr); | +++++++ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff99bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9c705800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9914c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9c608e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9c64554e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9b523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9b523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9b5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9b523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9c643f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff990fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9914dc78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `bytes` (lib) generated 21 warnings (run `cargo fix --lib -p bytes` to apply 2 suggestions) Finished rpm [optimized + debuginfo] target(s) in 7m 54s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NFAR7U + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64 + 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 bytes-0.4.12 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=bytes ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.12 + REG_DIR=/builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64/usr/share/cargo/registry/bytes-0.4.12 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64/usr/share/cargo/registry/bytes-0.4.12 + /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 -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 package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64/usr/share/cargo/registry/bytes-0.4.12 warning: No (git) VCS found for `/builddir/build/BUILD/bytes-0.4.12` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64/usr/share/cargo/registry/bytes-0.4.12/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-bytes0.4-0.4.12-1.fc40.riscv64/usr/share/cargo/registry/bytes-0.4.12/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/redhat/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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.b4MWTm + 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 bytes-0.4.12 + /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 test -j8 -Z avoid-dev-deps --profile rpm --no-fail-fast error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa83de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffaae40800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa77e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffa790ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffa794754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffa9d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffa9d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffa9d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffa9d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffa7945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa779569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa77e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling serde v1.0.193 Fresh byteorder v1.5.0 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff8dfde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff90a6c800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff8d3e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8d50ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8d54754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8f923870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8f923ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8f9250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8f923b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff8d545f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8d39569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff8d3e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Fresh libc v0.2.150 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9d1de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9fc3b800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9c5e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9c70ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9c74754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9eb23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9eb23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9eb250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9eb23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9c745f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9c59569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9c5e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/serde-1.0.193/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=4afb0d8b14c6271c -C extra-filename=-4afb0d8b14c6271c --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/build/serde-4afb0d8b14c6271c -L dependency=/builddir/build/BUILD/bytes-0.4.12/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` Fresh iovec v0.1.4 error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff843de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff86d79800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff837e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8390ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8394754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff85d23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff85d23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff85d250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff85d23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff83945f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8379569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff837e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:17:9 | 17 | try!(write!(fmt, "b\"")); | ^^^ | note: the lint level is defined here --> src/lib.rs:71:9 | 71 | #![deny(warnings, missing_docs, missing_debug_implementations)] | ^^^^^^^^ = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:37:9 | 37 | try!(write!(fmt, "\"")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:21:17 | 21 | try!(write!(fmt, "\\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:23:17 | 23 | try!(write!(fmt, "\\r")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:25:17 | 25 | try!(write!(fmt, "\\t")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:27:17 | 27 | try!(write!(fmt, "\\{}", c as char)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:29:17 | 29 | try!(write!(fmt, "\\0")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:32:17 | 32 | try!(write!(fmt, "{}", c as char)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/debug.rs:34:17 | 34 | try!(write!(fmt, "\\x{:02x}", c)); | ^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/bytes.rs:1630:45 | 1630 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/bytes.rs:1822:45 | 1822 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead --> src/bytes.rs:2115:41 | 2115 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/buf/buf.rs:1154:30 | 1154 | fn _assert_trait_object(_b: &Buf) {} | ^^^ | = 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)]` implied by `#[warn(warnings)]` help: use `dyn` | 1154 | fn _assert_trait_object(_b: &dyn Buf) {} | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/buf/buf_mut.rs:1167:30 | 1167 | fn _assert_trait_object(_b: &BufMut) {} | ^^^^^^ | = 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` | 1167 | fn _assert_trait_object(_b: &dyn BufMut) {} | +++ warning: use of deprecated method `std::sync::atomic::AtomicPtr::::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/bytes.rs:2220:31 | 2220 | let actual = self.arc.compare_and_swap(arc as *mut Shared, shared, AcqRel); | ^^^^^^^^^^^^^^^^ warning: unused return value of `std::mem::replace` that must be used --> src/bytes.rs:833:9 | 833 | mem::replace(self, result.freeze()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if you don't need the old value, you can just assign the new value directly = note: `#[warn(unused_must_use)]` implied by `#[warn(warnings)]` help: use `let _ = ...` to ignore the resulting value | 833 | let _ = mem::replace(self, result.freeze()); | +++++++ warning: unused return value of `std::mem::replace` that must be used --> src/bytes.rs:1028:9 | 1028 | mem::replace(self, bytes_mut.freeze()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: if you don't need the old value, you can just assign the new value directly help: use `let _ = ...` to ignore the resulting value | 1028 | let _ = mem::replace(self, bytes_mut.freeze()); | +++++++ warning: the type `Inner` does not permit being left uninitialized --> src/bytes.rs:1630:40 | 1630 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: raw pointers must be initialized (in this struct field) --> src/bytes.rs:301:5 | 301 | arc: AtomicPtr, | ^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(invalid_value)]` implied by `#[warn(warnings)]` warning: the type `Inner` does not permit being left uninitialized --> src/bytes.rs:1822:40 | 1822 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: raw pointers must be initialized (in this struct field) --> src/bytes.rs:301:5 | 301 | arc: AtomicPtr, | ^^^^^^^^^^^^^^^^^^^^^^ warning: the type `Inner` does not permit being left uninitialized --> src/bytes.rs:2115:36 | 2115 | let mut inner: Inner = mem::uninitialized(); | ^^^^^^^^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | note: raw pointers must be initialized (in this struct field) --> src/bytes.rs:301:5 | 301 | arc: AtomicPtr, | ^^^^^^^^^^^^^^^^^^^^^^ warning: unused return value of `Box::::from_raw` that must be used --> src/bytes.rs:2554:9 | 2554 | Box::from_raw(ptr); | ^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` help: use `let _ = ...` to ignore the resulting value | 2554 | let _ = Box::from_raw(ptr); | +++++++ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff99bde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9c705800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9914c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9c608e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9c64554e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9b523870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9b523ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9b5250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9b523b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9c643f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff990fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9914dc78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `bytes` (lib) generated 21 warnings (run `cargo fix --lib -p bytes` to apply 2 suggestions) error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff88dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff8b7f8800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff881e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff8830ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff8834754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff8a723870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff8a723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff8a7250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff8a723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff88345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff8819569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff881e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust Running `/builddir/build/BUILD/bytes-0.4.12/target/rpm/build/serde-4afb0d8b14c6271c/build-script-build` Running `/usr/bin/rustc --crate-name serde --edition=2018 /usr/share/cargo/registry/serde-1.0.193/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=d739278b774ca449 -C extra-filename=-d739278b774ca449 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/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` Compiling serde_test v1.0.176 Running `/usr/bin/rustc --crate-name serde_test --edition=2021 /usr/share/cargo/registry/serde_test-1.0.176/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=3e8797e3fc680546 -C extra-filename=-3e8797e3fc680546 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern serde=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde-d739278b774ca449.rmeta --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 /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb95de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbc045800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb89e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffb8b0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffb8b4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffbaf23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffbaf23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffbaf250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffbaf23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb8b45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb899569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb89e7c78] 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)[0xffffffb89de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffbb502800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb7f4c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffffbb405e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffffbb44254e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffba323870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffba323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffba3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffba323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffbb440f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb7efb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb7f4dc78] note: we would appreciate a report at https://github.com/rust-lang/rust Compiling bytes v0.4.12 (/builddir/build/BUILD/bytes-0.4.12) Running `/usr/bin/rustc --crate-name test_buf tests/test_buf.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=3f858603a4455bc8 -C extra-filename=-3f858603a4455bc8 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_buf_mut tests/test_buf_mut.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=82df95573e5b4265 -C extra-filename=-82df95573e5b4265 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_chain tests/test_chain.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=1294f9bcfa8e14db -C extra-filename=-1294f9bcfa8e14db --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_debug tests/test_debug.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=e400a52d279b43d6 -C extra-filename=-e400a52d279b43d6 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_take tests/test_take.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=a1cb49c372df3c85 -C extra-filename=-a1cb49c372df3c85 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_reader tests/test_reader.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=5f1ad22df0109cb6 -C extra-filename=-5f1ad22df0109cb6 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_bytes tests/test_bytes.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=703d36380bec2f4e -C extra-filename=-703d36380bec2f4e --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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 test_from_buf tests/test_from_buf.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=026c3b1ed8a91345 -C extra-filename=-026c3b1ed8a91345 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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` warning: the type `[&mut IoVec; 2]` does not permit zero-initialization --> tests/test_buf_mut.rs:80:40 | 80 | let mut dst: [&mut IoVec; 2] = mem::zeroed(); | ^^^^^^^^^^^^^ | | | this code causes undefined behavior when executed | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done | = note: references must be non-null = note: `#[warn(invalid_value)]` on by default warning: unused return value of `core::slice::::as_ptr` that must be used --> tests/test_bytes.rs:298:5 | 298 | bytes.as_ptr(); | ^^^^^^^^^^^^^^ | = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 298 | let _ = bytes.as_ptr(); | +++++++ warning: unused return value of `core::slice::::as_mut_ptr` that must be used --> tests/test_bytes.rs:299:5 | 299 | bytes.as_mut_ptr(); | ^^^^^^^^^^^^^^^^^^ | help: use `let _ = ...` to ignore the resulting value | 299 | let _ = bytes.as_mut_ptr(); | +++++++ error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff90dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff93750800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff901e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff90340250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff92723fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff927238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff92723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff927250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff92723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff90345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9019569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff901e7c78] 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)[0xffffff97dde4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9a7ac800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff971e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff97340250] error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff99723fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff997238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff99723ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff997250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff99723b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff97345f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9719569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff971e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffa89de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffab4b7800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffffa7f4649e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffffab3f0250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffffaa323fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffffaa3238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffaa323ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffaa3250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffaa323b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffab3f5f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffa7efb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffa7f4dc78] 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)[0xffffff7f1de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff81ba1800] /lib64/lp64d/libc.so.6(read+0x4a)[0xffffff7e5e049e] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix2fs4File4read17h9832a648c413ac6dE+0x26)[0xffffff7e740250] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323fba)[0xffffff80b23fba] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23238a8)[0xffffff80b238a8] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff80b23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff80b250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff80b23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff7e745f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff7e59569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff7e5e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust error: could not compile `bytes` (test "test_take") Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name test_take tests/test_take.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=a1cb49c372df3c85 -C extra-filename=-a1cb49c372df3c85 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff9a3de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9cec0800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff9994c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff9cdc3e08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff9ce0054e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9bd23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9bd23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9bd250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9bd23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff9cdfef36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff998fb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff9994dc78] note: we would appreciate a report at https://github.com/rust-lang/rust error: could not compile `bytes` (test "test_debug") Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name test_debug tests/test_debug.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=e400a52d279b43d6 -C extra-filename=-e400a52d279b43d6 --out-dir /builddir/build/BUILD/bytes-0.4.12/target/rpm/deps -L dependency=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps --extern byteorder=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbyteorder-d25a1b6340117bc4.rlib --extern bytes=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libbytes-fc31c02da5ab5cd7.rlib --extern iovec=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libiovec-00d0cd75ef779136.rlib --extern serde_test=/builddir/build/BUILD/bytes-0.4.12/target/rpm/deps/libserde_test-3e8797e3fc680546.rlib -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` (signal: 11, SIGSEGV: invalid memory reference) error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffffb15de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffb4126800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffb0b4c264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x64)[0xffffffb4066514] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffffb2f23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffffb2f23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffffb2f250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffffb2f23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffffb4064f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffffb0afb69c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffffb0b4dc78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `bytes` (test "test_buf_mut") generated 1 warning error: rustc interrupted by SIGSEGV, printing backtrace /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x9de4b2)[0xffffff995de4b2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffff9bfaf800] /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffff989e6264] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17h95e8e53aa0d0c145E+0x96)[0xffffff98b0ae08] /lib64/lp64d/libstd-befa7e56df894fae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h9735986bca56331dE+0x9e)[0xffffff98b4754e] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323870)[0xffffff9af23870] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323ab6)[0xffffff9af23ab6] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x23250ec)[0xffffff9af250ec] /lib64/lp64d/librustc_driver-c309084a720e38a9.so(+0x2323b76)[0xffffff9af23b76] /lib64/lp64d/libstd-befa7e56df894fae.so(rust_metadata_std_2a86bed24e1ebfc9+0xabf36)[0xffffff98b45f36] /lib64/lp64d/libc.so.6(+0x7469c)[0xffffff9899569c] /lib64/lp64d/libc.so.6(+0xc6c78)[0xffffff989e7c78] note: we would appreciate a report at https://github.com/rust-lang/rust warning: `bytes` (test "test_bytes") generated 2 warnings error: Bad exit status from /var/tmp/rpm-tmp.b4MWTm (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.b4MWTm (%check) 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-bytes0.4.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-bytes0.4.spec