I think it might be the same issue as v1.19.0-rc.1 - compilation does not finish with for comprehension in Ecto.Migrator anomymous function · Issue #14810 · elixir-lang/elixir · GitHub.