The repo URL in the current Processing4 build instructions points to the "old" Processing3 repo.
I figured this out the hard way by accidentally copying the repo URL directly from the build instructions without thinking. Next thing I knew I was getting weird errors saying I need Java 8 to build Processing4. Turns out I was trying to build Processing3...