-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated Pkg precompilation and loading precompilation for the same package version #2761
Comments
What you're seeing shouldn't be happening. When Pkg precompiles the packages, you shouldn't see precompilation happen again when loading the package. Can you try with a latest nightly binary? |
I can't reproduce this on a recent nightly
|
@anandijain if what you posted is reproducible for you, can you do exactly the same but starting julia with the JULIA_DEBUG env var set to "loading". i.e.
to get the debug info from the loading process |
(@v1.7) pkg> activate --temp
Activating new project at `/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_FpaVZZ`
(jl_FpaVZZ) pkg> add CellML
CellMLPhysiome CellMLToolkit
(jl_FpaVZZ) pkg> add CellMLToolkit
Updating registry at `~/.julia/registries/General.toml`
Resolving package versions...
Installed JuliaFormatter ───── v0.17.2
Installed StrideArraysCore ─── v0.2.5
Installed MutableArithmetics ─ v0.2.21
Updating `/private/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_FpaVZZ/Project.toml`
[03cb29e0] + CellMLToolkit v2.6.0
Updating `/private/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_FpaVZZ/Manifest.toml`
[1520ce14] + AbstractTrees v0.3.4
[79e6a3ab] + Adapt v3.3.1
[ec485272] + ArnoldiMethod v0.1.0
[4fba245c] + ArrayInterface v3.1.33
[e2ed5e7c] + Bijections v0.1.3
[62783981] + BitTwiddlingConvenienceFunctions v0.1.0
[2a0fbf3d] + CPUSummary v0.1.5
[00ebfdb7] + CSTParser v3.2.4
[03cb29e0] + CellMLToolkit v2.6.0
[d360d2e6] + ChainRulesCore v1.7.2
[fb6a15b2] + CloseOpenIntervals v0.1.2
[861a8166] + Combinatorics v1.0.2
[a80b9123] + CommonMark v0.8.3
[38540f10] + CommonSolve v0.2.0
[bbf7d656] + CommonSubexpressions v0.3.0
[34da2185] + Compat v3.39.0
[b152e2b5] + CompositeTypes v0.1.2
[187b0558] + ConstructionBase v1.3.0
[a8cc5b0e] + Crayons v4.0.4
[754358af] + DEDataArrays v0.2.0
[9a962f9c] + DataAPI v1.9.0
[864edb3b] + DataStructures v0.18.10
[e2d170a0] + DataValueInterfaces v1.0.0
[2b5f629d] + DiffEqBase v6.73.2
[459566f4] + DiffEqCallbacks v2.17.0
[c894b116] + DiffEqJump v7.3.1
[163ba53b] + DiffResults v1.0.3
[b552c78f] + DiffRules v1.3.1
[b4f34e82] + Distances v0.10.4
[31c24e10] + Distributions v0.25.19
[ffbed154] + DocStringExtensions v0.8.5
[5b8099bc] + DomainSets v0.5.9
[7c1d4256] + DynamicPolynomials v0.3.21
[da5c29d0] + EllipsisNotation v1.1.0
[d4d017d3] + ExponentialUtilities v1.10.0
[e2ba6199] + ExprTools v0.1.6
[8f5d6c58] + EzXML v1.1.0
[7034ab61] + FastBroadcast v0.1.8
[9aa1b823] + FastClosures v0.3.2
[1a297f60] + FillArrays v0.12.7
[6a86dc24] + FiniteDiff v2.8.1
[59287772] + Formatting v0.4.2
[f6369f11] + ForwardDiff v0.10.20
[069b7b12] + FunctionWrappers v1.1.2
[3e5b6fbb] + HostCPUFeatures v0.1.4
[0e44f5e4] + Hwloc v2.0.0
[615f187c] + IfElse v0.1.0
[d25df0c9] + Inflate v0.1.2
[8197267c] + IntervalSets v0.5.3
[92d709cd] + IrrationalConstants v0.1.0
[42fd0dbc] + IterativeSolvers v0.9.1
[82899510] + IteratorInterfaceExtensions v1.0.0
[692b3bcd] + JLLWrappers v1.3.0
[682c06a0] + JSON v0.21.2
[98e50ef6] + JuliaFormatter v0.17.2
[b964fa9f] + LaTeXStrings v1.2.1
[2ee39098] + LabelledArrays v1.6.5
[23fbe1c1] + Latexify v0.15.6
[10f19ff3] + LayoutPointers v0.1.3
[093fc24a] + LightGraphs v1.3.5
[d3d80556] + LineSearches v7.1.1
[2ab3a3ac] + LogExpFunctions v0.3.3
[bdcacae8] + LoopVectorization v0.12.84
[1914dd2f] + MacroTools v0.5.8
[d125e4d3] + ManualMemory v0.1.6
[abcecc63] + MathML v0.1.9
[c03570c3] + Memoize v0.4.4
[e1d29d7a] + Missings v1.0.2
[961ee093] + ModelingToolkit v6.6.0
[46d2c3a1] + MuladdMacro v0.2.2
[102ac46a] + MultivariatePolynomials v0.3.18
[d8a4904e] + MutableArithmetics v0.2.21
[d41bc354] + NLSolversBase v7.8.1
[2774e3e8] + NLsolve v4.5.1
[77ba4419] + NaNMath v0.3.5
[8913a72c] + NonlinearSolve v0.3.11
[6fe1bfb0] + OffsetArrays v1.10.7
[bac558e1] + OrderedCollections v1.4.1
[1dea7af3] + OrdinaryDiffEq v5.64.1
[90014a1f] + PDMats v0.11.1
[d96e819e] + Parameters v0.12.3
[69de0a69] + Parsers v2.0.5
[e409e4f3] + PoissonRandom v0.4.0
[f517fe37] + Polyester v0.5.3
[1d0040c9] + PolyesterWeave v0.1.0
[d236fae5] + PreallocationTools v0.1.1
[21216c6a] + Preferences v1.2.2
[1fd47b50] + QuadGK v2.4.2
[e6cf234a] + RandomNumbers v1.5.3
[3cdcf5f2] + RecipesBase v1.1.2
[731186ca] + RecursiveArrayTools v2.19.1
[f2c3362d] + RecursiveFactorization v0.2.4
[189a3867] + Reexport v1.2.2
[ae029012] + Requires v1.1.3
[79098fc4] + Rmath v0.7.0
[7e49a35a] + RuntimeGeneratedFunctions v0.5.3
[3cdde19b] + SIMDDualNumbers v0.1.0
[94e857df] + SIMDTypes v0.1.0
[476501e8] + SLEEFPirates v0.6.27
[1bc83da4] + SafeTestsets v0.0.1
[0bca4576] + SciMLBase v1.19.1
[efcf1570] + Setfield v0.7.1
[699a6c99] + SimpleTraits v0.9.4
[a2af1166] + SortingAlgorithms v1.0.1
[47a9eef4] + SparseDiffTools v1.16.5
[276daf66] + SpecialFunctions v1.7.0
[aedffcd0] + Static v0.3.3
[90137ffa] + StaticArrays v1.2.13
[82ae8749] + StatsAPI v1.0.0
[2913bbd2] + StatsBase v0.33.11
[4c63d2b9] + StatsFuns v0.9.12
[7792a7ef] + StrideArraysCore v0.2.5
[d1185830] + SymbolicUtils v0.16.0
[0c5d862f] + Symbolics v3.4.3
[3783bdb8] + TableTraits v1.0.1
[bd369af6] + Tables v1.6.0
[8ea1fca8] + TermInterface v0.1.8
[8290d209] + ThreadingUtilities v0.4.6
[a759f4b9] + TimerOutputs v0.5.13
[0796e94c] + Tokenize v0.5.21
[a2a6695c] + TreeViews v0.3.0
[d5829a12] + TriangularSolve v0.1.6
[5c2747f8] + URIs v1.3.0
[3a884ed6] + UnPack v1.0.2
[1986cc42] + Unitful v1.9.0
[3d5dd08c] + VectorizationBase v0.21.13
[19fa3120] + VertexSafeGraphs v0.1.2
[700de1a5] + ZygoteRules v0.2.2
[e33a78d0] + Hwloc_jll v2.5.0+0
[94ce4f54] + Libiconv_jll v1.16.1+1
[efe28fd5] + OpenSpecFun_jll v0.5.5+0
[f50d1b31] + Rmath_jll v0.3.0+0
[02c8fc9c] + XML2_jll v2.9.12+0
[0dad84c5] + ArgTools
[56f22d72] + Artifacts
[2a0f44e3] + Base64
[ade2ca70] + Dates
[8bb1440f] + DelimitedFiles
[8ba89e20] + Distributed
[f43a241f] + Downloads
[9fa8497b] + Future
[b77e0a4c] + InteractiveUtils
[b27032c2] + LibCURL
[76f85450] + LibGit2
[8f399da3] + Libdl
[37e2e46d] + LinearAlgebra
[56ddb016] + Logging
[d6f4376e] + Markdown
[a63ad114] + Mmap
[ca575930] + NetworkOptions
[44cfe95a] + Pkg
[de0858da] + Printf
[3fa0cd96] + REPL
[9a3f8284] + Random
[ea8e919c] + SHA
[9e88b42a] + Serialization
[1a1011a3] + SharedArrays
[6462fe0b] + Sockets
[2f01184e] + SparseArrays
[10745b16] + Statistics
[4607b0f0] + SuiteSparse
[fa267f1f] + TOML
[a4e569a6] + Tar
[8dfed614] + Test
[cf7118a7] + UUIDs
[4ec0a83e] + Unicode
[e66e0078] + CompilerSupportLibraries_jll
[deac9b47] + LibCURL_jll
[29816b5a] + LibSSH2_jll
[c8ffd9c3] + MbedTLS_jll
[14a3606d] + MozillaCACerts_jll
[4536629a] + OpenBLAS_jll
[05823500] + OpenLibm_jll
[83775a58] + Zlib_jll
[8e850b90] + libblastrampoline_jll
[8e850ede] + nghttp2_jll
[3f19e933] + p7zip_jll
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_cXtEM.ji because it is for file /Users/anand/.julia/packages/Parsers/Vdwny/src/Parsers.jl not file /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/MutableArithmetics/EoEec_Np0hN.ji because it is for file /Users/anand/.julia/packages/MutableArithmetics/8xkW3/src/MutableArithmetics.jl not file /Users/anand/.julia/packages/MutableArithmetics/u2Z8U/src/MutableArithmetics.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/MutableArithmetics/EoEec_cXtEM.ji due to it containing an invalid cache header
└ @ Base loading.jl:1800
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_o2HJh.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_Np0hN.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CommonMark/LZtHZ_bcKPU.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
Precompiling┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_W2aut.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/MUH8R/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_UT4lQ.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_zV1QM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
project...┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_pg2F7.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_cXtEM.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/9AteC/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_cXtEM.ji due to it containing an invalid cache header
└ @ Base loading.jl:1800
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_GQedI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_vthnr.ji due to it containing an invalid cache header
└ @ Base loading.jl:1800
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_tpsng.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
Progress [> ] 0/18
◑ MutableArithmetics
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_n0Ta4.ji due to it containing an invalid cache header
└ @ Base loading.jl:1800
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_wCd2i.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is a
◒ MutableArithmetics
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_gNgmc.ji due to it containing an invalid cache header
└ @ Base loading.jl:1800
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_bcKPU.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_phQbR.ji due to it containing an invalid cache header
└ @ Base loading.jl:1800
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_aRzHC.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_phQbR.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_W2aut.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/MNZvq/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatte Progress [====== Progress [================================> Progress [========= P P Progres Progress [=== Progress [=============== Progress [============ Progress [============ Progress [ Progress [====== Progress [=== P Prog Progress [=============== Progress [====== Prog 18 dependencies successfully precompiled in 86 seconds (122 already precompiled)
(jl_FpaVZZ) pkg> precompile
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JSON/uf6oy_I0KXa.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CommonMark/LZtHZ_bcKPU.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_Lo2uI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_zV1QM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_cXtEM.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/9AteC/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_GQedI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_tpsng.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_wCd2i.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_bcKPU.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_aRzHC.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_phQbR.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_W2aut.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/MNZvq/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
Precompiling project...
3 dependencies successfully precompiled in 16 seconds (137 already precompiled)
julia> using CellMLToolkit
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_Lo2uI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_ozEyV.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] failed to load from cache file for /Users/anand/.julia/packages/NonlinearSolve/37aUT/src/NonlinearSolve.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_phQbR.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_9YSJO.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
[ Info: Precompiling CellMLToolkit [03cb29e0-1ef4-4721-aa24-cf58a006576f]
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_I0KXa.ji because it provides the wrong uuid (got 101917379307501) for Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] (want 442137696101001)
└ @ Base loading.jl:1843
┌ Debug: Required dependency Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] failed to load from cache file for /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JSON/uf6oy_I0KXa.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency CommonMark [a80b9123-70ca-4bc0-993e-6e3bcb318db6] failed to load from cache file for /Users/anand/.julia/packages/CommonMark/Cmk5S/src/CommonMark.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_GQedI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_ozEyV.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_zV1QM.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_cXtEM.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_tpsng.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_pg2F7.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_o2HJh.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_RpTDg.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Precompiling ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78]
└ @ Base loading.jl:1423
┌ Debug: Required dependency Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] failed to load from cache file for /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_zV1QM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_cXtEM.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/9AteC/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_GQedI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_tpsng.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_wCd2i.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_bcKPU.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_aRzHC.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_phQbR.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Precompiling JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899]
└ @ Base loading.jl:1423
julia> |
Thanks. Had you loaded anything before this in the session or in a startup.jl? |
Also, do you have another package dev-ed or in the load path called Parsers.jl but with a different uuid? Any ideas, @KristofferC? |
okay this was pretty bizarre. so below was without the startup.jl (which while it had a lot of cache rejections, didn't seem to do multiple Project precomps). however, I tried to narrow down what it was in my startup that caused it and it seems that after i moved it, then reenabled it, I get the below code segment, where only 1 rejection and no re-precomp. really sorry for the noise, don't know why disabling, then re-enabling the startup would fix this this is my startup. SaveREPL is https://github.com/anandijain/SaveREPL.jl but locally dev'd copy using Revise
using SaveREPL
using Pkg
ENV["JULIA_PKG_SERVER"]="https://neuralsim.juliahub.com"
Pkg.Registry.add(Pkg.RegistrySpec(url = "$(Pkg.pkg_server())/registry/JuliaSimRegistry", uuid = "309a7822-a73e-4490-9504-7d1983f27685"))
Base.eval(Module(), quote
using PkgAuthentication
PkgAuthentication.install()
end) no startup: _ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.7.0-rc1 (2021-09-12)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.7) pkg> activate --temp
Activating new project at `/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_o9S44y`
(jl_o9S44y) pkg> add CellMLToolkit
Updating registry at `~/.julia/registries/General.toml`
...
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_cXtEM.ji because it is for file /Users/anand/.julia/packages/Parsers/Vdwny/src/Parsers.jl not file /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/MutableArithmetics/EoEec_Lo2uI.ji because it is for file /Users/anand/.julia/packages/MutableArithmetics/u2Z8U/src/MutableArithmetics.jl not file /Users/anand/.julia/packages/MutableArithmetics/8xkW3/src/MutableArithmetics.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_Lo2uI.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
(jl_o9S44y) pkg> precompile
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_cXtEM.ji because it is for file /Users/anand/.julia/packages/Parsers/Vdwny/src/Parsers.jl not file /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/MutableArithmetics/EoEec_Lo2uI.ji because it is for file /Users/anand/.julia/packages/MutableArithmetics/u2Z8U/src/MutableArithmetics.jl not file /Users/anand/.julia/packages/MutableArithmetics/8xkW3/src/MutableArithmetics.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_Lo2uI.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
julia> using CellMLToolkit
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/StrideArraysCore/kWbGj_Lo2uI.ji because it is for file /Users/anand/.julia/packages/StrideArraysCore/xW7Bm/src/StrideArraysCore.jl not file /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl
└ @ Base loading.jl:1851
┌ Debug: Required dependency StrideArraysCore [7792a7ef-975c-4747-a70f-980b88e8d1da] failed to load from cache file for /Users/anand/.julia/packages/StrideArraysCore/skpQT/src/StrideArraysCore.jl.
└ @ Base loading.jl:845
┌ Debug: Required dependency Polyester [f517fe37-dbe3-4b94-8317-1923a5111588] failed to load from cache file for /Users/anand/.julia/packages/Polyester/tbhzk/src/Polyester.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/TriangularSolve/Sytuy_Lo2uI.ji because module Polyester [f517fe37-dbe3-4b94-8317-1923a5111588] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/RecursiveFactorization/tEwl6_Lo2uI.ji because module Polyester [f517fe37-dbe3-4b94-8317-1923a5111588] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] failed to load from cache file for /Users/anand/.julia/packages/NonlinearSolve/37aUT/src/NonlinearSolve.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/OrdinaryDiffEq/DlSvy_Lo2uI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/DiffEqBase/oaevG_Lo2uI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_Lo2uI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/MutableArithmetics/EoEec_Lo2uI.ji because it is for file /Users/anand/.julia/packages/MutableArithmetics/u2Z8U/src/MutableArithmetics.jl not file /Users/anand/.julia/packages/MutableArithmetics/8xkW3/src/MutableArithmetics.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/DiffEqJump/Lhfzo_Lo2uI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_cXtEM.ji because it is for file /Users/anand/.julia/packages/Parsers/Vdwny/src/Parsers.jl not file /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl
└ @ Base loading.jl:1851
┌ Debug: Required dependency Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] failed to load from cache file for /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JSON/uf6oy_cXtEM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_Lo2uI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_zV1QM.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/9AteC/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_cXtEM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_GQedI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_tpsng.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/ws4na/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_wCd2i.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_bcKPU.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/MNZvq/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_aRzHC.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/ws4na/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_phQbR.ji because module Compat [34da2185-b29b-5c13-b0c7-acf172513d20] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899] failed to load from cache file for /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_ozEyV.ji because module CommonMark [a80b9123-70ca-4bc0-993e-6e3bcb318db6] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_zV1QM.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_cXtEM.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_tpsng.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_pg2F7.ji because module FillArrays [1a297f60-69ca-5386-bcde-b61e274b549b] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_o2HJh.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_RpTDg.ji because module FillArrays [1a297f60-69ca-5386-bcde-b61e274b549b] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78] failed to load from cache file for /Users/anand/.julia/packages/ModelingToolkit/gNGGH/src/ModelingToolkit.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_ozEyV.ji because it is for file /Users/anand/.julia/dev/CellMLToolkit.jl/src/CellMLToolkit.jl not file /Users/anand/.julia/packages/CellMLToolkit/b21CL/src/CellMLToolkit.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_phQbR.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/CellMLToolkit/NZ8Ic_9YSJO.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
[ Info: Precompiling CellMLToolkit [03cb29e0-1ef4-4721-aa24-cf58a006576f]
┌ Debug: Required dependency MutableArithmetics [d8a4904e-b15c-11e9-3269-09a3773c0cb0] failed to load from cache file for /Users/anand/.julia/packages/MutableArithmetics/8xkW3/src/MutableArithmetics.jl.
└ @ Base loading.jl:845
┌ Debug: Required dependency MultivariatePolynomials [102ac46a-7ee4-5c85-9060-abc95bfdeaa3] failed to load from cache file for /Users/anand/.julia/packages/MultivariatePolynomials/vqcb5/src/MultivariatePolynomials.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Symbolics/eABRO_Lo2uI.ji because module MultivariatePolynomials [102ac46a-7ee4-5c85-9060-abc95bfdeaa3] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/DynamicPolynomials/tepBk_Lo2uI.ji because module MultivariatePolynomials [102ac46a-7ee4-5c85-9060-abc95bfdeaa3] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/SymbolicUtils/flNzo_Lo2uI.ji because module MultivariatePolynomials [102ac46a-7ee4-5c85-9060-abc95bfdeaa3] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_Lo2uI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_zV1QM.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/9AteC/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_cXtEM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_GQedI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_tpsng.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/ws4na/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_wCd2i.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_bcKPU.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/MNZvq/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_aRzHC.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/ws4na/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_phQbR.ji because module Compat [34da2185-b29b-5c13-b0c7-acf172513d20] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899] failed to load from cache file for /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_Lo2uI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_ozEyV.ji because module CommonMark [a80b9123-70ca-4bc0-993e-6e3bcb318db6] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_zV1QM.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_cXtEM.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_tpsng.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_pg2F7.ji because module FillArrays [1a297f60-69ca-5386-bcde-b61e274b549b] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_o2HJh.ji because module StatsBase [2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/ModelingToolkit/Qmdqu_RpTDg.ji because module FillArrays [1a297f60-69ca-5386-bcde-b61e274b549b] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Precompiling ModelingToolkit [961ee093-0014-501f-94e3-6117800e7a78]
└ @ Base loading.jl:1423
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/DiffEqCallbacks/TKs5l_Lo2uI.ji because module NonlinearSolve [8913a72c-1f9b-4ce2-8d82-65094dcecaec] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Required dependency Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] failed to load from cache file for /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl.
└ @ Base loading.jl:845
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_zV1QM.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/9AteC/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_cXtEM.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_GQedI.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_tpsng.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/ws4na/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_wCd2i.ji because module Parsers [69de0a69-1ddd-5017-9359-2bf0b02dc9f0] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_bcKPU.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/MNZvq/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_aRzHC.ji because it is for file /Users/anand/.julia/packages/JuliaFormatter/ws4na/src/JuliaFormatter.jl not file /Users/anand/.julia/packages/JuliaFormatter/lHA5D/src/JuliaFormatter.jl
└ @ Base loading.jl:1851
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/JuliaFormatter/OWZnm_phQbR.ji because module Compat [34da2185-b29b-5c13-b0c7-acf172513d20] is already loaded and incompatible.
└ @ Base loading.jl:1818
┌ Debug: Precompiling JuliaFormatter [98e50ef6-434e-11e9-1051-2b60c6c9e899]
└ @ Base loading.jl:1423
after reenabling startup ➜ config JULIA_DEBUG=loading julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.7.0-rc1 (2021-09-12)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.7) pkg> activate --temp
Activating new project at `/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_7YgPcp`
(jl_7YgPcp) pkg> add CellMLToolkit
Updating registry at `~/.julia/registries/General.toml`
Updating registry at `~/.julia/registries/JuliaSimRegistry.toml`
Resolving package versions...
Updating `/private/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_7YgPcp/Project.toml`
[03cb29e0] + CellMLToolkit v2.6.0
Updating `/private/var/folders/sk/h402gsld7mx_v605wv7bblsc0000gn/T/jl_7YgPcp/Manifest.toml`
...
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_cXtEM.ji because it is for file /Users/anand/.julia/packages/Parsers/Vdwny/src/Parsers.jl not file /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl
└ @ Base loading.jl:1851
(jl_7YgPcp) pkg> precompile
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.7/Parsers/833b9_cXtEM.ji because it is for file /Users/anand/.julia/packages/Parsers/Vdwny/src/Parsers.jl not file /Users/anand/.julia/packages/Parsers/J5pze/src/Parsers.jl
└ @ Base loading.jl:1851
julia> using CellMLToolkit
julia> |
Huh.. I've got no idea what was happening.. |
yeah thanks a ton for diving in. if it reoccurs and i can pin down exactly whats happening ill come back but for now this is resolved. thanks |
The bug remains, and we don't understand what happened, so we should leave this open. I'll give it a more specific name though |
Precompiling project
mean?
julia> versioninfo()
Julia Version 1.8.2
Commit 36034abf260 (2022-09-29 15:21 UTC)
Platform Info:
OS: macOS (arm64-apple-darwin21.3.0)
CPU: 8 × Apple M1
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
Threads: 8 on 4 virtual cores
Environment:
JULIA_NUM_THREADS = 8
JULIA_PKG_SERVER = https://internal.juliahub.com
➜ PubChemReactions.jl git:(aj/glycolysis) ✗ JULIA_DEBUG=loading julia --startup=no
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.2 (2022-09-29)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.8) pkg> st -m
Status `~/.julia/environments/v1.8/Manifest.toml`
[6e4b80f9] BenchmarkTools v1.3.1
[da1fd8a2] CodeTracking v1.1.0
[861a8166] Combinatorics v1.0.2
[e2ba6199] ExprTools v0.1.8
[682c06a0] JSON v0.21.3
[aa1ae85d] JuliaInterpreter v0.9.15
[6f1432cf] LoweredCodeUtils v2.2.2
[c629fcaf] MyExportAll v0.1.0 `~/.julia/dev/MyExportAll`
[bac558e1] OrderedCollections v1.4.1
[69de0a69] Parsers v2.4.2
[4722fa14] PkgAuthentication v2.0.0
[ae029012] Requires v1.3.0
[295af30f] Revise v3.4.0
[6f1ad949] SaveREPL v0.1.0 `~/.julia/dev/SaveREPL.jl`
[a759f4b9] TimerOutputs v0.5.21
[0dad84c5] ArgTools v1.1.1
[56f22d72] Artifacts
[2a0f44e3] Base64
[ade2ca70] Dates
[8ba89e20] Distributed
[f43a241f] Downloads v1.6.0
[7b1f6079] FileWatching
[b77e0a4c] InteractiveUtils
[b27032c2] LibCURL v0.6.3
[76f85450] LibGit2
[8f399da3] Libdl
[37e2e46d] LinearAlgebra
[56ddb016] Logging
[d6f4376e] Markdown
[a63ad114] Mmap
[ca575930] NetworkOptions v1.2.0
[44cfe95a] Pkg v1.8.0
[de0858da] Printf
[9abbd945] Profile
[3fa0cd96] REPL
[9a3f8284] Random
[ea8e919c] SHA v0.7.0
[9e88b42a] Serialization
[6462fe0b] Sockets
[2f01184e] SparseArrays
[10745b16] Statistics
[fa267f1f] TOML v1.0.0
[a4e569a6] Tar v1.10.1
[8dfed614] Test
[cf7118a7] UUIDs
[4ec0a83e] Unicode
[e66e0078] CompilerSupportLibraries_jll v0.5.2+0
[deac9b47] LibCURL_jll v7.84.0+0
[29816b5a] LibSSH2_jll v1.10.2+0
[c8ffd9c3] MbedTLS_jll v2.28.0+0
[14a3606d] MozillaCACerts_jll v2022.2.1
[4536629a] OpenBLAS_jll v0.3.20+0
[83775a58] Zlib_jll v1.2.12+3
[8e850b90] libblastrampoline_jll v5.1.1+0
[8e850ede] nghttp2_jll v1.48.0+0
[3f19e933] p7zip_jll v17.4.0+0
(@v1.8) pkg> activate .
Activating project at `~/.julia/dev/PubChemReactions.jl`
(PubChemReactions) pkg> precompile
┌ Debug: Rejecting cache file /Users/anand/.julia/compiled/v1.8/PrettyTables/kRdcL_7mQkN.ji because it is for file /Users/anand/.julia/packages/PrettyTables/nQZHQ/src/PrettyTables.jl not file /Users/anand/.julia/packages/PrettyTables/tUDry/src/PrettyTables.jl
└ @ Base loading.jl:2135
julia> using PubChemReactions
┌ Debug: Ignoring cache file /Users/anand/.julia/compiled/v1.8/JSON3/1p699_7mQkN.ji for JSON3 [0f8b85d8-7281-11e9-16c2-39a750bddbf1] since it is does not provide desired build_id
└ @ Base loading.jl:2082
┌ Debug: Ignoring cache file /Users/anand/.julia/compiled/v1.8/PrettyTables/kRdcL_7mQkN.ji for PrettyTables [08abe8d2-0d0c-5749-adfa-8a2ac140af0d] since it is does not provide desired build_id
└ @ Base loading.jl:2082
...
(PubChemReactions) pkg> st
Project PubChemReactions v0.1.0
Status `~/.julia/dev/PubChemReactions.jl/Project.toml`
[336ed68f] CSV v0.10.4
[54eefc05] Cascadia v1.0.2
[479239e8] Catalyst v12.3.0
[a93c6f00] DataFrames v1.4.1
[459566f4] DiffEqCallbacks v2.24.2
[5789e2e9] FileIO v1.16.0
[86223c79] Graphs v1.7.4
[708ec375] Gumbo v0.8.1
[cd3eb016] HTTP v1.4.1
[82e4d734] ImageIO v0.6.6
[41ab1584] InvertedIndices v1.1.0
[0f8b85d8] JSON3 v1.10.0
[1dea7af3] OrdinaryDiffEq v6.29.0
[7b2266bf] PeriodicTable v1.1.2
[91a5bcdd] Plots v1.35.3
[efcf1570] Setfield v1.1.1
[2913bbd2] StatsBase v0.33.21
[0c5d862f] Symbolics v4.12.0
[5c2747f8] URIs v1.4.0
[1986cc42] Unitful v1.12.0
[f43a241f] Downloads v1.6.0 I saw https://discourse.julialang.org/t/understanding-rejecting-cache-file/55127/2 so I completely deleted ➜ PubChemReactions.jl git:(aj/glycolysis) ✗ JULIA_DEBUG=loading julia --startup=no
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.8.2 (2022-09-29)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
(@v1.8) pkg> activate .
Activating project at `~/.julia/dev/PubChemReactions.jl`
(PubChemReactions) pkg> up
Updating registry at `~/.julia/registries/General.toml`
Updating registry at `~/.julia/registries/JuliaSimRegistry.toml`
Updating registry at `~/.julia/registries/PumasRegistry.toml`
No Changes to `~/.julia/dev/PubChemReactions.jl/Project.toml`
No Changes to `~/.julia/dev/PubChemReactions.jl/Manifest.toml`
Precompiling project...
300 dependencies successfully precompiled in 321 seconds. 13 already precompiled.
julia> using PubChemReactions
┌ Debug: Ignoring cache file /Users/anand/.julia/compiled/v1.8/PrettyTables/kRdcL_dhLO9.ji for PrettyTables [08abe8d2-0d0c-5749-adfa-8a2ac140af0d] since it is does not provide desired build_id
└ @ Base loading.jl:2082 and I'm still getting these cache rejections. Can someone give some advice in how I can start debugging what is happening here? I'd really like to solve this |
I believe this was fixed by #3353 |
In the following, I've freshly cloned the repo CellMLToolkit.jl. I proceed to
]up
which generates a Manifest.toml.At the end of
]up
ing, it says:To verify that Pkg is lying, I
]precompile
which indeed shows that]up
is lying.Then,
]precompile
is also lying by doing ausing
, which shows that CellMLToolkit is not precompiled.Maybe I don't understand Pkg well enough to get what is happening, but maybe some disambiguation for the usage of
precompiling project
is needed.I'm guessing from https://pkgdocs.julialang.org/dev/environments/#Precompiling-a-project, it means that the actual project package (in this case CellMLToolkit), doesn't get precompiled in
up
orprecompile
, but only onusing
. That sort of makes sense to me. If this is the case, then I think the only problem isup
, as we get multiple copies of thePrecompiling project
message.Sorry for rant, but it's a little frustrating when I don't know which commands are going to make me wait a while. In this case it's short, but some packages will cause longer waits.
#2461 seems like the same issue, perhaps it's still unresolved.
in temp env:
The text was updated successfully, but these errors were encountered: