Mix error corresponding to erlang-20rc.1 version

What is your erlang version?

If you’re on OTP 20 release candidate, you’ll probably need elixir master - there’s an incompatibility with precompiled modules that contain regular expressions.