If the other worms are the same color as the carpet, they are clothes moth larvae.
If they look like maggots, they are the larvae of the Indian Meal moths and are coming out of the packaged foods in the pantry.
Springtails hop like fleas. Fleas bite,