core: Plugins that implement the Communicator interface must now implement a DownloadDir method [GH-2618]
source: https://github.com/mitchellh/packer/blob/master/CHANGELOG.md
I don't have any experience with go yet, otherwise I'd try to fix it myself. I was hoping this will be useful for LXC 2.0 container creation
$ gox -os=linux -arch=amd64 -output=pkg/{{.OS}}_{{.Arch}}/packer-builder-lxc
Number of parallel builds: 3
--> linux/amd64: github.com/ustream/packer-builder-lxc
1 errors occurred:
--> linux/amd64 error: exit status 2
Stderr: # github.com/ustream/packer-builder-lxc/builder/lxc
builder/lxc/builder.go:69: cannot use common.MultistepDebugFn(ui) (type "github.com/mitchellh/packer/vendor/github.com/mitchellh/multistep".DebugPauseFn) as type "github.com/mitchellh/multistep".DebugPauseFn in field value
builder/lxc/config.go:34: cannot use &md (type *"github.com/mitchellh/mapstructure".Metadata) as type *"github.com/mitchellh/packer/vendor/github.com/mitchellh/mapstructure".Metadata in field value
builder/lxc/step_provision.go:28: cannot use comm (type *LxcAttachCommunicator) as type packer.Communicator in argument to hook.Run:
*LxcAttachCommunicator does not implement packer.Communicator (missing DownloadDir method)
I don't have any experience with go yet, otherwise I'd try to fix it myself. I was hoping this will be useful for LXC 2.0 container creation
$ gox -os=linux -arch=amd64 -output=pkg/{{.OS}}_{{.Arch}}/packer-builder-lxc Number of parallel builds: 3 --> linux/amd64: github.com/ustream/packer-builder-lxc 1 errors occurred: --> linux/amd64 error: exit status 2 Stderr: # github.com/ustream/packer-builder-lxc/builder/lxc builder/lxc/builder.go:69: cannot use common.MultistepDebugFn(ui) (type "github.com/mitchellh/packer/vendor/github.com/mitchellh/multistep".DebugPauseFn) as type "github.com/mitchellh/multistep".DebugPauseFn in field value builder/lxc/config.go:34: cannot use &md (type *"github.com/mitchellh/mapstructure".Metadata) as type *"github.com/mitchellh/packer/vendor/github.com/mitchellh/mapstructure".Metadata in field value builder/lxc/step_provision.go:28: cannot use comm (type *LxcAttachCommunicator) as type packer.Communicator in argument to hook.Run: *LxcAttachCommunicator does not implement packer.Communicator (missing DownloadDir method)