In a large bowl, mix sugar, flour, baking soda, salt, and cinnamon. Make a well and add oil, eggs, and vanilla and mix well. Stir in carrots, pineapple, raisins, and nuts until combined.
Fill cupcake liners ¾ full with batter.
Bake for 15-16 minutes until toothpick comes out clean.
Let cupcakes cool completely before frosting.
For the Frosting:
