Well, I don't have a solution to the problem, but... buildsnap is known to just hang sometimes when run under the QEMU emulator (amd64 -> arm64). For reasons! Ill-defined reasons.
Commenting that line out of the Dockerfile and seeing what the result is.