Package Compiler doesn't download required artifact

Are you sure that PackageCompiler can find that file on your system? And if so, what are its contents?

It contains what should be compiled for the sysimage. It contains a lot precompile statements
like some of these

precompile(Tuple{Type{Base.Multimedia.TextDisplay}, Base.PipeEndpoint})
precompile(Tuple{Type{REPL.Terminals.TTYTerminal}, String, Base.PipeEndpoint, Base.PipeEndpoint, Base.PipeEndpoint})
precompile(Tuple{typeof(Base.something), Nothing, Base.PipeEndpoint})
precompile(Tuple{typeof(Pkg.API.instantiate)})
precompile(Tuple{typeof(Base.deepcopy_internal), Any, Base.IdDict{Any, Any}})
precompile(Tuple{typeof(Core.Compiler.eltype), Type{Array{UInt64, 1}}})
precompile(Tuple{typeof(Base.deepcopy_internal), Tuple{UInt64}, Base.IdDict{Any, Any}})

to generate it I followed direction from this post

I’m sure PackageCompiler can found it. I have tried making a symbolic link for
~/.julia/artifacts/fdff308295487f361ef6e8dc2d27f5abe8a6eee9/mingw64/bin to point at my msys2 installation that has g++ and it manages to build the image. But when i use it Julia can’t load it.