Precompilation interrupted (bug?)

I started to see this consistent interruption of the precompilation stage whenever I install packages in fresh environments. For example, if I start a fresh environment and ] add GeoStats on Julia v1.10.4, I get the following output:

The prompt becomes available again, but not all packages are precompiled. When I try to use the package for the first time, the precompilation is restarted.

Anyone experiencing similar issues? Can you reproduce the issue with the package above?

Cannot reproduce on Linux:

julia> import Pkg; Pkg.activate(;temp=true)
julia> Pkg.add("GeoStats")
# ...
        Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
  83 dependencies successfully precompiled in 68 seconds. 141 already precompiled.
  1 dependency had output during precompilation:
┌ TableTransforms
│  [pid 354816] waiting for IO to finish:
│   Handle type        uv_handle_t->data
│   fs_event           0x226e8b0->0x73822ed3bdf0
│   timer              0x22b5430->0x73822ed3be20
│  This means that a package has started a background task or event source that has not finished running. For precompilation to complete successfully, the event source needs to be closed explicitly. See the developer documentation on fixing precompilation hangs for more help.
└  

julia> using GeoStats

julia> versioninfo()
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 4800H with Radeon Graphics
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver2)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)

Thank you for trying to reproduce the issue. I tried on a Windows machine.