Skip to content

Fails with Go 1.24: runtime go1.24rc1 not found in compat.yaml #9870

@stefanb

Description

@stefanb

What happened?

👋 Hey, while trying to build and test this in with rc1 pre-release version of Go 1.24 in:

we noticed the same error on all platforms, mentioning runtime go1.24rc1 not found in compat.yaml, referring to https://github.com/syncthing/syncthing/blob/main/compat.yaml

Go 1.24 is currently in rc1 release stage, but final is scheduled to be released in February 2025.

Possibly related:

Syncthing version

v1.28.1

Platform & operating system

All

Browser version

N/A

Relevant log output

==> go run build.go --version v1.28.1 --no-upgrade tar
  Last 150 lines from /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/syncthing/01.go:
  2024-12-14 08:08:16 +0000
  
  go
  run
  build.go
  --version
  v1.28.1
  --no-upgrade
  tar
  
  go: downloading github.com/shirou/gopsutil/v4 v4.24.9
  go: downloading github.com/ebitengine/purego v0.8.0
  Notice: Next generation GUI will not be built; see --with-next-gen-gui.
  go: downloading github.com/alecthomas/kong v1.2.1
  go: downloading github.com/thejerf/suture/v4 v4.0.5
  go: downloading github.com/willabides/kongplete v0.4.0
  go: downloading github.com/AudriusButkevicius/recli v0.0.7-0.20220911121932-d000ce8fbf0f
  go: downloading github.com/greatroar/blobloom v0.8.0
  go: downloading github.com/miscreant/miscreant.go v0.0.0-20200214223636-26d376326b75
  go: downloading github.com/syncthing/notify v0.0.0-20210616190510-c6b7342338d2
  go: downloading github.com/riywo/loginshell v0.0.0-20200815045211-7d26008be1ab
  go: downloading github.com/prometheus/common v0.60.0
  go: downloading github.com/calmh/incontainer v1.0.0
  go: downloading github.com/julienschmidt/httprouter v1.3.0
  go: downloading github.com/vitrun/qart v0.0.0-20160531060029-bf64b92db6b0
  go: downloading github.com/quic-go/quic-go v0.48.0
  go: downloading github.com/calmh/glob v0.0.0-20220615080505-1d823af5017b
  go: downloading github.com/go-asn1-ber/asn1-ber v1.5.7
  go: downloading github.com/jackpal/gateway v1.0.15
  go: downloading github.com/jackpal/go-nat-pmp v1.0.2
  go: downloading github.com/ccding/go-stun v0.1.5
  go: downloading github.com/chmduquesne/rollinghash v4.0.0+incompatible
  go: downloading github.com/calmh/xdr v1.2.0
  go: downloading golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
  github.com/ebitengine/purego/internal/cgo
  github.com/shirou/gopsutil/v4/common
  github.com/ebitengine/purego/internal/strings
  github.com/alecthomas/kong
  github.com/syncthing/syncthing/lib/build
  github.com/AudriusButkevicius/recli
  github.com/syncthing/syncthing/lib/ignore/ignoreresult
  github.com/prometheus/common/model
  github.com/syncthing/syncthing/lib/logger
  github.com/miscreant/miscreant.go/block
  github.com/prometheus/common/expfmt
  github.com/prometheus/client_golang/prometheus/internal
  github.com/ebitengine/purego
  github.com/syncthing/notify
  github.com/miscreant/miscreant.go/cmac
  github.com/miscreant/miscreant.go/pmac
  github.com/shirou/gopsutil/v4/internal/common
  github.com/miscreant/miscreant.go
  github.com/prometheus/client_golang/prometheus
  github.com/syncthing/syncthing/lib/rand
  github.com/shirou/gopsutil/v4/disk
  github.com/syncthing/syncthing/proto/ext
  golang.org/x/crypto/scrypt
  github.com/syncthing/syncthing/lib/sync
  github.com/greatroar/blobloom
  github.com/thejerf/suture/v4
  github.com/syncthing/syncthing/lib/db/backend
  github.com/syncthing/syncthing/lib/sliceutil
  github.com/syncthing/syncthing/lib/connections/registry
  github.com/syncthing/syncthing/lib/stringutil
  github.com/syncthing/syncthing/lib/dialer
  github.com/prometheus/client_golang/prometheus/promauto
  github.com/syncthing/syncthing/lib/svcutil
  github.com/syncthing/syncthing/lib/netutil
  github.com/syncthing/syncthing/lib/structutil
  github.com/syncthing/syncthing/lib/events
  github.com/syncthing/syncthing/lib/protocol
  github.com/syncthing/syncthing/lib/upgrade
  github.com/gobwas/glob/match
  github.com/calmh/incontainer
  github.com/gobwas/glob/compiler
  github.com/Azure/go-ntlmssp
  github.com/gobwas/glob
  github.com/go-asn1-ber/asn1-ber
  github.com/julienschmidt/httprouter
  github.com/go-ldap/ldap/v3
  github.com/prometheus/client_golang/prometheus/promhttp
  github.com/syncthing/syncthing/lib/assets
  github.com/syncthing/syncthing/lib/api/auto
  golang.org/x/exp/rand
  github.com/quic-go/quic-go/internal/protocol
  github.com/quic-go/quic-go/internal/utils
  github.com/quic-go/quic-go/internal/qerr
  github.com/quic-go/quic-go/quicvarint
  github.com/quic-go/quic-go/internal/flowcontrol
  github.com/quic-go/quic-go/internal/qtls
  github.com/quic-go/quic-go/internal/utils/linkedlist
  github.com/quic-go/quic-go/internal/wire
  github.com/quic-go/quic-go/internal/utils/ringbuffer
  github.com/syncthing/syncthing/lib/beacon
  github.com/jackpal/go-nat-pmp
  golang.org/x/net/route
  github.com/calmh/xdr
  github.com/quic-go/quic-go/logging
  github.com/syncthing/syncthing/lib/relay/protocol
  github.com/jackpal/gateway
  github.com/quic-go/quic-go/internal/congestion
  github.com/quic-go/quic-go/internal/ackhandler
  github.com/quic-go/quic-go/internal/handshake
  github.com/syncthing/syncthing/lib/semaphore
  github.com/ccding/go-stun/stun
  github.com/syncthing/syncthing/lib/tlsutil
  github.com/quic-go/quic-go
  github.com/syncthing/syncthing/lib/ur/contract
  github.com/chmduquesne/rollinghash
  github.com/vitrun/qart/gf256
  github.com/chmduquesne/rollinghash/adler32
  github.com/vitrun/qart/coding
  github.com/syncthing/syncthing/lib/weakhash
  github.com/vitrun/qart/qr
  github.com/syncthing/syncthing/lib/automaxprocs
  github.com/riywo/loginshell
  github.com/willabides/kongplete/internal/positionalpredictor
  github.com/willabides/kongplete
  # github.com/syncthing/notify
  cgo-gcc-prolog:219:2: warning: 'FSEventStreamScheduleWithRunLoop' is deprecated: first deprecated in macOS 13.0 - Use FSEventStreamSetDispatchQueue instead. [-Wdeprecated-declarations]
  /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:1154:1: note: 'FSEventStreamScheduleWithRunLoop' has been explicitly marked deprecated here
  github.com/syncthing/syncthing/lib/fs
  github.com/syncthing/syncthing/lib/osutil
  github.com/syncthing/syncthing/lib/locations
  github.com/syncthing/syncthing/cmd/syncthing/cmdutil
  github.com/syncthing/syncthing/lib/ignore
  github.com/syncthing/syncthing/lib/relay/client
  github.com/syncthing/syncthing/lib/db
  github.com/syncthing/syncthing/lib/scanner
  github.com/syncthing/syncthing/lib/stats
  github.com/syncthing/syncthing/lib/config
  github.com/syncthing/syncthing/cmd/syncthing/decrypt
  github.com/syncthing/syncthing/cmd/syncthing/cli
  github.com/syncthing/syncthing/lib/nat
  github.com/syncthing/syncthing/lib/discover
  github.com/syncthing/syncthing/lib/pmp
  github.com/syncthing/syncthing/lib/stun
  github.com/syncthing/syncthing/lib/upnp
  github.com/syncthing/syncthing/lib/versioner
  github.com/syncthing/syncthing/lib/watchaggregator
  github.com/syncthing/syncthing/lib/connections
  github.com/syncthing/syncthing/lib/ur
  github.com/syncthing/syncthing/lib/model
  github.com/syncthing/syncthing/lib/api
  github.com/syncthing/syncthing/lib/syncthing
  github.com/syncthing/syncthing/cmd/syncthing/generate
  github.com/syncthing/syncthing/cmd/syncthing
  syncthing-macos-arm64-v1.28.1.tar.gz
  runtime go1.24rc1 not found in compat.yaml
  exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues caused by or requiring changes to the build system (scripts or Docker image)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions