Preheat an oven to 180 degrees (fan).
Place the cubes of butternut squash on a big baking tray, pour 1 tbsp of olive oil over them, sprinkle with salt and pepper, mix well (you can do it with your hands) and put to the hot oven for 20 minutes.
Take the baking tray out of the oven, move the squash around in case it got stuck to the bottom of the tray; push to one side; add the mushrooms and the tomatoes. Season, pour 1 tbsp o olive oil over the added vegetables and put back to the oven for further 20 minutes.
Approx. 5-10 minutes before the vegetables are done, cook the pasta per packet instruction. Keep half a cup of cooking water before you drain the cooked pasta.
In a big frying pan heat the 1 tbsp olive oil, add the garlic, spinach and fry only till wilted.
Add the roasted vegetables and thyme, season.
Pour a few tablespoons of the pasta cooking water to the baking tray in which vegetables were roasted and deglaze it. You can do it by moving a spatula to dissolve the brown residue from the bottom of the tray – this way you will get some extra flavour.
Pour the sauce to the pan with the vegetables, stir and mix gently with the cooked pasta.
Serve with grated or shaved Parmesan cheese.