Skip to content

Instantly share code, notes, and snippets.

@zippy
Created October 19, 2017 11:44
Show Gist options
  • Save zippy/47dec62f6134473c8737af124b9aa58f to your computer and use it in GitHub Desktop.
Save zippy/47dec62f6134473c8737af124b9aa58f to your computer and use it in GitHub Desktop.
$ go test
# github.com/libp2p/go-libp2p-metrics/conn
../../libp2p/go-libp2p-metrics/conn/conn.go:28: mc.Conn.Read undefined (type transport.Conn has no field or method Read)
../../libp2p/go-libp2p-metrics/conn/conn.go:35: mc.Conn.Write undefined (type transport.Conn has no field or method Write)
# github.com/libp2p/go-libp2p-conn
../../libp2p/go-libp2p-conn/conn.go:90: c.maconn.SetDeadline undefined (type transport.Conn has no field or method SetDeadline)
../../libp2p/go-libp2p-conn/conn.go:93: c.maconn.SetReadDeadline undefined (type transport.Conn has no field or method SetReadDeadline)
../../libp2p/go-libp2p-conn/conn.go:97: c.maconn.SetWriteDeadline undefined (type transport.Conn has no field or method SetWriteDeadline)
../../libp2p/go-libp2p-conn/conn.go:126: c.maconn.Read undefined (type transport.Conn has no field or method Read)
../../libp2p/go-libp2p-conn/conn.go:126: not enough arguments to return
have (<T>)
want (int, error)
../../libp2p/go-libp2p-conn/conn.go:131: c.maconn.Write undefined (type transport.Conn has no field or method Write)
../../libp2p/go-libp2p-conn/conn.go:131: not enough arguments to return
have (<T>)
want (int, error)
../../libp2p/go-libp2p-conn/dial.go:121: maconn.SetReadDeadline undefined (type transport.Conn has no field or method SetReadDeadline)
../../libp2p/go-libp2p-conn/dial.go:123: cannot use maconn (type transport.Conn) as type io.ReadWriteCloser in argument to multistream.SelectProtoOrFail:
transport.Conn does not implement io.ReadWriteCloser (missing Read method)
../../libp2p/go-libp2p-conn/dial.go:129: maconn.SetReadDeadline undefined (type transport.Conn has no field or method SetReadDeadline)
../../libp2p/go-libp2p-conn/dial.go:129: too many errors
# github.com/libp2p/go-peerstream
../../libp2p/go-peerstream/conn.go:82: cannot use c.netConn (type transport.Conn) as type net.Conn in return argument:
transport.Conn does not implement net.Conn (missing Read method)
../../libp2p/go-peerstream/conn.go:253: cannot use netConn (type transport.Conn) as type net.Conn in argument to s.transport.NewConn:
transport.Conn does not implement net.Conn (missing Read method)
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