Six people have been arrested following an attempted robbery at an O2 phone shop in Chippenham.