aviatesk / JET.jl

An experimental code analyzer for Julia. No need for additional type annotations.
https://aviatesk.github.io/JET.jl/dev/
MIT License
732 stars 29 forks source link

JET 0.6.14 installation fails #411

Closed maxfreu closed 1 year ago

maxfreu commented 1 year ago

Hi! I just tried to install jet 0.6.14 and it fails with following error (0.6.10 works):

Julia Version 1.8.0
Commit 5544a0fab76 (2022-08-17 13:38 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 4 on 16 virtual cores
Environment:
  LD_LIBRARY_PATH = /cm/shared/apps/slurm/current/lib64/slurm:/cm/shared/apps/slurm/current/lib64:/cm/local/apps/gcc/10.2.0/lib:/cm/local/apps/gcc/10.2.0/lib64:/cm/local/apps/gcc/10.2.0/lib32
  LD_LIBRARY_PATH_modshare = /cm/shared/apps/slurm/current/lib64:1:/cm/local/apps/gcc/10.2.0/lib:1:/cm/local/apps/gcc/10.2.0/lib32:1:/cm/shared/apps/slurm/current/lib64/slurm:1:/cm/local/apps/gcc/10.2.0/lib64:1
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 4

  [c9ce4bd3] ArchGDAL v0.9.3
  [336ed68f] CSV v0.10.7
  [a93c6f00] DataFrames v1.4.2
  [31c24e10] Distributions v0.25.77
  [7a1cc6ca] FFTW v1.5.0
  [add2ef01] GDAL v1.4.0
  [68eda718] GeoFormatTypes v0.4.1
  [cf35fbd7] GeoInterface v1.0.1
  [c27321d9] Glob v1.3.0
  [dc211083] Gnuplot v1.4.1
  [e91730f6] Hungarian v0.6.0
  [c3a54625] JET v0.6.14
  [a90b1aa1] LibGEOS v0.7.4
  [194296ae] LibPQ v1.14.1
  [872c559c] NNlib v0.8.10
  [e4faabce] PProf v2.2.2
  [91a5bcdd] Plots v1.36.0
  [c46f51b8] ProfileView v1.5.2
  [1fd47b50] QuadGK v2.6.0
  [bd369af6] Tables v1.10.0
  [b8865327] UnicodePlots v3.2.0
  [b77e0a4c] InteractiveUtils
  [9abbd945] Profile

(matching) pkg> precompile
Precompiling project...
  ✗ JET
  0 dependencies successfully precompiled in 3 seconds. 256 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

JET [c3a54625-cd67-489e-a8e7-0a5a0ff4e31b]

Failed to precompile JET [c3a54625-cd67-489e-a8e7-0a5a0ff4e31b] to /home/max/.julia/compiled/v1.8/JET/jl_alr3ht.
WARNING: could not import Compiler.CachedMethodTable into JET
ERROR: LoadError: UndefVarError: CachedMethodTable not defined
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/JET/rofzT/src/analyzers/jetanalyzer.jl:1
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:419
 [3] include(x::String)
   @ JET ~/.julia/packages/JET/rofzT/src/JET.jl:1
 [4] top-level scope
   @ ~/.julia/packages/JET/rofzT/src/JET.jl:1540
 [5] include
   @ ./Base.jl:419 [inlined]
 [6] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::Nothing)
   @ Base ./loading.jl:1554
 [7] top-level scope
   @ stdin:1
in expression starting at /home/max/.julia/packages/JET/rofzT/src/analyzers/jetanalyzer.jl:1
in expression starting at /home/max/.julia/packages/JET/rofzT/src/JET.jl:1
in expression starting at stdin:1
aviatesk commented 1 year ago

Can use Julia 1.8.2 instead?