All material excavated from trenches and piled adjacent to the trench or in any street shall be piled and maintained in such manner as not to endanger those working in the trench, pedestrians, or users of streets, and so that as little inconvenience as possible is caused to those using streets and adjoining property.