==>(B Building on glalie(B ==>(B Checking for remote environment...(B ==>(B Syncing package to remote host...(B sending incremental file list created directory packages/crystal ./ .SRCINFO 915 100% 0.00kB/s 0:00:00 915 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=7/9) .nvchecker.toml 90 100% 87.89kB/s 0:00:00 90 100% 87.89kB/s 0:00:00 (xfr#2, to-chk=6/9) LICENSE 646 100% 630.86kB/s 0:00:00 646 100% 630.86kB/s 0:00:00 (xfr#3, to-chk=5/9) PKGBUILD 2,719 100% 2.59MB/s 0:00:00 2,719 100% 2.59MB/s 0:00:00 (xfr#4, to-chk=4/9) REUSE.toml 375 100% 366.21kB/s 0:00:00 375 100% 366.21kB/s 0:00:00 (xfr#5, to-chk=3/9) crystal-1.21.0-1.1.log 740 100% 722.66kB/s 0:00:00 740 100% 722.66kB/s 0:00:00 (xfr#6, to-chk=2/9) LICENSES/ LICENSES/0BSD.txt -> ../LICENSE sent 3,108 bytes received 183 bytes 731.33 bytes/sec total size is 4,960 speedup is 1.51 ==>(B Applying RISC-V patches...(B sending incremental file list ./ crystal-riscv64.patch 32,768 32% 0.00kB/s 0:00:00 101,741 100% 32.89MB/s 0:00:00 (xfr#1, to-chk=1/3) riscv64.patch 1,521 100% 742.68kB/s 0:00:00 1,521 100% 742.68kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 22,867 bytes received 57 bytes 3,526.77 bytes/sec total size is 103,262 speedup is 4.50 patching file PKGBUILD ==>(B Patching arch to riscv64...(B ==>(B Running pkgctl build --arch riscv64 --worker keep-crystal-110fb161-0a98-4064-a5ed-4becc26a1dcd on remote host...(B ==> WARNING:(B invalid architecture: riscv64(B ==>(B Updating pacman database cache(B [?25l:: Synchronizing package databases... core downloading... extra downloading... multilib downloading... [?25h==>(B Building crystal(B  ->(B repo: extra(B  ->(B arch: riscv64(B  ->(B worker: felix-keep-crystal-110fb161-0a98-4064-a5ed-4becc26a1dcd(B ==>(B Building crystal for [extra] (riscv64)(B ]3008;start=6883d1430dd44d3681f51ed8258f7920;user=felix;hostname=glalie.felixc.at;machineid=72144a64db6f4720ade5ccd1e3c98c82;bootid=4bd67871178943698657351b4dd07c3b;pid=1738844;comm=sudo;targetuser=root;type=session\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=871db8fb74344e7d9884aa13ee43f311;user=root;hostname=glalie.felixc.at;machineid=72144a64db6f4720ade5ccd1e3c98c82;bootid=4bd67871178943698657351b4dd07c3b;pid=1739010;comm=systemd-nspawn;container=arch-nspawn-1739010;type=container\]11;?\]2;🔵 Container arch-nspawn-1739010 on glalie.felixc.at\[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h[!p]104\[?7h]3008;end=871db8fb74344e7d9884aa13ee43f311\==>(B Building in chroot for [extra] (riscv64)...(B ==>(B Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix-keep-crystal-110fb161-0a98-4064-a5ed-4becc26a1dcd]...(Bdone(B ]3008;start=2ed48e1c7af34afb8701499d95e8c129;user=root;hostname=glalie.felixc.at;machineid=72144a64db6f4720ade5ccd1e3c98c82;bootid=4bd67871178943698657351b4dd07c3b;pid=1747515;comm=sudo;targetuser=felix;type=session\==>(B Making package: crystal 1.21.0-1.1 (Fri Sep 18 12:28:21 2026)(B ==>(B Retrieving sources...(B  ->(B Downloading crystal-1.21.0.tar.gz...(B % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 00:01 0 0 0 0 0 0 0 0 0 00:02 0 0 0 0 0 0 0 0 0 00:02 0 0 0 0 0 0 0 0 0 00:03 0 100 32151 0 32151 0 0 6474 0 00:04 27054 100 69637 0 69637 0 0 11393 0 00:06 29828 100 185.3k 0 185.3k 0 0 26249 0 00:07 54967 100 430.7k 0 430.7k 0 0 52613 0 00:08 95774 100 765.3k 0 765.3k 0 0 81250 0 00:09 130.4k 100 954.6k 0 954.6k 0 0 90520 0 00:10 158.2k 100 1.29M 0 1.29M 0 0 111.1k 0 00:11 216.6k 100 2.24M 0 2.24M 0 0 173.5k 0 00:13 351.6k 100 2.72M 0 2.72M 0 0 194.3k 0 00:14 394.2k 100 3.28M 0 3.28M 0 0 218.3k 0 00:15 451.2k 100 4.02M 0 4.02M 0 0 249.9k 0 00:16 557.2k 100 4.03M 0 4.03M 0 0 249.8k 0 00:16 557.2k 100 4.03M 0 4.03M 0 0 249.7k 0 00:16 557.2k 100 4.03M 0 4.03M 0 0 249.7k 0 00:16 557.2k  ->(B Found crystal-riscv64.patch(B  ->(B Downloading crystal-thread-wait.patch...(B % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 16179 100 16179 0 0 8305 0 00:01 00:01 14978 100 16179 100 16179 0 0 8302 0 00:01 00:01 14978 100 16179 100 16179 0 0 8301 0 00:01 00:01 14978 100 16179 100 16179 0 0 8299 0 00:01 00:01 14978  ->(B Downloading crystal-once-bare-threads.patch...(B % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 100 3386 100 3386 0 0 1921 0 00:01 00:01 0 100 3386 100 3386 0 0 1919 0 00:01 00:01 0 100 3386 100 3386 0 0 1916 0 00:01 00:01 0  ->(B Downloading crystal-thread-wait-eintr.patch...(B % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 00:01 0 100 1073 100 1073 0 0 514 0 00:02 00:02 0 100 1073 100 1073 0 0 513 0 00:02 00:02 0 100 1073 100 1073 0 0 513 0 00:02 00:02 0 ==>(B Validating source files with sha256sums...(B crystal-1.21.0.tar.gz ... Passed ==>(B Validating source_riscv64 files with sha256sums...(B crystal-riscv64.patch ... Passed crystal-thread-wait.patch ... Passed crystal-once-bare-threads.patch ... Passed crystal-thread-wait-eintr.patch ... Passed ]3008;end=2ed48e1c7af34afb8701499d95e8c129\Note: in a future version of systemd-nspawn the default set of permitted socket address families will be restricted to AF_INET, AF_INET6 and AF_UNIX. Use --restrict-address-families= to configure the set of permitted socket address families, or set RestrictAddressFamilies= in a .nspawn file. ]3008;start=235aa7c6a31a441f9b6ce3448f22ef97;user=root;hostname=glalie.felixc.at;machineid=72144a64db6f4720ade5ccd1e3c98c82;bootid=4bd67871178943698657351b4dd07c3b;pid=1751998;comm=systemd-nspawn;container=makechrootpkg-crystal.build.1738919;type=container\]11;?\]2;🔵 Container makechrootpkg-crystal.build.1738919 on glalie.felixc.at\]3008;start=f39523a28ecd4f36a1d536b18b51a26e;user=root;hostname=makechrootpkg-crystal.build.1738919;machineid=bc09cb1bbe5d452fb1c6fa9ee790c373;bootid=19c6589804a74a9292557dc48235d1cc;pid=14;comm=sudo;targetuser=builduser;type=session\==>(B Making package: crystal 1.21.0-1.1 (Fri Sep 18 04:29:50 2026)(B ==>(B Checking runtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=930aea47b3eb4120a7494196262e35cc;user=builduser;hostname=makechrootpkg-crystal.build.1738919;machineid=bc09cb1bbe5d452fb1c6fa9ee790c373;bootid=19c6589804a74a9292557dc48235d1cc;pid=2778;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libedit 20260512_3.1-1 0.26 MiB extra/llvm-libs 22.1.8-2 154.50 MiB Total Installed Size: 154.76 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h]3008;end=930aea47b3eb4120a7494196262e35cc\==>(B Checking buildtime dependencies...(B ==>(B Installing missing dependencies...(B ]3008;start=81126cc6ddcd4a4c85a593cdce64123e;user=builduser;hostname=makechrootpkg-crystal.build.1738919;machineid=bc09cb1bbe5d452fb1c6fa9ee790c373;bootid=19c6589804a74a9292557dc48235d1cc;pid=2820;comm=sudo;targetuser=root;type=session\[?25lresolving dependencies... looking for conflicting packages... Package (12) New Version Net Change Download Size extra/perl-error 0.17030-3 0.04 MiB extra/perl-mailtools 2.22-3 0.10 MiB extra/perl-timedate 2.35-1 0.15 MiB extra/ruby 3.4.10-1.1 14.70 MiB extra/rubygems 3.6.9-1 2.73 MiB extra/zlib-ng 2.3.3-1 0.23 MiB extra/asciidoctor 2.0.26-1.1 1.88 MiB 0.37 MiB extra/crystal 1.21.0-1 22.85 MiB 5.32 MiB extra/git 2.55.0-1 29.92 MiB core/inetutils 2.8-1 0.95 MiB 0.32 MiB extra/libyaml 0.2.5-3 0.16 MiB extra/llvm 22.1.8-2 170.16 MiB Total Download Size: 6.01 MiB Total Installed Size: 243.87 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... crystal-1.21.0-1-riscv64 downloading... asciidoctor-2.0.26-1.1-any downloading... inetutils-2.8-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm... installing libyaml... installing rubygems... installing ruby... Optional dependencies for ruby tk: for Ruby/TK ruby-docs: Documentation for Ruby ruby-default-gems: Default gems which are part of Ruby StdLib ruby-bundled-gems: Bundled gems which are part of Ruby StdLib ruby-stdlib: Full Ruby StdLib including default gems, bundled gems and tools installing asciidoctor... installing crystal... Optional dependencies for crystal shards: crystal language package manager libyaml: For YAML support [installed] gmp: For BigInt support [installed] libxml2: For XML support [installed] installing inetutils... installing perl-error... installing perl-timedate... installing perl-mailtools... installing zlib-ng... installing git... Optional dependencies for git git-zsh-completion: upstream zsh completion tk: gitk and git gui openssh: ssh transport and crypto man: show help with `git command --help` 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-cgi: gitweb (web interface) support python: git svn & git p4 [installed] subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] less: the default pager for git :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'git' with GID 968. Creating user 'git' (git daemon user) with UID 968 and GID 968. Creating group '_talkd' with GID 967. Creating user '_talkd' (User for legacy talkd server) with UID 967 and GID 967. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Arming ConditionNeedsUpdate... (4/5) Checking for old perl modules... (5/5) Updating the info directory file... [?25h]3008;end=81126cc6ddcd4a4c85a593cdce64123e\==>(B Retrieving sources...(B  ->(B Found crystal-1.21.0.tar.gz(B  ->(B Found crystal-riscv64.patch(B  ->(B Found crystal-thread-wait.patch(B  ->(B Found crystal-once-bare-threads.patch(B  ->(B Found crystal-thread-wait-eintr.patch(B ==> WARNING:(B Skipping all source file integrity checks.(B ==>(B Extracting sources...(B  ->(B Extracting crystal-1.21.0.tar.gz with bsdtar(B ==>(B Starting prepare()...(B patching file spec/compiler/codegen/abi/riscv64_spec.cr patching file src/compiler/crystal/codegen/abi/riscv64.cr patching file src/compiler/crystal/codegen/abi.cr patching file src/compiler/crystal/codegen/call.cr patching file src/compiler/crystal/codegen/crystal_llvm_builder.cr patching file src/compiler/crystal/codegen/fun.cr patching file src/compiler/crystal/codegen/llvm_builder_helper.cr patching file src/compiler/crystal/codegen/target.cr patching file src/compiler/crystal/ffi/lib_ffi.cr patching file src/exception/lib_unwind.cr patching file src/fiber/context/riscv64.cr patching file src/lib_c/riscv64-linux-gnu/c/arpa/inet.cr patching file src/lib_c/riscv64-linux-gnu/c/dirent.cr patching file src/lib_c/riscv64-linux-gnu/c/dlfcn.cr patching file src/lib_c/riscv64-linux-gnu/c/elf.cr patching file src/lib_c/riscv64-linux-gnu/c/errno.cr patching file src/lib_c/riscv64-linux-gnu/c/fcntl.cr patching file src/lib_c/riscv64-linux-gnu/c/grp.cr patching file src/lib_c/riscv64-linux-gnu/c/iconv.cr patching file src/lib_c/riscv64-linux-gnu/c/limits.cr patching file src/lib_c/riscv64-linux-gnu/c/link.cr patching file src/lib_c/riscv64-linux-gnu/c/net/if.cr patching file src/lib_c/riscv64-linux-gnu/c/netdb.cr patching file src/lib_c/riscv64-linux-gnu/c/netinet/in.cr patching file src/lib_c/riscv64-linux-gnu/c/netinet/tcp.cr patching file src/lib_c/riscv64-linux-gnu/c/poll.cr patching file src/lib_c/riscv64-linux-gnu/c/pthread.cr patching file src/lib_c/riscv64-linux-gnu/c/pwd.cr patching file src/lib_c/riscv64-linux-gnu/c/sched.cr patching file src/lib_c/riscv64-linux-gnu/c/signal.cr patching file src/lib_c/riscv64-linux-gnu/c/stdarg.cr patching file src/lib_c/riscv64-linux-gnu/c/stddef.cr patching file src/lib_c/riscv64-linux-gnu/c/stdint.cr patching file src/lib_c/riscv64-linux-gnu/c/stdio.cr patching file src/lib_c/riscv64-linux-gnu/c/stdlib.cr patching file src/lib_c/riscv64-linux-gnu/c/string.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/epoll.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/eventfd.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/file.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/mman.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/random.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/resource.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/select.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/sendfile.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/socket.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/stat.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/time.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/timerfd.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/types.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/uio.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/un.cr patching file src/lib_c/riscv64-linux-gnu/c/sys/wait.cr patching file src/lib_c/riscv64-linux-gnu/c/termios.cr patching file src/lib_c/riscv64-linux-gnu/c/time.cr patching file src/lib_c/riscv64-linux-gnu/c/unistd.cr patching file src/llvm/builder.cr patching file src/llvm/lib_llvm/core.cr patching file src/llvm/lib_llvm.cr patching file src/llvm/target_machine.cr patching file src/llvm.cr patching file src/syscall/riscv64-linux.cr patching file src/yaml/lib_yaml.cr patching file src/crystal/system/thread.cr patching file src/crystal/system/unix/pthread.cr Hunk #2 succeeded at 127 (offset -12 lines). Hunk #3 succeeded at 272 (offset -12 lines). patching file src/crystal/system/wasi/thread.cr patching file src/crystal/system/win32/thread.cr Hunk #2 succeeded at 116 (offset -3 lines). Hunk #3 succeeded at 168 (offset -3 lines). patching file src/lib_c/aarch64-darwin/c/pthread.cr patching file src/lib_c/aarch64-darwin/c/semaphore.cr patching file src/lib_c/aarch64-linux-android/c/semaphore.cr patching file src/lib_c/aarch64-linux-gnu/c/semaphore.cr patching file src/lib_c/aarch64-linux-musl/c/semaphore.cr patching file src/lib_c/arm-linux-gnueabihf/c/semaphore.cr patching file src/lib_c/i386-linux-gnu/c/semaphore.cr patching file src/lib_c/i386-linux-musl/c/semaphore.cr patching file src/lib_c/x86_64-darwin/c/pthread.cr patching file src/lib_c/x86_64-darwin/c/semaphore.cr patching file src/lib_c/x86_64-dragonfly/c/semaphore.cr patching file src/lib_c/x86_64-freebsd/c/semaphore.cr patching file src/lib_c/x86_64-linux-gnu/c/semaphore.cr patching file src/lib_c/x86_64-linux-musl/c/semaphore.cr patching file src/lib_c/x86_64-netbsd/c/semaphore.cr patching file src/lib_c/x86_64-openbsd/c/semaphore.cr patching file src/lib_c/x86_64-solaris/c/semaphore.cr patching file src/lib_c/x86_64-windows-msvc/c/synchapi.cr patching file src/crystal/once.cr patching file src/crystal/system/unix/pthread.cr Hunk #1 succeeded at 291 (offset -12 lines). ==>(B Starting build()...(B Unhandled exception: Arithmetic overflow (OverflowError) from crystal in '??' from crystal in '??' from crystal in '??' from crystal in '??' from crystal in '??' from crystal in 'main' from /usr/lib/libc.so.6 in '??' from /usr/lib/libc.so.6 in '__libc_start_main' from crystal in '_start' from ??? Using /usr/bin/llvm-config [version=22.1.8] CRYSTAL_CONFIG_BUILD_COMMIT="" CRYSTAL_CONFIG_PATH=lib:/usr/lib/crystal SOURCE_DATE_EPOCH="1789705545" CRYSTAL_CONFIG_LIBRARY_PATH='$ORIGIN/../lib/crystal' ./bin/crystal build --release --no-debug -D strict_multi_assign -D preview_overload_order --release --progress --link-flags="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -flto=auto" -Dwithout_libxml2 -Dwithout_openssl -Dwithout_zlib -Dwithout_mt -o .build/crystal src/compiler/crystal.cr Unhandled exception: Arithmetic overflow (OverflowError) from crystal in '??' from crystal in '??' from crystal in '??' from crystal in '??' from crystal in '??' from crystal in 'main' from /usr/lib/libc.so.6 in '??' from /usr/lib/libc.so.6 in '__libc_start_main' from crystal in '_start' from ??? make: *** [Makefile:304: .build/crystal] Error 1 ==> ERROR:(B A failure occurred in build().(B  Aborting...(B ]3008;end=f39523a28ecd4f36a1d536b18b51a26e\[!p]104\[?7h]3008;end=235aa7c6a31a441f9b6ce3448f22ef97\==> ERROR:(B Build failed, check /var/lib/archbuild/extra-riscv64/felix-keep-crystal-110fb161-0a98-4064-a5ed-4becc26a1dcd/build(B [?12l[?25h[?12l[?25h]3008;end=6883d1430dd44d3681f51ed8258f7920\[?12l[?25hreceiving incremental file list crystal-1.21.0-1.1-riscv64-build.log crystal-1.21.0-1.1-riscv64-prepare.log sent 62 bytes received 1,395 bytes 416.29 bytes/sec total size is 6,049 speedup is 4.15