It shall be the duty of every city officer and employee who becomes aware of any defect or obstruction, or of any unlawful deposit or discharge, in or on any public street, alley, curb, sidewalk, or other public way of the city to report the same to the street superintendent as soon as possible.