Compilation fails under OTP 23 with rebar3.
This is because of warnings_as_errors in erl_opts. Please consider remove warnings_as_errors which is a mistake. That flag only makes sense in development and does the wrong thing almost in every other situation, for example when pulled in as a dep.