Locust trees are frequently attacked by locust borers while they are growing. A lot of them also have carpenter ant tunnels in the center of the heartwood, but that's usually bigger trees. The locust borers lay eggs in the fall around wounds and cracks, and the tiny borers start down into the wood, overwinter, and start munching and growing again the next spring.