A man was arrested after chasing workers with a knife at a construction site in south Lincoln, court documents show.