Package evaluation to load Optim on Julia 1.14.0-DEV.2593 (15c2b67521*) started at 2026-07-03T20:41:31.270 ################################################################################ # Set-up # Set-up completed after 0.15s ################################################################################ # Installation # Installing Optim... Resolving package versions... Installed NaNMath ────────────────── v1.1.4 Installed Adapt ──────────────────── v4.7.0 Installed LineSearches ───────────── v7.7.1 Installed FiniteDiff ─────────────── v2.31.1 Installed PositiveFactorizations ─── v0.2.4 Installed Setfield ───────────────── v1.1.2 Installed Statistics ─────────────── v1.11.1 Installed MacroTools ─────────────── v0.5.16 Installed ConstructionBase ───────── v1.6.0 Installed FillArrays ─────────────── v1.16.0 Installed Optim ──────────────────── v2.2.1 Installed ADTypes ────────────────── v1.22.1 Installed ArrayInterface ─────────── v7.27.0 Installed StaticArraysCore ───────── v1.4.4 Installed NLSolversBase ──────────── v8.0.0 Installed EnumX ──────────────────── v1.0.7 Installed DifferentiationInterface ─ v0.7.18 Updating `~/.julia/environments/v1.14/Project.toml` [429524aa] + Optim v2.2.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [47edcb42] + ADTypes v1.22.1 [79e6a3ab] + Adapt v4.7.0 [4fba245c] + ArrayInterface v7.27.0 [187b0558] + ConstructionBase v1.6.0 [a0c0ee7d] + DifferentiationInterface v0.7.18 [4e289a0a] + EnumX v1.0.7 [1a297f60] + FillArrays v1.16.0 [6a86dc24] + FiniteDiff v2.31.1 [d3d80556] + LineSearches v7.7.1 [1914dd2f] + MacroTools v0.5.16 [d41bc354] + NLSolversBase v8.0.0 [77ba4419] + NaNMath v1.1.4 [429524aa] + Optim v2.2.1 [85a6dd25] + PositiveFactorizations v0.2.4 [efcf1570] + Setfield v1.1.2 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [56f22d72] + Artifacts v1.11.0 [9fa8497b] + Future v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.14.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [2f01184e] + SparseArrays v1.13.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.5.5+2 [4536629a] + OpenBLAS_jll v0.3.33+0 [05823500] + OpenLibm_jll v0.8.7+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [8e850b90] + libblastrampoline_jll v5.15.0+0 Installation completed after 9.21s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Project No packages added to or removed from `~/.julia/environments/pkgeval/Project.toml` Manifest No packages added to or removed from `~/.julia/environments/pkgeval/Manifest.toml` Precompiling package dependencies... Precompiling project... 4.0 s ✓ MacroTools 1.2 s ✓ StaticArraysCore 2.2 s ✓ ADTypes 122.4 s ✓ FillArrays 1.6 s ✓ Adapt 0.8 s ✓ PositiveFactorizations 1.4 s ✓ Statistics 1.7 s ✓ ConstructionBase 0.9 s ✓ EnumX 1.9 s ✓ NaNMath 2.8 s ✓ DifferentiationInterface 79.9 s ✓ FillArrays → FillArraysSparseArraysExt 1.9 s ✓ ArrayInterface 43.1 s ✓ Adapt → AdaptSparseArraysExt 43.1 s ✓ Statistics → SparseArraysExt 41.7 s ✓ FillArrays → FillArraysStatisticsExt 0.6 s ✓ ConstructionBase → ConstructionBaseLinearAlgebraExt 0.6 s ✓ ADTypes → ADTypesConstructionBaseExt 42.2 s ✓ DifferentiationInterface → DifferentiationInterfaceSparseArraysExt 41.3 s ✓ ArrayInterface → ArrayInterfaceFillArraysExt 42.5 s ✓ ArrayInterface → ArrayInterfaceSparseArraysExt 0.7 s ✓ ArrayInterface → ArrayInterfaceStaticArraysCoreExt 3.7 s ✓ Setfield 1.7 s ✓ FiniteDiff 42.9 s ✓ FiniteDiff → FiniteDiffSparseArraysExt 1.1 s ✓ DifferentiationInterface → DifferentiationInterfaceFiniteDiffExt 1.9 s ✓ NLSolversBase 38.8 s ✓ LineSearches ┌ Info: JuliaLowering threw given input: │ code = │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 =# Core.@doc "Termination codes for Optim.jl." #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =# @enumx(TerminationCode, begin │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =# Core.@doc "Nelder-Mead simplex converged." NelderMeadCriterion │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =# Core.@doc "First (partial) derivative had a magnitude below the prescribed tolerance." GradientNorm │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =# Core.@doc "The change in optimization variables was zero (the tolerance was not set by the user)." NoXChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =# Core.@doc "The change in the objective was zero (the tolerance was not set by the user)." NoObjectiveChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =# Core.@doc "The change in the optimization variables was below the prescribed tolerance." SmallXChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =# Core.@doc "The change in the objective was below the prescribed tolerance." SmallObjectiveChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =# Core.@doc "The line search failed to find a point that decreased the objective." FailedLinesearch │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =# Core.@doc "User callback returned `true`." Callback │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =# Core.@doc "The number of iterations exceeded the maximum number allowed." Iterations │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =# Core.@doc "Time budget was exceeded." Time │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =# Core.@doc "Objective function evaluations exceeded the maximum number allowed." ObjectiveCalls │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =# Core.@doc "Gradient evaluations exceeded the maximum number allowed." GradientCalls │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =# Core.@doc "Hessian evaluations exceeded the maximum number allowed." HessianCalls │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =# Core.@doc "Objective function value increased." ObjectiveIncreased │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =# Core.@doc "Objective function was not finite" ObjectiveNotFinite │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =# Core.@doc "Gradient was not finite" GradientNotFinite │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =# Core.@doc "Hessian was not finite" HessianNotFinite │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =# Core.@doc "The trust region radius was less than or equal to the minimum radius allowed." SmallTrustRegionRadius │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =# Core.@doc "For algorithms where the TerminationCode is not yet implemented." NotImplemented │ end)) │ st0 = │ SyntaxTree with attributes mod,kind,var_id,toplevel_pure,scope_type,context,syntax_flags,name_val,meta,value,jl_source,is_toplevel_thunk,source │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 =#) :: Value | │ "Termination codes for Optim.jl." :: Value | │ [macrocall] | │ @enumx :: Identifier | │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#) :: Value | │ TerminationCode :: Identifier | │ [block] | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =#) :: Value | │ "Nelder-Mead simplex converged." :: Value | │ NelderMeadCriterion :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =#) :: Value | │ "First (partial) derivative had a magnitude below the prescribed tolerance." :: Value | │ GradientNorm :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =#) :: Value | │ "The change in optimization variables was zero (the tolerance was not set by the user)." :: Value | │ NoXChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =#) :: Value | │ "The change in the objective was zero (the tolerance was not set by the user)." :: Value | │ NoObjectiveChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =#) :: Value | │ "The change in the optimization variables was below the prescribed tolerance." :: Value | │ SmallXChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =#) :: Value | │ "The change in the objective was below the prescribed tolerance." :: Value | │ SmallObjectiveChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =#) :: Value | │ "The line search failed to find a point that decreased the objective." :: Value | │ FailedLinesearch :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =#) :: Value | │ "User callback returned `true`." :: Value | │ Callback :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =#) :: Value | │ "The number of iterations exceeded the maximum number allowed." :: Value | │ Iterations :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =#) :: Value | │ "Time budget was exceeded." :: Value | │ Time :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =#) :: Value | │ "Objective function evaluations exceeded the maximum number allowed." :: Value | │ ObjectiveCalls :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =#) :: Value | │ "Gradient evaluations exceeded the maximum number allowed." :: Value | │ GradientCalls :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =#) :: Value | │ "Hessian evaluations exceeded the maximum number allowed." :: Value | │ HessianCalls :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =#) :: Value | │ "Objective function value increased." :: Value | │ ObjectiveIncreased :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =#) :: Value | │ "Objective function was not finite" :: Value | │ ObjectiveNotFinite :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =#) :: Value | │ "Gradient was not finite" :: Value | │ GradientNotFinite :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =#) :: Value | │ "Hessian was not finite" :: Value | │ HessianNotFinite :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =#) :: Value | │ "The trust region radius was less than or equal to the minimum radius allowed." :: Value | │ SmallTrustRegionRadius :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =#) :: Value | │ "For algorithms where the TerminationCode is not yet implemented." :: Value | │ NotImplemented :: Identifier | │ │ st1 = nothing │ file = "/home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl" │ line = 240 └ mod = Optim ERROR: LoadError: LoweringError: #= /home/pkgeval/.julia/packages/EnumX/CGSQY/src/EnumX.jl:122 =# - `escape` node in outer context Expression:  (escape TerminationCode) Containing expressions:  (toplevel (hygienic-scope (module false (escape TerminationCode) (block (primitive (<: T (curly Enum Int32)) 32) (let (= value_name_map Dict{Int32, Symbol}(3 => :NoObjectiveChange, 2 => :NoXChange, 6 => :FailedLinesearch, 5 => :SmallObjectiveChange, 4 => :SmallXChange, 1 => :GradientNorm, 13 => :ObjectiveIncreased, 8 => :Iterations, 7 => :Callback, 10 => :ObjectiveCalls, 17 => :SmallTrustRegionRadius, 16 => :HessianNotFinite, 14 => :ObjectiveNotFinite, 15 => :GradientNotFinite, 18 => :NotImplemented, 12 => :HessianCalls, 11 => :GradientCalls, 9 => :Time, 0 => :NelderMeadCriterion)) (block (= (call check_valid x) (block (|| (call in x (call keys value_name_map)) (call throw (call ArgumentError (string "invalid value for Enum " (inert TerminationCode) ": " x ".")))))) (global (function (call (escape T) (:: x Integer)) (block (call check_valid x) (return (call (. Base (inert bitcast)) (escape T) (call convert Int32 x)))))) (= (call (. (. Base (inert Enums)) (inert namemap)) (:: (curly (. Base (inert Type)) (escape T)))) (block value_name_map)) (= (call (. (. Base (inert Enums)) (inert instances)) (:: (curly (. Base (inert Type)) (escape T)))) (block (tuple (escape NelderMeadCriterion) (escape GradientNorm) (escape NoXChange) (escape NoObjectiveChange) (escape SmallXChange) (escape SmallObjectiveChange) (escape FailedLinesearch) (escape Callback) (escape Iterations) (escape Time) (escape ObjectiveCalls) (escape GradientCalls) (escape HessianCalls) (escape ObjectiveIncreased) (escape ObjectiveNotFinite) (escape GradientNotFinite) (escape HessianNotFinite) (escape SmallTrustRegionRadius) (escape NotImplemented)))) (= (call (. EnumX (inert symbol_map)) (:: (curly (. Base (inert Type)) (escape T)))) (block Pair{Symbol, Int32}[:NelderMeadCriterion => 0, :GradientNorm => 1, :NoXChange => 2, :NoObjectiveChange => 3, :SmallXChange => 4, :SmallObjectiveChange => 5, :FailedLinesearch => 6, :Callback => 7, :Iterations => 8, :Time => 9, :ObjectiveCalls => 10, :GradientCalls => 11, :HessianCalls => 12, :ObjectiveIncreased => 13, :ObjectiveNotFinite => 14, :GradientNotFinite => 15, :HessianNotFinite => 16, :SmallTrustRegionRadius => 17, :NotImplemented => 18])))) (escape (public T NelderMeadCriterion GradientNorm NoXChange NoObjectiveChange SmallXChange SmallObjectiveChange FailedLinesearch Callback Iterations Time ObjectiveCalls GradientCalls HessianCalls ObjectiveIncreased ObjectiveNotFinite GradientNotFinite HessianNotFinite SmallTrustRegionRadius NotImplemented)) (const (= (escape NelderMeadCriterion) (call (escape T) 0))) (const (= (escape GradientNorm) (call (escape T) 1))) (const (= (escape NoXChange) (call (escape T) 2))) (const (= (escape NoObjectiveChange) (call (escape T) 3))) (const (= (escape SmallXChange) (call (escape T) 4))) (const (= (escape SmallObjectiveChange) (call (escape T) 5))) (const (= (escape FailedLinesearch) (call (escape T) 6))) (const (= (escape Callback) (call (escape T) 7))) (const (= (escape Iterations) (call (escape T) 8))) (const (= (escape Time) (call (escape T) 9))) (const (= (escape ObjectiveCalls) (call (escape T) 10))) (const (= (escape GradientCalls) (call (escape T) 11))) (const (= (escape HessianCalls) (call (escape T) 12))) (const (= (escape ObjectiveIncreased) (call (escape T) 13))) (const (= (escape ObjectiveNotFinite) (call (escape T) 14))) (const (= (escape GradientNotFinite) (call (escape T) 15))) (const (= (escape HessianNotFinite) (call (escape T) 16))) (const (= (escape SmallTrustRegionRadius) (call (escape T) 17))) (const (= (escape NotImplemented) (call (escape T) 18))) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =#) "Nelder-Mead simplex converged." NelderMeadCriterion) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =#) "First (partial) derivative had a magnitude below the prescribed tolerance." GradientNorm) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =#) "The change in optimization variables was zero (the tolerance was not set by the user)." NoXChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =#) "The change in the objective was zero (the tolerance was not set by the user)." NoObjectiveChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =#) "The change in the optimization variables was below the prescribed tolerance." SmallXChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =#) "The change in the objective was below the prescribed tolerance." SmallObjectiveChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =#) "The line search failed to find a point that decreased the objective." FailedLinesearch) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =#) "User callback returned `true`." Callback) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =#) "The number of iterations exceeded the maximum number allowed." Iterations) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =#) "Time budget was exceeded." Time) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =#) "Objective function evaluations exceeded the maximum number allowed." ObjectiveCalls) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =#) "Gradient evaluations exceeded the maximum number allowed." GradientCalls) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =#) "Hessian evaluations exceeded the maximum number allowed." HessianCalls) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =#) "Objective function value increased." ObjectiveIncreased) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =#) "Objective function was not finite" ObjectiveNotFinite) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =#) "Gradient was not finite" GradientNotFinite) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =#) "Hessian was not finite" HessianNotFinite) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =#) "The trust region radius was less than or equal to the minimum radius allowed." SmallTrustRegionRadius) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =#) "For algorithms where the TerminationCode is not yet implemented." NotImplemented))) EnumX :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#)) (hygienic-scope (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 =#) Optim nothing "Termination codes for Optim.jl." (escape TerminationCode) true) EnumX :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#)) (hygienic-scope nothing EnumX :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#)))  Detailed provenance:  (escape TerminationCode)  └─ @ /home/pkgeval/.julia/packages/EnumX/CGSQY/src/EnumX.jl:122  Stacktrace:  [1] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:314  [2] mapchildren(f::Base.JuliaLowering.var"#apply_expansion_layer##0#apply_expansion_layer##1"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}}, ctx::Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:840  [3] _in_tuple(x::Base.JuliaSyntax.Kind, itr::NTuple{4, Base.JuliaSyntax.Kind}, result::Bool)  @ Base operators.jl:1417 [inlined]  [4] _in_tuple(x::Base.JuliaSyntax.Kind, itr::NTuple{4, Base.JuliaSyntax.Kind})  @ Base operators.jl:1415 [inlined]  [5] in(x::Base.JuliaSyntax.Kind, itr::NTuple{4, Base.JuliaSyntax.Kind})  @ Base operators.jl:1409 [inlined]  [6] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:341  [7] (::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool})(c::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:343 [inlined]  [8] mapchildren(f::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool}, ctx::Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:839  [9] getproperty(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:227 [inlined]  [10] is_leaf(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:304 [inlined]  [11] setattr(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol, val::Base.JuliaSyntax.SyntaxContext)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:293 [inlined]  [12] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:309  [13] (::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool})(c::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:343 [inlined]  [14] mapchildren(f::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool}, ctx::Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:839  [15] getproperty(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:227 [inlined]  [16] is_leaf(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:304 [inlined]  [17] setattr(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol, val::Base.JuliaSyntax.SyntaxContext)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:293 [inlined]  [18] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:309  [19] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:297 [inlined]  [20] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Base.JuliaSyntax.ScopeLayer, slcache::Dict{Base.JuliaSyntax.ScopeLayer, Bool}, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:319  [21] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Base.JuliaSyntax.ScopeLayer)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:297  [22] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:272  [23] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358  [24] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408  [25] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29  [26] include(mapexpr::Function, mod::Module, _path::String)  @ Base Base.jl:326  [27] top-level scope  @ ~/.julia/packages/Optim/4rXX6/src/Optim.jl:145  [28] include(mod::Module, _path::String)  @ Base Base.jl:325  [29] include_package_for_output(pkg::Base.PkgId, input::String, syntax_version::VersionNumber, 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:3303  [30] top-level scope  @ stdin:5  [31] eval(m::Module, e::Any)  @ Core boot.jl:522  [32] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base loading.jl:3132  [33] include_string(m::Module, txt::String, fname::String)  @ Base loading.jl:3142 [inlined]  [34] exec_options(opts::Base.JLOptions)  @ Base client.jl:353  [35] _start()  @ Base client.jl:596 in expression starting at /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 in expression starting at /home/pkgeval/.julia/packages/Optim/4rXX6/src/Optim.jl:1 in expression starting at stdin:5 ✗ Optim 28 dependencies successfully precompiled in 689 seconds. 7 already precompiled. Precompilation completed after 718.81s ################################################################################ # Loading # Loading Optim... ┌ Info: JuliaLowering threw given input: │ code = │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 =# Core.@doc "Termination codes for Optim.jl." #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =# @enumx(TerminationCode, begin │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =# Core.@doc "Nelder-Mead simplex converged." NelderMeadCriterion │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =# Core.@doc "First (partial) derivative had a magnitude below the prescribed tolerance." GradientNorm │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =# Core.@doc "The change in optimization variables was zero (the tolerance was not set by the user)." NoXChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =# Core.@doc "The change in the objective was zero (the tolerance was not set by the user)." NoObjectiveChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =# Core.@doc "The change in the optimization variables was below the prescribed tolerance." SmallXChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =# Core.@doc "The change in the objective was below the prescribed tolerance." SmallObjectiveChange │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =# Core.@doc "The line search failed to find a point that decreased the objective." FailedLinesearch │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =# Core.@doc "User callback returned `true`." Callback │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =# Core.@doc "The number of iterations exceeded the maximum number allowed." Iterations │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =# Core.@doc "Time budget was exceeded." Time │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =# Core.@doc "Objective function evaluations exceeded the maximum number allowed." ObjectiveCalls │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =# Core.@doc "Gradient evaluations exceeded the maximum number allowed." GradientCalls │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =# Core.@doc "Hessian evaluations exceeded the maximum number allowed." HessianCalls │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =# Core.@doc "Objective function value increased." ObjectiveIncreased │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =# Core.@doc "Objective function was not finite" ObjectiveNotFinite │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =# Core.@doc "Gradient was not finite" GradientNotFinite │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =# Core.@doc "Hessian was not finite" HessianNotFinite │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =# Core.@doc "The trust region radius was less than or equal to the minimum radius allowed." SmallTrustRegionRadius │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =# │ #= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =# Core.@doc "For algorithms where the TerminationCode is not yet implemented." NotImplemented │ end)) │ st0 = │ SyntaxTree with attributes mod,kind,var_id,toplevel_pure,scope_type,context,syntax_flags,name_val,meta,value,jl_source,is_toplevel_thunk,source │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 =#) :: Value | │ "Termination codes for Optim.jl." :: Value | │ [macrocall] | │ @enumx :: Identifier | │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#) :: Value | │ TerminationCode :: Identifier | │ [block] | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =#) :: Value | │ "Nelder-Mead simplex converged." :: Value | │ NelderMeadCriterion :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =#) :: Value | │ "First (partial) derivative had a magnitude below the prescribed tolerance." :: Value | │ GradientNorm :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =#) :: Value | │ "The change in optimization variables was zero (the tolerance was not set by the user)." :: Value | │ NoXChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =#) :: Value | │ "The change in the objective was zero (the tolerance was not set by the user)." :: Value | │ NoObjectiveChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =#) :: Value | │ "The change in the optimization variables was below the prescribed tolerance." :: Value | │ SmallXChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =#) :: Value | │ "The change in the objective was below the prescribed tolerance." :: Value | │ SmallObjectiveChange :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =#) :: Value | │ "The line search failed to find a point that decreased the objective." :: Value | │ FailedLinesearch :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =#) :: Value | │ "User callback returned `true`." :: Value | │ Callback :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =#) :: Value | │ "The number of iterations exceeded the maximum number allowed." :: Value | │ Iterations :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =#) :: Value | │ "Time budget was exceeded." :: Value | │ Time :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =#) :: Value | │ "Objective function evaluations exceeded the maximum number allowed." :: Value | │ ObjectiveCalls :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =#) :: Value | │ "Gradient evaluations exceeded the maximum number allowed." :: Value | │ GradientCalls :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =#) :: Value | │ "Hessian evaluations exceeded the maximum number allowed." :: Value | │ HessianCalls :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =#) :: Value | │ "Objective function value increased." :: Value | │ ObjectiveIncreased :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =#) :: Value | │ "Objective function was not finite" :: Value | │ ObjectiveNotFinite :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =#) :: Value | │ "Gradient was not finite" :: Value | │ GradientNotFinite :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =#) :: Value | │ "Hessian was not finite" :: Value | │ HessianNotFinite :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =#) :: Value | │ "The trust region radius was less than or equal to the minimum radius allowed." :: Value | │ SmallTrustRegionRadius :: Identifier | │ [macrocall] | │ @doc :: Identifier | mod=Core │ :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =#) :: Value | │ "For algorithms where the TerminationCode is not yet implemented." :: Value | │ NotImplemented :: Identifier | │ │ st1 = nothing │ file = "/home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl" │ line = 240 └ mod = Optim ERROR: LoadError: LoweringError: #= /home/pkgeval/.julia/packages/EnumX/CGSQY/src/EnumX.jl:122 =# - `escape` node in outer context Expression:  (escape TerminationCode) Containing expressions:  (toplevel (hygienic-scope (module false (escape TerminationCode) (block (primitive (<: T (curly Enum Int32)) 32) (let (= value_name_map Dict{Int32, Symbol}(3 => :NoObjectiveChange, 2 => :NoXChange, 6 => :FailedLinesearch, 5 => :SmallObjectiveChange, 4 => :SmallXChange, 1 => :GradientNorm, 13 => :ObjectiveIncreased, 8 => :Iterations, 7 => :Callback, 10 => :ObjectiveCalls, 17 => :SmallTrustRegionRadius, 16 => :HessianNotFinite, 14 => :ObjectiveNotFinite, 15 => :GradientNotFinite, 18 => :NotImplemented, 12 => :HessianCalls, 11 => :GradientCalls, 9 => :Time, 0 => :NelderMeadCriterion)) (block (= (call check_valid x) (block (|| (call in x (call keys value_name_map)) (call throw (call ArgumentError (string "invalid value for Enum " (inert TerminationCode) ": " x ".")))))) (global (function (call (escape T) (:: x Integer)) (block (call check_valid x) (return (call (. Base (inert bitcast)) (escape T) (call convert Int32 x)))))) (= (call (. (. Base (inert Enums)) (inert namemap)) (:: (curly (. Base (inert Type)) (escape T)))) (block value_name_map)) (= (call (. (. Base (inert Enums)) (inert instances)) (:: (curly (. Base (inert Type)) (escape T)))) (block (tuple (escape NelderMeadCriterion) (escape GradientNorm) (escape NoXChange) (escape NoObjectiveChange) (escape SmallXChange) (escape SmallObjectiveChange) (escape FailedLinesearch) (escape Callback) (escape Iterations) (escape Time) (escape ObjectiveCalls) (escape GradientCalls) (escape HessianCalls) (escape ObjectiveIncreased) (escape ObjectiveNotFinite) (escape GradientNotFinite) (escape HessianNotFinite) (escape SmallTrustRegionRadius) (escape NotImplemented)))) (= (call (. EnumX (inert symbol_map)) (:: (curly (. Base (inert Type)) (escape T)))) (block Pair{Symbol, Int32}[:NelderMeadCriterion => 0, :GradientNorm => 1, :NoXChange => 2, :NoObjectiveChange => 3, :SmallXChange => 4, :SmallObjectiveChange => 5, :FailedLinesearch => 6, :Callback => 7, :Iterations => 8, :Time => 9, :ObjectiveCalls => 10, :GradientCalls => 11, :HessianCalls => 12, :ObjectiveIncreased => 13, :ObjectiveNotFinite => 14, :GradientNotFinite => 15, :HessianNotFinite => 16, :SmallTrustRegionRadius => 17, :NotImplemented => 18])))) (escape (public T NelderMeadCriterion GradientNorm NoXChange NoObjectiveChange SmallXChange SmallObjectiveChange FailedLinesearch Callback Iterations Time ObjectiveCalls GradientCalls HessianCalls ObjectiveIncreased ObjectiveNotFinite GradientNotFinite HessianNotFinite SmallTrustRegionRadius NotImplemented)) (const (= (escape NelderMeadCriterion) (call (escape T) 0))) (const (= (escape GradientNorm) (call (escape T) 1))) (const (= (escape NoXChange) (call (escape T) 2))) (const (= (escape NoObjectiveChange) (call (escape T) 3))) (const (= (escape SmallXChange) (call (escape T) 4))) (const (= (escape SmallObjectiveChange) (call (escape T) 5))) (const (= (escape FailedLinesearch) (call (escape T) 6))) (const (= (escape Callback) (call (escape T) 7))) (const (= (escape Iterations) (call (escape T) 8))) (const (= (escape Time) (call (escape T) 9))) (const (= (escape ObjectiveCalls) (call (escape T) 10))) (const (= (escape GradientCalls) (call (escape T) 11))) (const (= (escape HessianCalls) (call (escape T) 12))) (const (= (escape ObjectiveIncreased) (call (escape T) 13))) (const (= (escape ObjectiveNotFinite) (call (escape T) 14))) (const (= (escape GradientNotFinite) (call (escape T) 15))) (const (= (escape HessianNotFinite) (call (escape T) 16))) (const (= (escape SmallTrustRegionRadius) (call (escape T) 17))) (const (= (escape NotImplemented) (call (escape T) 18))) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:242 =#) "Nelder-Mead simplex converged." NelderMeadCriterion) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:244 =#) "First (partial) derivative had a magnitude below the prescribed tolerance." GradientNorm) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:246 =#) "The change in optimization variables was zero (the tolerance was not set by the user)." NoXChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:248 =#) "The change in the objective was zero (the tolerance was not set by the user)." NoObjectiveChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:250 =#) "The change in the optimization variables was below the prescribed tolerance." SmallXChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:252 =#) "The change in the objective was below the prescribed tolerance." SmallObjectiveChange) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:254 =#) "The line search failed to find a point that decreased the objective." FailedLinesearch) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:256 =#) "User callback returned `true`." Callback) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:258 =#) "The number of iterations exceeded the maximum number allowed." Iterations) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:260 =#) "Time budget was exceeded." Time) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:262 =#) "Objective function evaluations exceeded the maximum number allowed." ObjectiveCalls) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:264 =#) "Gradient evaluations exceeded the maximum number allowed." GradientCalls) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:266 =#) "Hessian evaluations exceeded the maximum number allowed." HessianCalls) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:268 =#) "Objective function value increased." ObjectiveIncreased) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:270 =#) "Objective function was not finite" ObjectiveNotFinite) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:272 =#) "Gradient was not finite" GradientNotFinite) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:274 =#) "Hessian was not finite" HessianNotFinite) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:276 =#) "The trust region radius was less than or equal to the minimum radius allowed." SmallTrustRegionRadius) (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:278 =#) "For algorithms where the TerminationCode is not yet implemented." NotImplemented))) EnumX :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#)) (hygienic-scope (macrocall @doc :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 =#) Optim nothing "Termination codes for Optim.jl." (escape TerminationCode) true) EnumX :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#)) (hygienic-scope nothing EnumX :(#= /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:241 =#)))  Detailed provenance:  (escape TerminationCode)  └─ @ /home/pkgeval/.julia/packages/EnumX/CGSQY/src/EnumX.jl:122  Stacktrace:  [1] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:314  [2] mapchildren(f::Base.JuliaLowering.var"#apply_expansion_layer##0#apply_expansion_layer##1"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}}, ctx::Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:840  [3] _in_tuple(x::Base.JuliaSyntax.Kind, itr::NTuple{4, Base.JuliaSyntax.Kind}, result::Bool)  @ Base operators.jl:1417 [inlined]  [4] _in_tuple(x::Base.JuliaSyntax.Kind, itr::NTuple{4, Base.JuliaSyntax.Kind})  @ Base operators.jl:1415 [inlined]  [5] in(x::Base.JuliaSyntax.Kind, itr::NTuple{4, Base.JuliaSyntax.Kind})  @ Base operators.jl:1409 [inlined]  [6] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:341  [7] (::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool})(c::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:343 [inlined]  [8] mapchildren(f::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool}, ctx::Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:839  [9] getproperty(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:227 [inlined]  [10] is_leaf(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:304 [inlined]  [11] setattr(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol, val::Base.JuliaSyntax.SyntaxContext)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:293 [inlined]  [12] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:309  [13] (::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool})(c::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:343 [inlined]  [14] mapchildren(f::Base.JuliaLowering.var"#apply_expansion_layer##2#apply_expansion_layer##3"{Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, Base.JuliaSyntax.SyntaxContext, Nothing, Nothing, Bool}, ctx::Base.JuliaSyntax.SyntaxGraph{Dict{Symbol, Dict{Int64, Any}}}, ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:839  [15] getproperty(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:227 [inlined]  [16] is_leaf(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:304 [inlined]  [17] setattr(ex::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, name::Symbol, val::Base.JuliaSyntax.SyntaxContext)  @ Base.JuliaSyntax /source/usr/share/julia/JuliaSyntax/src/porcelain/syntax_graph.jl:293 [inlined]  [18] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing, slcache::Nothing, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:309  [19] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Nothing)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:297 [inlined]  [20] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Base.JuliaSyntax.ScopeLayer, slcache::Dict{Base.JuliaSyntax.ScopeLayer, Bool}, absorb_esc::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:319  [21] apply_expansion_layer(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, sc_in::Base.JuliaSyntax.SyntaxContext, lstack::Base.JuliaSyntax.ScopeLayer)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:297  [22] expand_macro(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:272  [23] expand_forms_1(ctx::Base.JuliaLowering.MacroExpansionContext{Dict{Symbol, Dict{Int64, Any}}}, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}})  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:358  [24] expand_forms_1(mod::Module, st::Base.JuliaSyntax.SyntaxTree{Dict{Symbol, Dict{Int64, Any}}}, expr_compat_mode::Bool, world::UInt64, recursive::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/macro_expansion.jl:408  [25] core_lowering_hook(code::Any, mod::Module, file::String, line::UInt64, world::UInt64, _warn::Bool)  @ Base.JuliaLowering /source/usr/share/julia/JuliaLowering/src/hooks.jl:29  [26] include(mapexpr::Function, mod::Module, _path::String)  @ Base Base.jl:326  [27] top-level scope  @ ~/.julia/packages/Optim/4rXX6/src/Optim.jl:145  [28] include(mod::Module, _path::String)  @ Base Base.jl:325  [29] include_package_for_output(pkg::Base.PkgId, input::String, syntax_version::VersionNumber, 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:3303  [30] top-level scope  @ stdin:5  [31] eval(m::Module, e::Any)  @ Core boot.jl:522  [32] include_string(mapexpr::typeof(identity), mod::Module, code::String, filename::String)  @ Base loading.jl:3132  [33] include_string(m::Module, txt::String, fname::String)  @ Base loading.jl:3142 [inlined]  [34] exec_options(opts::Base.JLOptions)  @ Base client.jl:353  [35] _start()  @ Base client.jl:596 in expression starting at /home/pkgeval/.julia/packages/Optim/4rXX6/src/types.jl:240 in expression starting at /home/pkgeval/.julia/packages/Optim/4rXX6/src/Optim.jl:1 in expression starting at stdin:5 1 dependency had output during precompilation: ┌ Optim │ [Output was shown above] └ ERROR: The following 1 package failed to precompile: Optim Failed to precompile Optim [429524aa-4258-5aef-a3af-852621145aeb] to "/home/pkgeval/.julia/compiled/v1.14/Optim/jl_YAoU2z" (ProcessExited(1)). Loading failed after 128.31s ERROR: LoadError: failed process: Process(`/opt/julia/bin/julia -C native -J/opt/julia/lib/julia/sys.so -g1 --check-bounds=yes --inline=yes --check-bounds=yes --pkgimages=existing -e 'using Optim'`, ProcessExited(1)) [1] Stacktrace: [1] pipeline_error(proc::Base.Process) @ Base process.jl:612 [inlined] [2] run(::Cmd; wait::Bool) @ Base process.jl:525 [3] run(::Cmd) @ Base process.jl:522 [4] top-level scope @ /PkgEval.jl/scripts/evaluate.jl:197 [5] include(mod::Module, _path::String) @ Base Base.jl:325 [6] exec_options(opts::Base.JLOptions) @ Base client.jl:355 [7] _start() @ Base client.jl:596 in expression starting at /PkgEval.jl/scripts/evaluate.jl:188 PkgEval failed after 882.31s: package fails to precompile