ipni / go-libipni

IPNI library implementation in Go
Other
7 stars 6 forks source link

new version #219

Closed gammazero closed 2 months ago

github-actions[bot] commented 2 months ago

Suggested version: 0.6.11

Comparing to: v0.6.10 (diff)

Changes in configuration file(s):

diff --git a/go.mod b/go.mod
index 00b1b26..a126922 100644
--- a/go.mod
+++ b/go.mod
@@ -1,9 +1,9 @@
 module github.com/ipni/go-libipni

-go 1.21
+go 1.22

 require (
-   github.com/gammazero/channelqueue v0.2.1
+   github.com/gammazero/channelqueue v0.2.2
    github.com/hashicorp/go-multierror v1.1.1
    github.com/hashicorp/go-retryablehttp v0.7.7
    github.com/ipfs/go-cid v0.4.1
@@ -12,8 +12,8 @@ require (
    github.com/ipfs/go-log/v2 v2.5.1
    github.com/ipfs/go-test v0.0.4
    github.com/ipld/go-ipld-prime v0.21.0
-   github.com/libp2p/go-libp2p v0.36.1
-   github.com/libp2p/go-libp2p-pubsub v0.11.0
+   github.com/libp2p/go-libp2p v0.36.2
+   github.com/libp2p/go-libp2p-pubsub v0.12.0
    github.com/libp2p/go-msgio v0.3.0
    github.com/mr-tron/base58 v1.2.0
    github.com/multiformats/go-multiaddr v0.13.0
@@ -22,7 +22,7 @@ require (
    github.com/multiformats/go-varint v0.0.7
    github.com/stretchr/testify v1.9.0
    github.com/whyrusleeping/cbor-gen v0.1.1
-   golang.org/x/crypto v0.25.0
+   golang.org/x/crypto v0.26.0
    google.golang.org/protobuf v1.34.2
 )

@@ -69,7 +69,7 @@ require (
    github.com/libp2p/go-yamux/v4 v4.0.1 // indirect
    github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd // indirect
    github.com/mattn/go-isatty v0.0.20 // indirect
-   github.com/miekg/dns v1.1.61 // indirect
+   github.com/miekg/dns v1.1.62 // indirect
    github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b // indirect
    github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc // indirect
    github.com/minio/sha256-simd v1.0.1 // indirect
@@ -80,51 +80,51 @@ require (
    github.com/multiformats/go-multibase v0.2.0 // indirect
    github.com/multiformats/go-multistream v0.5.0 // indirect
    github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
-   github.com/onsi/ginkgo/v2 v2.19.1 // indirect
+   github.com/onsi/ginkgo/v2 v2.20.0 // indirect
    github.com/opencontainers/runtime-spec v1.2.0 // indirect
    github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
    github.com/pion/datachannel v1.5.8 // indirect
    github.com/pion/dtls/v2 v2.2.12 // indirect
-   github.com/pion/ice/v2 v2.3.32 // indirect
-   github.com/pion/interceptor v0.1.29 // indirect
+   github.com/pion/ice/v2 v2.3.34 // indirect
+   github.com/pion/interceptor v0.1.30 // indirect
    github.com/pion/logging v0.2.2 // indirect
    github.com/pion/mdns v0.0.12 // indirect
    github.com/pion/randutil v0.1.0 // indirect
    github.com/pion/rtcp v1.2.14 // indirect
-   github.com/pion/rtp v1.8.8 // indirect
-   github.com/pion/sctp v1.8.20 // indirect
+   github.com/pion/rtp v1.8.9 // indirect
+   github.com/pion/sctp v1.8.33 // indirect
    github.com/pion/sdp/v3 v3.0.9 // indirect
    github.com/pion/srtp/v2 v2.0.20 // indirect
    github.com/pion/stun v0.6.1 // indirect
-   github.com/pion/transport/v2 v2.2.9 // indirect
+   github.com/pion/transport/v2 v2.2.10 // indirect
    github.com/pion/turn/v2 v2.1.6 // indirect
-   github.com/pion/webrtc/v3 v3.2.50 // indirect
+   github.com/pion/webrtc/v3 v3.3.0 // indirect
    github.com/pkg/errors v0.9.1 // indirect
    github.com/pmezard/go-difflib v1.0.0 // indirect
    github.com/polydawn/refmt v0.89.0 // indirect
-   github.com/prometheus/client_golang v1.19.1 // indirect
+   github.com/prometheus/client_golang v1.20.0 // indirect
    github.com/prometheus/client_model v0.6.1 // indirect
    github.com/prometheus/common v0.55.0 // indirect
    github.com/prometheus/procfs v0.15.1 // indirect
    github.com/quic-go/qpack v0.4.0 // indirect
-   github.com/quic-go/quic-go v0.45.2 // indirect
+   github.com/quic-go/quic-go v0.46.0 // indirect
    github.com/quic-go/webtransport-go v0.8.0 // indirect
    github.com/raulk/go-watchdog v1.3.0 // indirect
    github.com/smartystreets/assertions v1.13.0 // indirect
    github.com/spaolacci/murmur3 v1.1.0 // indirect
-   github.com/wlynxg/anet v0.0.3 // indirect
-   go.uber.org/dig v1.17.1 // indirect
-   go.uber.org/fx v1.22.1 // indirect
+   github.com/wlynxg/anet v0.0.4 // indirect
+   go.uber.org/dig v1.18.0 // indirect
+   go.uber.org/fx v1.22.2 // indirect
    go.uber.org/mock v0.4.0 // indirect
    go.uber.org/multierr v1.11.0 // indirect
    go.uber.org/zap v1.27.0 // indirect
-   golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
-   golang.org/x/mod v0.19.0 // indirect
-   golang.org/x/net v0.27.0 // indirect
-   golang.org/x/sync v0.7.0 // indirect
-   golang.org/x/sys v0.22.0 // indirect
-   golang.org/x/text v0.16.0 // indirect
-   golang.org/x/tools v0.23.0 // indirect
+   golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
+   golang.org/x/mod v0.20.0 // indirect
+   golang.org/x/net v0.28.0 // indirect
+   golang.org/x/sync v0.8.0 // indirect
+   golang.org/x/sys v0.24.0 // indirect
+   golang.org/x/text v0.17.0 // indirect
+   golang.org/x/tools v0.24.0 // indirect
    golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
    gopkg.in/yaml.v3 v3.0.1 // indirect
    lukechampine.com/blake3 v1.3.0 // indirect

gorelease says:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
    panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5e6a2f]

goroutine 1093 [running]:
go/types.(*Checker).handleBailout(0xc00049ca00, 0xc000a0dc10)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/check.go:367 +0x88
panic({0x6a6260?, 0x8e1520?})
    /opt/hostedtoolcache/go/1.22.6/x64/src/runtime/panic.go:770 +0x132
go/types.(*StdSizes).Sizeof(0x0, {0x758110, 0x8e49a0})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/sizes.go:228 +0x30f
go/types.(*Config).sizeof(...)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/sizes.go:333
go/types.representableConst.func1({0x758110?, 0x8e49a0?})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/const.go:76 +0x9e
go/types.representableConst({0x759f18, 0x8d9cf0}, 0xc00049ca00, 0x8e49a0, 0xc000a0bdb0)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/const.go:92 +0x192
go/types.(*Checker).representation(0xc00049ca00, 0xc000b21980, 0x8e49a0)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/const.go:256 +0x65
go/types.(*Checker).implicitTypeAndValue(0xc00049ca00, 0xc000b21980, {0x758110, 0x8e49a0})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:375 +0x2d7
go/types.(*Checker).assignment(0xc00049ca00, 0xc000b21980, {0x758110, 0x8e49a0}, {0x6ee954, 0xe})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/assignments.go:52 +0x2e5
go/types.(*Checker).exprInternal(0xc00049ca00, 0x0, 0xc000b21980, {0x7592b8, 0xc000b20540}, {0x758098, 0xc0000ca150})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:1175 +0x267a
go/types.(*Checker).rawExpr(0xc00049ca00, 0x0, 0xc000b21980, {0x7592b8?, 0xc000b20540?}, {0x758098?, 0xc0000ca150?}, 0x0)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:979 +0x19e
go/types.(*Checker).exprWithHint(0xc00049ca00, 0xc000b21980, {0x7592b8, 0xc000b20540}, {0x758098, 0xc0000ca150})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:1563 +0x65
go/types.(*Checker).indexedElts(0xc00049ca00, {0xc00036d000, 0x1c, 0xc000924dd8?}, {0x758098, 0xc0000ca150}, 0xffffffffffffffff)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/index.go:453 +0x129
go/types.(*Checker).exprInternal(0xc00049ca00, 0x0, 0xc000b212c0, {0x7592b8, 0xc000b20c00}, {0x0, 0x0})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:1247 +0x10dd
go/types.(*Checker).rawExpr(0xc00049ca00, 0x0, 0xc000b212c0, {0x7592b8?, 0xc000b20c00?}, {0x0?, 0x0?}, 0x0)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:979 +0x19e
go/types.(*Checker).expr(0xc00049ca00, 0x0?, 0xc000b212c0, {0x7592b8?, 0xc000b20c00?})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/expr.go:1513 +0x30
go/types.(*Checker).varDecl(0xc00049ca00, 0xc00089ff20, {0xc000b0e0e8, 0x1, 0x1}, {0x0, 0x0}, {0x7592b8, 0xc000b20c00})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/decl.go:521 +0x17b
go/types.(*Checker).objDecl(0xc00049ca00, {0x75c258, 0xc00089ff20}, 0x0)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/decl.go:194 +0x9e5
go/types.(*Checker).packageObjects(0xc00049ca00)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/resolver.go:693 +0x4dd
go/types.(*Checker).checkFiles(0xc00049ca00, {0xc000b0e000, 0x1, 0x1})
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/check.go:408 +0x1a5
go/types.(*Checker).Files(...)
    /opt/hostedtoolcache/go/1.22.6/x64/src/go/types/check.go:372
golang.org/x/tools/go/packages.(*loader).loadPackage(0xc0001420e0, 0xc000248810)
    /home/runner/go/pkg/mod/golang.org/x/tools@v0.2.0/go/packages/packages.go:1037 +0x932
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1()
    /home/runner/go/pkg/mod/golang.org/x/tools@v0.2.0/go/packages/packages.go:847 +0x1a9
sync.(*Once).doSlow(0x0?, 0x0?)
    /opt/hostedtoolcache/go/1.22.6/x64/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
    /opt/hostedtoolcache/go/1.22.6/x64/src/sync/once.go:65
golang.org/x/tools/go/packages.(*loader).loadRecursive(0x0?, 0x0?)
    /home/runner/go/pkg/mod/golang.org/x/tools@v0.2.0/go/packages/packages.go:835 +0x4a
golang.org/x/tools/go/packages.(*loader).loadRecursive.func1.1(0x0?)
    /home/runner/go/pkg/mod/golang.org/x/tools@v0.2.0/go/packages/packages.go:842 +0x26
created by golang.org/x/tools/go/packages.(*loader).loadRecursive.func1 in goroutine 889
    /home/runner/go/pkg/mod/golang.org/x/tools@v0.2.0/go/packages/packages.go:841 +0x94

gocompat says:

HEAD is now at 1a88609 new version (#216)
Previous HEAD position was 1a88609 new version (#216)
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

Automatically created GitHub Release

A draft GitHub Release has been created. It is going to be published when this PR is merged. You can modify its' body to include any release notes you wish to include with the release.