If I run SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft cleanbuild
on a core (not core18) build I get the following error:
2019-01-25T22:05:44Z INFO Waiting for restart...
core 16-2.36.3 from 'canonical' installed
snapcraft 3.0.1 from Canonical✓ installed
Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
mkdir: cannot create directory ‘~/project’: No such file or directory
An error occurred when trying to execute "mkdir '~/project'" with 'multipass': returned exit code 1.