The snapcraft build environment must be one of: 'host', 'managed-host', or 'multipass' Why?

I doubt this is not only deprecated, but also obsoleted.

For the snap building in non-snapcraft cleanbuild LXD containers, set SNAPCRAFT_BUILD_ENVIRONMENT=host seems to solve the issue, refer How to create a LXD container for snap development for a guide to create one.