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 use Dagger with Julia 1.11 (alpha2) #488

Closed
eschnett opened this issue Mar 21, 2024 · 0 comments · Fixed by #489
Closed

Cannot use Dagger with Julia 1.11 (alpha2) #488

eschnett opened this issue Mar 21, 2024 · 0 comments · Fixed by #489

Comments

@eschnett
Copy link

I have Julia 1.11 (alpha2) installed on macOS via juliaup. using Dagger leads to this error:

julia> using Dagger
Precompiling Dagger...
Info Given Dagger was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: `ScopedValue` not defined in `Dagger`
Stacktrace:
 [1] top-level scope
   @ ~/.julia/packages/Dagger/Tx54v/src/options.jl:3
 [2] include(mod::Module, _path::String)
   @ Base ./Base.jl:558
 [3] include(x::String)
   @ Dagger ~/.julia/packages/Dagger/Tx54v/src/Dagger.jl:1
 [4] top-level scope
   @ ~/.julia/packages/Dagger/Tx54v/src/Dagger.jl:29
 [5] include
   @ ./Base.jl:558 [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, UInt128}}, source::Nothing)
   @ Base ./loading.jl:2679
 [7] top-level scope
   @ stdin:4
in expression starting at /Users/eschnett/.julia/packages/Dagger/Tx54v/src/options.jl:3
in expression starting at /Users/eschnett/.julia/packages/Dagger/Tx54v/src/Dagger.jl:1
in expression starting at stdin:4
  ✗ Dagger
  0 dependencies successfully precompiled in 3 seconds. 55 already precompiled.

ERROR: The following 1 direct dependency failed to precompile:

Dagger

Failed to precompile Dagger [d58978e5-989f-55fb-8d15-ea34adc7bf54] to "/Users/eschnett/.julia/compiled/v1.11/Dagger/jl_riZZSC".
Stacktrace:
  [1] error(s::String)
    @ Base ./error.jl:35
  [2] precompilepkgs(pkgs::Vector{…}; internal_call::Bool, strict::Bool, warn_loaded::Bool, timing::Bool, _from_loading::Bool, configs::Pair{…}, io::Base.TTY, fancyprint::Bool)
    @ Base.Precompilation ./precompilation.jl:935
  [3] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:2336
  [4] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2175
  [5] #invoke_in_world#3
    @ ./essentials.jl:1064 [inlined]
  [6] invoke_in_world
    @ ./essentials.jl:1061 [inlined]
  [7] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:2166
  [8] macro expansion
    @ ./loading.jl:2106 [inlined]
  [9] macro expansion
    @ ./lock.jl:273 [inlined]
 [10] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2063
 [11] #invoke_in_world#3
    @ ./essentials.jl:1064 [inlined]
 [12] invoke_in_world
    @ ./essentials.jl:1061 [inlined]
 [13] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:2056
Some type information was truncated. Use `show(err)` to see complete types.
julia> versioninfo()
Julia Version 1.11.0-alpha2
Commit 9dfd28ab751 (2024-03-18 20:35 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: macOS (x86_64-apple-darwin22.4.0)
  CPU: 16 × Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, skylake)
Threads: 8 default, 0 interactive, 4 GC (on 16 virtual cores)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants