In SW New Mexico. Our small locust tree if eight years has a trunk that has gradually grown black!
Certified GKH Gardening Expert
No photos came through so can only provide best guess. It could be natural color of black locust, or it could be sooty mold growing on honeydew secretions from an aphid infestation. The mold is not harmful, but the aphids are sucking insects that can weaken the tree.