The v1.11.1 version of MLJModelInterface has introduced REPL as a new dependency. As AWS Lambda doesn't support pseudo-terminal, precompilation of REPL always fails with this error:
This has resulted in the inability of some libraries that rely on MLJModelInterface—specifically Turing and MCMCChains for our use case—to function within the AWS Lambda environment.