Preheat the oven to 350°F (175°C) and lightly grease a 9 x 5 inch loaf pan.
In a small bowl, mash the apple pie filling with a fork into small chunks and set aside.
In a large bowl, beat butter, granulated sugar, and brown sugar until creamy. Add eggs one at a time, then mix in the crumbled apples and vanilla.
In another bowl, whisk together flour, baking soda, apple pie spice, cinnamon, and salt.
Gradually stir the dry ingredients into the wet mixture until just combined. Fold in raisins and walnuts.
Pour the batter into the prepared pan and bake for about 60 minutes, or until a toothpick inserted in the center comes out clean.
Cool for 15 minutes in the pan, then transfer to a wire rack to cool completely before slicing.