==> Creating chroot for [extra-staging-with-build-support] (i486)... -> Deleting chroot copy 'build'... -> Deleting chroot copy 'root'... ==> Creating install root at /var/lib/archbuild/extra-staging-with-build-support-i486/root ==> Installing packages to /var/lib/archbuild/extra-staging-with-build-support-i486/root :: 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... resolving dependencies... :: There are 2 providers available for sh: :: Repository core-staging 1) bash :: Repository core 2) bash Enter a number (default=1): :: There are 2 providers available for libsystemd.so=0-32: :: Repository core-staging 1) systemd-libs :: Repository core 2) systemd-libs Enter a number (default=1): looking for conflicting packages... Packages (116) acl-2.3.2-1.0 archlinux32-keyring-20240131-5.1 attr-2.5.2-1.0 audit-4.0.2-1.0 autoconf-2.72-1.0 automake-1.17-1.0 bash-5.2.032-1.0 binutils-2.43+r4+g7999dae6961-1.1 bison-3.8.2-6.0 brotli-1.1.0-2.2 bzip2-1.0.8-6.0 ca-certificates-20240618-1.0 ca-certificates-mozilla-3.85-1.1 ca-certificates-utils-20240618-1.0 coreutils-9.5-1.1 curl-8.9.1-2.0 db5.3-5.3.28-5.0 debugedit-5.0-5.0 diffutils-3.10-1.0 e2fsprogs-1.47.1-4.0 fakeroot-1.36-1.0 file-5.45-1.1 filesystem-2024.04.07-1.0 findutils-4.9.0-3.0 flex-2.6.4-5.0 gawk-5.3.0-1.0 gc-8.2.6-1.0 gcc-14.2.1+r32+geccf707e5ce-1.0 gcc-libs-14.2.1+r32+geccf707e5ce-1.0 gdbm-1.24-1.0 gettext-0.22.5-1.0 glib2-2.78.4-1.0 glibc-2.40+r16+gaa533d58ff-2.1 gmp-6.3.0-2.0 gnupg-2.4.5-4.0 gnutls-3.8.7-1.0 gpgme-1.23.2-6.2 grep-3.11-1.1 groff-1.23.0-6.0 guile-3.0.9-1.1 gzip-1.13-4.0 iana-etc-20240612-1.0 icu-75.1-1.0 jansson-2.14-4.0 json-c-0.17-2.0 keyutils-1.6.3-3.0 krb5-1.21.3-1.0 libarchive-3.7.4-1.5 libassuan-3.0.0-1.0 libcap-2.70-1.0 libcap-ng-0.8.5-2.1 libelf-0.191-4.0 libevent-2.1.12-4.1 libffi-3.4.6-1.0 libgcrypt-1.11.0-2.1 libgpg-error-1.50-1.0 libidn2-2.3.7-1.0 libisl-0.26-2.0 libksba-1.6.6-1.0 libldap-2.6.8-1.0 libmpc-1.3.1-2.0 libnghttp2-1.62.1-1.1 libnghttp3-1.4.0-1.1 libnsl-2.0.1-1.0 libp11-kit-0.25.3-1.0 libpsl-0.21.5-2.1 libsasl-2.1.28-5.0 libseccomp-2.5.5-3.0 libsecret-0.20.5-2.0 libssh2-1.11.0-1.0 libsysprof-capture-3.48.0-4.0 libtasn1-4.19.0-2.0 libtirpc-1.3.5-1.0 libtool-2.5.1-2.0 libunistring-1.2-1.0 libusb-1.0.27-1.0 libverto-0.3.2-5.0 libxcrypt-4.4.36-2.0 libxml2-2.13.3-1.0 linux-api-headers-6.10-1.1 lmdb-0.9.33-1.0 lz4-1:1.10.0-2.0 m4-1.4.19-3.0 make-4.4.1-2.0 mpfr-4.2.1-3.0 ncurses-6.5-3.0 nettle-3.10-1.1 npth-1.7-1.0 openssl-3.3.1-1.1 p11-kit-0.25.3-1.0 pacman-6.1.0-3.6 pacman-mirrorlist-20240616-1.3 pam-1.6.1-2.1 pambase-20230918-2.0 patch-2.7.6-10.0 pcre2-10.44-1.1 perl-5.38.2-2.1 pinentry-1.3.1-5.5 pkgconf-1.8.1-1.0 readline-8.2.013-1.0 sed-4.9-3.0 shadow-4.16.0-1.0 sqlite-3.46.1-1.0 sudo-1.9.15.p5-2.0 systemd-libs-256.5-1.0 tar-1.35-2.0 texinfo-7.1-2.0 tpm2-tss-4.0.1-1.0 tzdata-2024a-2.1 util-linux-2.40.2-1.1 util-linux-libs-2.40.2-1.1 which-2.21-6.2 xz-5.6.2-1.2 zlib-1:1.3.1-2.0 zstd-1.5.6-1.2 base-devel-1-1.1 Total Installed Size: 798.87 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing archlinux32-keyring... call to execv failed (No such file or directory) error: command failed to execute correctly installing linux-api-headers... installing tzdata... Optional dependencies for tzdata bash: for tzselect [pending] glibc: for zdump, zic [pending] installing iana-etc... installing filesystem... installing glibc... Optional dependencies for glibc gd: for memusagestat perl: for mtrace [pending] installing gcc-libs... installing ncurses... Optional dependencies for ncurses bash: for ncursesw6-config [pending] installing readline... installing bash... Optional dependencies for bash bash-completion: for tab completion installing gmp... installing mpfr... installing gawk... installing m4... installing diffutils... installing gdbm... installing db5.3... installing libxcrypt... installing perl... installing autoconf... installing automake... installing jansson... installing bzip2... installing acl... installing attr... installing zlib... installing sqlite... installing util-linux-libs... Optional dependencies for util-linux-libs python: python bindings to libmount installing e2fsprogs... Optional dependencies for e2fsprogs lvm2: for e2scrub util-linux: for e2scrub [pending] smtp-forwarder: for e2scrub_fail script installing keyutils... installing openssl... Optional dependencies for openssl ca-certificates [pending] perl [installed] installing libsasl... installing libldap... installing libevent... Optional dependencies for libevent python: event_rpcgen.py installing libverto... installing lmdb... installing krb5... installing libtirpc... installing pambase... installing libcap-ng... installing audit... Optional dependencies for audit libldap: for audispd-zos-remote [installed] sh: for augenrules [installed] installing libnsl... installing pam... installing libcap... installing coreutils... installing findutils... installing libffi... installing libtasn1... installing libp11-kit... installing libgpg-error... installing libgcrypt... installing lz4... installing xz... installing zstd... installing systemd-libs... installing p11-kit... installing ca-certificates-utils... installing ca-certificates-mozilla... installing ca-certificates... installing brotli... installing libunistring... installing libidn2... installing libnghttp2... installing libnghttp3... installing libpsl... installing libssh2... installing curl... installing libelf... installing binutils... Optional dependencies for binutils debuginfod: for debuginfod server/client functionality installing icu... installing libxml2... Optional dependencies for libxml2 python: Python bindings installing gettext... Optional dependencies for gettext git: for autopoint infrastructure updates installing bison... installing debugedit... installing sed... installing libseccomp... installing file... installing shadow... installing util-linux... Optional dependencies for util-linux words: default dictionary for look installing fakeroot... installing flex... installing libmpc... installing libisl... installing gcc... Optional dependencies for gcc gcc-libs: for generating code for 32-bit ABI [installed] installing pcre2... Optional dependencies for pcre2 sh: for pcre2-config [installed] installing grep... installing groff... Optional dependencies for groff netpbm: for use together with man -H command interaction in browsers psutils: for use together with man -H command interaction in browsers libxaw: for gxditview perl-file-homedir: for use with glilypond installing gzip... Optional dependencies for gzip less: zless support util-linux: zmore support [installed] diffutils: zdiff/zcmp support [installed] installing tar... installing libtool... installing gc... installing guile... installing make... installing libarchive... installing libsysprof-capture... installing glib2... Optional dependencies for glib2 gvfs: most gio functionality libelf: gresource inspection tool [installed] python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report installing libassuan... installing nettle... installing gnutls... Optional dependencies for gnutls tpm2-tss: support for TPM2 wrapped keys [pending] installing libksba... installing libusb... installing json-c... installing tpm2-tss... installing libsecret... Optional dependencies for libsecret org.freedesktop.secrets: secret storage backend installing pinentry... Optional dependencies for pinentry gcr: GNOME backend gtk3: GTK backend qt5-x11extras: Qt5 backend kwayland5: Qt5 backend kguiaddons: Qt6 backend kwindowsystem: Qt6 backend installing npth... installing gnupg... Optional dependencies for gnupg pcsclite: for using scdaemon not with the gnupg internal card driver installing gpgme... installing pacman-mirrorlist... installing pacman... Optional dependencies for pacman perl-locale-gettext: translation support in makepkg-template installing patch... Optional dependencies for patch ed: for patch -e functionality installing pkgconf... installing sudo... installing texinfo... Optional dependencies for texinfo perl-archive-zip: EPUB file output via texi2any installing which... installing base-devel... :: Running post-transaction hooks... (1/3) Rebuilding certificate stores... (2/3) Warn about old perl modules (3/3) Updating the info directory file... Initializing machine ID from random generator. Generating locales... C.UTF-8... done en_US.UTF-8... done de_DE.UTF-8... done Generation complete. ==> 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: gopass-summon-provider 1.15.11-1.0 (Mon Aug 26 09:34:00 2024) ==> Retrieving sources... -> Found gopass-summon-provider-1.15.11.tar.gz ==> Validating source files with sha512sums... gopass-summon-provider-1.15.11.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-09 ==> Making package: gopass-summon-provider 1.15.11-1.0 (Mon Aug 26 09:34:09 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+r32+geccf707e5ce-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/1) Updating the info directory file... ==> Retrieving sources... -> Found gopass-summon-provider-1.15.11.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting gopass-summon-provider-1.15.11.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... go: downloading github.com/blang/semver/v4 v4.0.0 go: downloading github.com/gopasspw/gopass v1.15.11 go: downloading github.com/urfave/cli/v2 v2.25.7 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.3 go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 go: downloading github.com/fatih/color v1.16.0 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading filippo.io/age v1.1.1 go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354 go: downloading github.com/twpayne/go-pinentry v0.3.0 go: downloading github.com/zalando/go-keyring v0.2.3 go: downloading golang.org/x/crypto v0.16.0 go: downloading github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c go: downloading github.com/hashicorp/golang-lru v1.0.2 go: downloading golang.org/x/exp v0.0.0-20231127185646-65229373498e go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/mattn/go-colorable v0.1.13 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/google/go-cmp v0.6.0 go: downloading filippo.io/edwards25519 v1.0.0 go: downloading github.com/google/go-github v17.0.0+incompatible go: downloading github.com/rs/zerolog v1.31.0 go: downloading github.com/godbus/dbus/v5 v5.1.0 go: downloading github.com/godbus/dbus v0.0.0-20190623212516-8a1682060722 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading golang.org/x/term v0.15.0 go: downloading golang.org/x/sys v0.15.0 go: downloading github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b go: downloading github.com/google/go-querystring v1.1.0 go: downloading github.com/cloudflare/circl v1.3.6 /bin/sh: line 1: git: command not found >> BUILD, version = 1.15.11/, output = gopass-summon-providergo build: when using gccgo toolchain, please pass linker flags using -gccgoflags, not -ldflags # github.com/urfave/cli/v2 /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:12:21: error: expected ‘]’ 12 | SliceFlag[T SliceFlagTarget[E], S ~[]E, E any] struct { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:12:43: error: invalid character 0x7e in input file 12 | SliceFlag[T SliceFlagTarget[E], S ~[]E, E any] struct { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:16:9: error: expected identifier 16 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:16:9: error: missing ‘)’ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:34:17: error: expected declaration 34 | SetDestination(slice []E) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:36:17: error: expected declaration 36 | GetDestination() []E | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:37:9: error: expected declaration 37 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:41:9: error: expected declaration 41 | MultiStringFlag = SliceFlag[*StringSliceFlag, []string, string] | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:45:9: error: expected declaration 45 | MultiFloat64Flag = SliceFlag[*Float64SliceFlag, []float64, float64] | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:49:9: error: expected declaration 49 | MultiInt64Flag = SliceFlag[*Int64SliceFlag, []int64, int64] | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:53:9: error: expected declaration 53 | MultiIntFlag = SliceFlag[*IntSliceFlag, []int, int] | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:55:9: error: expected declaration 55 | flagValueHook struct { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:57:17: error: expected declaration 57 | hook func() | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:58:9: error: expected declaration 58 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:59:1: error: expected declaration 59 | ) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:64:26: error: missing ‘)’ 64 | _ SliceFlagTarget[string] = (*StringSliceFlag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:64:56: error: expected ‘;’ or newline after top level declaration 64 | _ SliceFlagTarget[string] = (*StringSliceFlag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:65:9: error: expected declaration 65 | _ SliceFlagTarget[string] = (*SliceFlag[*StringSliceFlag, []string, string])(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:66:9: error: expected declaration 66 | _ SliceFlagTarget[string] = (*MultiStringFlag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:67:9: error: expected declaration 67 | _ SliceFlagTarget[float64] = (*MultiFloat64Flag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:68:9: error: expected declaration 68 | _ SliceFlagTarget[int64] = (*MultiInt64Flag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:69:9: error: expected declaration 69 | _ SliceFlagTarget[int] = (*MultiIntFlag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:71:9: error: expected declaration 71 | _ Generic = (*flagValueHook)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:72:9: error: expected declaration 72 | _ Serializer = (*flagValueHook)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:73:1: error: expected declaration 73 | ) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:75:19: error: expected ‘)’ 75 | func (x *SliceFlag[T, S, E]) Apply(set *flag.FlagSet) error { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:75:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:75:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:78:9: error: expected declaration 78 | destination := x.Destination | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:79:9: error: expected declaration 79 | if destination == nil { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:82:17: error: expected declaration 82 | return x.Target.Apply(set) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:83:9: error: expected declaration 83 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:85:9: error: expected declaration 85 | x.Target.SetDestination(x.convertSlice(*destination)) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:87:9: error: expected declaration 87 | return applyFlagValueHook(set, x.Target.Apply, func() { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:89:9: error: expected declaration 89 | }) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:90:1: error: expected declaration 90 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:92:19: error: expected ‘)’ 92 | func (x *SliceFlag[T, S, E]) convertSlice(slice S) []E { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:92:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:92:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:94:9: error: expected declaration 94 | copy(result, slice) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:95:9: error: expected declaration 95 | return result | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:96:1: error: expected declaration 96 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:98:19: error: expected ‘)’ 98 | func (x *SliceFlag[T, S, E]) SetValue(slice S) { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:98:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:98:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:100:1: error: expected declaration 100 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:102:19: error: expected ‘)’ 102 | func (x *SliceFlag[T, S, E]) SetDestination(slice S) { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:102:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:102:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:105:9: error: expected declaration 105 | } else { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:107:9: error: expected declaration 107 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:108:1: error: expected declaration 108 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:110:19: error: expected ‘)’ 110 | func (x *SliceFlag[T, S, E]) GetDestination() S { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:110:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:110:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:111:42: error: expected declaration 111 | if destination := x.Destination; destination != nil { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:113:9: error: expected declaration 113 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:114:9: error: expected declaration 114 | return nil | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:115:1: error: expected declaration 115 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:117:19: error: expected ‘)’ 117 | func (x *SliceFlag[T, S, E]) String() string { return x.Target.String() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:117:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:117:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:118:19: error: expected ‘)’ 118 | func (x *SliceFlag[T, S, E]) Names() []string { return x.Target.Names() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:118:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:118:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:119:19: error: expected ‘)’ 119 | func (x *SliceFlag[T, S, E]) IsSet() bool { return x.Target.IsSet() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:119:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:119:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:120:19: error: expected ‘)’ 120 | func (x *SliceFlag[T, S, E]) IsRequired() bool { return x.Target.IsRequired() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:120:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:120:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:121:19: error: expected ‘)’ 121 | func (x *SliceFlag[T, S, E]) TakesValue() bool { return x.Target.TakesValue() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:121:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:121:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:122:19: error: expected ‘)’ 122 | func (x *SliceFlag[T, S, E]) GetUsage() string { return x.Target.GetUsage() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:122:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:122:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:123:19: error: expected ‘)’ 123 | func (x *SliceFlag[T, S, E]) GetValue() string { return x.Target.GetValue() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:123:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:123:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:124:19: error: expected ‘)’ 124 | func (x *SliceFlag[T, S, E]) GetDefaultText() string { return x.Target.GetDefaultText() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:124:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:124:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:125:19: error: expected ‘)’ 125 | func (x *SliceFlag[T, S, E]) GetEnvVars() []string { return x.Target.GetEnvVars() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:125:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:125:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:126:19: error: expected ‘)’ 126 | func (x *SliceFlag[T, S, E]) IsVisible() bool { return x.Target.IsVisible() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:126:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:126:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:127:19: error: expected ‘)’ 127 | func (x *SliceFlag[T, S, E]) GetCategory() string { return x.Target.GetCategory() } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:127:19: error: expected function name /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:127:19: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:212:23: error: expected ‘(’ 212 | func newSliceFlagValue[R any, S ~[]E, E any](factory func(defaults ...E) *R, defaults S) *R { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:212:26: error: expected ‘]’ 212 | func newSliceFlagValue[R any, S ~[]E, E any](factory func(defaults ...E) *R, defaults S) *R { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:212:26: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:212:33: error: invalid character 0x7e in input file 212 | func newSliceFlagValue[R any, S ~[]E, E any](factory func(defaults ...E) *R, defaults S) *R { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:215:9: error: expected declaration 215 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:216:9: error: expected declaration 216 | return factory(defaults...) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:217:1: error: expected declaration 217 | } | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:129:10: error: use of undefined type ‘flagValueHook’ 129 | func (x *flagValueHook) Set(value string) error { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:14:29: error: use of undefined type ‘S’ 14 | Value S | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:14:29: error: use of undefined type ‘S’ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:130:20: error: reference to field ‘value’ in object which has no fields or methods 130 | if err := x.value.Set(value); err != nil { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:133:10: error: reference to field ‘hook’ in object which has no fields or methods 133 | x.hook() | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:180:13: error: reference to field ‘value’ in object which has no fields or methods 180 | if x.value != nil { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:182:26: error: reference to field ‘value’ in object which has no fields or methods 182 | if s := x.value.String(); !isZeroValue(x.value, s) { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:182:57: error: reference to field ‘value’ in object which has no fields or methods 182 | if s := x.value.String(); !isZeroValue(x.value, s) { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:190:26: error: reference to field ‘value’ in object which has no fields or methods 190 | if value, ok := x.value.(Serializer); ok { | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:193:17: error: reference to field ‘String’ in object which has no fields or methods 193 | return x.String() | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:205:66: error: reference to undefined name ‘value’ 205 | tmp.VisitAll(func(f *flag.Flag) { set.Var(&flagValueHook{value: f.Value, hook: hook}, f.Name, f.Usage) }) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:226:22: error: reference to field ‘value’ in object which has no fields or methods 226 | v = h.value | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:64:11: error: use of undefined type ‘SliceFlagTarget’ 64 | _ SliceFlagTarget[string] = (*StringSliceFlag)(nil) | ^ /build/go/pkg/mod/github.com/urfave/cli/v2@v2.25.7/sliceflag.go:205:51: error: argument 1 has incompatible type (type has no methods) 205 | tmp.VisitAll(func(f *flag.Flag) { set.Var(&flagValueHook{value: f.Value, hook: hook}, f.Name, f.Usage) }) | ^ (null):0: confused by earlier errors, bailing out # golang.org/x/exp/maps /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:10:10: error: expected ‘(’ 10 | func Keys[M ~map[K]V, K comparable, V any](m M) []K { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:10:13: error: invalid character 0x7e in input file 10 | func Keys[M ~map[K]V, K comparable, V any](m M) []K { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:11:9: error: expected ‘]’ 11 | r := make([]K, 0, len(m)) | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:11:9: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:12:9: error: expected declaration 12 | for k := range m { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:14:9: error: expected declaration 14 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:15:9: error: expected declaration 15 | return r | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:16:1: error: expected declaration 16 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:20:12: error: expected ‘(’ 20 | func Values[M ~map[K]V, K comparable, V any](m M) []V { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:20:15: error: invalid character 0x7e in input file 20 | func Values[M ~map[K]V, K comparable, V any](m M) []V { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:21:9: error: expected ‘]’ 21 | r := make([]V, 0, len(m)) | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:21:9: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:22:9: error: expected declaration 22 | for _, v := range m { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:24:9: error: expected declaration 24 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:25:9: error: expected declaration 25 | return r | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:26:1: error: expected declaration 26 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:30:11: error: expected ‘(’ 30 | func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:30:14: error: expected ‘]’ 30 | func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:30:14: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:30:19: error: invalid character 0x7e in input file 30 | func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:33:9: error: expected declaration 33 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:34:9: error: expected declaration 34 | for k, v1 := range m1 { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:35:37: error: expected declaration 35 | if v2, ok := m2[k]; !ok || v1 != v2 { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:37:17: error: expected declaration 37 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:38:9: error: expected declaration 38 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:39:9: error: expected declaration 39 | return true | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:40:1: error: expected declaration 40 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:44:15: error: expected ‘(’ 44 | func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:44:19: error: invalid character 0x7e in input file 44 | func EqualFunc[M1 ~map[K]V1, M2 ~map[K]V2, K comparable, V1, V2 any](m1 M1, m2 M2, eq func(V1, V2) bool) bool { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:45:9: error: expected ‘]’ 45 | if len(m1) != len(m2) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:45:9: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:47:9: error: expected declaration 47 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:48:9: error: expected declaration 48 | for k, v1 := range m1 { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:49:37: error: expected declaration 49 | if v2, ok := m2[k]; !ok || !eq(v1, v2) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:51:17: error: expected declaration 51 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:52:9: error: expected declaration 52 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:53:9: error: expected declaration 53 | return true | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:54:1: error: expected declaration 54 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:57:11: error: expected ‘(’ 57 | func Clear[M ~map[K]V, K comparable, V any](m M) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:57:14: error: invalid character 0x7e in input file 57 | func Clear[M ~map[K]V, K comparable, V any](m M) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:58:9: error: expected ‘]’ 58 | for k := range m { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:58:9: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:60:9: error: expected declaration 60 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:61:1: error: expected declaration 61 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:65:11: error: expected ‘(’ 65 | func Clone[M ~map[K]V, K comparable, V any](m M) M { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:65:14: error: invalid character 0x7e in input file 65 | func Clone[M ~map[K]V, K comparable, V any](m M) M { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:66:44: error: expected ‘]’ 66 | // Preserve nil in case it matters. | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:67:9: error: expected declaration 67 | if m == nil { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:69:9: error: expected declaration 69 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:70:9: error: expected declaration 70 | r := make(M, len(m)) | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:71:9: error: expected declaration 71 | for k, v := range m { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:73:9: error: expected declaration 73 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:74:9: error: expected declaration 74 | return r | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:75:1: error: expected declaration 75 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:81:10: error: expected ‘(’ 81 | func Copy[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:81:14: error: invalid character 0x7e in input file 81 | func Copy[M1 ~map[K]V, M2 ~map[K]V, K comparable, V any](dst M1, src M2) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:82:9: error: expected ‘]’ 82 | for k, v := range src { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:82:9: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:84:9: error: expected declaration 84 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:85:1: error: expected declaration 85 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:88:16: error: expected ‘(’ 88 | func DeleteFunc[M ~map[K]V, K comparable, V any](m M, del func(K, V) bool) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:88:19: error: invalid character 0x7e in input file 88 | func DeleteFunc[M ~map[K]V, K comparable, V any](m M, del func(K, V) bool) { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:89:9: error: expected ‘]’ 89 | for k, v := range m { | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:89:9: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:92:17: error: expected declaration 92 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:93:9: error: expected declaration 93 | } | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/maps/maps.go:94:1: error: expected declaration 94 | } | ^ note: module requires Go 1.20 # github.com/gopasspw/gopass/internal/cache /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:8:19: error: expected ‘]’ 8 | type cacheEntry[V any] struct { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:10:9: error: expected declaration 10 | maxExpire time.Time | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:11:9: error: expected declaration 11 | expire time.Time | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:12:9: error: expected declaration 12 | created time.Time | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:13:9: error: expected declaration 13 | now func() time.Time | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:14:1: error: expected declaration 14 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:16:21: error: expected ‘)’ 16 | func (ce *cacheEntry[V]) isExpired() bool { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:16:21: error: expected function name /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:16:21: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:19:9: error: expected declaration 19 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:21:9: error: expected declaration 21 | if ce.now().After(ce.expire) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:23:9: error: expected declaration 23 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:25:9: error: expected declaration 25 | return false | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:26:1: error: expected declaration 26 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:29:17: error: expected ‘]’ 29 | type InMemTTL[K comparable, V any] struct { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:31:9: error: expected declaration 31 | now func() time.Time | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:32:9: error: expected declaration 32 | ttl time.Duration | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:33:9: error: expected declaration 33 | maxTTL time.Duration | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:34:9: error: expected declaration 34 | entries map[K]cacheEntry[V] | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:35:1: error: expected declaration 35 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:38:17: error: expected ‘(’ 38 | func NewInMemTTL[K comparable, V any](ttl time.Duration, maxTTL time.Duration) *InMemTTL[K, V] { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:38:20: error: expected ‘]’ 38 | func NewInMemTTL[K comparable, V any](ttl time.Duration, maxTTL time.Duration) *InMemTTL[K, V] { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:38:20: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:44:1: error: expected declaration 44 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:47:18: error: expected ‘)’ 47 | func (c *InMemTTL[K, V]) Get(key K) (V, bool) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:47:18: error: expected function name /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:47:18: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:49:9: error: expected declaration 49 | defer c.Unlock() | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:52:9: error: expected declaration 52 | if c.entries == nil { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:54:9: error: expected declaration 54 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:56:9: error: expected declaration 56 | ce, found := c.entries[key] | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:57:9: error: expected declaration 57 | if !found { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:60:9: error: expected declaration 60 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:61:9: error: expected declaration 61 | if ce.isExpired() { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:64:9: error: expected declaration 64 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:66:9: error: expected declaration 66 | ce.expire = c.now().Add(c.ttl) | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:67:9: error: expected declaration 67 | c.entries[key] = ce | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:69:9: error: expected declaration 69 | return ce.value, true | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:70:1: error: expected declaration 70 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:73:18: error: expected ‘)’ 73 | func (c *InMemTTL[K, V]) purgeExpired() { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:73:18: error: expected function name /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:73:18: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:77:17: error: expected declaration 77 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:78:9: error: expected declaration 78 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:79:1: error: expected declaration 79 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:82:18: error: expected ‘)’ 82 | func (c *InMemTTL[K, V]) Set(key K, value V) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:82:18: error: expected function name /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:82:18: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:84:9: error: expected declaration 84 | defer c.Unlock() | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:86:9: error: expected declaration 86 | if c.entries == nil { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:88:9: error: expected declaration 88 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:90:9: error: expected declaration 90 | now := c.now() | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:91:9: error: expected declaration 91 | c.entries[key] = cacheEntry[V]{ | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:98:17: error: expected declaration 98 | }, | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:101:9: error: expected declaration 101 | c.purgeExpired() | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:102:1: error: expected declaration 102 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:105:18: error: expected ‘)’ 105 | func (c *InMemTTL[K, V]) Remove(key K) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:105:18: error: expected function name /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:105:18: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:107:9: error: expected declaration 107 | defer c.Unlock() | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:109:9: error: expected declaration 109 | delete(c.entries, key) | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:110:1: error: expected declaration 110 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:113:18: error: expected ‘)’ 113 | func (c *InMemTTL[K, V]) Purge() { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:113:18: error: expected function name /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:113:18: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:115:9: error: expected declaration 115 | defer c.Unlock() | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:117:9: error: expected declaration 117 | c.entries = make(map[K]cacheEntry[V], 10) | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:118:1: error: expected declaration 118 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/cache/inmem.go:8:17: error: use of undefined type ‘V’ 8 | type cacheEntry[V any] struct { | ^ note: module requires Go 1.21 # golang.org/x/exp/constraints /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:13:9: error: invalid character 0x7e in input file 13 | ~int | ~int8 | ~int16 | ~int32 | ~int64 | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:20:9: error: invalid character 0x7e in input file 20 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:27:9: error: expected signature or type name 27 | Signed | Unsigned | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:34:9: error: invalid character 0x7e in input file 34 | ~float32 | ~float64 | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:41:9: error: invalid character 0x7e in input file 41 | ~complex64 | ~complex128 | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:49:9: error: expected signature or type name 49 | Integer | Float | ~string | ^ /build/go/pkg/mod/golang.org/x/exp@v0.0.0-20231127185646-65229373498e/constraints/constraints.go:49:27: error: invalid character 0x7e in input file 49 | Integer | Float | ~string | ^ note: module requires Go 1.20 # github.com/twpayne/go-pinentry /build/go/pkg/mod/github.com/twpayne/go-pinentry@v0.3.0/errors.go:22:31: error: reference to undefined identifier ‘errors.Join’ 22 | return errors.Join(nonNilErrs...) | ^ note: module requires Go 1.19 # github.com/gopasspw/gopass/internal/diff /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:5:10: error: expected ‘(’ 5 | func Stat[K comparable](l, r []K) (int, int) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:5:13: error: expected ‘]’ 5 | func Stat[K comparable](l, r []K) (int, int) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:5:13: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:8:9: error: expected declaration 8 | return len(added), len(removed) | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:9:1: error: expected declaration 9 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:13:10: error: expected ‘(’ 13 | func List[K comparable](l, r []K) ([]K, []K) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:13:13: error: expected ‘]’ 13 | func List[K comparable](l, r []K) ([]K, []K) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:13:13: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:15:9: error: expected declaration 15 | mr := listToMap(r) | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:19:9: error: expected declaration 19 | for k := range mr { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:20:39: error: expected declaration 20 | if _, found := ml[k]; !found { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:22:17: error: expected declaration 22 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:23:9: error: expected declaration 23 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:27:9: error: expected declaration 27 | for k := range ml { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:28:39: error: expected declaration 28 | if _, found := mr[k]; !found { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:30:17: error: expected declaration 30 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:31:9: error: expected declaration 31 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:33:9: error: expected declaration 33 | return added, removed | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:34:1: error: expected declaration 34 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:36:15: error: expected ‘(’ 36 | func listToMap[K comparable](l []K) map[K]struct{} { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:36:18: error: expected ‘]’ 36 | func listToMap[K comparable](l []K) map[K]struct{} { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:36:18: error: expected ‘;’ or newline after top level declaration /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:38:9: error: expected declaration 38 | for _, e := range l { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:39:32: error: expected ‘;’ or newline after top level declaration 39 | m[e] = struct{}{} | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:40:9: error: expected declaration 40 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:42:9: error: expected declaration 42 | return m | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:43:1: error: expected declaration 43 | } | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:5:11: error: use of undefined type ‘K’ 5 | func Stat[K comparable](l, r []K) (int, int) { | ^ /build/go/pkg/mod/github.com/gopasspw/gopass@v1.15.11/internal/diff/diff.go:5:11: error: use of undefined type ‘K’ note: module requires Go 1.21 make: *** [Makefile:70: gopass-summon-provider] Error 2 ==> 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:clean_chroot: build@euronuc-i486