:: 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: wakatime 1:1.60.4-2.0 (Sat May 10 06:25:45 2025) ==> Retrieving sources... -> Found wakatime-cli-1.60.4.tar.gz ==> Validating source files with sha512sums... wakatime-cli-1.60.4.tar.gz ... Passed ==> Validating source files with b2sums... wakatime-cli-1.60.4.tar.gz ... 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 2025-06-16 ==> Making package: wakatime 1:1.60.4-2.0 (Sat May 10 06:25:53 2025) ==> 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 (1) gcc-go-14.2.1+r753+g1cd744a6828f-1.0 Total Installed Size: 105.47 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing gcc-go... :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Updating the info directory file... ==> Retrieving sources... -> Found wakatime-cli-1.60.4.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting wakatime-cli-1.60.4.tar.gz with bsdtar ==> Starting prepare()... 'build/wakatime-cli-linux-amd64' -> 'wakatime' ==> Starting build()... go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/spf13/cobra v1.4.0 go: downloading github.com/spf13/viper v1.12.0 go: downloading gopkg.in/ini.v1 v1.66.6 go: downloading golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 go: downloading github.com/spf13/pflag v1.0.5 go: downloading github.com/fsnotify/fsnotify v1.5.4 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/spf13/afero v1.8.2 go: downloading github.com/spf13/cast v1.5.0 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/gandarez/go-olson-timezone v0.1.0 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading golang.org/x/net v0.0.0-20220822230855-b0a4917ee28c go: downloading github.com/Azure/go-ntlmssp v0.0.0-20211209120228-48547f28849e go: downloading github.com/wakatime/goInfo v0.1.0-wakatime.8 go: downloading github.com/yookoala/realpath v1.0.0 go: downloading github.com/juju/mutex v0.0.0-20180619145857-d21b13acf4bf go: downloading go.etcd.io/bbolt v1.3.6 go: downloading golang.org/x/text v0.3.7 go: downloading github.com/subosito/gotenv v1.4.0 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/magiconair/properties v1.8.6 go: downloading github.com/pelletier/go-toml/v2 v2.0.2 go: downloading github.com/pelletier/go-toml v1.9.5 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/wakatime/chroma v0.10.0-wakatime.1 go: downloading github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 go: downloading github.com/slongfield/pyfmt v0.0.0-20220222012616-ea85ff4c361f go: downloading github.com/kevinburke/ssh_config v1.2.1-0.20220605204831-a56e914e7283 go: downloading github.com/pkg/sftp v1.13.5 go: downloading golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e go: downloading github.com/dlclark/regexp2 v1.4.0 go: downloading github.com/juju/errors v0.0.0-20220331221717-b38fca44723b go: downloading github.com/kr/fs v0.1.0 go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags # github.com/wakatime/wakatime-cli/pkg/heartbeat pkg/heartbeat/heartbeat.go:202:15: error: expected ‘(’ 202 | func PointerTo[t bool | int | string](v t) *t { | ^ pkg/heartbeat/heartbeat.go:202:18: error: expected ‘]’ 202 | func PointerTo[t bool | int | string](v t) *t { | ^ pkg/heartbeat/heartbeat.go:202:18: error: expected ‘;’ or newline after top level declaration pkg/heartbeat/heartbeat.go:204:1: error: expected declaration 204 | } | ^ note: module requires Go 1.19 # go.etcd.io/bbolt /build/go/pkg/mod/go.etcd.io/bbolt@v1.3.6/db.go:1223:34: error: array bound is not constant 1223 | _, _ = h.Write((*[unsafe.Offsetof(meta{}.checksum)]byte)(unsafe.Pointer(m))[:]) | ^ /build/go/pkg/mod/go.etcd.io/bbolt@v1.3.6/db.go:1223:84: error: argument 1 has incompatible type (cannot use type *[]byte as type []byte) 1223 | _, _ = h.Write((*[unsafe.Offsetof(meta{}.checksum)]byte)(unsafe.Pointer(m))[:]) | ^ (null):0: confused by earlier errors, bailing out ==> 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: build@euronuc-i486