go-libp2p-daemon icon indicating copy to clipboard operation
go-libp2p-daemon copied to clipboard

Windows failure due to prometheus/client_golang

Open stefantalpalaru opened this issue 5 years ago • 1 comments

Failure during go get ./... in HEAD, on AppVeyor - https://ci.appveyor.com/project/nimbus/nim-libp2p/builds/27746839/job/dnpugbq12b2t298q#L579 :

# github.com/prometheus/client_golang/prometheus
..\goblin\pkg\mod\github.com\prometheus\[email protected]\prometheus\process_collector_windows.go:78:9: assignment mismatch: 2 variables but "golang.org/x/sys/windows".GetCurrentProcess returns 1 values

Upstream issue: https://github.com/prometheus/client_golang/issues/642

stefantalpalaru avatar Sep 29 '19 13:09 stefantalpalaru

it looks like a newer golang.org/x/sys version replaced the old tag version replace github.com/prometheus/client_golang v1.1.0 to github.com/prometheus/client_golang v1.2.1

then retry it.

godcong avatar Oct 23 '19 06:10 godcong