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

Lots of precompilation errors and noise #554

Open
ViralBShah opened this issue Jul 15, 2023 · 7 comments
Open

Lots of precompilation errors and noise #554

ViralBShah opened this issue Jul 15, 2023 · 7 comments

Comments

@ViralBShah
Copy link

  2 dependencies had warnings during precompilation:
┌ DiffEqOperators [9fdde737-9c7f-55bf-ade8-46b3f136cc48]
│  WARNING: method definition for * at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/multi_dim_bc_operators.jl:221 declares type variable B but does not use it.
│  WARNING: method definition for * at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/multi_dim_bc_operators.jl:244 declares type variable B but does not use it.
│  WARNING: method definition for CompleteCenteredDifference at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/derivative_operator.jl:211 declares type variable N but does not use it.
│  WARNING: method definition for CompleteCenteredDifference at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/derivative_operator.jl:262 declares type variable N but does not use it.
│  WARNING: method definition for CompleteHalfCenteredDifference at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/derivative_operator.jl:317 declares type variable N but does not use it.
│  WARNING: method definition for CompleteHalfCenteredDifference at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/derivative_operator.jl:369 declares type variable N but does not use it.
│  WARNING: method definition for CompleteUpwindDifference at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/derivative_operator.jl:644 declares type variable N but does not use it.
│  WARNING: method definition for CompleteUpwindDifference at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/derivative_operator.jl:701 declares type variable N but does not use it.
│  WARNING: method definition for BandedMatrix at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/concretization.jl:463 declares type variable K but does not use it.
│  WARNING: method definition for BandedMatrix at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/concretization.jl:463 declares type variable N but does not use it.
│  WARNING: method definition for BandedMatrix at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/concretization.jl:463 declares type variable D but does not use it.
│  WARNING: method definition for BandedMatrix at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/concretization.jl:463 declares type variable B but does not use it.
│  WARNING: method definition for BandedMatrix at /Users/viral/.julia/packages/DiffEqOperators/lHq9u/src/derivative_operators/concretization.jl:463 declares type variable T but does not use it.
│  ┌ Warning: DiffEqOperators.jl is in the process of being deprecated.
│  │ 
│  │        - For automated PDE discretization, see MethodOfLines.jl
│  │ 
│  │        - For MatrixFreeOperators, and other non-derivative operators, see SciMLOperators.jl
│  │ 
│  │        - For VecJacOperators and JacVecOperators, see SparseDiffTools.jl
│  └ @ DiffEqOperators ~/.julia/packages/DiffEqOperators/lHq9u/src/DiffEqOperators.jl:61
└  
┌ FiniteDiffBlockBandedMatricesExt [96e4ec09-6d7e-523c-8af1-89de598bdaad]
│  ┌ Warning: Module ArrayInterfaceBandedMatricesExt with build ID fafbfcfd-2865-82a7-0001-ee64741e39f5 is missing from the cache.
│  │ This may mean ArrayInterfaceBandedMatricesExt [26e938bc-0cd5-5679-9003-44616cbf91d3] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1793
│  ┌ Error: Error during loading of extension ArrayInterfaceBandedMatricesExt of ArrayInterface, use `Base.retry_load_extensions()` to retry.
│  │   exception =
│  │    1-element ExceptionStack:
│  │    Declaring __precompile__(false) is not allowed in files that are being precompiled.
│  │    Stacktrace:
│  │      [1] _require(pkg::Base.PkgId, env::Nothing)
│  │        @ Base ./loading.jl:1797
│  │      [2] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│  │        @ Base ./loading.jl:1660
│  │      [3] _require_prelocked(uuidkey::Base.PkgId)
│  │        @ Base ./loading.jl:1658
│  │      [4] run_extension_callbacks(extid::Base.ExtensionId)
│  │        @ Base ./loading.jl:1255
│  │      [5] run_extension_callbacks(pkgid::Base.PkgId)
│  │        @ Base ./loading.jl:1290
│  │      [6] run_package_callbacks(modkey::Base.PkgId)
│  │        @ Base ./loading.jl:1124
│  │      [7] _require_prelocked(uuidkey::Base.PkgId, env::String)
│  │        @ Base ./loading.jl:1667
│  │      [8] macro expansion
│  │        @ ./loading.jl:1648 [inlined]
│  │      [9] macro expansion
│  │        @ ./lock.jl:267 [inlined]
│  │     [10] require(into::Module, mod::Symbol)
│  │        @ Base ./loading.jl:1611
│  │     [11] top-level scope
│  │        @ ~/.julia/packages/FiniteDiff/grio1/ext/FiniteDiffBandedMatricesExt.jl:5
│  │     [12] include
│  │        @ ./Base.jl:457 [inlined]
│  │     [13] 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, UInt128}}, source::String)
│  │        @ Base ./loading.jl:2049
│  │     [14] top-level scope
│  │        @ stdin:3
│  │     [15] eval
│  │        @ ./boot.jl:370 [inlined]
│  │     [16] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│  │        @ Base ./loading.jl:1903
│  │     [17] include_string
│  │        @ ./loading.jl:1913 [inlined]
│  │     [18] exec_options(opts::Base.JLOptions)
│  │        @ Base ./client.jl:305
│  │     [19] _start()
│  │        @ Base ./client.jl:522
│  └ @ Base loading.jl:1261
│  ┌ Warning: Module ArrayInterfaceBandedMatricesExt with build ID fafbfcfd-2865-82a7-0001-ee64741e39f5 is missing from the cache.
│  │ This may mean ArrayInterfaceBandedMatricesExt [26e938bc-0cd5-5679-9003-44616cbf91d3] does not support precompilation but is imported by a module that does.
│  └ @ Base loading.jl:1793
│  ┌ Error: Error during loading of extension ArrayInterfaceBandedMatricesExt of ArrayInterface, use `Base.retry_load_extensions()` to retry.
│  │   exception =
│  │    1-element ExceptionStack:
│  │    Declaring __precompile__(false) is not allowed in files that are being precompiled.
│  │    Stacktrace:
│  │      [1] _require(pkg::Base.PkgId, env::Nothing)
│  │        @ Base ./loading.jl:1797
│  │      [2] _require_prelocked(uuidkey::Base.PkgId, env::Nothing)
│  │        @ Base ./loading.jl:1660
│  │      [3] _require_prelocked(uuidkey::Base.PkgId)
│  │        @ Base ./loading.jl:1658
│  │      [4] run_extension_callbacks(extid::Base.ExtensionId)
│  │        @ Base ./loading.jl:1255
│  │      [5] run_extension_callbacks(pkgid::Base.PkgId)
│  │        @ Base ./loading.jl:1290
│  │      [6] run_package_callbacks(modkey::Base.PkgId)
│  │        @ Base ./loading.jl:1124
│  │      [7] _tryrequire_from_serialized(modkey::Base.PkgId, path::String, ocachepath::String, sourcepath::String, depmods::Vector{Any})
│  │        @ Base ./loading.jl:1398
│  │      [8] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128)
│  │        @ Base ./loading.jl:1494
│  │      [9] _require(pkg::Base.PkgId, env::String)
│  │        @ Base ./loading.jl:1783
│  │     [10] _require_prelocked(uuidkey::Base.PkgId, env::String)
│  │        @ Base ./loading.jl:1660
│  │     [11] macro expansion
│  │        @ ./loading.jl:1648 [inlined]
│  │     [12] macro expansion
│  │        @ ./lock.jl:267 [inlined]
│  │     [13] require(into::Module, mod::Symbol)
│  │        @ Base ./loading.jl:1611
│  │     [14] top-level scope
│  │        @ ~/.julia/packages/ArrayInterface/a4Wwt/ext/ArrayInterfaceBlockBandedMatricesExt.jl:8
│  │     [15] include
│  │        @ ./Base.jl:457 [inlined]
│  │     [16] 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, UInt128}}, source::String)
│  │        @ Base ./loading.jl:2049
│  │     [17] top-level scope
│  │        @ stdin:3
│  │     [18] eval
│  │        @ ./boot.jl:370 [inlined]
│  │     [19] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
│  │        @ Base ./loading.jl:1903
│  │     [20] include_string
│  │        @ ./loading.jl:1913 [inlined]
│  │     [21] exec_options(opts::Base.JLOptions)
│  │        @ Base ./client.jl:305
│  │     [22] _start()
│  │        @ Base ./client.jl:522
│  └ @ Base loading.jl:1261
└  
@ChrisRackauckas
Copy link
Member

This library is already deprecated and unused in the dependency stack. Where did it come up?

@ViralBShah
Copy link
Author

Makes sense. I was seeing if SciML/Sundials.jl#221 could be closed.

@ViralBShah
Copy link
Author

Perhaps the package can be archived and a note added as well?

@ChrisRackauckas
Copy link
Member

Oh yeah that's just a stale issue.

@ChrisRackauckas
Copy link
Member

The README has:

This Package is in the Process of being Deprecated

And the top of the documentation has:

This package is in the process of being deprecated. See below for alternatives

That issue was just from 2019, before the deprecation. We're looking into somethings around ASKEM for how much to incorporate some of the remaining pieces elsewhere.

@ChrisRackauckas
Copy link
Member

Screenshot 2023-07-15 at 10 02 10 AM

I think we're pretty hilariously explicit about "this library may have issues, don't use it, use the other things" 😅

@ViralBShah
Copy link
Author

ViralBShah commented Jul 15, 2023

Yeah I meant also archive it on github so that people like me who are copy pasting examples can't even open such issues? :-)

If it didn't let me file an issue, then I would have gone and seen the README or docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants