I believe on one of your plugins, you forget loading or unloading hives,
so on one of next plugin failure happens.
to debug where failure happens, you can put
at the begining or end of some of your plugins, this will stop build,
and check registry with Regedit to see if there are loaded hives.
After a series of this elimination method trials, I believe you will find your personal plugin where failure