The federal government has lamented the activities of illegal miners across the country.