Skip to content
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

Cannot precompile Cassette.jl on Julia nightly (1.12) #209

Closed
DilumAluthge opened this issue Oct 21, 2024 · 0 comments · Fixed by #210
Closed

Cannot precompile Cassette.jl on Julia nightly (1.12) #209

DilumAluthge opened this issue Oct 21, 2024 · 0 comments · Fixed by #210

Comments

@DilumAluthge
Copy link
Contributor

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.12.0-DEV.1440 (2024-10-21)
 _/ |\__'_|_|_|\__'_|  |  Commit a4a4b954450 (0 days old master)
|__/                   |

julia> import Cassette
Info Given Cassette was explicitly requested, output will be shown live
ERROR: LoadError: FieldError: type CodeInfo has no field `linetable`, available fields: `code`, `debuginfo`, `ssavaluetypes`, `ssaflags`, `slotnames`, `slotflags`, `slottypes`, `rettype`, `parent`, `edges`, `min_world`, `max_world`, `method_for_inference_limit_heuristics`, `nargs`, `propagate_inbounds`, `has_fcall`, `nospecializeinfer`, `isva`, `inlining`, `constprop`, `purity`, `inlining_cost`
Stacktrace:
  [1] getproperty(ci::Core.CodeInfo, s::Symbol)
    @ Base ./deprecated.jl:461
  [2] verbose_lineinfo!(ci::Core.CodeInfo, sig::Type{<:Tuple})
    @ Cassette ~/.julia/packages/Cassette/4UsSX/src/overdub.jl:53
  [3] reflect(sigtypes::Tuple, world::UInt64)
    @ Cassette ~/.julia/packages/Cassette/4UsSX/src/overdub.jl:128
  [4] reflect(sigtypes::Tuple)
    @ Cassette ~/.julia/packages/Cassette/4UsSX/src/overdub.jl:89
  [5] top-level scope
    @ ~/.julia/packages/Cassette/4UsSX/src/overdub.jl:599
  [6] include(mod::Module, _path::String)
    @ Base ./Base.jl:582
  [7] include(x::String)
    @ Cassette ~/.julia/packages/Cassette/4UsSX/src/Cassette.jl:1
  [8] top-level scope
    @ ~/.julia/packages/Cassette/4UsSX/src/Cassette.jl:8
  [9] include
    @ ./Base.jl:582 [inlined]
 [10] 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, UInt128}}, source::Nothing)
    @ Base ./loading.jl:2947
 [11] top-level scope
    @ stdin:5
 [12] eval
    @ ./boot.jl:459 [inlined]
 [13] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2798
 [14] include_string
    @ ./loading.jl:2808 [inlined]
 [15] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:327
 [16] _start()
    @ Base ./client.jl:558
in expression starting at /Users/dilum/.julia/packages/Cassette/4UsSX/src/overdub.jl:598
in expression starting at /Users/dilum/.julia/packages/Cassette/4UsSX/src/Cassette.jl:1
in expression starting at stdin:5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant