The plugin has a full package path of main (it's directly under GOPATH/src) go run . uses main as the package name since it's a main package. This conflicts with the plugin. go run main.go uses command-line-arguments as the package name.
I think this is working as intended, and easy to work around (make sure each package has a unique import path).