If xf-addon:rebuild fails (for example due to a version ID difference) the error message is This add-on cannot be upgraded.. I'd guess something along the lines of This add-on cannot be rebuilt. might make more sense?