:: 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: alertmanager 0.27.0-2.0 (Mon Oct 7 18:52:29 2024) ==> Retrieving sources... -> Found alertmanager-0.27.0.tar.gz -> Found alertmanager.service -> Found alertmanager.sysusers -> Found alertmanager.conf ==> Validating source files with sha512sums... alertmanager-0.27.0.tar.gz ... Passed alertmanager.service ... Passed alertmanager.sysusers ... Passed alertmanager.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: alertmanager 0.27.0-2.0 (Mon Oct 7 18:52:38 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 (5) 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 Total Installed Size: 147.04 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing gcc-go... 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] :: 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 alertmanager-0.27.0.tar.gz -> Found alertmanager.service -> Found alertmanager.sysusers -> Found alertmanager.conf ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting alertmanager-0.27.0.tar.gz with bsdtar ==> Starting build()... go: downloading github.com/alecthomas/kingpin/v2 v2.4.0 go: downloading github.com/go-kit/log v0.2.1 go: downloading github.com/prometheus/client_golang v1.18.0 go: downloading github.com/prometheus/common v0.46.0 go: downloading github.com/prometheus/exporter-toolkit v0.11.0 go: downloading github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 go: downloading github.com/xhit/go-str2duration/v2 v2.1.0 go: downloading github.com/go-logfmt/logfmt v0.5.1 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/hashicorp/go-sockaddr v1.0.6 go: downloading github.com/hashicorp/golang-lru/v2 v2.0.7 go: downloading github.com/hashicorp/golang-lru v0.5.4 go: downloading github.com/hashicorp/memberlist v0.5.0 go: downloading github.com/oklog/ulid v1.3.1 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/prometheus/common/sigv4 v0.1.0 go: downloading github.com/oklog/run v1.1.0 go: downloading github.com/benbjohnson/clock v1.3.5 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4 go: downloading github.com/cenkalti/backoff/v4 v4.2.1 go: downloading github.com/cespare/xxhash/v2 v2.2.0 go: downloading github.com/gofrs/uuid v4.4.0+incompatible go: downloading golang.org/x/text v0.14.0 go: downloading github.com/prometheus/common/assets v0.2.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/client_model v0.5.0 go: downloading github.com/prometheus/procfs v0.12.0 go: downloading google.golang.org/protobuf v1.32.0 go: downloading github.com/julienschmidt/httprouter v1.3.0 go: downloading github.com/coreos/go-systemd/v22 v22.5.0 go: downloading golang.org/x/crypto v0.18.0 go: downloading golang.org/x/sync v0.6.0 go: downloading github.com/go-openapi/analysis v0.22.2 go: downloading github.com/go-openapi/loads v0.21.5 go: downloading github.com/go-openapi/runtime v0.27.1 go: downloading github.com/go-openapi/strfmt v0.22.0 go: downloading github.com/rs/cors v1.10.1 go: downloading github.com/stretchr/testify v1.8.4 go: downloading github.com/armon/go-metrics v0.3.10 go: downloading github.com/google/btree v1.0.0 go: downloading github.com/hashicorp/go-msgpack v0.5.3 go: downloading github.com/hashicorp/go-multierror v1.1.0 go: downloading github.com/miekg/dns v1.1.41 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 go: downloading github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f go: downloading golang.org/x/net v0.20.0 go: downloading golang.org/x/oauth2 v0.16.0 go: downloading github.com/aws/aws-sdk-go v1.50.8 go: downloading gopkg.in/telebot.v3 v3.2.1 go: downloading github.com/golang/protobuf v1.5.3 go: downloading github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 go: downloading golang.org/x/sys v0.16.0 go: downloading github.com/go-openapi/jsonpointer v0.20.2 go: downloading github.com/go-openapi/spec v0.20.14 go: downloading github.com/go-openapi/swag v0.22.9 go: downloading github.com/go-openapi/errors v0.21.0 go: downloading github.com/go-openapi/validate v0.23.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/google/uuid v1.5.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading go.mongodb.org/mongo-driver v1.13.1 go: downloading github.com/jessevdk/go-flags v1.5.0 go: downloading github.com/hashicorp/go-immutable-radix v1.3.1 go: downloading github.com/hashicorp/errwrap v1.1.0 go: downloading github.com/jpillora/backoff v1.0.0 go: downloading github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 go: downloading github.com/go-openapi/jsonreference v0.20.4 go: downloading github.com/mailru/easyjson v0.7.7 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/davecgh/go-spew v1.1.1 go: downloading github.com/pmezard/go-difflib v1.0.0 go: downloading github.com/jmespath/go-jmespath v0.4.0 go: downloading github.com/josharian/intern v1.0.0 go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags # github.com/go-openapi/spec /build/go/pkg/mod/github.com/go-openapi/spec@v0.20.14/url_go19.go:8:18: error: reference to undefined field or method ‘OmitHost’ 8 | u.OmitHost = false | ^ note: module requires Go 1.19 # github.com/hashicorp/golang-lru/v2/internal /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:10:14: error: expected ‘]’ 10 | type Entry[K comparable, V any] struct { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:19:9: error: expected declaration 19 | list *LruList[K, V] | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:22:9: error: expected declaration 22 | Key K | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:25:9: error: expected declaration 25 | Value V | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:28:9: error: expected declaration 28 | ExpiresAt time.Time | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:31:9: error: expected declaration 31 | ExpireBucket uint8 | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:32:1: error: expected declaration 32 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:35:15: error: expected ‘)’ 35 | func (e *Entry[K, V]) PrevEntry() *Entry[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:35:15: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:35:15: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:36:25: error: expected declaration 36 | if p := e.prev; e.list != nil && p != &e.list.root { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:38:9: error: expected declaration 38 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:39:9: error: expected declaration 39 | return nil | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:40:1: error: expected declaration 40 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:44:16: error: expected ‘]’ 44 | type LruList[K comparable, V any] struct { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:46:9: error: expected declaration 46 | len int // current list Length excluding (this) sentinel element | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:47:1: error: expected declaration 47 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:50:17: error: expected ‘)’ 50 | func (l *LruList[K, V]) Init() *LruList[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:50:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:50:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:52:9: error: expected declaration 52 | l.root.prev = &l.root | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:53:9: error: expected declaration 53 | l.len = 0 | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:54:9: error: expected declaration 54 | return l | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:55:1: error: expected declaration 55 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:58:13: error: expected ‘(’ 58 | func NewList[K comparable, V any]() *LruList[K, V] { return new(LruList[K, V]).Init() } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:58:16: error: expected ‘]’ 58 | func NewList[K comparable, V any]() *LruList[K, V] { return new(LruList[K, V]).Init() } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:58:16: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:62:17: error: expected ‘)’ 62 | func (l *LruList[K, V]) Length() int { return l.len } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:62:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:62:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:65:17: error: expected ‘)’ 65 | func (l *LruList[K, V]) Back() *Entry[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:65:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:65:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:68:9: error: expected declaration 68 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:69:9: error: expected declaration 69 | return l.root.prev | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:70:1: error: expected declaration 70 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:73:17: error: expected ‘)’ 73 | func (l *LruList[K, V]) lazyInit() { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:73:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:73:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:76:9: error: expected declaration 76 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:77:1: error: expected declaration 77 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:80:17: error: expected ‘)’ 80 | func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:80:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:80:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:82:9: error: expected declaration 82 | e.next = at.next | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:83:9: error: expected declaration 83 | e.prev.next = e | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:84:9: error: expected declaration 84 | e.next.prev = e | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:85:9: error: expected declaration 85 | e.list = l | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:86:9: error: expected declaration 86 | l.len++ | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:87:9: error: expected declaration 87 | return e | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:88:1: error: expected declaration 88 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:91:17: error: expected ‘)’ 91 | func (l *LruList[K, V]) insertValue(k K, v V, expiresAt time.Time, at *Entry[K, V]) *Entry[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:91:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:91:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:93:1: error: expected declaration 93 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:96:17: error: expected ‘)’ 96 | func (l *LruList[K, V]) Remove(e *Entry[K, V]) V { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:96:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:96:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:98:9: error: expected declaration 98 | e.next.prev = e.prev | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:99:9: error: expected declaration 99 | e.next = nil // avoid memory leaks | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:100:9: error: expected declaration 100 | e.prev = nil // avoid memory leaks | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:101:9: error: expected declaration 101 | e.list = nil | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:102:9: error: expected declaration 102 | l.len-- | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:104:9: error: expected declaration 104 | return e.Value | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:105:1: error: expected declaration 105 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:108:17: error: expected ‘)’ 108 | func (l *LruList[K, V]) move(e, at *Entry[K, V]) { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:108:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:108:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:111:9: error: expected declaration 111 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:112:9: error: expected declaration 112 | e.prev.next = e.next | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:113:9: error: expected declaration 113 | e.next.prev = e.prev | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:115:9: error: expected declaration 115 | e.prev = at | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:116:9: error: expected declaration 116 | e.next = at.next | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:117:9: error: expected declaration 117 | e.prev.next = e | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:118:9: error: expected declaration 118 | e.next.prev = e | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:119:1: error: expected declaration 119 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:122:17: error: expected ‘)’ 122 | func (l *LruList[K, V]) PushFront(k K, v V) *Entry[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:122:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:122:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:124:9: error: expected declaration 124 | return l.insertValue(k, v, time.Time{}, &l.root) | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:124:47: error: expected ‘;’ or newline after top level declaration 124 | return l.insertValue(k, v, time.Time{}, &l.root) | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:125:1: error: expected declaration 125 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:128:17: error: expected ‘)’ 128 | func (l *LruList[K, V]) PushFrontExpirable(k K, v V, expiresAt time.Time) *Entry[K, V] { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:128:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:128:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:130:9: error: expected declaration 130 | return l.insertValue(k, v, expiresAt, &l.root) | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:131:1: error: expected declaration 131 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:136:17: error: expected ‘)’ 136 | func (l *LruList[K, V]) MoveToFront(e *Entry[K, V]) { | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:136:17: error: expected function name /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:136:17: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:139:9: error: expected declaration 139 | } | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:141:9: error: expected declaration 141 | l.move(e, &l.root) | ^ /build/go/pkg/mod/github.com/hashicorp/golang-lru/v2@v2.0.7/internal/list.go:142:1: error: expected declaration 142 | } | ^ # golang.org/x/net/internal/socket /build/go/pkg/mod/golang.org/x/net@v0.20.0/internal/socket/sys_linux_386.s:5:10: fatal error: textflag.h: No such file or directory 5 | #include "textflag.h" | ^~~~~~~~~~~~ compilation terminated. # github.com/prometheus/common/config go1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. note: module requires Go 1.20 # github.com/prometheus/alertmanager/pkg/labels pkg/labels/matcher.go:79:20: error: reference to undefined identifier ‘strings.ContainsFunc’ 79 | if strings.ContainsFunc(m.Name, isReserved) { | ^ note: module requires Go 1.21 # github.com/cenkalti/backoff/v4 /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:10:26: error: expected ‘]’ 10 | type OperationWithData[T any] func() (T, error) | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:16:53: error: expected ‘;’ or newline after top level declaration 16 | func (o Operation) withEmptyData() OperationWithData[struct{}] { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:19:9: error: expected declaration 19 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:20:1: error: expected declaration 20 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:42:19: error: expected ‘(’ 42 | func RetryWithData[T any](o OperationWithData[T], b BackOff) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:42:22: error: expected ‘]’ 42 | func RetryWithData[T any](o OperationWithData[T], b BackOff) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:42:22: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:44:1: error: expected declaration 44 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:53:25: error: expected ‘(’ 53 | func RetryNotifyWithData[T any](operation OperationWithData[T], b BackOff, notify Notify) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:53:28: error: expected ‘]’ 53 | func RetryNotifyWithData[T any](operation OperationWithData[T], b BackOff, notify Notify) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:53:28: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:55:1: error: expected declaration 55 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:66:33: error: expected ‘(’ 66 | func RetryNotifyWithTimerAndData[T any](operation OperationWithData[T], b BackOff, notify Notify, t Timer) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:66:36: error: expected ‘]’ 66 | func RetryNotifyWithTimerAndData[T any](operation OperationWithData[T], b BackOff, notify Notify, t Timer) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:66:36: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:68:1: error: expected declaration 68 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:70:19: error: expected ‘(’ 70 | func doRetryNotify[T any](operation OperationWithData[T], b BackOff, notify Notify, t Timer) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:70:22: error: expected ‘]’ 70 | func doRetryNotify[T any](operation OperationWithData[T], b BackOff, notify Notify, t Timer) (T, error) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:70:22: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:73:17: error: expected declaration 73 | next time.Duration | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:74:17: error: expected declaration 74 | res T | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:75:9: error: expected declaration 75 | ) | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:76:9: error: expected declaration 76 | if t == nil { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:78:9: error: expected declaration 78 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:80:9: error: expected declaration 80 | defer func() { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:82:9: error: expected declaration 82 | }() | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:84:9: error: expected declaration 84 | ctx := getContext(b) | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:86:9: error: expected declaration 86 | b.Reset() | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:87:9: error: expected declaration 87 | for { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:89:17: error: expected declaration 89 | if err == nil { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:91:17: error: expected declaration 91 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:94:17: error: expected declaration 94 | if errors.As(err, &permanent) { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:96:17: error: expected declaration 96 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:98:17: error: expected declaration 98 | if next = b.NextBackOff(); next == Stop { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:98:44: error: expected declaration 98 | if next = b.NextBackOff(); next == Stop { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:99:47: error: expected declaration 99 | if cerr := ctx.Err(); cerr != nil { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:101:25: error: expected declaration 101 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:103:25: error: expected declaration 103 | return res, err | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:104:17: error: expected declaration 104 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:106:17: error: expected declaration 106 | if notify != nil { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:108:17: error: expected declaration 108 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:110:17: error: expected declaration 110 | t.Start(next) | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:112:17: error: expected declaration 112 | select { | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:115:17: error: expected declaration 115 | case <-t.C(): | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:117:9: error: expected declaration 117 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:118:1: error: expected declaration 118 | } | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:61:19: error: reference to undefined name ‘doRetryNotify’ 61 | _, err := doRetryNotify(operation.withEmptyData(), b, notify, t) | ^ /build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.2.1/retry.go:61:42: error: reference to undefined field or method ‘withEmptyData’ 61 | _, err := doRetryNotify(operation.withEmptyData(), b, notify, t) | ^ ==> 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