[15151] Cannot find the user 'TEST_SCHEMA', because it does not exist or you do not have permission.CREATE SCHEMA failed due to previous errors.

The following SQL command caused the error:

CREATE SCHEMA [TEST_SCHEMA]AUTHORIZATION [TEST_SCHEMA]

This is obviously because your role hasn't yet had the chance to be deployed and hence your script will fail. Editing the script manually to create the role before said schema will allow the deployment through without fault.

Can the developers please check for schemas owned by roles and rearrange how the deployment scripts are created for these cases?

I have added the details of this forum post to an existing Bug Report reference SC-5584. We hope to have a fix for this particular bug in the next version SQL Compare V10.2. Sadly I do not have a release date at this time.