Hdiutil fails when using "brew cask install"

Did you try it with sudo, like sudo brew cask install ...?

Based on the warning line Warning: /usr/local is not writable, sudo is needed to move the Caskroom. that’s the most likely cause I think.

As always, you can find the changes at Changelog, this weekend’s changelog: Weekly Virtual Machine / Stack updates - 2017.04.29

If you have any questions please let us know!