:: Synchronizing package databases... build-support-manual downloading... build-support downloading... core-staging downloading... extra-staging downloading... core-testing downloading... core downloading... extra-testing downloading... extra downloading... :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra-staging-with-build-support] (i486)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-staging-with-build-support-i486/root] -> [build]...done ==> Making package: soju 0.8.2-2.0 (Fri Sep 27 07:49:13 2024) ==> Retrieving sources... -> Updating soju git repo... -> Found systemd.service.patch -> Found sysusers.conf -> Found tmpfiles.conf ==> Validating source files with sha512sums... soju ... Passed systemd.service.patch ... Passed sysusers.conf ... Passed tmpfiles.conf ... Passed ==> Validating source files with b2sums... soju ... Passed systemd.service.patch ... Passed sysusers.conf ... Passed tmpfiles.conf ... Passed gpg: Warning: using insecure memory! ==> Appending keys from archlinux32.gpg... gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! gpg: Warning: using insecure memory! ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2024-11-09 ==> Making package: soju 0.8.2-2.0 (Fri Sep 27 07:49:22 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... :: There are 2 providers available for go: :: Repository core-staging 1) gcc-go :: Repository core 2) gcc-go Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (6) perl-error-0.17029-7.0 perl-mailtools-2.21-9.0 perl-timedate-2.33-7.0 gcc-go-14.2.1+r134+gab884fffe3fc-1.0 git-2.46.2-1.0 scdoc-1.11.3-1.0 Total Installed Size: 147.07 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 openssh: ssh transport and crypto 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 gcc-go... installing scdoc... :: Running post-transaction hooks... (1/5) Creating system user accounts... Creating group 'git' with GID 972. Creating user 'git' (git daemon user) with UID 972 and GID 972. (2/5) Reloading system manager configuration... Skipped: Current root is not booted. (3/5) Arming ConditionNeedsUpdate... (4/5) Warn about old perl modules (5/5) Updating the info directory file... ==> Retrieving sources... -> Found systemd.service.patch -> Found sysusers.conf -> Found tmpfiles.conf ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of soju git repo... Cloning into 'soju'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... patching file contrib/soju.service ==> Starting build()... go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags golang.org/x/time/rate gopkg.in/irc.v4 codeberg.org/emersion/soju/xirc # codeberg.org/emersion/soju/xirc xirc/casemapping.go:70:23: error: expected ‘]’ 70 | type CaseMappingMap[V interface{}] struct { | ^ xirc/casemapping.go:72:9: error: expected declaration 72 | casemap CaseMapping | ^ xirc/casemapping.go:73:1: error: expected declaration 73 | } | ^ xirc/casemapping.go:75:25: error: expected ‘]’ 75 | type caseMappingEntry[V interface{}] struct { | ^ xirc/casemapping.go:77:9: error: expected declaration 77 | value V | ^ xirc/casemapping.go:78:1: error: expected declaration 78 | } | ^ xirc/casemapping.go:80:23: error: expected ‘(’ 80 | func NewCaseMappingMap[V interface{}](cm CaseMapping) CaseMappingMap[V] { | ^ xirc/casemapping.go:80:26: error: expected ‘]’ 80 | func NewCaseMappingMap[V interface{}](cm CaseMapping) CaseMappingMap[V] { | ^ xirc/casemapping.go:80:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:85:1: error: expected declaration 85 | } | ^ xirc/casemapping.go:87:26: error: expected ‘)’ 87 | func (cmm *CaseMappingMap[V]) Has(name string) bool { | ^ xirc/casemapping.go:87:26: error: expected function name xirc/casemapping.go:87:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:89:9: error: expected declaration 89 | return ok | ^ xirc/casemapping.go:90:1: error: expected declaration 90 | } | ^ xirc/casemapping.go:92:26: error: expected ‘)’ 92 | func (cmm *CaseMappingMap[V]) Len() int { | ^ xirc/casemapping.go:92:26: error: expected function name xirc/casemapping.go:92:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:94:1: error: expected declaration 94 | } | ^ xirc/casemapping.go:96:26: error: expected ‘)’ 96 | func (cmm *CaseMappingMap[V]) Get(name string) V { | ^ xirc/casemapping.go:96:26: error: expected function name xirc/casemapping.go:96:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:98:9: error: expected declaration 98 | if !ok { | ^ xirc/casemapping.go:100:17: error: expected declaration 100 | return v | ^ xirc/casemapping.go:101:9: error: expected declaration 101 | } | ^ xirc/casemapping.go:102:9: error: expected declaration 102 | return entry.value | ^ xirc/casemapping.go:103:1: error: expected declaration 103 | } | ^ xirc/casemapping.go:105:26: error: expected ‘)’ 105 | func (cmm *CaseMappingMap[V]) Set(name string, value V) { | ^ xirc/casemapping.go:105:26: error: expected function name xirc/casemapping.go:105:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:107:9: error: expected declaration 107 | entry, ok := cmm.m[nameCM] | ^ xirc/casemapping.go:108:9: error: expected declaration 108 | if !ok { | ^ xirc/casemapping.go:113:17: error: expected declaration 113 | return | ^ xirc/casemapping.go:114:9: error: expected declaration 114 | } | ^ xirc/casemapping.go:115:9: error: expected declaration 115 | entry.value = value | ^ xirc/casemapping.go:116:9: error: expected declaration 116 | cmm.m[nameCM] = entry | ^ xirc/casemapping.go:117:1: error: expected declaration 117 | } | ^ xirc/casemapping.go:119:26: error: expected ‘)’ 119 | func (cmm *CaseMappingMap[V]) Del(name string) { | ^ xirc/casemapping.go:119:26: error: expected function name xirc/casemapping.go:119:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:121:1: error: expected declaration 121 | } | ^ xirc/casemapping.go:123:26: error: expected ‘)’ 123 | func (cmm *CaseMappingMap[V]) ForEach(f func(string, V)) { | ^ xirc/casemapping.go:123:26: error: expected function name xirc/casemapping.go:123:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:126:9: error: expected declaration 126 | } | ^ xirc/casemapping.go:127:1: error: expected declaration 127 | } | ^ xirc/casemapping.go:129:26: error: expected ‘)’ 129 | func (cmm *CaseMappingMap[V]) SetCaseMapping(newCasemap CaseMapping) { | ^ xirc/casemapping.go:129:26: error: expected function name xirc/casemapping.go:129:26: error: expected ‘;’ or newline after top level declaration xirc/casemapping.go:131:9: error: expected declaration 131 | m := make(map[string]caseMappingEntry[V], len(cmm.m)) | ^ xirc/casemapping.go:132:9: error: expected declaration 132 | for _, entry := range cmm.m { | ^ xirc/casemapping.go:134:9: error: expected declaration 134 | } | ^ xirc/casemapping.go:135:9: error: expected declaration 135 | cmm.m = m | ^ xirc/casemapping.go:136:1: error: expected declaration 136 | } | ^ note: module requires Go 1.19 github.com/mattn/go-sqlite3 git.sr.ht/~emersion/go-sqlite3-fts5 github.com/lib/pq/oid github.com/lib/pq/scram github.com/lib/pq github.com/beorn7/perks/quantile github.com/cespare/xxhash/v2 google.golang.org/protobuf/internal/detrand google.golang.org/protobuf/internal/errors google.golang.org/protobuf/encoding/protowire google.golang.org/protobuf/internal/pragma google.golang.org/protobuf/reflect/protoreflect google.golang.org/protobuf/internal/descfmt google.golang.org/protobuf/internal/descopts google.golang.org/protobuf/internal/editiondefaults google.golang.org/protobuf/internal/flags google.golang.org/protobuf/internal/strs google.golang.org/protobuf/internal/encoding/text google.golang.org/protobuf/internal/encoding/defval google.golang.org/protobuf/internal/encoding/messageset google.golang.org/protobuf/internal/genid google.golang.org/protobuf/internal/order google.golang.org/protobuf/reflect/protoregistry google.golang.org/protobuf/runtime/protoiface google.golang.org/protobuf/proto google.golang.org/protobuf/internal/filedesc google.golang.org/protobuf/internal/set google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/internal/encoding/tag google.golang.org/protobuf/internal/impl google.golang.org/protobuf/internal/filetype google.golang.org/protobuf/internal/version google.golang.org/protobuf/runtime/protoimpl google.golang.org/protobuf/types/known/timestamppb github.com/prometheus/client_model/go github.com/prometheus/common/model # github.com/prometheus/common/model ../pkg/mod/github.com/prometheus/common@v0.53.0/model/metric.go:364:47: error: reference to undefined identifier ‘strings.CutPrefix’ 364 | escapedName, found := strings.CutPrefix(name, "U__") | ^ note: module requires Go 1.20 github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg google.golang.org/protobuf/encoding/protodelim github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util golang.org/x/sys/unix github.com/prometheus/procfs golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt git.sr.ht/~emersion/go-scfg codeberg.org/emersion/soju/config codeberg.org/emersion/soju/identd git.sr.ht/~sircmpwn/go-bare github.com/golang-jwt/jwt golang.org/x/crypto/hkdf github.com/SherClockHolmes/webpush-go github.com/coder/websocket/internal/errd github.com/coder/websocket/internal/util github.com/coder/websocket/internal/xsync github.com/coder/websocket github.com/emersion/go-sasl github.com/pires/go-proxyproto codeberg.org/emersion/soju/cmd/sojuctl golang.org/x/term golang.org/x/crypto/ssh/terminal ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-staging-with-build-support-i486/build/build used straw: :with_build_support:without_check: build@euronuc-i486