This is a known false positive. Because nightly builds are compiled by community developers without an expensive commercial code-signing certificate, Windows Defender's machine learning (Wacatac) and heuristic scanners on VirusTotal often flag the unsigned .exe and .dll files by mistake.
As long as you grabbed the .7z archives from the official links in the Nightly builds subforum, they are completely safe. Just extract them into a dedicated folder and add that folder to your Windows Security Exclusion list so Defender stops blocking it.