You need to activate them by using the lever which you will get after the trap is created.
If you didn't get the lever, then you created only holes for the future spikes