This is possibly a TravisCI issue but I’ll raise it here because many of the Snapcrafter projects have travis.yml files and they no longer work because of this possible bug.
It looks like the permissions or groups changed on the TravisCI boxes because, since you can’t run lxd with sudo anymore, the travis user can’t access the LXD socket.
I ran into the same issue while debugging via ssh on a CircleCI box as well, which leads me to believe this might be a Snapcraft or LXD issue since it affects two different platforms.