Skip to content

Warning in Julia 1.7 #12

@amrods

Description

@amrods

using PreallocationTools after loading ForwardDiff in Julia 1.7 results in this warning:

julia> using ForwardDiff

julia> using PreallocationTools
┌ Warning: Replacing module `ForwardDiff`
└ @ Base loading.jl:1036

Furthermore, if I try to use Optim after the previous 2 commands I get:

julia> using Optim
[ Info: Precompiling Optim [429524aa-4258-5aef-a3af-852621145aeb]
┌ Warning: Module ForwardDiff with build ID 2902110846083 is missing from the cache.
│ This may mean ForwardDiff [f6369f11-7733-5829-9624-2563aa707210] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1107
┌ Warning: Module ForwardDiff with build ID 2902110846083 is missing from the cache.
│ This may mean ForwardDiff [f6369f11-7733-5829-9624-2563aa707210] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1107
[ Info: Skipping precompilation since __precompile__(false). Importing Optim [429524aa-4258-5aef-a3af-852621145aeb].
[ Info: Precompiling NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c]
┌ Warning: Module ForwardDiff with build ID 2902110846083 is missing from the cache.
│ This may mean ForwardDiff [f6369f11-7733-5829-9624-2563aa707210] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1107
[ Info: Skipping precompilation since __precompile__(false). Importing NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c].
[ Info: Precompiling LineSearches [d3d80556-e9d4-5f37-9878-2ab0fcc64255]
┌ Warning: Module NLSolversBase with build ID 3475646636699 is missing from the cache.
│ This may mean NLSolversBase [d41bc354-129a-5804-8e4c-c37616107c6c] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1107
[ Info: Skipping precompilation since __precompile__(false). Importing LineSearches [d3d80556-e9d4-5f37-9878-2ab0fcc64255].

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