==> Building on reshiram ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/tree-sitter ./ PKGBUILD 1,023 100% 0.00kB/s 0:00:00 1,023 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) tree-sitter-0.20.8-2.log 246 100% 240.23kB/s 0:00:00 246 100% 240.23kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 964 bytes received 100 bytes 2,128.00 bytes/sec total size is 1,218 speedup is 1.14 ==> Applying RISC-V patches... sending incremental file list ./ riscv64.patch 243 100% 0.00kB/s 0:00:00 243 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 302 bytes received 38 bytes 680.00 bytes/sec total size is 243 speedup is 0.71 patching file PKGBUILD Hunk #1 succeeded at 18 (offset 1 line). ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root2 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root2]...done ==> Making package: tree-sitter 0.20.8-2 (Sun Apr 9 18:11:56 2023) ==> Retrieving sources...  -> Downloading tree-sitter-0.20.8.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 2872k 0 16384 0 0 10618 0 0:04:37 0:00:01 0:04:36 10618 6 2872k 6 188k 0 0 77102 0 0:00:38 0:00:02 0:00:36 179k 13 2872k 13 385k 0 0 108k 0 0:00:26 0:00:03 0:00:23 182k 22 2872k 22 657k 0 0 143k 0 0:00:19 0:00:04 0:00:15 211k 31 2872k 31 909k 0 0 158k 0 0:00:18 0:00:05 0:00:13 213k 42 2872k 42 1219k 0 0 186k 0 0:00:15 0:00:06 0:00:09 240k 56 2872k 56 1623k 0 0 211k 0 0:00:13 0:00:07 0:00:06 278k 72 2872k 72 2070k 0 0 242k 0 0:00:11 0:00:08 0:00:03 338k 91 2872k 91 2618k 0 0 272k 0 0:00:10 0:00:09 0:00:01 389k 100 2872k 100 2872k 0 0 289k 0 0:00:09 0:00:09 --:--:-- 468k ==> Validating source files with sha512sums... tree-sitter-0.20.8.tar.gz ... Passed ==> Making package: tree-sitter 0.20.8-2 (Sun Apr 9 18:12:51 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change core/libedit 20221030_3.1-1 0.24 MiB extra/llvm-libs 15.0.7-2 99.58 MiB extra/perl-error 0.17029-4 0.04 MiB extra/perl-mailtools 2.21-6 0.11 MiB extra/perl-timedate 2.33-4 0.08 MiB extra/git 2.40.0-1 33.06 MiB extra/rust 1:1.68.2-1 526.19 MiB Total Installed Size: 659.30 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script :: Running post-transaction hooks... (1/1) Warn about old perl modules [?25h==> Retrieving sources...  -> Found tree-sitter-0.20.8.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting tree-sitter-0.20.8.tar.gz with bsdtar ==> Starting prepare()... Updating crates.io index Downloading crates ... Downloaded rand v0.8.5 Downloaded rand_core v0.6.4 Downloaded dirs v4.0.0 Downloaded autocfg v1.1.0 Downloaded hermit-abi v0.3.1 Downloaded ascii v1.1.0 Downloaded wasm-bindgen-macro-support v0.2.84 Downloaded cc v1.0.79 Downloaded syn v2.0.13 Downloaded redox_syscall v0.3.5 Downloaded errno-dragonfly v0.1.2 Downloaded rustix v0.37.7 Downloaded output_vt100 v0.1.3 Downloaded pretty_assertions v0.7.2 Downloaded semver v1.0.17 Downloaded instant v0.1.12 Downloaded html-escape v0.2.13 Downloaded ctor v0.1.26 Downloaded httpdate v1.0.2 Downloaded diff v0.1.13 Downloaded ansi_term v0.12.1 Downloaded core-foundation-sys v0.8.4 Downloaded tiny_http v0.12.0 Downloaded clap v2.34.0 Downloaded rustc-hash v1.1.0 Downloaded winapi-util v0.1.5 Downloaded raw-window-handle v0.5.2 Downloaded fastrand v1.9.0 Downloaded errno v0.3.0 Downloaded cfg-if v1.0.0 Downloaded vec_map v0.8.2 Downloaded unindent v0.2.1 Downloaded dirs v3.0.2 Downloaded libloading v0.7.4 Downloaded wasm-bindgen v0.2.84 Downloaded ndk-context v0.1.1 Downloaded objc v0.2.7 Downloaded smallbitvec v2.5.1 Downloaded log v0.4.17 Downloaded io-lifetimes v1.0.9 Downloaded unicode-width v0.1.10 Downloaded rand_chacha v0.3.1 Downloaded wasi v0.11.0+wasi-snapshot-preview1 Downloaded toml v0.5.11 Downloaded walkdir v2.3.3 Downloaded jni v0.21.1 Downloaded itoa v1.0.6 Downloaded lazy_static v1.4.0 Downloaded getrandom v0.2.8 Downloaded quote v1.0.26 Downloaded unicode-ident v1.0.8 Downloaded syn v1.0.109 Downloaded atty v0.2.14 Downloaded same-file v1.0.6 Downloaded hermit-abi v0.1.19 Downloaded strsim v0.8.0 Downloaded utf8-width v0.1.6 Downloaded windows-targets v0.42.2 Downloaded dirs-sys v0.3.7 Downloaded cesu8 v1.1.0 Downloaded malloc_buf v0.0.6 Downloaded wasm-bindgen-macro v0.2.84 Downloaded webbrowser v0.8.8 Downloaded bumpalo v3.12.0 Downloaded ppv-lite86 v0.2.17 Downloaded thiserror v1.0.40 Downloaded serde v1.0.159 Downloaded regex v1.7.3 Downloaded indexmap v1.9.3 Downloaded once_cell v1.17.1 Downloaded serde_json v1.0.95 Downloaded thiserror-impl v1.0.40 Downloaded aho-corasick v0.7.20 Downloaded hashbrown v0.12.3 Downloaded textwrap v0.11.0 Downloaded bitflags v1.3.2 Downloaded anyhow v1.0.70 Downloaded proc-macro2 v1.0.56 Downloaded serde_derive v1.0.159 Downloaded url v2.3.1 Downloaded either v1.8.1 Downloaded difference v2.0.0 Downloaded ryu v1.0.13 Downloaded combine v4.6.6 Downloaded redox_users v0.4.3 Downloaded memchr v2.5.0 Downloaded glob v0.3.1 Downloaded tempfile v3.5.0 Downloaded form_urlencoded v1.1.0 Downloaded tinyvec_macros v0.1.1 Downloaded percent-encoding v2.2.0 Downloaded wasm-bindgen-shared v0.2.84 Downloaded which v4.4.0 Downloaded js-sys v0.3.61 Downloaded wasm-bindgen-backend v0.2.84 Downloaded idna v0.3.0 Downloaded core-foundation v0.9.3 Downloaded unicode-bidi v0.3.13 Downloaded redox_syscall v0.2.16 Downloaded tinyvec v1.6.0 Downloaded unicode-normalization v0.1.22 Downloaded bytes v1.4.0 Downloaded jni-sys v0.3.0 Downloaded chunked_transfer v1.4.1 Downloaded web-sys v0.3.61 Downloaded regex-syntax v0.6.29 Downloaded windows_aarch64_gnullvm v0.42.2 Downloaded windows_aarch64_msvc v0.42.2 Downloaded windows_i686_gnu v0.42.2 Downloaded windows_i686_msvc v0.42.2 Downloaded windows_x86_64_msvc v0.42.2 Downloaded linux-raw-sys v0.3.1 Downloaded libc v0.2.141 Downloaded winapi v0.3.9 Downloaded windows_x86_64_gnu v0.42.2 Downloaded windows_x86_64_gnullvm v0.42.2 Downloaded windows-sys v0.45.0 Downloaded winapi-i686-pc-windows-gnu v0.4.0 Downloaded winapi-x86_64-pc-windows-gnu v0.4.0 ==> Starting build()... cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/alloc.o lib/src/alloc.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/get_changed_ranges.o lib/src/get_changed_ranges.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/language.o lib/src/language.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/lexer.o lib/src/lexer.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/node.o lib/src/node.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/parser.o lib/src/parser.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/query.o lib/src/query.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/stack.o lib/src/stack.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/subtree.o lib/src/subtree.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/tree.o lib/src/tree.c cc -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/tree-sitter/src=/usr/src/debug/tree-sitter -std=gnu99 -fPIC -Ilib/src -Ilib/include -c -o lib/src/tree_cursor.o lib/src/tree_cursor.c ar rcs libtree-sitter.a lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -shared -Wl,-soname,libtree-sitter.so.0 lib/src/alloc.o lib/src/get_changed_ranges.o lib/src/language.o lib/src/lexer.o lib/src/node.o lib/src/parser.o lib/src/query.o lib/src/stack.o lib/src/subtree.o lib/src/tree.o lib/src/tree_cursor.o -o libtree-sitter.so.0.0 ln -sf libtree-sitter.so.0.0 libtree-sitter.so ln -sf libtree-sitter.so.0.0 libtree-sitter.so.0 Compiling proc-macro2 v1.0.56 Compiling quote v1.0.26 Compiling unicode-ident v1.0.8 Compiling libc v0.2.141 Compiling memchr v2.5.0 Compiling autocfg v1.1.0 Compiling syn v2.0.13 Compiling cc v1.0.79 Compiling serde_derive v1.0.159 Compiling dirs-sys v0.3.7 Compiling indexmap v1.9.3 Compiling aho-corasick v0.7.20 Compiling thiserror v1.0.40 Compiling serde v1.0.159 Compiling tree-sitter v0.20.10 (/build/tree-sitter/src/tree-sitter-0.20.8/lib) Compiling tinyvec_macros v0.1.1 Compiling cfg-if v1.0.0 Compiling regex-syntax v0.6.29 Compiling tinyvec v1.6.0 Compiling log v0.4.17 Compiling anyhow v1.0.70 Compiling regex v1.7.3 Compiling thiserror-impl v1.0.40 Compiling hashbrown v0.12.3 Compiling serde_json v1.0.95 Compiling unicode-normalization v0.1.22 Compiling percent-encoding v2.2.0 Compiling itoa v1.0.6 Compiling ryu v1.0.13 Compiling unicode-bidi v0.3.13 Compiling idna v0.3.0 Compiling toml v0.5.11 Compiling form_urlencoded v1.1.0 Compiling dirs v3.0.2 Compiling semver v1.0.17 Compiling unicode-width v0.1.10 Compiling tree-sitter-loader v0.20.0 (/build/tree-sitter/src/tree-sitter-0.20.8/cli/loader) Compiling textwrap v0.11.0 Compiling tree-sitter-cli v0.20.8 (/build/tree-sitter/src/tree-sitter-0.20.8/cli) Compiling url v2.3.1 Compiling libloading v0.7.4 Compiling dirs v4.0.0 Compiling atty v0.2.14 Compiling strsim v0.8.0 Compiling tree-sitter-highlight v0.20.1 (/build/tree-sitter/src/tree-sitter-0.20.8/highlight) Compiling tree-sitter-tags v0.20.2 (/build/tree-sitter/src/tree-sitter-0.20.8/tags) Compiling either v1.8.1 Compiling utf8-width v0.1.6 Compiling vec_map v0.8.2 Compiling ansi_term v0.12.1 Compiling same-file v1.0.6 Compiling chunked_transfer v1.4.1 Compiling once_cell v1.17.1 Compiling bitflags v1.3.2 Compiling ascii v1.1.0 Compiling httpdate v1.0.2 Compiling tiny_http v0.12.0 Compiling clap v2.34.0 Compiling walkdir v2.3.3 Compiling html-escape v0.2.13 Compiling which v4.4.0 Compiling webbrowser v0.8.8 Compiling tree-sitter-config v0.19.0 (/build/tree-sitter/src/tree-sitter-0.20.8/cli/config) Compiling rustc-hash v1.1.0 Compiling smallbitvec v2.5.1 Compiling difference v2.0.0 Compiling glob v0.3.1 Compiling lazy_static v1.4.0 /usr/lib/librustc_driver-6bfd1beb81f7fa6f.so(+0x7acaa2)[0x3fb51acaa2] linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0x3fb89f1800] /usr/lib/libLLVM-15.so(+0x1261948)[0x3faf661948] error: could not compile `tree-sitter-cli` Caused by: process didn't exit successfully: `rustc --crate-name tree_sitter_cli --edition=2021 cli/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 metadata=50fc02e308c93cae -C extra-filename=-50fc02e308c93cae --out-dir /build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps -C strip=symbols -L dependency=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps --extern ansi_term=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libansi_term-107f107e49205e40.rmeta --extern anyhow=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libanyhow-4627e07abb88284a.rmeta --extern atty=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libatty-3e469721c5781b02.rmeta --extern clap=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libclap-4e0d9d826559ca79.rmeta --extern difference=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libdifference-912c60efbf384935.rmeta --extern dirs=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libdirs-366416a44bc46c26.rmeta --extern glob=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libglob-ceafb0734c2b47e1.rmeta --extern html_escape=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libhtml_escape-c30c83b40e7f95e1.rmeta --extern indexmap=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libindexmap-9230fb1dff90669e.rmeta --extern lazy_static=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/liblazy_static-759c6428e785f755.rmeta --extern log=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/liblog-af72897c351f8b6b.rmeta --extern regex=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libregex-e54a1b5dad00b91a.rmeta --extern regex_syntax=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libregex_syntax-5ed8c28699255932.rmeta --extern rustc_hash=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/librustc_hash-0cc60760cf3cd3cf.rmeta --extern semver=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libsemver-d0b200fdacafe348.rmeta --extern serde=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libserde-0413fc9b62c4bfee.rmeta --extern serde_json=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libserde_json-d55df98826a60d69.rmeta --extern smallbitvec=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libsmallbitvec-333b39c935aee7f3.rmeta --extern tiny_http=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libtiny_http-1fff379d95011418.rmeta --extern tree_sitter=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libtree_sitter-812f87221cbd2387.rmeta --extern tree_sitter_config=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libtree_sitter_config-0badb46e3737b883.rmeta --extern tree_sitter_highlight=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libtree_sitter_highlight-2a9b5cfb4c449bec.rlib --extern tree_sitter_loader=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libtree_sitter_loader-0f5baf3a456056d6.rmeta --extern tree_sitter_tags=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libtree_sitter_tags-155303394f1d5a74.rlib --extern walkdir=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libwalkdir-6493fda68a6c5fb6.rmeta --extern webbrowser=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libwebbrowser-f46ecb6a2119f11c.rmeta --extern which=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/deps/libwhich-c595af3d228462db.rmeta -C debuginfo=2 --remap-path-prefix=/build/tree-sitter/src=/usr/src/debug/tree-sitter -L native=/build/tree-sitter/src/tree-sitter-0.20.8/target/release/build/tree-sitter-601ac71c458b9532/out` (signal: 11, SIGSEGV: invalid memory reference) ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root2/build receiving incremental file list tree-sitter-0.20.8-2-riscv64-build.log tree-sitter-0.20.8-2-riscv64-prepare.log sent 62 bytes received 3,608 bytes 2,446.67 bytes/sec total size is 14,517 speedup is 3.96