This message is expected and can be safely ignored AFAIK since you’re building inside a docker container.
The issue you have now is something else with UTF-8, can you please start a new topic in the snapcraft category with details on that, including your snapcraft.yaml?