moat: ditch dug as a fortification and usually filled with water
trench: a ditch dug as a fortification having a parapet of the excavated earth
cliff swallow: North American swallow that lives in colonies and builds bottle-shaped mud nests on cliffs and walls