Through including various packages I somehow managed to get the warnings
WARNING: Method definition setindex(AbstractArray{T, 2} where T, Any, Int64, Int64)
in module ArrayInterfaceCore at /home/user/.julia/packages/ArrayInterfaceCore/0D5yC/src/ArrayInterfaceCore.jl:110
overwritten in module ArrayInterface at /home/user/.julia/packages/ArrayInterface/R0AhD/src/ArrayInterface.jl:199.
** incremental compilation may be fatally broken for this module **
WARNING: Method definition setindex(AbstractArray{T, 1} where T, Any, Int64)
in module ArrayInterfaceCore at /home/user/.julia/packages/ArrayInterfaceCore/0D5yC/src/ArrayInterfaceCore.jl:105
overwritten in module ArrayInterface at /home/user/.julia/packages/ArrayInterface/R0AhD/src/ArrayInterface.jl:194.
** incremental compilation may be fatally broken for this module **
WARNING: Method definition setindex(AbstractArray{T, N} where N where T, Any, Any...)
in module ArrayInterfaceCore at /home/user/.julia/packages/ArrayInterfaceCore/0D5yC/src/ArrayInterfaceCore.jl:99
overwritten in module ArrayInterface at /home/user/.julia/packages/ArrayInterface/R0AhD/src/ArrayInterface.jl:188.
** incremental compilation may be fatally broken for this module **
I also have the feeling that they might cause a bug in my program, so I would like to resolve them - how do I do that?
Please post your versioninfo() and a larger section of your code that produces this error.
Are you changing environments in your program at some point?
julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: AMD Ryzen 7 5800H with Radeon Graphics
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-12.0.1 (ORCJIT, znver3)
For the code: This happens when I included a package (let’s call it FOO for the moment) from .julia/dev/FOO via
using FOO
Interestingly, with the package FOO there come some examples, also using the package without the warnings popping up.
Recently, I added another package to the dependencies of FOO and updated the Project.toml file via Pkg. Still, the “built-in” example programs run, while my custom one gives the warnings.
Try upgrading. I think Octavian wasn’t updated in awhile so it was blocking some packages and causing a few warnings here and there. You should get v0.3.14 Release v0.3.14 · JuliaLinearAlgebra/Octavian.jl · GitHub and I assume that was the issue? If not, I’ll need to see ]st -m.