Skip to content

NonlinearSolveFirstOrder.jl v2.1.0 is incompatible with NonlinearSolveBase.jl v2.11.2 #893

Closed

Description

@jakobjpeters

Describe the bug 🐞

These package versions fail to precompile.

Expected behavior

Inability to resolve incompatible packages.

Minimal Reproducible Example 👇

Generated with Claude, tested manually.

# MWE: NonlinearSolveFirstOrder v2.1.0 + NonlinearSolveBase v2.11.2 incompatibility
#
# NonlinearSolveFirstOrder v2.1.0 calls NonlinearSolveBase.maybe_unwrap_prob_for_enzyme,
# which does not exist in NonlinearSolveBase v2.11.2, causing precompilation failure.
#
# Run with: julia mwe.jl

using Pkg: Pkg

Pkg.activate(; temp = true)

Pkg.add([
    Pkg.PackageSpec(; name = "NonlinearSolveFirstOrder", version = "2.1.0"),
    Pkg.PackageSpec(; name = "NonlinearSolveBase", version = "2.11.2"),
])

# Expected error:
#   UndefVarError: `maybe_unwrap_prob_for_enzyme` not defined in `NonlinearSolveBase`
using NonlinearSolveFirstOrder: NonlinearSolveFirstOrder

Error & Stacktrace ⚠️

  Activating new project at `/tmp/jl_p75bOQ`
   Resolving package versions...
   Installed NonlinearSolveFirstOrder ─ v2.1.0
   Installed FunctionWrappersWrappers ─ v1.1.0
   Installed RecursiveArrayTools ────── v3.53.0
   Installed SciMLBase ──────────────── v2.154.0
   Installed SciMLOperators ─────────── v1.16.0
    Updating `/tmp/jl_p75bOQ/Project.toml`
⌃ [be0214bd] + NonlinearSolveBase v2.11.2
  [5959db7a] + NonlinearSolveFirstOrder v2.1.0
    Updating `/tmp/jl_p75bOQ/Manifest.toml`
  [47edcb42] + ADTypes v1.21.0
  [7d9f7c33] + Accessors v0.1.44
  [79e6a3ab] + Adapt v4.5.0
  [4fba245c] + ArrayInterface v7.23.0
  [38540f10] + CommonSolve v0.2.6
  [bbf7d656] + CommonSubexpressions v0.3.1
  [34da2185] + Compat v4.18.1
  [a33af91c] + CompositionsBase v0.1.2
  [2569d6c7] + ConcreteStructs v0.2.3
  [187b0558] + ConstructionBase v1.6.0
  [163ba53b] + DiffResults v1.1.0
  [b552c78f] + DiffRules v1.15.1
  [a0c0ee7d] + DifferentiationInterface v0.7.16
  [ffbed154] + DocStringExtensions v0.9.5
  [4e289a0a] + EnumX v1.0.7
  [f151be2c] + EnzymeCore v0.8.19
  [e2ba6199] + ExprTools v0.1.10
  [55351af7] + ExproniconLite v0.10.14
  [9aa1b823] + FastClosures v0.3.2
  [6a86dc24] + FiniteDiff v2.29.0
  [f6369f11] + ForwardDiff v1.3.3
  [069b7b12] + FunctionWrappers v1.1.3
  [77dc65aa] + FunctionWrappersWrappers v1.1.0
  [46192b85] + GPUArraysCore v0.2.0
  [3587e190] + InverseFunctions v0.1.17
  [92d709cd] + IrrationalConstants v0.2.6
  [82899510] + IteratorInterfaceExtensions v1.0.0
  [692b3bcd] + JLLWrappers v1.7.1
  [ae98c720] + Jieko v0.2.1
  [ba0b0d4f] + Krylov v0.10.6
  [87fe0de2] + LineSearch v0.1.6
  [7ed4a6bd] + LinearSolve v3.69.0
  [2ab3a3ac] + LogExpFunctions v0.3.29
  [e6f89c97] + LoggingExtras v1.2.0
  [1914dd2f] + MacroTools v0.5.16
  [bb5d69b7] + MaybeInplace v0.1.4
  [2e0e35c7] + Moshi v0.3.7
  [77ba4419] + NaNMath v1.1.3
⌃ [be0214bd] + NonlinearSolveBase v2.11.2
  [5959db7a] + NonlinearSolveFirstOrder v2.1.0
  [d236fae5] + PreallocationTools v1.2.0
  [aea7be01] + PrecompileTools v1.3.3
  [21216c6a] + Preferences v1.5.2
  [3cdcf5f2] + RecipesBase v1.3.4
⌅ [731186ca] + RecursiveArrayTools v3.53.0
  [189a3867] + Reexport v1.2.2
  [ae029012] + Requires v1.3.1
  [7e49a35a] + RuntimeGeneratedFunctions v0.5.17
  [0bca4576] + SciMLBase v2.154.0
  [19f34311] + SciMLJacobianOperators v0.1.12
  [a6db7da4] + SciMLLogging v1.9.1
  [c0aeaf25] + SciMLOperators v1.16.0
  [431bcebd] + SciMLPublic v1.0.1
  [53ae85a6] + SciMLStructures v1.10.0
  [efcf1570] + Setfield v1.1.2
  [276daf66] + SpecialFunctions v2.7.2
  [1e83bf80] + StaticArraysCore v1.4.4
  [10745b16] + Statistics v1.11.1
  [2efcf032] + SymbolicIndexingInterface v0.3.46
  [a759f4b9] + TimerOutputs v0.5.29
  [781d530d] + TruncatedStacktraces v1.4.0
  [1d5cc7b8] + IntelOpenMP_jll v2025.2.0+0
  [856f044c] + MKL_jll v2025.2.0+0
  [efe28fd5] + OpenSpecFun_jll v0.5.6+0
  [1317d2d5] + oneTBB_jll v2022.0.0+1
  [0dad84c5] + ArgTools v1.1.2
  [56f22d72] + Artifacts v1.11.0
  [2a0f44e3] + Base64 v1.11.0
  [ade2ca70] + Dates v1.11.0
  [8ba89e20] + Distributed v1.11.0
  [f43a241f] + Downloads v1.7.0
  [7b1f6079] + FileWatching v1.11.0
  [9fa8497b] + Future v1.11.0
  [b77e0a4c] + InteractiveUtils v1.11.0
  [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0
  [4af54fe1] + LazyArtifacts v1.11.0
  [b27032c2] + LibCURL v0.6.4
  [76f85450] + LibGit2 v1.11.0
  [8f399da3] + Libdl v1.11.0
  [37e2e46d] + LinearAlgebra v1.12.0
  [56ddb016] + Logging v1.11.0
  [d6f4376e] + Markdown v1.11.0
  [ca575930] + NetworkOptions v1.3.0
  [44cfe95a] + Pkg v1.12.1
  [de0858da] + Printf v1.11.0
  [9a3f8284] + Random v1.11.0
  [ea8e919c] + SHA v0.7.0
  [9e88b42a] + Serialization v1.11.0
  [6462fe0b] + Sockets v1.11.0
  [2f01184e] + SparseArrays v1.12.0
  [f489334b] + StyledStrings v1.11.0
  [fa267f1f] + TOML v1.0.3
  [a4e569a6] + Tar v1.10.0
  [cf7118a7] + UUIDs v1.11.0
  [4ec0a83e] + Unicode v1.11.0
  [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1
  [deac9b47] + LibCURL_jll v8.15.0+0
  [e37daf67] + LibGit2_jll v1.9.0+0
  [29816b5a] + LibSSH2_jll v1.11.3+1
  [14a3606d] + MozillaCACerts_jll v2025.5.20
  [4536629a] + OpenBLAS_jll v0.3.29+0
  [05823500] + OpenLibm_jll v0.8.7+0
  [458c3c95] + OpenSSL_jll v3.5.4+0
  [bea87d4a] + SuiteSparse_jll v7.8.3+2
  [83775a58] + Zlib_jll v1.3.1+2
  [8e850b90] + libblastrampoline_jll v5.15.0+0
  [8e850ede] + nghttp2_jll v1.64.0+1
  [3f19e933] + p7zip_jll v17.7.0+0
        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
Info Given NonlinearSolveFirstOrder was explicitly requested, output will be shown live
ERROR: LoadError: TaskFailedException

    nested task error: UndefVarError: `maybe_unwrap_prob_for_enzyme` not defined in `NonlinearSolveBase`
    Suggestion: check for spelling errors or missing imports.
    Stacktrace:
      [1] getproperty
        @ ./Base_compiler.jl:47 [inlined]
      [2] __init(::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, ::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; stats::SciMLBase.NLStats, alias::SciMLBase.NonlinearAliasSpecifier, maxiters::Int64, abstol::Float64, reltol::Nothing, maxtime::Nothing, termination_condition::Nothing, internalnorm::typeof(NonlinearSolveBase.L2_NORM), verbose::NonlinearSolveBase.NonlinearVerbosity{SciMLLogging.None, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent}, linsolve_kwargs::@NamedTuple{}, initializealg::NonlinearSolveBase.NonlinearSolveDefaultInit, kwargs::@Kwargs{})
        @ NonlinearSolveFirstOrder ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/solve.jl:181
      [3] __init
        @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/solve.jl:134 [inlined]
      [4] __solve(::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, ::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; kwargs::@Kwargs{alias::SciMLBase.NonlinearAliasSpecifier, verbose::NonlinearSolveBase.NonlinearVerbosity{SciMLLogging.None, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent}, abstol::Float64})
        @ NonlinearSolveBase ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:289
      [5] __solve
        @ ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:286 [inlined]
      [6] #solve_call#149
        @ ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:179 [inlined]
      [7] solve_up(prob::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, sensealg::Nothing, u0::Float64, p::Float64, args::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; originator::SciMLBase.ChainRulesOriginator, kwargs::@Kwargs{alias::SciMLBase.NonlinearAliasSpecifier, verbose::NonlinearSolveBase.NonlinearVerbosity{SciMLLogging.None, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent}, abstol::Float64})
        @ NonlinearSolveBase ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:132
      [8] solve(prob::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, args::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; sensealg::Nothing, u0::Nothing, p::Nothing, wrap::Val{true}, verbose::Bool, kwargs::@Kwargs{abstol::Float64})
        @ NonlinearSolveBase ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:89
      [9] solve
        @ ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:47 [inlined]
     [10] (::NonlinearSolveFirstOrder.var"#55#56"{NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}, SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}})()
        @ NonlinearSolveFirstOrder ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:92

...and 20 more exceptions.

Stacktrace:
  [1] sync_end(c::Channel{Any})
    @ Base ./task.jl:630
  [2] macro expansion
    @ ./task.jl:663 [inlined]
  [3] macro expansion
    @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:89 [inlined]
  [4] macro expansion
    @ ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:73 [inlined]
  [5] macro expansion
    @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:88 [inlined]
  [6] macro expansion
    @ ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:121 [inlined]
  [7] top-level scope
    @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:44
  [8] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
  [9] 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::Nothing)
    @ Base ./loading.jl:3024
 [10] top-level scope
    @ stdin:5
 [11] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [12] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2870
 [13] include_string
    @ ./loading.jl:2880 [inlined]
 [14] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [15] _start()
    @ Base ./client.jl:550
in expression starting at /home/jakob/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:1
in expression starting at stdin:5
  ✗ NonlinearSolveFirstOrder
Precompiling NonlinearSolveFirstOrder finished.
  22 dependencies successfully precompiled in 45 seconds. 111 already precompiled.

ERROR: LoadError: The following 1 direct dependency failed to precompile:

NonlinearSolveFirstOrder

Failed to precompile NonlinearSolveFirstOrder [5959db7a-ea39-4486-b5fe-2dd0bf03d60d] to "/home/jakob/.julia/compiled/v1.12/NonlinearSolveFirstOrder/jl_49MwsJ".
ERROR: LoadError: TaskFailedException

    nested task error: UndefVarError: `maybe_unwrap_prob_for_enzyme` not defined in `NonlinearSolveBase`
    Suggestion: check for spelling errors or missing imports.
    Stacktrace:
      [1] getproperty
        @ ./Base_compiler.jl:47 [inlined]
      [2] __init(::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, ::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; stats::SciMLBase.NLStats, alias::SciMLBase.NonlinearAliasSpecifier, maxiters::Int64, abstol::Float64, reltol::Nothing, maxtime::Nothing, termination_condition::Nothing, internalnorm::typeof(NonlinearSolveBase.L2_NORM), verbose::NonlinearSolveBase.NonlinearVerbosity{SciMLLogging.None, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent}, linsolve_kwargs::@NamedTuple{}, initializealg::NonlinearSolveBase.NonlinearSolveDefaultInit, kwargs::@Kwargs{})
        @ NonlinearSolveFirstOrder ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/solve.jl:181
      [3] __init
        @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/solve.jl:134 [inlined]
      [4] __solve(::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, ::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; kwargs::@Kwargs{alias::SciMLBase.NonlinearAliasSpecifier, verbose::NonlinearSolveBase.NonlinearVerbosity{SciMLLogging.None, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent}, abstol::Float64})
        @ NonlinearSolveBase ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:289
      [5] __solve
        @ ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:286 [inlined]
      [6] #solve_call#149
        @ ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:179 [inlined]
      [7] solve_up(prob::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, sensealg::Nothing, u0::Float64, p::Float64, args::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; originator::SciMLBase.ChainRulesOriginator, kwargs::@Kwargs{alias::SciMLBase.NonlinearAliasSpecifier, verbose::NonlinearSolveBase.NonlinearVerbosity{SciMLLogging.None, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent, SciMLLogging.Silent}, abstol::Float64})
        @ NonlinearSolveBase ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:132
      [8] solve(prob::SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}, args::NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}; sensealg::Nothing, u0::Nothing, p::Nothing, wrap::Val{true}, verbose::Bool, kwargs::@Kwargs{abstol::Float64})
        @ NonlinearSolveBase ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:89
      [9] solve
        @ ~/.julia/packages/NonlinearSolveBase/1vIgs/src/solve.jl:47 [inlined]
     [10] (::NonlinearSolveFirstOrder.var"#55#56"{NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, Nothing, Nothing, Nothing, Nothing, Val{false}}, SciMLBase.NonlinearProblem{Float64, false, Float64, SciMLBase.NonlinearFunction{false, SciMLBase.NoSpecialize, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Any, Nothing, Any, Any, Any}, @Kwargs{}, SciMLBase.StandardNonlinearProblem, Nothing, Nothing}})()
        @ NonlinearSolveFirstOrder ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:92

...and 20 more exceptions.

Stacktrace:
  [1] sync_end(c::Channel{Any})
    @ Base ./task.jl:630
  [2] macro expansion
    @ ./task.jl:663 [inlined]
  [3] macro expansion
    @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:89 [inlined]
  [4] macro expansion
    @ ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:73 [inlined]
  [5] macro expansion
    @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:88 [inlined]
  [6] macro expansion
    @ ~/.julia/packages/PrecompileTools/gn08A/src/workloads.jl:121 [inlined]
  [7] top-level scope
    @ ~/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:44
  [8] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
  [9] 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::Nothing)
    @ Base ./loading.jl:3024
 [10] top-level scope
    @ stdin:5
 [11] eval(m::Module, e::Any)
    @ Core ./boot.jl:489
 [12] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)
    @ Base ./loading.jl:2870
 [13] include_string
    @ ./loading.jl:2880 [inlined]
 [14] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:315
 [15] _start()
    @ Base ./client.jl:550
in expression starting at /home/jakob/.julia/packages/NonlinearSolveFirstOrder/kkzD5/src/NonlinearSolveFirstOrder.jl:1

Environment (please complete the following information):

  • Output of using Pkg; Pkg.status()
Status `/tmp/jl_2g3ylu/Project.toml`
⌃ [be0214bd] NonlinearSolveBase v2.11.2
  [5959db7a] NonlinearSolveFirstOrder v2.1.0
Info Packages marked with ⌃ have new versions available and may be upgradable.
  • Output of using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Status `/tmp/jl_fGnVRM/Manifest.toml`
  [47edcb42] ADTypes v1.21.0
  [7d9f7c33] Accessors v0.1.44
  [79e6a3ab] Adapt v4.5.0
  [4fba245c] ArrayInterface v7.23.0
  [38540f10] CommonSolve v0.2.6
  [bbf7d656] CommonSubexpressions v0.3.1
  [34da2185] Compat v4.18.1
  [a33af91c] CompositionsBase v0.1.2
  [2569d6c7] ConcreteStructs v0.2.3
  [187b0558] ConstructionBase v1.6.0
  [163ba53b] DiffResults v1.1.0
  [b552c78f] DiffRules v1.15.1
  [a0c0ee7d] DifferentiationInterface v0.7.16
  [ffbed154] DocStringExtensions v0.9.5
  [4e289a0a] EnumX v1.0.7
  [f151be2c] EnzymeCore v0.8.19
  [e2ba6199] ExprTools v0.1.10
  [55351af7] ExproniconLite v0.10.14
  [9aa1b823] FastClosures v0.3.2
  [6a86dc24] FiniteDiff v2.29.0
  [f6369f11] ForwardDiff v1.3.3
  [069b7b12] FunctionWrappers v1.1.3
  [77dc65aa] FunctionWrappersWrappers v1.1.0
  [46192b85] GPUArraysCore v0.2.0
  [3587e190] InverseFunctions v0.1.17
  [92d709cd] IrrationalConstants v0.2.6
  [82899510] IteratorInterfaceExtensions v1.0.0
  [692b3bcd] JLLWrappers v1.7.1
  [ae98c720] Jieko v0.2.1
  [ba0b0d4f] Krylov v0.10.6
  [87fe0de2] LineSearch v0.1.6
  [7ed4a6bd] LinearSolve v3.69.0
  [2ab3a3ac] LogExpFunctions v0.3.29
  [e6f89c97] LoggingExtras v1.2.0
  [1914dd2f] MacroTools v0.5.16
  [bb5d69b7] MaybeInplace v0.1.4
  [2e0e35c7] Moshi v0.3.7
  [77ba4419] NaNMath v1.1.3
⌃ [be0214bd] NonlinearSolveBase v2.11.2
  [5959db7a] NonlinearSolveFirstOrder v2.1.0
  [d236fae5] PreallocationTools v1.2.0
  [aea7be01] PrecompileTools v1.3.3
  [21216c6a] Preferences v1.5.2
  [3cdcf5f2] RecipesBase v1.3.4
⌅ [731186ca] RecursiveArrayTools v3.53.0
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.1
  [7e49a35a] RuntimeGeneratedFunctions v0.5.17
  [0bca4576] SciMLBase v2.154.0
  [19f34311] SciMLJacobianOperators v0.1.12
  [a6db7da4] SciMLLogging v1.9.1
  [c0aeaf25] SciMLOperators v1.16.0
  [431bcebd] SciMLPublic v1.0.1
  [53ae85a6] SciMLStructures v1.10.0
  [efcf1570] Setfield v1.1.2
  [276daf66] SpecialFunctions v2.7.2
  [1e83bf80] StaticArraysCore v1.4.4
  [10745b16] Statistics v1.11.1
  [2efcf032] SymbolicIndexingInterface v0.3.46
  [a759f4b9] TimerOutputs v0.5.29
  [781d530d] TruncatedStacktraces v1.4.0
  [1d5cc7b8] IntelOpenMP_jll v2025.2.0+0
  [856f044c] MKL_jll v2025.2.0+0
  [efe28fd5] OpenSpecFun_jll v0.5.6+0
  [1317d2d5] oneTBB_jll v2022.0.0+1
  [0dad84c5] ArgTools v1.1.2
  [56f22d72] Artifacts v1.11.0
  [2a0f44e3] Base64 v1.11.0
  [ade2ca70] Dates v1.11.0
  [8ba89e20] Distributed v1.11.0
  [f43a241f] Downloads v1.7.0
  [7b1f6079] FileWatching v1.11.0
  [9fa8497b] Future v1.11.0
  [b77e0a4c] InteractiveUtils v1.11.0
  [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0
  [4af54fe1] LazyArtifacts v1.11.0
  [b27032c2] LibCURL v0.6.4
  [76f85450] LibGit2 v1.11.0
  [8f399da3] Libdl v1.11.0
  [37e2e46d] LinearAlgebra v1.12.0
  [56ddb016] Logging v1.11.0
  [d6f4376e] Markdown v1.11.0
  [ca575930] NetworkOptions v1.3.0
  [44cfe95a] Pkg v1.12.1
  [de0858da] Printf v1.11.0
  [9a3f8284] Random v1.11.0
  [ea8e919c] SHA v0.7.0
  [9e88b42a] Serialization v1.11.0
  [6462fe0b] Sockets v1.11.0
  [2f01184e] SparseArrays v1.12.0
  [f489334b] StyledStrings v1.11.0
  [fa267f1f] TOML v1.0.3
  [a4e569a6] Tar v1.10.0
  [cf7118a7] UUIDs v1.11.0
  [4ec0a83e] Unicode v1.11.0
  [e66e0078] CompilerSupportLibraries_jll v1.3.0+1
  [deac9b47] LibCURL_jll v8.15.0+0
  [e37daf67] LibGit2_jll v1.9.0+0
  [29816b5a] LibSSH2_jll v1.11.3+1
  [14a3606d] MozillaCACerts_jll v2025.5.20
  [4536629a] OpenBLAS_jll v0.3.29+0
  [05823500] OpenLibm_jll v0.8.7+0
  [458c3c95] OpenSSL_jll v3.5.4+0
  [bea87d4a] SuiteSparse_jll v7.8.3+2
  [83775a58] Zlib_jll v1.3.1+2
  [8e850b90] libblastrampoline_jll v5.15.0+0
  [8e850ede] nghttp2_jll v1.64.0+1
  [3f19e933] p7zip_jll v17.7.0+0
Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To see why use `status --outdated -m`
  • Output of versioninfo()
julia> versioninfo()
Julia Version 1.12.3
Commit 966d0af0fdf (2025-12-15 11:20 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 22 × Intel(R) Core(TM) Ultra 9 185H
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, alderlake)
  GC: Built with stock GC
Threads: 22 default, 1 interactive, 22 GC (on 22 virtual cores)
Environment:
  JULIA_EDITOR = hx
  JULIA_NUM_THREADS = auto
  JULIA_PKG_PRECOMPILE_AUTO = 0
  JULIA_PKG_SERVER_REGISTRY_PREFERENCE = eager
  JULIA_SHELL = bash

Additional context

N/A

Activity

  1. added
    bug
    on Apr 4, 2026
  2. jakobjpeters commented on Apr 4, 2026

    @jakobjpeters
    Author

    This doesn't work

        Pkg.PackageSpec(; name = "NonlinearSolveBase", version = "2.19"),

    This does work

        Pkg.PackageSpec(; name = "NonlinearSolveBase", version = "2.20"),
  3. jaakkor2 commented on Apr 4, 2026

    @jaakkor2
    Contributor

    Another combination that does not work is [email protected] and [email protected]. This pulls in [email protected].

  4. ChrisRackauckas commented on Apr 4, 2026

    @ChrisRackauckas
    Member

    #838 had a dependency that wasn't caught: a few of the downstream packages need a bump on the new core from that. Getting that handled.

  5. added a commit that references this issue on Apr 4, 2026
    b0902e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions