The root snapcraft.yaml (source build, kept for Snap Store remote builders) shadowed the staged snap/snapcraft.yaml dump recipe, so the v2.0.0 snap job recompiled the entire workspace inside LXD and the container OOM'd. Remove the root recipes from the CI working copy before invoking snapcraft. cc