:: 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: yamlfmt 0.14.0-1.0 (Fri Nov 8 01:33:38 2024) ==> Retrieving sources... -> Found yamlfmt-0.14.0.tar.gz ==> Validating source files with sha512sums... yamlfmt-0.14.0.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 2024-11-18 ==> Making package: yamlfmt 0.14.0-1.0 (Fri Nov 8 01:33:47 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 (1) gcc-go-14.2.1+r134+gab884fffe3fc-1.0 Total Installed Size: 105.99 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 yamlfmt-0.14.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting yamlfmt-0.14.0.tar.gz with bsdtar ==> Starting prepare()... go: downloading github.com/bmatcuk/doublestar/v4 v4.6.0 go: downloading github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 go: downloading github.com/braydonk/yaml v0.7.0 go: downloading github.com/mitchellh/mapstructure v1.5.0 go: downloading github.com/santhosh-tekuri/jsonschema/v4 v4.0.0 go: downloading github.com/google/go-cmp v0.5.9 # github.com/bmatcuk/doublestar/v4 v4.6.0 ## explicit; go 1.16 github.com/bmatcuk/doublestar/v4 # github.com/braydonk/yaml v0.7.0 ## explicit; go 1.11 github.com/braydonk/yaml # github.com/google/go-cmp v0.5.9 ## explicit; go 1.13 github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/cmpopts github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value # github.com/mitchellh/mapstructure v1.5.0 ## explicit; go 1.14 github.com/mitchellh/mapstructure # github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 ## explicit; go 1.13 github.com/sabhiram/go-gitignore # github.com/santhosh-tekuri/jsonschema/v4 v4.0.0 ## explicit; go 1.15 github.com/santhosh-tekuri/jsonschema/v4 ==> Starting build()... go build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags github.com/braydonk/yaml github.com/bmatcuk/doublestar/v4 github.com/google/yamlfmt/internal/collections # github.com/google/yamlfmt/internal/collections internal/collections/set.go:17:12: error: expected ‘]’ 17 | type Set[T comparable] map[T]struct{} | ^ internal/collections/set.go:19:12: error: expected ‘)’ 19 | func (s Set[T]) Add(el ...T) { | ^ internal/collections/set.go:19:12: error: expected function name internal/collections/set.go:19:12: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:22:9: error: expected declaration 22 | } | ^ internal/collections/set.go:23:1: error: expected declaration 23 | } | ^ internal/collections/set.go:25:12: error: expected ‘)’ 25 | func (s Set[T]) Remove(el T) bool { | ^ internal/collections/set.go:25:12: error: expected function name internal/collections/set.go:25:12: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:28:9: error: expected declaration 28 | } | ^ internal/collections/set.go:29:9: error: expected declaration 29 | delete(s, el) | ^ internal/collections/set.go:30:9: error: expected declaration 30 | return true | ^ internal/collections/set.go:31:1: error: expected declaration 31 | } | ^ internal/collections/set.go:33:12: error: expected ‘)’ 33 | func (s Set[T]) Contains(el T) bool { | ^ internal/collections/set.go:33:12: error: expected function name internal/collections/set.go:33:12: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:35:9: error: expected declaration 35 | return ok | ^ internal/collections/set.go:36:1: error: expected declaration 36 | } | ^ internal/collections/set.go:38:12: error: expected ‘)’ 38 | func (s Set[T]) ToSlice() []T { | ^ internal/collections/set.go:38:12: error: expected function name internal/collections/set.go:38:12: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:40:9: error: expected declaration 40 | for el := range s { | ^ internal/collections/set.go:42:9: error: expected declaration 42 | } | ^ internal/collections/set.go:43:9: error: expected declaration 43 | return sl | ^ internal/collections/set.go:44:1: error: expected declaration 44 | } | ^ internal/collections/set.go:46:12: error: expected ‘)’ 46 | func (s Set[T]) Clone() Set[T] { | ^ internal/collections/set.go:46:12: error: expected function name internal/collections/set.go:46:12: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:48:9: error: expected declaration 48 | for el := range s { | ^ internal/collections/set.go:50:9: error: expected declaration 50 | } | ^ internal/collections/set.go:51:9: error: expected declaration 51 | return newSet | ^ internal/collections/set.go:52:1: error: expected declaration 52 | } | ^ internal/collections/set.go:54:12: error: expected ‘)’ 54 | func (s Set[T]) Equals(rhs Set[T]) bool { | ^ internal/collections/set.go:54:12: error: expected function name internal/collections/set.go:54:12: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:57:9: error: expected declaration 57 | } | ^ internal/collections/set.go:58:9: error: expected declaration 58 | rhsClone := rhs.Clone() | ^ internal/collections/set.go:59:9: error: expected declaration 59 | for el := range s { | ^ internal/collections/set.go:61:9: error: expected declaration 61 | } | ^ internal/collections/set.go:62:9: error: expected declaration 62 | return len(rhsClone) == 0 | ^ internal/collections/set.go:63:1: error: expected declaration 63 | } | ^ internal/collections/set.go:65:16: error: expected ‘(’ 65 | func SliceToSet[T comparable](sl []T) Set[T] { | ^ internal/collections/set.go:65:19: error: expected ‘]’ 65 | func SliceToSet[T comparable](sl []T) Set[T] { | ^ internal/collections/set.go:65:19: error: expected ‘;’ or newline after top level declaration internal/collections/set.go:67:9: error: expected declaration 67 | for _, el := range sl { | ^ internal/collections/set.go:69:9: error: expected declaration 69 | } | ^ internal/collections/set.go:70:9: error: expected declaration 70 | return set | ^ internal/collections/set.go:71:1: error: expected declaration 71 | } | ^ internal/collections/slice.go:17:19: error: expected ‘(’ 17 | func SliceContains[T comparable](haystack []T, needle T) bool { | ^ internal/collections/slice.go:17:22: error: expected ‘]’ 17 | func SliceContains[T comparable](haystack []T, needle T) bool { | ^ internal/collections/slice.go:17:22: error: expected ‘;’ or newline after top level declaration internal/collections/slice.go:21:17: error: expected declaration 21 | } | ^ internal/collections/slice.go:22:9: error: expected declaration 22 | } | ^ internal/collections/slice.go:23:9: error: expected declaration 23 | return false | ^ internal/collections/slice.go:24:1: error: expected declaration 24 | } | ^ github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/cmpopts github.com/google/yamlfmt/internal/multilinediff github.com/sabhiram/go-gitignore github.com/mitchellh/mapstructure github.com/google/yamlfmt/formatters/basic/anchors ==> 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