Error in precompiling JuMP on Julia 0.6

WARNING: Method definition exp(ForwardDiff.Dual{N, T} where T<:Real where N) in module ForwardDiff at /home/deepak/.julia/v0.6/ForwardDiff/src/dual.jl:336 overwritten at /home/deepak/.julia/v0.6/ForwardDiff/src/dual.jl:311.
WARNING: Method definition sqrt(ForwardDiff.Dual{N, T} where T<:Real where N) in module ForwardDiff at /home/deepak/.julia/v0.6/ForwardDiff/src/dual.jl:341 overwritten at /home/deepak/.julia/v0.6/ForwardDiff/src/dual.jl:311.
ERROR: LoadError: LoadError: ArgumentError: method definition for Type at /home/deepak/.julia/v0.6/DataStructures/src/hash_dict.jl:72 has free type variables
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:532
 [2] include(::String) at ./sysimg.jl:14
 [3] include_from_node1(::String) at ./loading.jl:532
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /home/deepak/.julia/v0.6/DataStructures/src/hash_dict.jl, in expression starting on line 72
while loading /home/deepak/.julia/v0.6/DataStructures/src/DataStructures.jl, in expression starting on line 70
ERROR: LoadError: LoadError: Failed to precompile DataStructures to /home/deepak/.julia/lib/v0.6/DataStructures.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:666
 [2] require(::Symbol) at ./loading.jl:424
 [3] include_from_node1(::String) at ./loading.jl:532
 [4] include(::String) at ./sysimg.jl:14
 [5] include_from_node1(::String) at ./loading.jl:532
 [6] include(::String) at ./sysimg.jl:14
 [7] anonymous at ./<missing>:2
while loading /home/deepak/.julia/v0.6/ReverseDiffSparse/src/coloring.jl, in expression starting on line 3
while loading /home/deepak/.julia/v0.6/ReverseDiffSparse/src/ReverseDiffSparse.jl, in expression starting on line 16
ERROR: LoadError: Failed to precompile ReverseDiffSparse to /home/deepak/.julia/lib/v0.6/ReverseDiffSparse.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:666
 [2] require(::Symbol) at ./loading.jl:424
 [3] include_from_node1(::String) at ./loading.jl:532
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /home/deepak/.julia/v0.6/JuMP/src/JuMP.jl, in expression starting on line 21
ERROR: Failed to precompile JuMP to /home/deepak/.julia/lib/v0.6/JuMP.ji.
Stacktrace:
 [1] compilecache(::String) at ./loading.jl:666
 [2] require(::Symbol) at ./loading.jl:453

Use 0.5 unless you are willing, and working, to update packages for upstream changes.

It will be a bit before JuMP and all of its dependencies catch up with the breaking changes in 0.6. See, e.g., JuliaOpt/MathProgBase.jl#150.

1 Like

Thank you. Will use 0.5 for now.