Mosquitto - putting both the broker and the clients into same snap

I am trying to create a single snap where the mosuqitto broker and pub/sub clients are all in the same snap. I have created two separate snaps from the github code base (see link) but when I try to create one monolithic snap I hit an error. I am running snapcraft from the ./snap folder snapcraft.yaml file.

Here is a link to the github
https://github.com/chadyoungdell/Ubuntu-Core/tree/master/IOT_Apps/mosquitto.snap

Here is a link to the error
https://pastebin.com/BjM6KHU7

If someone can help me figure out what I am doing wrong that would great.

Thanks
Chad

The snap is working at this time

The snap is functional in that I can install it on a UC16 system and run simple pub/sub examples.

If you see things that need cleaning up please let me know.