Error when trying to install promtool

What did you do?
go get -v github.com/prometheus/prometheus/cmd/promtool

What did you expect to see?
promtool being installed.

What did you see instead? Under which circumstances?

# github.com/prometheus/prometheus/cmd/promtool
../go/src/github.com/prometheus/prometheus/cmd/promtool/main.go:645:35: not enough arguments in call to api.LabelValues
	have (context.Context, string, time.Time, time.Time)
	want (context.Context, string, []string, time.Time, time.Time)

Environment

  • Go version
    go version go1.15.8 linux/amd64

  • System information:
    Ubuntu 20.04.2 LTS
    Linux 5.4.0-65-generic x86_64