Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use github.com/libp2p/go-libp2p: oas.host.Network().Process undefined (type network.Network has no field or method Process) #1228

Closed
prestonvanloon opened this issue Oct 19, 2021 · 7 comments

Comments

@prestonvanloon
Copy link
Contributor

prestonvanloon commented Oct 19, 2021

go get -u github.com/libp2p/go-libp2p             
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
# github.com/libp2p/go-libp2p/p2p/protocol/identify
../../go/pkg/mod/github.com/libp2p/go-libp2p@v0.15.1/p2p/protocol/identify/obsaddr.go:257:35: oas.host.Network().Process undefined (type network.Network has no field or method Process)
Version Information
github.com/prysmaticlabs/prysm
cloud.google.com/go v0.65.0
cloud.google.com/go/bigquery v1.8.0
cloud.google.com/go/bigtable v1.2.0
cloud.google.com/go/datastore v1.1.0
cloud.google.com/go/firestore v1.1.0
cloud.google.com/go/pubsub v1.3.1
cloud.google.com/go/storage v1.10.0
collectd.org v0.3.0
contrib.go.opencensus.io/exporter/jaeger v0.2.1
dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9
dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0
dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412
dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96
github.com/Azure/azure-pipeline-go v0.2.2
github.com/Azure/azure-storage-blob-go v0.7.0
github.com/Azure/go-autorest/autorest v0.9.0
github.com/Azure/go-autorest/autorest/adal v0.8.0
github.com/Azure/go-autorest/autorest/date v0.2.0
github.com/Azure/go-autorest/autorest/mocks v0.3.0
github.com/Azure/go-autorest/logger v0.1.0
github.com/Azure/go-autorest/tracing v0.5.0
github.com/BurntSushi/toml v0.3.1
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802
github.com/DATA-DOG/go-sqlmock v1.3.3
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
github.com/Kubuxu/go-os-helper v0.0.1
github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46
github.com/OneOfOne/xxhash v1.2.2
github.com/PuerkitoBio/purell v1.0.0
github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2
github.com/Shopify/sarama v1.26.1
github.com/Shopify/toxiproxy v2.1.4+incompatible
github.com/StackExchange/wmi v0.0.0-20210224194228-fe8f1750fd46
github.com/VictoriaMetrics/fastcache v1.6.0
github.com/VividCortex/gohistogram v1.0.0
github.com/aead/siphash v1.0.1
github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5
github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d
github.com/allegro/bigcache v1.2.1
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
github.com/antihax/optional v1.0.0
github.com/apache/arrow/go/arrow v0.0.0-20191024131854-af6fa24be0db
github.com/apache/thrift v0.13.0
github.com/aristanetworks/fsnotify v1.4.2
github.com/aristanetworks/glog v0.0.0-20191112221043-67e8567f59f3
github.com/aristanetworks/goarista v0.0.0-20200521140103-6c3304613b30
github.com/aristanetworks/splunk-hec-go v0.3.3
github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6
github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310
github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a
github.com/aws/aws-lambda-go v1.13.3
github.com/aws/aws-sdk-go v1.27.0
github.com/aws/aws-sdk-go-v2 v1.2.0
github.com/aws/aws-sdk-go-v2/config v1.1.1
github.com/aws/aws-sdk-go-v2/credentials v1.1.1
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.0.2
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.0.2
github.com/aws/aws-sdk-go-v2/service/route53 v1.1.1
github.com/aws/aws-sdk-go-v2/service/sso v1.1.1
github.com/aws/aws-sdk-go-v2/service/sts v1.1.1
github.com/aws/smithy-go v1.1.0
github.com/bazelbuild/rules_go v0.23.2
github.com/benbjohnson/clock v1.1.0
github.com/beorn7/perks v1.0.1
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
github.com/bgentry/speakeasy v0.1.0
github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40
github.com/boltdb/bolt v1.3.1
github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625
github.com/bradfitz/gomemcache v0.0.0-20170208213004-1952afaa557d
github.com/btcsuite/btcd v0.22.0-beta
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce
github.com/btcsuite/go-socks v0.0.0-20170105172521-4720035b7bfd
github.com/btcsuite/goleveldb v1.0.0
github.com/btcsuite/snappy-go v1.0.0
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792
github.com/btcsuite/winsvc v1.0.0
github.com/bufbuild/buf v0.37.0
github.com/buger/jsonparser v0.0.0-20181115193947-bf1c66bbce23
github.com/c-bata/go-prompt v0.2.2
github.com/casbin/casbin/v2 v2.1.2
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/census-instrumentation/opencensus-proto v0.2.1
github.com/cespare/cp v1.1.1
github.com/cespare/xxhash v1.1.0
github.com/cespare/xxhash/v2 v2.1.2
github.com/cheekybits/genny v1.0.0
github.com/chzyer/logex v1.1.10
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1
github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec
github.com/client9/misspell v0.3.4
github.com/cloudflare/cloudflare-go v0.14.0
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd
github.com/consensys/bavard v0.1.8-0.20210406032232-f3452dc9b572
github.com/consensys/gnark-crypto v0.4.1-0.20210426202927-39ac3d4b3f1f
github.com/coreos/bbolt v1.3.2
github.com/coreos/etcd v3.3.13+incompatible
github.com/coreos/go-etcd v2.0.0+incompatible
github.com/coreos/go-semver v0.3.0
github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f
github.com/cpuguy83/go-md2man v1.0.10
github.com/cpuguy83/go-md2man/v2 v2.0.0
github.com/creack/pty v1.1.9
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c
github.com/d4l3k/messagediff v1.2.1
github.com/dave/jennifer v1.2.0
github.com/davecgh/go-spew v1.1.1
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c
github.com/deckarep/golang-set v1.7.1
github.com/decred/dcrd/lru v1.0.0
github.com/deepmap/oapi-codegen v1.8.2
github.com/dgraph-io/badger v1.6.2
github.com/dgraph-io/ristretto v0.0.4-0.20210318174700-74754f61e018
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954
github.com/dlclark/regexp2 v1.4.1-0.20201116162257-a2a8dda75c91
github.com/docker/docker v1.4.2-0.20180625184442-8e610b2b55bf
github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96
github.com/dop251/goja v0.0.0-20211011172007-d99e4b8cbf48
github.com/dop251/goja_nodejs v0.0.0-20210225215109-d91c329300e7
github.com/dustin/go-humanize v1.0.0
github.com/eapache/go-resiliency v1.2.0
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21
github.com/eapache/queue v1.1.0
github.com/eclipse/paho.mqtt.golang v1.2.0
github.com/edsrzf/mmap-go v1.0.0
github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153
github.com/emicklei/dot v0.11.0
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633
github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d
github.com/envoyproxy/protoc-gen-validate v0.1.0
github.com/ethereum/go-ethereum v1.10.11-0.20211018203420-b97f57882c14
github.com/evanphx/json-patch v4.2.0+incompatible
github.com/fatih/color v1.9.0
github.com/ferranbt/fastssz v0.0.0-20210905181407-59cf6761a7d5
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
github.com/flynn/noise v1.0.0
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90
github.com/fortytw2/leaktest v1.3.0
github.com/francoispqt/gojay v1.2.13
github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db
github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8
github.com/frankban/quicktest v1.7.2
github.com/fsnotify/fsnotify v1.5.1
github.com/garyburd/redigo v1.6.0
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08
github.com/getkin/kin-openapi v0.61.0
github.com/ghodss/yaml v1.0.0
github.com/gliderlabs/ssh v0.1.1
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd
github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31
github.com/go-check/check v0.0.0-20180628173108-788fd7840127
github.com/go-chi/chi/v5 v5.0.0
github.com/go-errors/errors v1.0.1
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4
github.com/go-kit/kit v0.10.0
github.com/go-kit/log v0.1.0
github.com/go-logfmt/logfmt v0.5.0
github.com/go-logr/logr v0.2.1
github.com/go-ole/go-ole v1.2.5
github.com/go-openapi/jsonpointer v0.19.5
github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9
github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501
github.com/go-openapi/swag v0.19.5
github.com/go-sourcemap/sourcemap v2.1.3+incompatible
github.com/go-sql-driver/mysql v1.4.1
github.com/go-stack/stack v1.8.0
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0
github.com/go-yaml/yaml v2.1.0+incompatible
github.com/gofrs/flock v0.8.0
github.com/gofrs/uuid v4.0.0+incompatible
github.com/gogo/googleapis v1.1.0
github.com/gogo/protobuf v1.3.2
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
github.com/golang/gddo v0.0.0-20200528160355-8d077c1d8f4c
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
github.com/golang/lint v0.0.0-20180702182130-06c8688daad7
github.com/golang/mock v1.6.0
github.com/golang/protobuf v1.5.2
github.com/golang/snappy v0.0.4
github.com/golangci/lint-1 v0.0.0-20181222135242-d2cdd8c08219
github.com/google/btree v1.0.0
github.com/google/flatbuffers v1.11.0
github.com/google/go-cmp v0.5.5
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0
github.com/google/gofuzz v1.2.0
github.com/google/gopacket v1.1.19
github.com/google/martian v2.1.0+incompatible
github.com/google/martian/v3 v3.0.0
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99
github.com/google/renameio v0.1.0
github.com/google/uuid v1.2.0
github.com/googleapis/gax-go v2.0.0+incompatible
github.com/googleapis/gax-go/v2 v2.0.5
github.com/googleapis/gnostic v0.1.0
github.com/gophercloud/gophercloud v0.1.0
github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf
github.com/gorilla/context v1.1.1
github.com/gorilla/mux v1.8.0
github.com/gorilla/websocket v1.4.2
github.com/graph-gophers/graphql-go v0.0.0-20201113091052-beb923fada29
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
github.com/grpc-ecosystem/grpc-gateway v1.9.5
github.com/grpc-ecosystem/grpc-gateway/v2 v2.0.1 => github.com/prysmaticlabs/grpc-gateway/v2 v2.3.1-0.20210702154020-550e1cd83ec1
github.com/gxed/hashland/keccakpg v0.0.1
github.com/gxed/hashland/murmur3 v0.0.1
github.com/hashicorp/consul/api v1.3.0
github.com/hashicorp/consul/sdk v0.3.0
github.com/hashicorp/errwrap v1.0.0
github.com/hashicorp/go-bexpr v0.1.10
github.com/hashicorp/go-cleanhttp v0.5.1
github.com/hashicorp/go-immutable-radix v1.0.0
github.com/hashicorp/go-msgpack v0.5.3
github.com/hashicorp/go-multierror v1.0.0
github.com/hashicorp/go-rootcerts v1.0.0
github.com/hashicorp/go-sockaddr v1.0.0
github.com/hashicorp/go-syslog v1.0.0
github.com/hashicorp/go-uuid v1.0.2
github.com/hashicorp/go-version v1.2.0
github.com/hashicorp/go.net v0.0.1
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d
github.com/hashicorp/hcl v1.0.0
github.com/hashicorp/logutils v1.0.0
github.com/hashicorp/mdns v1.0.0
github.com/hashicorp/memberlist v0.1.3
github.com/hashicorp/serf v0.8.2
github.com/herumi/bls-eth-go-binary v0.0.0-20210917013441-d37c07cfda4e
github.com/holiman/bloomfilter/v2 v2.0.3
github.com/holiman/uint256 v1.2.0
github.com/hpcloud/tail v1.0.0
github.com/hudl/fargo v1.3.0
github.com/huin/goupnp v1.0.2
github.com/huin/goutil v0.0.0-20170803182201-1ca381bf3150
github.com/ianlancetaylor/cgosymbolizer v0.0.0-20200424224625-be1b05b0b279
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6
github.com/imdario/mergo v0.3.5
github.com/inconshreveable/log15 v0.0.0-20170622235902-74a0988b5f80
github.com/inconshreveable/mousetrap v1.0.0
github.com/influxdata/flux v0.65.1
github.com/influxdata/influxdb v1.8.3
github.com/influxdata/influxdb-client-go/v2 v2.4.0
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
github.com/influxdata/influxql v1.1.1-0.20200828144457-65d3ef77d385
github.com/influxdata/line-protocol v0.0.0-20210311194329-9aa0e372d097
github.com/influxdata/promql/v2 v2.12.0
github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6
github.com/influxdata/tdigest v0.0.0-20181121200506-bf2b5ad3c0a9
github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368
github.com/ipfs/go-cid v0.1.0
github.com/ipfs/go-datastore v0.4.5
github.com/ipfs/go-detect-race v0.0.1
github.com/ipfs/go-ds-badger v0.2.7
github.com/ipfs/go-ds-leveldb v0.4.2
github.com/ipfs/go-ipfs-delay v0.0.0-20181109222059-70721b86a9a8
github.com/ipfs/go-ipfs-util v0.0.2
github.com/ipfs/go-log v1.0.5
github.com/ipfs/go-log/v2 v2.3.0
github.com/jackpal/gateway v1.0.5
github.com/jackpal/go-nat-pmp v1.0.2
github.com/jbenet/go-cienv v0.1.0
github.com/jbenet/go-temp-err-catcher v0.1.0
github.com/jbenet/goprocess v0.1.4
github.com/jcmturner/gofork v1.0.0
github.com/jedisct1/go-minisign v0.0.0-20190909160543-45766022959e
github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1
github.com/jessevdk/go-flags v1.4.0
github.com/jhump/protoreflect v1.8.1
github.com/jmespath/go-jmespath v0.4.0
github.com/jmespath/go-jmespath/internal/testify v1.5.1
github.com/jonboulle/clockwork v0.1.0
github.com/joonix/log v0.0.0-20200409080653-9c1d2ceb5f1d
github.com/jpillora/backoff v1.0.0
github.com/jrick/logrotate v1.0.0
github.com/json-iterator/go v1.1.11 => github.com/prestonvanloon/go v1.1.7-0.20190722034630-4f2e55fcf87b
github.com/jstemmer/go-junit-report v0.9.1
github.com/jsternberg/zap-logfmt v1.0.0
github.com/jtolds/gls v4.20.0+incompatible
github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a
github.com/julienschmidt/httprouter v1.3.0
github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5
github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
github.com/kami-zh/go-capturer v0.0.0-20171211120116-e492ea43421d
github.com/karalabe/usb v0.0.0-20211005121534-4c5740d64559
github.com/kevinms/leakybucket-go v0.0.0-20200115003610-082473db97ca
github.com/kisielk/errcheck v1.5.0
github.com/kisielk/gotool v1.0.0
github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23
github.com/klauspost/compress v1.13.6
github.com/klauspost/cpuid v1.2.3
github.com/klauspost/cpuid/v2 v2.0.9
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6
github.com/klauspost/pgzip v1.2.5
github.com/klauspost/reedsolomon v1.9.3
github.com/konsorten/go-windows-terminal-sequences v1.0.3
github.com/koron/go-ssdp v0.0.2
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515
github.com/kr/pretty v0.2.1
github.com/kr/pty v1.1.3
github.com/kr/text v0.2.0
github.com/kylelemons/godebug v1.1.0
github.com/labstack/echo/v4 v4.2.1
github.com/labstack/gommon v0.3.0
github.com/leanovate/gopter v0.2.9
github.com/lib/pq v1.0.0
github.com/libp2p/go-addr-util v0.1.0
github.com/libp2p/go-buffer-pool v0.0.2
github.com/libp2p/go-conn-security-multistream v0.3.0
github.com/libp2p/go-eventbus v0.2.1
github.com/libp2p/go-flow-metrics v0.0.3
github.com/libp2p/go-libp2p v0.14.4
github.com/libp2p/go-libp2p-autonat v0.4.2
github.com/libp2p/go-libp2p-blankhost v0.2.0
github.com/libp2p/go-libp2p-circuit v0.4.0
github.com/libp2p/go-libp2p-connmgr v0.2.4
github.com/libp2p/go-libp2p-core v0.11.0
github.com/libp2p/go-libp2p-crypto v0.1.0
github.com/libp2p/go-libp2p-discovery v0.5.1
github.com/libp2p/go-libp2p-loggables v0.1.0
github.com/libp2p/go-libp2p-mplex v0.4.1
github.com/libp2p/go-libp2p-nat v0.0.6
github.com/libp2p/go-libp2p-netutil v0.1.0
github.com/libp2p/go-libp2p-noise v0.3.0
github.com/libp2p/go-libp2p-peer v0.2.0
github.com/libp2p/go-libp2p-peerstore v0.3.0
github.com/libp2p/go-libp2p-pnet v0.2.0
github.com/libp2p/go-libp2p-pubsub v0.5.0
github.com/libp2p/go-libp2p-quic-transport v0.14.0
github.com/libp2p/go-libp2p-secio v0.2.2
github.com/libp2p/go-libp2p-swarm v0.7.0
github.com/libp2p/go-libp2p-testing v0.5.0
github.com/libp2p/go-libp2p-tls v0.3.0
github.com/libp2p/go-libp2p-transport-upgrader v0.5.0
github.com/libp2p/go-libp2p-yamux v0.5.4
github.com/libp2p/go-maddr-filter v0.1.0
github.com/libp2p/go-mplex v0.3.0
github.com/libp2p/go-msgio v0.1.0
github.com/libp2p/go-nat v0.0.5
github.com/libp2p/go-netroute v0.1.6
github.com/libp2p/go-openssl v0.0.7
github.com/libp2p/go-reuseport v0.1.0
github.com/libp2p/go-reuseport-transport v0.1.0
github.com/libp2p/go-sockaddr v0.1.1
github.com/libp2p/go-stream-muxer v0.0.1
github.com/libp2p/go-stream-muxer-multistream v0.3.0
github.com/libp2p/go-tcp-transport v0.4.0
github.com/libp2p/go-ws-transport v0.4.0
github.com/libp2p/go-yamux v1.4.1
github.com/libp2p/go-yamux/v2 v2.2.0
github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743
github.com/lightstep/lightstep-tracer-go v0.18.1
github.com/logrusorgru/aurora v2.0.3+incompatible
github.com/lucas-clemente/quic-go v0.24.0
github.com/lunixbochs/vtclean v1.0.0
github.com/lyft/protoc-gen-validate v0.0.13
github.com/magiconair/properties v1.8.1
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e
github.com/manifoldco/promptui v0.7.0
github.com/marten-seemann/qpack v0.2.1
github.com/marten-seemann/qtls v0.10.0
github.com/marten-seemann/qtls-go1-15 v0.1.4
github.com/marten-seemann/qtls-go1-16 v0.1.4
github.com/marten-seemann/qtls-go1-17 v0.1.0
github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd
github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd
github.com/mattn/go-colorable v0.1.8
github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d
github.com/mattn/go-isatty v0.0.14
github.com/mattn/go-runewidth v0.0.9
github.com/mattn/go-sqlite3 v1.11.0
github.com/mattn/go-tty v0.0.0-20180907095812-13ff1204f104
github.com/matttproud/golang_protobuf_extensions v1.0.1
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b
github.com/microcosm-cc/bluemonday v1.0.1
github.com/miekg/dns v1.1.43
github.com/mikioh/tcp v0.0.0-20190314235350-803a9b46060c
github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b
github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1
github.com/minio/highwayhash v1.0.1
github.com/minio/sha256-simd v1.0.0
github.com/mitchellh/cli v1.0.0
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/mitchellh/go-homedir v1.1.0
github.com/mitchellh/go-testing-interface v1.0.0
github.com/mitchellh/gox v0.4.0
github.com/mitchellh/iochan v1.0.0
github.com/mitchellh/mapstructure v1.4.1
github.com/mitchellh/pointerstructure v1.2.0
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
github.com/modern-go/reflect2 v1.0.1
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/mr-tron/base58 v1.2.0
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae
github.com/multiformats/go-base32 v0.0.4
github.com/multiformats/go-base36 v0.1.0
github.com/multiformats/go-multiaddr v0.4.1
github.com/multiformats/go-multiaddr-dns v0.3.1
github.com/multiformats/go-multiaddr-fmt v0.1.0
github.com/multiformats/go-multiaddr-net v0.2.0
github.com/multiformats/go-multibase v0.0.3
github.com/multiformats/go-multihash v0.0.16
github.com/multiformats/go-multistream v0.2.2
github.com/multiformats/go-varint v0.0.6
github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f
github.com/naoina/go-stringutil v0.1.0
github.com/naoina/toml v0.1.2-0.20170918210437-9fafd6967416
github.com/nats-io/jwt v0.3.2
github.com/nats-io/nats-server/v2 v2.1.2
github.com/nats-io/nats.go v1.9.1
github.com/nats-io/nkeys v0.1.3
github.com/nats-io/nuid v1.0.1
github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86
github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab
github.com/nishanths/predeclared v0.0.0-20200524104333-86fad755b4d3
github.com/nxadm/tail v1.4.8
github.com/oklog/oklog v0.3.2
github.com/oklog/run v1.0.0
github.com/oklog/ulid v1.3.1
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.13.0
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
github.com/openconfig/gnmi v0.0.0-20190823184014-89b2bf29312c
github.com/openconfig/reference v0.0.0-20190727015836-8dfd928c9696
github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492
github.com/opentracing/basictracer-go v1.0.0
github.com/opentracing/opentracing-go v1.2.0
github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5
github.com/openzipkin/zipkin-go v0.2.2
github.com/pact-foundation/pact-go v1.0.4
github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c
github.com/patrickmn/go-cache v2.1.0+incompatible
github.com/paulbellamy/ratecounter v0.2.0
github.com/pborman/uuid v1.2.1
github.com/pelletier/go-toml v1.2.0
github.com/performancecopilot/speed v3.0.0+incompatible
github.com/peterbourgon/diskv v2.0.1+incompatible
github.com/peterh/liner v1.2.0
github.com/philhofer/fwd v1.0.0
github.com/pierrec/lz4 v2.4.1+incompatible
github.com/pkg/errors v0.9.1
github.com/pkg/profile v1.5.0
github.com/pkg/term v0.0.0-20180730021639-bffc007b7fd5
github.com/pmezard/go-difflib v1.0.0
github.com/posener/complete v1.1.1
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.31.1
github.com/prometheus/procfs v0.7.3
github.com/prometheus/prom2json v1.3.0
github.com/prometheus/tsdb v0.10.0
github.com/prysmaticlabs/eth2-types v0.0.0-20210303084904-c9735a06829d
github.com/prysmaticlabs/go-bitfield v0.0.0-20210809151128-385d8c5e3fb7
github.com/prysmaticlabs/prombbolt v0.0.0-20210126082820-9b7adba6db7c
github.com/prysmaticlabs/protoc-gen-go-cast v0.0.0-20211014160335-757fae4f38c6
github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc
github.com/rcrowley/go-metrics v0.0.0-20190826022208-cac0b30c2563
github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52
github.com/rjeczalik/notify v0.9.1
github.com/rogpeppe/fastuuid v1.2.0
github.com/rogpeppe/go-internal v1.3.0
github.com/rs/cors v1.7.0
github.com/russross/blackfriday v1.5.2
github.com/russross/blackfriday/v2 v2.0.1
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f
github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da
github.com/satori/go.uuid v1.2.0
github.com/schollz/progressbar/v3 v3.3.4
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529
github.com/segmentio/kafka-go v0.2.0
github.com/sergi/go-diff v1.0.0
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible
github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4
github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48
github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470
github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041
github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d
github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c
github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b
github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20
github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9
github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50
github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc
github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9
github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191
github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241
github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122
github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2
github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82
github.com/shurcooL/sanitized_anchor_name v1.0.0
github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537
github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133
github.com/sirupsen/logrus v1.6.0
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d
github.com/smartystreets/goconvey v1.6.4
github.com/smola/gocompat v0.2.0
github.com/soheilhy/cmux v0.1.4
github.com/sony/gobreaker v0.4.1
github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d
github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e
github.com/spacemonkeygo/openssl v0.0.0-20181017203307-c2dcc5cca94a
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572
github.com/spaolacci/murmur3 v1.1.0
github.com/spf13/afero v1.2.2
github.com/spf13/cast v1.3.0
github.com/spf13/cobra v1.0.1-0.20201006035406-b97b5ead31f7
github.com/spf13/jwalterweatherman v1.0.0
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.7.0
github.com/src-d/envconfig v1.0.0
github.com/status-im/keycard-go v0.0.0-20200402102358-957c09536969
github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271
github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a
github.com/stretchr/objx v0.1.1
github.com/stretchr/testify v1.7.0
github.com/subosito/gotenv v1.2.0
github.com/supranational/blst v0.3.5
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
github.com/templexxx/cpufeat v0.0.0-20180724012125-cef66df7f161
github.com/templexxx/xor v0.0.0-20191217153810-f85b25db303b
github.com/thomaso-mirodin/intmath v0.0.0-20160323211736-5dc6d854e46e
github.com/tinylib/msgp v1.0.2
github.com/tjfoc/gmsm v1.3.0
github.com/tklauser/go-sysconf v0.3.5
github.com/tklauser/numcpus v0.2.2
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5
github.com/trailofbits/go-mutexasserts v0.0.0-20200708152505-19999e7d3cef
github.com/twitchtv/twirp v7.1.0+incompatible
github.com/tyler-smith/go-bip39 v1.1.0
github.com/uber/jaeger-client-go v2.25.0+incompatible
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8
github.com/urfave/cli v1.22.1
github.com/urfave/cli/v2 v2.3.0
github.com/valyala/bytebufferpool v1.0.0
github.com/valyala/fasttemplate v1.2.1
github.com/viant/assertly v0.4.8
github.com/viant/toolbox v0.24.0
github.com/wealdtech/go-bytesutil v1.1.1
github.com/wealdtech/go-eth2-types/v2 v2.5.2
github.com/wealdtech/go-eth2-util v1.6.3
github.com/wealdtech/go-eth2-wallet-encryptor-keystorev4 v1.1.3
github.com/wealdtech/go-eth2-wallet-types/v2 v2.8.2
github.com/wercker/journalhook v0.0.0-20180428041537-5d0a5ae867b3
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1
github.com/whyrusleeping/go-logging v0.0.1
github.com/whyrusleeping/mafmt v1.2.8
github.com/whyrusleeping/mdns v0.0.0-20190826153040-b9b60ed33aa9
github.com/whyrusleeping/multiaddr-filter v0.0.0-20160516205228-e903e4adabd7
github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee
github.com/willf/bitset v1.1.3
github.com/x-cray/logrus-prefixed-formatter v0.5.2
github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c
github.com/xdg/stringprep v1.0.0
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2
github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77
github.com/xtaci/kcp-go v5.4.20+incompatible
github.com/xtaci/lossyconn v0.0.0-20190602105132-8df528c0c9ae
github.com/yuin/goldmark v1.4.0
go.etcd.io/bbolt v1.3.5
go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738
go.opencensus.io v0.23.0
go.uber.org/atomic v1.9.0
go.uber.org/automaxprocs v1.3.0
go.uber.org/goleak v1.1.11-0.20210813005559-691160354723
go.uber.org/multierr v1.7.0
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee
go.uber.org/zap v1.19.1
go4.org v0.0.0-20180809161055-417644f6feb5
golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/exp v0.0.0-20200513190911-00229845015e
golang.org/x/image v0.0.0-20190802002840-cff245a6509b
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5
golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028
golang.org/x/mod v0.5.1
golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c
golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20211015200801-69063c4bb744
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
golang.org/x/text v0.3.6
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
golang.org/x/tools v0.1.7
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
gonum.org/v1/gonum v0.6.0
gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0
gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b
google.golang.org/api v0.34.0
google.golang.org/appengine v1.6.7
google.golang.org/genproto v0.0.0-20210426193834-eac7f76ac494
google.golang.org/grpc v1.37.0
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.0.0
google.golang.org/protobuf v1.27.1
gopkg.in/alecthomas/kingpin.v2 v2.2.6
gopkg.in/bsm/ratelimit.v1 v1.0.0-20160220154919-db14e161995a
gopkg.in/cenkalti/backoff.v1 v1.1.0
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
gopkg.in/cheggaaa/pb.v1 v1.0.25
gopkg.in/d4l3k/messagediff.v1 v1.2.1
gopkg.in/errgo.v2 v2.1.0
gopkg.in/fsnotify.v1 v1.4.7
gopkg.in/gcfg.v1 v1.2.3
gopkg.in/inf.v0 v0.9.1
gopkg.in/ini.v1 v1.51.0
gopkg.in/jcmturner/aescts.v1 v1.0.1
gopkg.in/jcmturner/dnsutils.v1 v1.0.1
gopkg.in/jcmturner/goidentity.v3 v3.0.0
gopkg.in/jcmturner/gokrb5.v7 v7.5.0
gopkg.in/jcmturner/rpc.v1 v1.1.0
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce
gopkg.in/olebedev/go-duktape.v3 v3.0.0-20200619000410-60c24ae608a6
gopkg.in/redis.v4 v4.2.4
gopkg.in/resty.v1 v1.12.0
gopkg.in/src-d/go-cli.v0 v0.0.0-20181105080154-d492247bbc0d
gopkg.in/src-d/go-log.v1 v1.0.1
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
gopkg.in/urfave/cli.v1 v1.20.0
gopkg.in/warnings.v0 v0.1.2
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
gotest.tools v2.2.0+incompatible
grpc.go4.org v0.0.0-20170609214715-11d0a25b4919
honnef.co/go/tools v0.1.3
k8s.io/api v0.18.3
k8s.io/apimachinery v0.18.3
k8s.io/client-go v0.18.3
k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6
k8s.io/klog v1.0.0
k8s.io/klog/v2 v2.3.0
k8s.io/kube-openapi v0.0.0-20200410145947-61e04a5be9a6
k8s.io/utils v0.0.0-20200520001619-278ece378a50
rsc.io/binaryregexp v0.2.0
rsc.io/pdf v0.1.1
rsc.io/quote/v3 v3.1.0
rsc.io/sampler v1.3.0
sigs.k8s.io/structured-merge-diff/v3 v3.0.0
sigs.k8s.io/yaml v1.2.0
sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0
sourcegraph.com/sourcegraph/go-diff v0.5.0
sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4

In general, being a downstream user of libp2p means that any updates we need that touch libp2p often result in hours of debugging breakages between deprecated repos, deprecated code being cleaned up without a major version bump, and other various headaches. In this scenario, we needed to update github.com/libp2p/go-libp2p-quic-transport to support go 1.17 and ended up with a ton of issues.

Relevant: #676

@prestonvanloon
Copy link
Contributor Author

Looks like this is the root cause: libp2p/go-libp2p-core#212

@marten-seemann
Copy link
Contributor

In this scenario, we needed to update github.com/libp2p/go-libp2p-quic-transport to support go 1.17 and ended up with a ton of issues.

Please don’t do this. There’s no guarantee that a random version of any go-libp2p-* module works with a random (or even the most recent) version of go-libp2p.

We realize that it’s not ideal that the Go tool chain lets you do these upgrades deep down in the dependency tree, but there’s no way we can prevent this. The only thing we can (and do) guarantee is that the set of modules as released in a go-libp2p release works.

@prestonvanloon
Copy link
Contributor Author

Can you at least advise the minimum updates to support go 1.17?
We don't want to update everything as that adds more review work for us.

@marten-seemann
Copy link
Contributor

Can you at least advise the minimum updates to support go 1.17?

Not really. In fact, that’s an explicit non-goal of go-libp2p. We use versions (according to semver) to signal breaking API changes, so in general, it won’t be possible to “mix and match” versions.

Conceptually, it might help to think of go-libp2p as one module, which, for historical reasons, is unfortunately split up into way too many modules, each living in its own repository. We’re actually working towards a repo consolidation, and the transport repos will probably be the first ones that are getting merged into go-libp2p.

Regarding Go version compatibility, each release supports the two most recent Go versions (at the time that release is cut).

We don't want to update everything as that adds more review work for us.

Is that the only reason you’re hesitant to upgrade? New releases contain a bunch of bug fixes as well as new features, and you’ll be missing out on those if you choose to stay on an old version.
In the next couple of months, we’ll Land Project Flare (decentralized hole punching) and Protocol Select (a replacement for the multistream protocol, drastically reducing handshake latency).

@prestonvanloon
Copy link
Contributor Author

Is that the only reason you’re hesitant to upgrade?

In short, yes. We are hesitant to update libp2p because updates may result in new regressions.

@prestonvanloon
Copy link
Contributor Author

prestonvanloon commented Oct 19, 2021

I think this issue should be reopened. If anyone else depends on libp2p and tries to update it, they will face the same issue.

To reproduce, checkout github.com/prysmaticlabs/prysm and run

 go get -u github.com/libp2p/go-libp2p

I tried this on our develop branch, without attempting to update only what I wanted, and I still have the same failure.

Edit: go get without -u seems to work.

@marten-seemann
Copy link
Contributor

In short, yes. We are hesitant to update libp2p because updates may result in new regressions.

That's true for any update of any dependency, isn't it? Needless to say, we'd be very happy to hear about about any issues you might encounter.

I think this issue should be reopened. If anyone else depends on libp2p and tries to update it, they will face the same issue.

Only if they use go get -u. Really, there's nothing we can do on the libp2p side of things about this. This is a problem of the Go toolchain, which poorly handles deeply nested dependency trees like ours. Cutting releases across this many repos takes time (a few days, sometimes a week or two), during which go get -u will fail until we manage to get the go-libp2p update released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants