Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

DiffEqOperators fails to precompile on Windows 10, Julia 1.6.0 #398

@draneyjosu

Description

@draneyjosu

Hello,
I am on Windows 10, Julia 1.6.0. For some reason Julia fails to precompile DiffEqOperators v4.25.0. Meanwhile, v4.24.0 precompiles just fine.

Output when I try using DiffEqOperators:

julia> using DiffEqOperators
[ Info: Precompiling DiffEqOperators [9fdde737-9c7f-55bf-ade8-46b3f136cc48]
ERROR: LoadError: LoadError: LoadError: Unsupported Expr of type $ found in pattern
Stacktrace:
  [1] error(s::String)
    @ Base .\error.jl:33
  [2] makepattern(expr::Expr, keys::Vector{Symbol})
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:73
  [3] (::SymbolicUtils.var"#60#61"{Vector{Symbol}})(x::Expr)
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:70
  [4] iterate
    @ .\generator.jl:47 [inlined]
  [5] _collect(c::Vector{Any}, itr::Base.Generator{Vector{Any}, SymbolicUtils.var"#60#61"{Vector{Symbol}}}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1})
    @ Base .\array.jl:691
  [6] collect_similar
    @ .\array.jl:606 [inlined]
  [7] map
    @ .\abstractarray.jl:2294 [inlined]
  [8] makepattern(expr::Expr, keys::Vector{Symbol})
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:70
  [9] var"@rule"(__source__::LineNumberNode, __module__::Module, expr::Any)
    @ SymbolicUtils ~\.julia\packages\SymbolicUtils\oQKim\src\rule.jl:266
 [10] include(mod::Module, _path::String)
    @ Base .\Base.jl:386
 [11] include(x::String)
    @ DiffEqOperators ~\.julia\packages\DiffEqOperators\DMNmH\src\DiffEqOperators.jl:1
 [12] top-level scope
    @ ~\.julia\packages\DiffEqOperators\DMNmH\src\DiffEqOperators.jl:52
 [13] include
    @ .\Base.jl:386 [inlined]
 [14] 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:1213
 [15] top-level scope
    @ none:1
 [16] eval
    @ .\boot.jl:360 [inlined]
 [17] eval(x::Expr)
    @ Base.MainInclude .\client.jl:446
 [18] top-level scope
    @ none:1
in expression starting at C:\Users\jacks\.julia\packages\DiffEqOperators\DMNmH\src\MOLFiniteDifference\MOL_discretization.jl:193
in expression starting at C:\Users\jacks\.julia\packages\DiffEqOperators\DMNmH\src\MOLFiniteDifference\MOL_discretization.jl:18
in expression starting at C:\Users\jacks\.julia\packages\DiffEqOperators\DMNmH\src\DiffEqOperators.jl:1
ERROR: Failed to precompile DiffEqOperators [9fdde737-9c7f-55bf-ade8-46b3f136cc48] to C:\Users\jacks\.julia\compiled\v1.6\DiffEqOperators\jl_7EAD.tmp.
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:33
 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::Base.TTY, internal_stdout::Base.TTY)
   @ Base .\loading.jl:1360
 [3] compilecache(pkg::Base.PkgId, path::String)
   @ Base .\loading.jl:1306
 [4] _require(pkg::Base.PkgId)
   @ Base .\loading.jl:1021
 [5] require(uuidkey::Base.PkgId)
   @ Base .\loading.jl:914
 [6] require(into::Module, mod::Symbol)
   @ Base .\loading.jl:901

My first time posting an issue anywhere so let me know if I've done anything wrong or could do anything better. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions