build system configuration...
GRUB 2 menu update...
unable to close file /boot/grub/grub.cfg.tmp: No space left on the device
Failed to install boot loader
warning: error(s) occurred while switching to a new configuration
Huh. The systemd-boot-builder.py script should be cleaning up its own old files, but maybe you’ve already switched to GRUB and that script isn’t being run anymore. You may have to delete things manually this once, and then again if you switch back from GRUB to another bootloader. (I don’t use GRUB but I expect its builder script will also delete its own old files, just not systemd-boot’s.)