Skip to content

Instantly share code, notes, and snippets.

@frrist
Created December 1, 2017 00:08
Show Gist options
  • Save frrist/09e51ae2273554ad75ca41fee6b7efc7 to your computer and use it in GitHub Desktop.
Save frrist/09e51ae2273554ad75ca41fee6b7efc7 to your computer and use it in GitHub Desktop.
frist@blue:~/s/g/i/go-ipfs-cmds(master|✔)
➤ go build Fri Dec 1 00:07:27 UTC 2017
# github.com/ipfs/go-ipfs-cmds
./legacy.go:28: cannot use requestWrapper literal (type *requestWrapper) as type commands.Request in return argument:
*requestWrapper does not implement commands.Request (wrong type for Files method)
have Files() "github.com/ipfs/go-ipfs-cmdkit/files".File
want Files() "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit/files".File
./legacy.go:111: cannot use oldRequestWrapper literal (type *oldRequestWrapper) as type Request in return argument:
*oldRequestWrapper does not implement Request (wrong type for Files method)
have Files() "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit/files".File
want Files() "github.com/ipfs/go-ipfs-cmdkit/files".File
./legacy.go:281: cannot use responseWrapper literal (type *responseWrapper) as type commands.Response in argument to me.m:
*responseWrapper does not implement commands.Response (wrong type for Error method)
have Error() *"github.com/ipfs/go-ipfs-cmdkit".Error
want Error() *"gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit".Error
./legacy.go:306: cannot use code (type "github.com/ipfs/go-ipfs-cmdkit".ErrorType) as type "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit".ErrorType in argument to re.r.SetError
./legacy.go:342: cannot use cmd.Options (type []"github.com/ipfs/go-ipfs-cmdkit".Option) as type []"gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit".Option in field value
./legacy.go:343: cannot use cmd.Arguments (type []"github.com/ipfs/go-ipfs-cmdkit".Argument) as type []"gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit".Argument in field value
./legacy.go:344: cannot use cmd.Helptext (type "github.com/ipfs/go-ipfs-cmdkit".HelpText) as type "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit".HelpText in field value
./legacy.go:368: cannot use req (type *oldRequestWrapper) as type Request in argument to cmd.Run:
*oldRequestWrapper does not implement Request (wrong type for Files method)
have Files() "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit/files".File
want Files() "github.com/ipfs/go-ipfs-cmdkit/files".File
./legacy.go:374: cannot use req (type *oldRequestWrapper) as type Request in argument to cmd.PreRun:
*oldRequestWrapper does not implement Request (wrong type for Files method)
have Files() "gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit/files".File
want Files() "github.com/ipfs/go-ipfs-cmdkit/files".File
./legacy.go:389: cannot use oldcmd.Options (type []"gx/ipfs/QmUyfy4QSr3NXym4etEiRyxBLqqAeKHJuRdi8AACxg63fZ/go-ipfs-cmdkit".Option) as type []"github.com/ipfs/go-ipfs-cmdkit".Option in field value
./legacy.go:389: too many errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment