:: 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: prometheus-snmp-exporter 0.26.0-1.0 (Sat Oct 12 00:32:50 2024) ==> Retrieving sources... -> Updating prometheus-snmp-exporter git repo... -> Found systemd.service -> Found sysusers.conf -> Found config.env ==> Validating source files with sha512sums... prometheus-snmp-exporter ... Passed systemd.service ... Passed sysusers.conf ... Passed config.env ... Passed ==> Validating source files with b2sums... prometheus-snmp-exporter ... Passed systemd.service ... Passed sysusers.conf ... Passed config.env ... 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: prometheus-snmp-exporter 0.26.0-1.0 (Sat Oct 12 00:33:00 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (5) libnl-3.10.0-1.1 libpcap-1.10.5-2.0 lm_sensors-1:3.6.0.r41.g31d1f125-3.0 pciutils-3.13.0-2.0 net-snmp-5.9.4-5.0 Total Installed Size: 11.65 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnl... installing libpcap... installing lm_sensors... Optional dependencies for lm_sensors perl: for sensor detection and configuration convert [installed] installing pciutils... Optional dependencies for pciutils which: for update-pciids [installed] grep: for update-pciids [installed] curl: for update-pciids [installed] installing net-snmp... Optional dependencies for net-snmp perl-term-readkey: for snmpcheck application perl-tk: for snmpcheck and tkmib applications python: for the python modules :: Running post-transaction hooks... (1/3) Reloading system manager configuration... Skipped: Current root is not booted. (2/3) Arming ConditionNeedsUpdate... (3/3) Warn about old perl modules ==> 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.47.0-1.0 Total Installed Size: 147.29 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... :: 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 -> Found sysusers.conf -> Found config.env ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Creating working copy of prometheus-snmp-exporter git repo... Cloning into 'prometheus-snmp-exporter'... done. Switched to a new branch 'makepkg' ==> Starting prepare()... ==> Starting build()... go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags github.com/alecthomas/units github.com/xhit/go-str2duration/v2 github.com/alecthomas/kingpin/v2 github.com/go-logfmt/logfmt github.com/go-kit/log github.com/go-kit/log/level github.com/prometheus/common/promlog github.com/prometheus/common/promlog/flag github.com/gosnmp/gosnmp # github.com/gosnmp/gosnmp ../pkg/mod/github.com/gosnmp/gosnmp@v1.37.0/v3_usm.go:398:30: error: reference to undefined identifier ‘atomic.Bool’ 398 | passwordCacheDisable atomic.Bool //nolint:gochecknoglobals | ^ note: module requires Go 1.20 gopkg.in/yaml.v2 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 github.com/prometheus/common/version github.com/coreos/go-systemd/v22/activation github.com/jpillora/backoff golang.org/x/net/internal/timeseries golang.org/x/net/trace golang.org/x/text/transform golang.org/x/text/unicode/bidi golang.org/x/text/secure/bidirule golang.org/x/text/unicode/norm golang.org/x/net/idna golang.org/x/net/http/httpproxy golang.org/x/net/http/httpguts golang.org/x/net/http2/hpack golang.org/x/net/http2 golang.org/x/oauth2/internal golang.org/x/oauth2 golang.org/x/oauth2/clientcredentials golang.org/x/crypto/blowfish golang.org/x/crypto/bcrypt golang.org/x/sync/errgroup ==> 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