Summarize:

When you discover a weevil infestation, the first thing you have to do is get all the food off the shelves in your pantry or cupboard. That way, you can clean all the shelves and inspect the food for contamination. Set up all the food in one location, such as in your kitchen. Go through all the food that was in your pantry or cupboards and inspect for weevils or signs of infestation. If you find weevils in whole grains that can be rinsed, you can clean the grains and salvage them.  Ideal candidates for rinsing include whole-grain rice, barley, and buckwheat. Place the grains into a strainer and hold it under running water. Use your hand or a spoon to comb through the grains, making sure the water rinses them all. When the weevils have been rinsed away, place the grains on a baking sheet and into a 140 F (60 C) oven for 15 minutes to kill any eggs and dry the grains. Many infested foods, such as flours and cereals, cannot be rinsed without being damaged. Throw these foods out. Place them in a large garbage bag and tie the bag tightly.  Remove the bag with the contaminated foods from your house immediately so the weevils don’t eat their way out and infest again. If you don’t feel comfortable salvaging infested foods like rice, simply discard them as well. Once you’ve gone through and thrown out all your infested foods, wash the containers with hot, soapy water to remove any eggs or larvae that might still be present. For dishwasher-safe containers, run the dirty containers through the dishwasher instead. This will serve the dual purpose of sucking up weevils and removing their food source. Make sure you get into all the nooks, crannies, corners, and cracks. Vacuum the floor in your pantry as well, or the counter under the cupboards. Once weevils infest your pantry, they may travel out to explore new areas of your kitchen if they're attracted to any other food sources. Crumbs and forgotten bits of food can often be found under appliances, so it’s important to clean under these as well.  Pull out your stove and fridge and vacuum thoroughly underneath before replacing them. You should also move and vacuum under your microwave, toaster, toaster oven, and any other countertop appliances you have. Weevils can hide in places you'd never think, including underneath old shelf paper on the shelves in your pantry or cupboard. To ensure that you don’t have any stowaways, and to remove any eggs and larvae, remove the shelf paper that’s lining your shelves.  Discard the old shelf paper immediately. Vacuum and clean the bare shelves before installing new paper. Once everything has been cleaned thoroughly and the new paper installed, you can start returning non-contaminated food to your pantry or cupboard.
Remove all the food from your cupboards. Rinse infested grains. Discard infested food that can't be rinsed. Wash contaminated storage containers. Vacuum all the shelving. Clean under all your appliances. Replace old shelf paper before returning food to the pantry.