>>> rust: Building community/rust 1.60.0-r3 (using abuild 3.9.0-r0) started Mon, 09 May 2022 16:14:10 +0000 >>> rust: Checking sanity of /home/buildozer/aports/community/rust/APKBUILD... >>> rust: Analyzing dependencies... >>> rust: Installing for build: build-base gcc musl-dev !libgit2-dev cargo-bootstrap=>1.59.0 coreutils curl-dev file libssh2-dev llvm13-dev llvm13-test-utils openssl1.1-compat-dev python3 rust-bootstrap=>1.59.0 tar wasi-libc zlib-dev WARNING: Ignoring /home/buildozer/packages//main: No such file or directory (1/28) Installing skalibs (2.11.2.0-r0) (2/28) Installing utmps-libs (0.1.2.0-r0) (3/28) Installing coreutils (9.1-r0) (4/28) Installing openssl-dev (1.1.1n-r0) (5/28) Installing nghttp2-dev (1.47.0-r0) (6/28) Installing zlib-dev (1.2.12-r1) (7/28) Installing brotli-dev (1.0.9-r6) (8/28) Installing curl-dev (7.83.0-r0) (9/28) Installing libssh2 (1.10.0-r2) (10/28) Installing libssh2-dev (1.10.0-r2) (11/28) Installing llvm13 (13.0.1-r2) (12/28) Installing libbz2 (1.0.8-r1) (13/28) Installing gdbm (1.23-r0) (14/28) Installing mpdecimal (2.5.1-r1) (15/28) Installing readline (8.1.2-r0) (16/28) Installing sqlite-libs (3.38.5-r0) (17/28) Installing python3 (3.10.4-r0) (18/28) Installing py3-appdirs (1.4.4-r3) (19/28) Installing py3-more-itertools (8.13.0-r0) (20/28) Installing py3-ordered-set (4.0.2-r3) (21/28) Installing py3-parsing (2.4.7-r3) (22/28) Installing py3-six (1.16.0-r1) (23/28) Installing py3-packaging (21.3-r0) (24/28) Installing py3-setuptools (59.4.0-r0) (25/28) Installing llvm13-test-utils (13.0.1-r2) (26/28) Installing llvm13-dev (13.0.1-r2) (27/28) Installing wasi-libc (0_git20220310-r0) (28/28) Installing .makedepends-rust (20220509.161415) Executing busybox-1.35.0-r12.trigger OK: 1208 MiB in 108 packages >>> rust: Cleaning up srcdir >>> rust: Cleaning up pkgdir >>> rust: Fetching https://static.rust-lang.org/dist/rustc-1.60.0-src.tar.xz >>> rust: Fetching https://static.rust-lang.org/dist/rustc-1.60.0-src.tar.xz >>> rust: Checking sha512sums... rustc-1.60.0-src.tar.xz: OK musl-fix-linux_musl_base.patch: OK need-rpath.patch: OK need-ssp_nonshared.patch: OK alpine-move-py-scripts-to-share.patch: OK alpine-target.patch: OK install-template-shebang.patch: OK check-rustc: OK link-musl-dynamically.patch: OK 0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch: OK 0007-do-not-install-libunwind-source.patch: OK riscv64-syscall-constants.patch: OK riscv64-pause.patch: OK riscv64-enotsup.patch: OK >>> rust: Unpacking /var/cache/distfiles/rustc-1.60.0-src.tar.xz... >>> rust: musl-fix-linux_musl_base.patch patching file compiler/rustc_target/src/spec/linux_musl_base.rs >>> rust: need-rpath.patch patching file compiler/rustc_target/src/spec/mod.rs Hunk #1 succeeded at 1259 (offset 880 lines). Hunk #2 succeeded at 1479 with fuzz 1 (offset 958 lines). Hunk #3 succeeded at 2080 (offset 1301 lines). Hunk #4 succeeded at 2322 (offset 1338 lines). patching file compiler/rustc_codegen_ssa/src/back/link.rs Hunk #1 succeeded at 1697 (offset 22 lines). >>> rust: need-ssp_nonshared.patch patching file library/std/src/sys/unix/mod.rs Hunk #1 succeeded at 264 with fuzz 2 (offset 21 lines). >>> rust: alpine-move-py-scripts-to-share.patch patching file src/etc/rust-gdb patching file src/etc/rust-lldb >>> rust: alpine-target.patch patching file compiler/rustc_target/src/spec/aarch64_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/armv6_alpine_linux_musleabihf.rs patching file compiler/rustc_target/src/spec/armv7_alpine_linux_musleabihf.rs patching file compiler/rustc_target/src/spec/i586_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/mod.rs Hunk #1 succeeded at 804 (offset 314 lines). patching file compiler/rustc_target/src/spec/powerpc64_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/powerpc64le_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/powerpc_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/s390x_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/x86_64_alpine_linux_musl.rs patching file compiler/rustc_target/src/spec/riscv64_alpine_linux_musl.rs >>> rust: install-template-shebang.patch patching file src/tools/rust-installer/install-template.sh >>> rust: link-musl-dynamically.patch patching file vendor/libc/src/unix/mod.rs >>> rust: 0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch patching file library/unwind/src/lib.rs >>> rust: 0007-do-not-install-libunwind-source.patch patching file src/bootstrap/dist.rs Hunk #1 succeeded at 826 (offset -190 lines). >>> rust: riscv64-syscall-constants.patch patching file vendor/libc-0.2.116/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs >>> rust: riscv64-pause.patch patching file library/stdarch/crates/core_arch/src/riscv_shared/mod.rs >>> rust: riscv64-enotsup.patch patching file vendor/libc/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs patching file vendor/libc-0.2.116/src/unix/linux_like/linux/musl/b64/riscv64/mod.rs Hunk #1 succeeded at 546 (offset 19 lines). configure: processing command line configure: configure: build.build := riscv64-alpine-linux-musl configure: build.host := ['riscv64-alpine-linux-musl'] configure: build.target := ['riscv64-alpine-linux-musl', 'wasm32-wasi', ' ... configure: install.prefix := /usr configure: rust.channel := stable configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: target.riscv64-alpine-linux-musl.llvm-config := /usr/lib/llvm13/bin/ll ... configure: build.docs := False configure: build.extended := True configure: build.tools := ['analysis', 'cargo', 'clippy', 'src', 'rustfm ... configure: llvm.link-shared := True configure: build.locked-deps := True configure: build.vendor := True configure: dist.compression-formats := ['gz'] configure: build.python := python3 configure: rust.musl-root := /usr configure: rust.codegen-units := 1 configure: rust.codegen-units-std := 1 configure: rust.parallel-compiler := False configure: target.riscv64-alpine-linux-musl.llvm-config := /usr/lib/llvm13/bin/ll ... configure: target.riscv64-alpine-linux-musl.musl-root := /usr configure: target.riscv64-alpine-linux-musl.crt-static := False configure: target.riscv64-alpine-linux-musl.cc := gcc configure: target.riscv64-alpine-linux-musl.cxx := c++ configure: target.riscv64-alpine-linux-musl.ar := ar configure: target.riscv64-alpine-linux-musl.linker := gcc configure: target.riscv64-alpine-linux-musl.musl-root := /usr configure: target.riscv64-alpine-linux-musl.crt-static := False configure: target.riscv64-alpine-linux-musl.cc := gcc configure: target.riscv64-alpine-linux-musl.cxx := c++ configure: target.riscv64-alpine-linux-musl.ar := ar configure: target.riscv64-alpine-linux-musl.linker := gcc configure: target.wasm32-unknown-unknown.sanitizers := False configure: target.wasm32-unknown-unknown.profiler := False configure: target.wasm32-unknown-unknown.linker := lld configure: target.wasm32-wasi.sanitizers := False configure: target.wasm32-wasi.profiler := False configure: target.wasm32-wasi.wasi-root := /usr/share/wasi-sysroot configure: build.configure-args := ['--build=riscv64-alpine-linux-musl', '--host= ... configure: configure: writing `config.toml` in current directory configure: configure: run `python /home/buildozer/aports/community/rust/src/rustc-1.60.0-src/x.py --help` configure: Building rustbuild Compiling proc-macro2 v1.0.30 Compiling memchr v2.4.1 Compiling unicode-xid v0.2.2 Compiling syn v1.0.80 Compiling cfg-if v1.0.0 Compiling lazy_static v1.4.0 Compiling serde_derive v1.0.125 Compiling regex-automata v0.1.10 Compiling log v0.4.14 Compiling serde v1.0.125 Compiling libc v0.2.116 Compiling ryu v1.0.5 Compiling crossbeam-utils v0.8.6 Compiling regex-syntax v0.6.25 Compiling fnv v1.0.7 Compiling same-file v1.0.6 Compiling once_cell v1.7.2 Compiling serde_json v1.0.59 Compiling itoa v0.4.6 Compiling unicode-width v0.1.8 Compiling bootstrap v0.0.0 (/home/buildozer/aports/community/rust/src/rustc-1.60.0-src/src/bootstrap) Compiling cc v1.0.69 Compiling build_helper v0.1.0 (/home/buildozer/aports/community/rust/src/rustc-1.60.0-src/src/build_helper) error: could not compile `ryu` Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name build_script_build --edition=2018 /home/buildozer/aports/community/rust/src/rustc-1.60.0-src/vendor/ryu-1.0.5/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=0 -C metadata=0008fc44e561b019 -C extra-filename=-0008fc44e561b019 --out-dir /home/buildozer/aports/community/rust/src/rustc-1.60.0-src/build/bootstrap/debug/build/ryu-0008fc44e561b019 -L dependency=/home/buildozer/aports/community/rust/src/rustc-1.60.0-src/build/bootstrap/debug/deps --cap-lints allow -C target-feature=-crt-static -C linker=gcc -Wrust_2018_idioms -Wunused_lifetimes -Wsemicolon_in_expressions_from_macros` (signal: 11, SIGSEGV: invalid memory reference) warning: build failed, waiting for other jobs to finish... thread 'rustc' panicked at 'index out of bounds: the len is 6 but the index is 2636', compiler/rustc_span/src/hygiene.rs:448:21 stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: rustc 1.60.0 running on riscv64-alpine-linux-musl note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=0 -C target-feature=-crt-static -C linker=gcc note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack thread 'rustc' panicked at 'index out of bounds: the len is 155 but the index is 257', compiler/rustc_span/src/hygiene.rs:448:21 stack backtrace: thread 'rustc' panicked at 'index out of bounds: the len is 171 but the index is 10920', compiler/rustc_span/src/hygiene.rs:448:21 stack backtrace: note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: rustc 1.60.0 running on riscv64-alpine-linux-musl note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=0 -C target-feature=-crt-static -C linker=gcc note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: rustc 1.60.0 running on riscv64-alpine-linux-musl note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=0 -C target-feature=-crt-static -C linker=gcc note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack error: build failed failed to run: /usr/bin/cargo build --manifest-path /home/buildozer/aports/community/rust/src/rustc-1.60.0-src/src/bootstrap/Cargo.toml --locked --frozen Build completed unsuccessfully in 0:00:17 >>> ERROR: rust: build failed >>> rust: Uninstalling dependencies... (1/28) Purging .makedepends-rust (20220509.161415) (2/28) Purging coreutils (9.1-r0) Executing coreutils-9.1-r0.post-deinstall (3/28) Purging curl-dev (7.83.0-r0) (4/28) Purging nghttp2-dev (1.47.0-r0) (5/28) Purging brotli-dev (1.0.9-r6) (6/28) Purging libssh2-dev (1.10.0-r2) (7/28) Purging libssh2 (1.10.0-r2) (8/28) Purging llvm13-dev (13.0.1-r2) (9/28) Purging llvm13 (13.0.1-r2) (10/28) Purging llvm13-test-utils (13.0.1-r2) (11/28) Purging py3-setuptools (59.4.0-r0) (12/28) Purging py3-appdirs (1.4.4-r3) (13/28) Purging py3-more-itertools (8.13.0-r0) (14/28) Purging py3-ordered-set (4.0.2-r3) (15/28) Purging py3-packaging (21.3-r0) (16/28) Purging py3-six (1.16.0-r1) (17/28) Purging py3-parsing (2.4.7-r3) (18/28) Purging python3 (3.10.4-r0) (19/28) Purging wasi-libc (0_git20220310-r0) (20/28) Purging zlib-dev (1.2.12-r1) (21/28) Purging utmps-libs (0.1.2.0-r0) (22/28) Purging skalibs (2.11.2.0-r0) (23/28) Purging openssl-dev (1.1.1n-r0) (24/28) Purging libbz2 (1.0.8-r1) (25/28) Purging gdbm (1.23-r0) (26/28) Purging mpdecimal (2.5.1-r1) (27/28) Purging readline (8.1.2-r0) (28/28) Purging sqlite-libs (3.38.5-r0) Executing busybox-1.35.0-r12.trigger OK: 1087 MiB in 80 packages