compile mysql-otp failed, relate to issue
$ erl +Version
Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 13.0
$ rebar3 version
rebar 3.18.0 on Erlang/OTP 25 Erts 13.0
$ rebar3 compile
===> Verifying dependencies...
===> Analyzing applications...
===> Compiling poolboy
===> Compiling mysql
===> Compiling _build/default/lib/mysql/src/mysql.erl failed
mysql:1: function transaction/4+22:
Internal consistency check failed - please report this bug.
Instruction: {call_last,4,{f,162},4}
Error: {bad_arg_type,{x,1},any,{t_fun,any,any,any}}:
$ cd _build/default/lib/mysql
$ git log --pretty="%H - %cd" -n 1
6b089f9c273771310d3a491fa33de0c0eddf0a33 - Mon Oct 12 10:39:45 2020 +0200