Skip to content

Instantly share code, notes, and snippets.

@zippy
Created October 19, 2017 14:15
Show Gist options
  • Save zippy/9f3a1097774aeb370b0c70a8d75b4e28 to your computer and use it in GitHub Desktop.
Save zippy/9f3a1097774aeb370b0c70a8d75b4e28 to your computer and use it in GitHub Desktop.
go test
# github.com/metacurrency/holochain
./node.go:367: cannot use []"gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr".Multiaddr literal (type []"gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr".Multiaddr) as type []"github.com/multiformats/go-multiaddr".Multiaddr in argument to swarm.NewNetwork
./node.go:367: cannot use nodeID (type "gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer".ID) as type "github.com/libp2p/go-libp2p-peer".ID in argument to swarm.NewNetwork
./node.go:367: cannot use ps (type "gx/ipfs/QmPgDWmTmuzvP7QE5zwo1TmjbJme9pmZHNujB2453jkCTr/go-libp2p-peerstore".Peerstore) as type "github.com/libp2p/go-libp2p-peerstore".Peerstore in argument to swarm.NewNetwork:
"gx/ipfs/QmPgDWmTmuzvP7QE5zwo1TmjbJme9pmZHNujB2453jkCTr/go-libp2p-peerstore".Peerstore does not implement "github.com/libp2p/go-libp2p-peerstore".Peerstore (wrong type for AddAddr method)
have AddAddr("gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer".ID, "gx/ipfs/QmXY77cVe7rVRQXZZQRioukUM7aRW3BTcAgJe12MCtb3Ji/go-multiaddr".Multiaddr, time.Duration)
want AddAddr("github.com/libp2p/go-libp2p-peer".ID, "github.com/multiformats/go-multiaddr".Multiaddr, time.Duration)
./node.go:373: cannot use netw (type *swarm.Network) as type "gx/ipfs/QmNa31VPzC561NWwRsJLE7nGYZYuuD2QfpK2b1q9BK54J1/go-libp2p-net".Network in argument to basichost.New:
*swarm.Network does not implement "gx/ipfs/QmNa31VPzC561NWwRsJLE7nGYZYuuD2QfpK2b1q9BK54J1/go-libp2p-net".Network (wrong type for ClosePeer method)
have ClosePeer("github.com/libp2p/go-libp2p-peer".ID) error
want ClosePeer("gx/ipfs/QmXYjuNuxVzXKJCfWasQk1RqkhVLDM9jtUKhqc2WPQmFSB/go-libp2p-peer".ID) error
FAIL github.com/metacurrency/holochain [build failed]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment