There are a couple places where JLD2 currently depends on Base.module_keys:
https://github.com/search?q=repo%3AJuliaIO%2FJLD2.jl%20module_keys&type=code
This function is no longer available on nightly (1.12) versions of Julia, which makes JLD2 incompatible.