Skip to content

Precompiling Issure #243

@emmacware

Description

@emmacware

Hi,

I'm trying to load the DynamicGrids but keep running into these three not precompiling. There seem to be issues precompiling the following. I'm using Julia 1.10 but got the same errors when I created a Julia 1.9 environment to see if that was the problem. I've tried adding these in different orders, updating pkg, and ignoring the precompiling warnings (the tests don't work when I put precomile(false).

Any help is much appreciated, I'm pretty new to coding.

julia> Pkg.add(PackageSpec(name="DynamicGrids", version="0.21.3"))
   Resolving package versions...
  ...
Precompiling project...
  ? ConstructionBaseExtras
  ? ModelParameters
  ? DynamicGrids


Precompiling DynamicGrids
        Info Given DynamicGrids was explicitly requested, output will be shown live 
WARNING: Method definition constructorof(Type{var"#s1"} where var"#s1"<:(IntervalSets.Interval{L, R, T} where T)) where {L, R} in module ConstructionBaseIntervalSetsExt at /Users/emmaware/.julia/packages/ConstructionBase/JFKjZ/ext/ConstructionBaseIntervalSetsExt.jl:6 overwritten in module ConstructionBaseExtras at /Users/emmaware/.julia/packages/ConstructionBaseExtras/cy4E1/src/intervalsets.jl:3.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
  ? ConstructionBaseExtras
  ? ModelParameters
  ? DynamicGrids
[ Info: Precompiling DynamicGrids [a5dba43e-3abc-5203-bfc5-584ca68d3f5b]
WARNING: Method definition constructorof(Type{var"#s1"} where var"#s1"<:(IntervalSets.Interval{L, R, T} where T)) where {L, R} in module ConstructionBaseIntervalSetsExt at /Users/emmaware/.julia/packages/ConstructionBase/JFKjZ/ext/ConstructionBaseIntervalSetsExt.jl:6 overwritten in module ConstructionBaseExtras at /Users/emmaware/.julia/packages/ConstructionBaseExtras/cy4E1/src/intervalsets.jl:3.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
[ Info: Skipping precompilation since __precompile__(false). Importing DynamicGrids [a5dba43e-3abc-5203-bfc5-584ca68d3f5b].
Precompiling ModelParameters
        Info Given ModelParameters was explicitly requested, output will be shown live 
WARNING: Method definition constructorof(Type{var"#s1"} where var"#s1"<:(IntervalSets.Interval{L, R, T} where T)) where {L, R} in module ConstructionBaseIntervalSetsExt at /Users/emmaware/.julia/packages/ConstructionBase/JFKjZ/ext/ConstructionBaseIntervalSetsExt.jl:6 overwritten in module ConstructionBaseExtras at /Users/emmaware/.julia/packages/ConstructionBaseExtras/cy4E1/src/intervalsets.jl:3.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
  ? ConstructionBaseExtras
  ? ModelParameters
[ Info: Precompiling ModelParameters [4744a3fa-6c31-4707-899e-a3298e4618ad]
WARNING: Method definition constructorof(Type{var"#s1"} where var"#s1"<:(IntervalSets.Interval{L, R, T} where T)) where {L, R} in module ConstructionBaseIntervalSetsExt at /Users/emmaware/.julia/packages/ConstructionBase/JFKjZ/ext/ConstructionBaseIntervalSetsExt.jl:6 overwritten in module ConstructionBaseExtras at /Users/emmaware/.julia/packages/ConstructionBaseExtras/cy4E1/src/intervalsets.jl:3.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
[ Info: Skipping precompilation since __precompile__(false). Importing ModelParameters [4744a3fa-6c31-4707-899e-a3298e4618ad].
Precompiling ConstructionBaseExtras
        Info Given ConstructionBaseExtras was explicitly requested, output will be shown live 
WARNING: Method definition constructorof(Type{var"#s1"} where var"#s1"<:(IntervalSets.Interval{L, R, T} where T)) where {L, R} in module ConstructionBaseIntervalSetsExt at /Users/emmaware/.julia/packages/ConstructionBase/JFKjZ/ext/ConstructionBaseIntervalSetsExt.jl:6 overwritten in module ConstructionBaseExtras at /Users/emmaware/.julia/packages/ConstructionBaseExtras/cy4E1/src/intervalsets.jl:3.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
  ? ConstructionBaseExtras
[ Info: Precompiling ConstructionBaseExtras [914cd950-b775-4282-9f32-54fc4544c321]
WARNING: Method definition constructorof(Type{var"#s1"} where var"#s1"<:(IntervalSets.Interval{L, R, T} where T)) where {L, R} in module ConstructionBaseIntervalSetsExt at /Users/emmaware/.julia/packages/ConstructionBase/JFKjZ/ext/ConstructionBaseIntervalSetsExt.jl:6 overwritten in module ConstructionBaseExtras at /Users/emmaware/.julia/packages/ConstructionBaseExtras/cy4E1/src/intervalsets.jl:3.
ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
[ Info: Skipping precompilation since __precompile__(false). Importing ConstructionBaseExtras [914cd950-b775-4282-9f32-54fc4544c321].

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