influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
https://influxdata.com
MIT License
767 stars 153 forks source link

Build issue #5477

Closed Shnitzelil closed 3 months ago

Shnitzelil commented 4 months ago

Using golang 1.22.2 When trying to build I getting the next errors:

\pkg\mod\github.com\influxdata\flux@v0.194.5\values\dict.go:134:8: cannot use generic type immutable.SortedMap[K, V any] without instantiation \pkg\mod\github.com\influxdata\flux@v0.194.5\values\dict.go:314:47: cannot use generic type immutable.Comparer[K any] without instantiation \pkg\mod\github.com\influxdata\flux@v0.194.5\values\dict.go:353:5: cannot use generic type immutable.SortedMapBuilder[K, V any] without instantiation Please advice Update: The problem caused from new 3rd party github.com/benbjohnson/immutable that was upgraded to use generics strating from version 0.4.0. Please consider to upgrade this 3rd party.