1906a656_uide_to_Small_Batch_Composting__POSSIBLE_CAUSE
[SYMPTOM] Compost contains earwigs, maggots, slugs or other insects. [POSSIBLE SOLUTION] Let the insects add to the composting process. A light sprinkling of lime may reduce them on the surface if desired. [POSSIBLE CAUSE] 
Insects are a good sign of a productive compost mix.
How to Compost: Guide to Small Batch Composting
POSSIBLE CAUSE