Skip to content

Instantly share code, notes, and snippets.

@mentos1386
Created April 15, 2020 12:14
Show Gist options
  • Save mentos1386/8b6e50913c3801f02c59a6019c4a4f7b to your computer and use it in GitHub Desktop.
Save mentos1386/8b6e50913c3801f02c59a6019c4a4f7b to your computer and use it in GitHub Desktop.
# github.com/libp2p/go-libp2p-host
../../go/pkg/mod/github.com/libp2p/go-libp2p-host@v0.0.3/helpers.go:8:3: cannot use h.ID() (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in field value
# github.com/libp2p/go-libp2p-kbucket
../../go/pkg/mod/github.com/libp2p/go-libp2p-kbucket@v0.1.1/table.go:81:27: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to rt.metrics.LatencyEWMA
../../go/pkg/mod/github.com/libp2p/go-libp2p-kbucket@v0.1.1/table.go:246:66: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to rt.metrics.LatencyEWMA
# github.com/ipfs/go-ipns
../../go/pkg/mod/github.com/ipfs/go-ipns@v0.0.1/record.go:77:26: cannot use pid (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to v.KeyBook.PubKey
../../go/pkg/mod/github.com/ipfs/go-ipns@v0.0.1/record.go:82:2: cannot use pubk (type "github.com/libp2p/go-libp2p-core/crypto".PubKey) as type "github.com/libp2p/go-libp2p-crypto".PubKey in return argument:
"github.com/libp2p/go-libp2p-core/crypto".PubKey does not implement "github.com/libp2p/go-libp2p-crypto".PubKey (wrong type for Equals method)
have Equals("github.com/libp2p/go-libp2p-core/crypto".Key) bool
want Equals("github.com/libp2p/go-libp2p-crypto".Key) bool
# github.com/libp2p/go-libp2p-kad-dht/pb
../../go/pkg/mod/github.com/libp2p/go-libp2p-kad-dht@v0.0.15/pb/message.go:57:3: cannot use "github.com/libp2p/go-libp2p-peer".ID(pbp.GetId()) (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in field value
../../go/pkg/mod/github.com/libp2p/go-libp2p-kad-dht@v0.0.15/pb/message.go:79:47: cannot use peers[i].ID (type "github.com/libp2p/go-libp2p-core/peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in argument to n.Connectedness
# github.com/libp2p/go-libp2p-routing-helpers
../../go/pkg/mod/github.com/libp2p/go-libp2p-routing-helpers@v0.0.2/parallel.go:431:20: cannot use pi.ID (type "github.com/libp2p/go-libp2p-core/peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in map index
../../go/pkg/mod/github.com/libp2p/go-libp2p-routing-helpers@v0.0.2/parallel.go:437:9: cannot use pi.ID (type "github.com/libp2p/go-libp2p-core/peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in map index
../../go/pkg/mod/github.com/libp2p/go-libp2p-routing-helpers@v0.0.2/parallel.go:485:19: cannot use pi.ID (type "github.com/libp2p/go-libp2p-core/peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in map index
../../go/pkg/mod/github.com/libp2p/go-libp2p-routing-helpers@v0.0.2/parallel.go:491:9: cannot use pi.ID (type "github.com/libp2p/go-libp2p-core/peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in map index
# github.com/ipfs/go-ipfs/repo/fsrepo
../../go/pkg/mod/github.com/ipfs/go-ipfs@v0.4.23/repo/fsrepo/datastores.go:247:20: cannot use measure.New(c.prefix, child) (type *measure.measure) as type repo.Datastore in return argument:
*measure.measure does not implement repo.Datastore (missing Sync method)
../../go/pkg/mod/github.com/ipfs/go-ipfs@v0.4.23/repo/fsrepo/fsrepo.go:432:7: cannot use measure.New(prefix, r.ds) (type *measure.measure) as type repo.Datastore in assignment:
*measure.measure does not implement repo.Datastore (missing Sync method)
# github.com/ipfs/go-ds-flatfs
../../go/pkg/mod/github.com/ipfs/go-ds-flatfs@v0.0.2/flatfs.go:91:5: cannot use (*Datastore)(nil) (type *Datastore) as type datastore.Datastore in assignment:
*Datastore does not implement datastore.Datastore (missing Sync method)
# github.com/libp2p/go-libp2p-swarm
../../go/pkg/mod/github.com/libp2p/go-libp2p-swarm@v0.0.7/swarm.go:181:20: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to s.peers.AddPubKey
../../go/pkg/mod/github.com/libp2p/go-libp2p-swarm@v0.0.7/swarm.go:181:20: cannot use pk (type "github.com/libp2p/go-libp2p-crypto".PubKey) as type "github.com/libp2p/go-libp2p-core/crypto".PubKey in argument to s.peers.AddPubKey:
"github.com/libp2p/go-libp2p-crypto".PubKey does not implement "github.com/libp2p/go-libp2p-core/crypto".PubKey (wrong type for Equals method)
have Equals("github.com/libp2p/go-libp2p-crypto".Key) bool
want Equals("github.com/libp2p/go-libp2p-core/crypto".Key) bool
../../go/pkg/mod/github.com/libp2p/go-libp2p-swarm@v0.0.7/swarm_dial.go:285:25: cannot use s.local (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to s.peers.PrivKey
../../go/pkg/mod/github.com/libp2p/go-libp2p-swarm@v0.0.7/swarm_dial.go:300:28: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-core/peer".ID in argument to s.peers.Addrs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment