Somehow revise has stopped precompiling for me. The last thing I can remember doing before this issue cropped up is that I was using Revise alongside Debugger and when I was finished I closed the Julia session. Upon starting a new session and loading Revise, Revise tried and failed to precompile. I tried removing the package and adding it again, and I got the following ouput.
julia> using Revise
│ Package Revise not found, but a package named Revise is available from a registry.
│ Install package?
│ (@v1.9) pkg> add Revise
└ (y/n/o) [y]: y
Resolving package versions...
Updating `~/.julia/environments/v1.9/Project.toml`
[295af30f] + Revise v3.5.14
No Changes to `~/.julia/environments/v1.9/Manifest.toml`
[ Info: Precompiling Revise [295af30f-e4ad-537b-8983-00126c2a3abe]
ERROR: LoadError: UndefVarError: `is_GotoIfNot` not defined
Stacktrace:
[1] include
@ ./Base.jl:457 [inlined]
[2] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_loa
d_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}
}, source::String)
@ Base ./loading.jl:2049
[3] top-level scope
@ stdin:3
in expression starting at /home/spencer/.julia/packages/LoweredCodeUtils/30gbF/src/LoweredCodeUtil
s.jl:1
in expression starting at stdin:3
ERROR: LoadError: Failed to precompile LoweredCodeUtils [6f1432cf-f94c-5a45-995e-cdbf5db27b0b] to
"/home/spencer/.julia/compiled/v1.9/LoweredCodeUtils/jl_ZRsDqF".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_l
oaded_modules::Bool)
@ Base ./loading.jl:2294
[3] compilecache
@ ./loading.jl:2167 [inlined]
[4] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1805
[5] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1660
[6] macro expansion
@ ./loading.jl:1648 [inlined]
[7] macro expansion
@ ./lock.jl:267 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1611
[9] include
@ ./Base.jl:457 [inlined]
[10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_lo
ad_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128
}}, source::Nothing)
@ Base ./loading.jl:2049
[11] top-level scope
@ stdin:3
in expression starting at /home/spencer/.julia/packages/Revise/bAgL0/src/Revise.jl:1
in expression starting at stdin:3
ERROR: Failed to precompile Revise [295af30f-e4ad-537b-8983-00126c2a3abe] to "/home/spencer/.julia
/compiled/v1.9/Revise/jl_zRchnS".
Stacktrace:
[1] error(s::String)
@ Base ./error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_lo
aded_modules::Bool)
@ Base ./loading.jl:2294
[3] compilecache
@ ./loading.jl:2167 [inlined]
[4] _require(pkg::Base.PkgId, env::String)
@ Base ./loading.jl:1805
[5] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base ./loading.jl:1660
[6] macro expansion
@ ./loading.jl:1648 [inlined]
[7] macro expansion
@ ./lock.jl:267 [inlined]
[8] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1611
The main issue seems to be ERROR: LoadError: UndefVarError: `is_GotoIfNot` not defined
. Is anyone else having this issue? My julia version is 1.9.4.