
Brew cask is updated to latest version
The immediate solution is to run brew cask uninstall --force xmind, which removes all versions of xmind.
The underlying issue is long-standing (#2988), and stems from the fact that we do not yet track packages across versions. When you issue brew cask uninstall xmind, the command looks up the _current_ definition of the xmind Cask, which may not match the one you originally installed.
Thanks when I try brew cask uninstall --force xmind it seems to me that it just delete the symlink not the actual app and related data/files

The message only mentions the symlink, but the files staged at /opt/homebrew-cask/Caskroom/xmind should also have been removed, along with the folder itself. (You are right that the output is rather unclear; we should improve it.)
ok. In your first comment you mentioned "...which removes all versions of xmind.." What do you mean by all versions? Why would anyone want to keep any version of the software which he has planned to not to use further. What would actually happen if we don't add --force
Most helpful comment
The immediate solution is to run
brew cask uninstall --force xmind, which removes all versions of xmind.The underlying issue is long-standing (#2988), and stems from the fact that we do not yet track packages across versions. When you issue
brew cask uninstall xmind, the command looks up the _current_ definition of thexmindCask, which may not match the one you originally installed.