Rusty metal bits in tub after wash cycle

How does the “metal basket” differ from the tub? Though at this point it probably doesn’t matter. Yes, we’ll probably have the washer hauled away before we put the house on the market. Thanks so much for your info.