AssertionError: 0 < tid <= length(THREAD_RNGs) during compilation with PackageCompiler

So I rolled back to 1.6 and tried both locally and on the cluster and the assertion error returned. For reproducibility, I added XAM.jl to the MyApp example (added to dev’d package, only included “using XAM” in src/MyApp.jl) and it started failing with the same assertion error both locally and on the cluster.

I’m dealing with another issue or two (PackageCompiler "create_app" function failing on slurm cluster: "error: undefined reference to 'ceil'") but I don’t think that changes the conclusion that the PackageCompiler v1.6.0 issue can be reproduced with that XAM.jl package?

Please let me know if you need any more details!