Skip to content

Warning with ComponentArrays and ForwardDiff in Julia 1.6.0-rc3 #76

@amrods

Description

@amrods

Trying to load both ComponentArrays and ForwardDiff in Julia 1.6.0-rc3 results in this warning:

using ForwardDiff
using ComponentArrays

┌ Warning: Error requiring `ChainRulesCore` from `ComponentArrays`
│   exception =
│    LoadError: ArgumentError: Package ComponentArrays does not have ChainRulesCore in its dependencies:
│    - If you have ComponentArrays checked out for development and have
│      added ChainRulesCore as a dependency but haven't updated your primary
│      environment's manifest file, try `Pkg.resolve()`.
│    - Otherwise you may need to report an issue with ComponentArrays
│    Stacktrace:
│      [1] require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:884
│      [2] include(mod::Module, _path::String)
│        @ Base ./Base.jl:386
│      [3] include
│        @ ~/.julia/packages/ComponentArrays/ZfMKF/src/ComponentArrays.jl:1 [inlined]
│      [4] required(filename::String)
│        @ ComponentArrays ~/.julia/packages/ComponentArrays/ZfMKF/src/ComponentArrays.jl:27
│      [5] top-level scope
│        @ none:1
│      [6] eval
│        @ ./boot.jl:360 [inlined]
│      [7] eval
│        @ ~/.julia/packages/ComponentArrays/ZfMKF/src/ComponentArrays.jl:1 [inlined]
│      [8] (::ComponentArrays.var"#80#98")()
│        @ ComponentArrays ~/.julia/packages/Requires/7Ncym/src/require.jl:99
│      [9] err(f::Any, listener::Module, modname::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:47
│     [10] (::ComponentArrays.var"#79#97")()
│        @ ComponentArrays ~/.julia/packages/Requires/7Ncym/src/require.jl:98
│     [11] withpath(f::Any, path::String)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:37
│     [12] (::ComponentArrays.var"#78#96")()
│        @ ComponentArrays ~/.julia/packages/Requires/7Ncym/src/require.jl:97
│     [13] listenpkg(f::Any, pkg::Base.PkgId)
│        @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:20
│     [14] macro expansion
│        @ ~/.julia/packages/Requires/7Ncym/src/require.jl:95 [inlined]
│     [15] __init__()
│        @ ComponentArrays ~/.julia/packages/ComponentArrays/ZfMKF/src/ComponentArrays.jl:38
│     [16] _include_from_serialized(path::String, depmods::Vector{Any})
│        @ Base ./loading.jl:674
│     [17] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String)
│        @ Base ./loading.jl:760
│     [18] _require(pkg::Base.PkgId)
│        @ Base ./loading.jl:998
│     [19] require(uuidkey::Base.PkgId)
│        @ Base ./loading.jl:914
│     [20] require(into::Module, mod::Symbol)
│        @ Base ./loading.jl:901
│     [21] eval
│        @ ./boot.jl:360 [inlined]
│     [22] eval_user_input(ast::Any, backend::REPL.REPLBackend)
│        @ REPL /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:139
│     [23] repl_backend_loop(backend::REPL.REPLBackend)
│        @ REPL /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:200
│     [24] start_repl_backend(backend::REPL.REPLBackend, consumer::Any)
│        @ REPL /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:185
│     [25] run_repl(repl::REPL.AbstractREPL, consumer::Any; backend_on_current_task::Bool)
│        @ REPL /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:317
│     [26] run_repl(repl::REPL.AbstractREPL, consumer::Any)
│        @ REPL /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/REPL/src/REPL.jl:305
│     [27] (::Base.var"#874#876"{Bool, Bool, Bool})(REPL::Module)
│        @ Base ./client.jl:387
│     [28] #invokelatest#2
│        @ ./essentials.jl:708 [inlined]
│     [29] invokelatest
│        @ ./essentials.jl:706 [inlined]
│     [30] run_main_repl(interactive::Bool, quiet::Bool, banner::Bool, history_file::Bool, color_set::Bool)
│        @ Base ./client.jl:372
│     [31] exec_options(opts::Base.JLOptions)
│        @ Base ./client.jl:302
│     [32] _start()
│        @ Base ./client.jl:485
│    in expression starting at /Users/amrods/.julia/packages/ComponentArrays/ZfMKF/src/if_required/chainrulescore.jl:1
└ @ Requires ~/.julia/packages/Requires/7Ncym/src/require.jl:49

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