As shown in https://github.com/JuliaTime/TimeZones.jl/issues/393 Scratch.jl can fail when tracking scratch access. This can occur under certain conditions like when creating a scratch space when using a relocated sysimage. The issue should now be addressed as of Julia v1.8.0-beta1 but we should also include a fix in Scratch.jl to avoid these kinds of failures on earlier versions of Julia.
As shown in https://github.com/JuliaTime/TimeZones.jl/issues/393 Scratch.jl can fail when tracking scratch access. This can occur under certain conditions like when creating a scratch space when using a relocated sysimage. The issue should now be addressed as of Julia v1.8.0-beta1 but we should also include a fix in Scratch.jl to avoid these kinds of failures on earlier versions of Julia.