Mix the sugar, butter, flour, and egg until it's well combined and it forms a dough. (It may look like it won't combine, but keep mixing, and use your hand if you need to!)
Wrap the dough in a clean foil and let it rest in the fridge until your filling is ready.
Preheat the oven.
Peel and grate the carrots and the apple.
Mix them with the trail mix, the orange zest, and the raisins.
Cook them with the water for 10-15 minutes or until everything softens. Let it cool a little and with a hand blender, blend it a bit so it doesn't contain large pieces.
In the meanwhile, roll out the dough and cut round shapes in the size of your cupcake form.
Cut little stars from the remaining dough.
Push the dough into a cupcake pan or cupcake liners.
Fill them with the filing, then add the stars.
Bake it for about 15-20 minutes (or until the edge of the dough starts to turn golden, it burns quickly!) on medium-high heat.