Gusev crater was selected as the landing site for the Spirit rover because of the possibility that it once held a lake. Thus one of the rover's tasks was to search for evidence of lake sediments. However, the plains at the landing site were found to be covered by a regolith composed of olivine-rich basaltic rock and windblown 'global' dust. The analyses of three rock interiors exposed by the rock abrasion tool showed that they are similar to one another, consistent with having originated from a common lava flow. Here we report the investigation of soils, rock coatings and rock interiors by the Spirit rover from sol (martian day) 1 to sol 156, from its landing site to the base of the Columbia hills. The physical and chemical characteristics of the materials analysed provide evidence for limited but unequivocal interaction between water and the volcanic rocks of the Gusev plains. This evidence includes the softness of rock interiors that contain anomalously high concentrations of sulphur, chlorine and bromine relative to terrestrial basalts and martian meteorites; sulphur, chlorine and ferric iron enrichments in multilayer coatings on the light-toned rock Mazatzal; high bromine concentration in filled vugs and veins within the plains basalts; positive correlations between magnesium, sulphur and other salt components in trench soils; and decoupling of sulphur, chlorine and bromine concentrations in trench soils compared to Gusev surface soils, indicating chemical mobility and separation.