Displacement is usually the method that is used to measure the volume of a solid with an irregular shape
The answer to the question "When a part rusts is becomes heavier or lighter?" is the rust actually has a tendency to flake off. But as long as the rust is still on the nail, the nail will be heavier. The reason is that you are actually adding an oxygen and hydrogen to the nail.