Skip to content

Instantly share code, notes, and snippets.

@zippy
Created March 12, 2017 15:26
Show Gist options
  • Save zippy/7fb45819763c6224a54633a9baf604b6 to your computer and use it in GitHub Desktop.
Save zippy/7fb45819763c6224a54633a9baf604b6 to your computer and use it in GitHub Desktop.
failing make test
eric@finkomatic:~/go/src/github.com/metacurrency/holochain$ make test
gx install --global
installation of dep go-semver complete!
installation of dep dns complete!
installation of dep go-text complete!
installation of dep go-net complete!
installation of dep mdns complete!
installation of dep go-randbuf complete!
installation of dep go-msgio complete!
installation of dep go-crypto complete!
installation of dep go-base58 complete!
installation of dep go-multihash complete!
installation of dep go-base58 complete!
installation of dep go-ipfs-util complete!
installation of dep go-keyspace complete!
installation of dep go-multistream complete!
installation of dep go-detect-race complete!
installation of dep goprocess complete!
installation of dep go-logging complete!
installation of dep go-log complete!
installation of dep go-multiaddr complete!
installation of dep go-multiaddr-net complete!
installation of dep go-multihash complete!
installation of dep multiaddr-filter complete!
installation of dep go-base58 complete!
installation of dep go-crypto complete!
installation of dep gogo-protobuf complete!
installation of dep go-multiaddr complete!
installation of dep go-metrics complete!
installation of dep randbo complete!
installation of dep go-notifier complete!
installation of dep go-temp-err-catcher complete!
installation of dep go-stream-muxer complete!
installation of dep go-libp2p-protocol complete!
installation of dep mafmt complete!
installation of dep go-libp2p-transport complete!
installation of dep go-peerstream complete!
installation of dep mafmt complete!
installation of dep gorocheck complete!
installation of dep ed25519 complete!
installation of dep go-libp2p-crypto complete!
installation of dep go-libp2p-peer complete!
installation of dep go.uuid complete!
installation of dep go-libp2p-loggables complete!
installation of dep go-libp2p-secio complete!
installation of dep go-libp2p-peerstore complete!
installation of dep websocket complete!
installation of dep ws-transport complete!
installation of dep go-libp2p-transport complete!
installation of dep go-sockaddr complete!
installation of dep go-net-resolve-addr complete!
installation of dep GoEndian complete!
installation of dep eventfd complete!
installation of dep go-reuseport complete!
installation of dep go-tcp-transport complete!
installation of dep go-maddr-filter complete!
installation of dep go-libp2p-protocol complete!
installation of dep go-addr-util complete!
installation of dep go-datastore complete!
installation of dep go-testutil complete!
installation of dep go-libp2p-interface-conn complete!
installation of dep go-libp2p-interface-pnet complete!
installation of dep go-libp2p-conn complete!
installation of dep go-libp2p-net complete!
installation of dep go-libp2p-metrics complete!
installation of dep go-libp2p-interface-conn complete!
installation of dep go-libp2p-host complete!
installation of dep spdystream complete!
installation of dep go-smux-spdystream complete!
installation of dep go-smux-multistream complete!
installation of dep yamux complete!
installation of dep go-smux-yamux complete!
installation of dep go-libp2p-swarm complete!
installation of dep goupnp complete!
installation of dep gateway complete!
installation of dep go-nat-pmp complete!
installation of dep go-nat complete!
installation of dep go-libp2p-nat complete!
installation of dep go-libp2p-netutil complete!
installation of dep go-libp2p-blankhost complete!
installation of dep go-libp2p complete!
installation of dep holochain complete!
gx-go rewrite
go get -d ./...
gx-go rewrite --undo
go get -t
# github.com/libp2p/go-libp2p-swarm
../../libp2p/go-libp2p-swarm/swarm.go:141: cannot use local (type "github.com/libp2p/go-libp2p-peer".ID) as type "gx/ipfs/QmZcUPvPhD1Xvk6mwijYF8AfR3mG31S1YsEfHG4khrFPRr/go-libp2p-peer".ID in argument to "github.com/libp2p/go-libp2p-conn".NewDialer
../../libp2p/go-libp2p-swarm/swarm.go:141: cannot use peers.PrivKey(local) (type "github.com/libp2p/go-libp2p-crypto".PrivKey) as type "gx/ipfs/QmNiCwBNA8MWDADTFVq1BonUEJbS2SvjAoNkZZrhEwcuUi/go-libp2p-crypto".PrivKey in argument to "github.com/libp2p/go-libp2p-conn".NewDialer:
"github.com/libp2p/go-libp2p-crypto".PrivKey does not implement "gx/ipfs/QmNiCwBNA8MWDADTFVq1BonUEJbS2SvjAoNkZZrhEwcuUi/go-libp2p-crypto".PrivKey (wrong type for Equals method)
have Equals("github.com/libp2p/go-libp2p-crypto".Key) bool
want Equals("gx/ipfs/QmNiCwBNA8MWDADTFVq1BonUEJbS2SvjAoNkZZrhEwcuUi/go-libp2p-crypto".Key) bool
../../libp2p/go-libp2p-swarm/swarm.go:141: cannot use wrap (type func("github.com/libp2p/go-libp2p-transport".Conn) "github.com/libp2p/go-libp2p-transport".Conn) as type "github.com/libp2p/go-libp2p-conn".WrapFunc in argument to "github.com/libp2p/go-libp2p-conn".NewDialer
../../libp2p/go-libp2p-swarm/swarm.go:171: cannot use id (type "github.com/libp2p/go-libp2p-peer".ID) as type "gx/ipfs/QmZcUPvPhD1Xvk6mwijYF8AfR3mG31S1YsEfHG4khrFPRr/go-libp2p-peer".ID in argument to "github.com/libp2p/go-libp2p-conn".NewDialer
../../libp2p/go-libp2p-swarm/swarm.go:171: cannot use privkey (type "github.com/libp2p/go-libp2p-crypto".PrivKey) as type "gx/ipfs/QmNiCwBNA8MWDADTFVq1BonUEJbS2SvjAoNkZZrhEwcuUi/go-libp2p-crypto".PrivKey in argument to "github.com/libp2p/go-libp2p-conn".NewDialer:
"github.com/libp2p/go-libp2p-crypto".PrivKey does not implement "gx/ipfs/QmNiCwBNA8MWDADTFVq1BonUEJbS2SvjAoNkZZrhEwcuUi/go-libp2p-crypto".PrivKey (wrong type for Equals method)
have Equals("github.com/libp2p/go-libp2p-crypto".Key) bool
want Equals("gx/ipfs/QmNiCwBNA8MWDADTFVq1BonUEJbS2SvjAoNkZZrhEwcuUi/go-libp2p-crypto".Key) bool
../../libp2p/go-libp2p-swarm/swarm_dial.go:350: cannot use addr (type "github.com/multiformats/go-multiaddr".Multiaddr) as type "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr".Multiaddr in argument to s.dialer.Dial:
"github.com/multiformats/go-multiaddr".Multiaddr does not implement "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr".Multiaddr (wrong type for Decapsulate method)
have Decapsulate("github.com/multiformats/go-multiaddr".Multiaddr) "github.com/multiformats/go-multiaddr".Multiaddr
want Decapsulate("gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr".Multiaddr) "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr".Multiaddr
../../libp2p/go-libp2p-swarm/swarm_dial.go:350: cannot use p (type "github.com/libp2p/go-libp2p-peer".ID) as type "gx/ipfs/QmZcUPvPhD1Xvk6mwijYF8AfR3mG31S1YsEfHG4khrFPRr/go-libp2p-peer".ID in argument to s.dialer.Dial
../../libp2p/go-libp2p-swarm/swarm_dial.go:357: invalid operation: remotep != p (mismatched types "gx/ipfs/QmZcUPvPhD1Xvk6mwijYF8AfR3mG31S1YsEfHG4khrFPRr/go-libp2p-peer".ID and "github.com/libp2p/go-libp2p-peer".ID)
../../libp2p/go-libp2p-swarm/swarm_dial.go:366: invalid operation: remotep == s.local (mismatched types "gx/ipfs/QmZcUPvPhD1Xvk6mwijYF8AfR3mG31S1YsEfHG4khrFPRr/go-libp2p-peer".ID and "github.com/libp2p/go-libp2p-peer".ID)
../../libp2p/go-libp2p-swarm/swarm_dial.go:372: cannot use connC (type "gx/ipfs/QmcYnysCkyGezY6k6MQ1yHHdrRiZaU9x3M9Y1tE9qZ5hD2/go-libp2p-interface-conn".Conn) as type "github.com/libp2p/go-libp2p-interface-conn".Conn in return argument:
"gx/ipfs/QmcYnysCkyGezY6k6MQ1yHHdrRiZaU9x3M9Y1tE9qZ5hD2/go-libp2p-interface-conn".Conn does not implement "github.com/libp2p/go-libp2p-interface-conn".Conn (wrong type for LocalMultiaddr method)
have LocalMultiaddr() "gx/ipfs/QmSWLfmj5frN9xVLMMN846dMDriy5wN5jeghUm7aTW3DAG/go-multiaddr".Multiaddr
want LocalMultiaddr() "github.com/multiformats/go-multiaddr".Multiaddr
../../libp2p/go-libp2p-swarm/swarm_dial.go:372: too many errors
Makefile:8: recipe for target 'test' failed
make: *** [test] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment