Due to a changed internal debugging format, OTP 21 does not support the OTP-19 style debug info. This causes a lot of errors about not found debug symbols when trying to use dialyzer in this constellation.
To actually make dialyzer happy again one needs to use an elixir that is compiled with OTP 20 at least.