When creating a system image of Tethers.jl on Windows, I got this error:
Precompiling packages finished.
503 dependencies successfully precompiled in 342 seconds. 26 already precompiled.
23 dependencies precompiled but different versions are currently loaded (ArgTools, Base64, Dates, Downloads, JuliaSyntaxHighlighting, LibCURL, LibCURL_jll, LibGit2, LibGit2_jll, LibSSH2_jll, Logging, Markdown, MozillaCACerts_jll, NetworkOptions, Pkg, Printf, StyledStrings, TOML, Tar, UUIDs, Zlib_jll, nghttp2_jll and p7zip_jll). Restart julia to access the new versions. Otherwise, 374 dependents of these packages may trigger further precompilation to work with the unexpected versions.
2 dependencies had output during precompilation:
ā ModelingToolkitBase
ā WARNING: @nospecialize annotation only supported on the first 32 arguments.
ā WARNING: @nospecialize annotation only supported on the first 32 arguments.
ā
ā ModelingToolkit
ā Internal error: during type inference of
ā convert(Type{var"#s175"} where var"#s175"<:Tuple{Tuple{SciMLBase.ODEFunction{iip, specialize, F, TMM, Ta, Tt, TJ, JVP, VJP, JP, SP, TW, TWt, WP, TPJ, VJP_P, O, TCV, SYS, ID, NLP} where NLP<:Union{Nothing, SciMLBase.ODENLStepData{NLProb, SetU0, SetGammaC, SetOuterTmp, SetInnerTmp, NLProbMap} where NLProbMap where SetInnerTmp where SetOuterTmp where SetGammaC where SetU0 where NLProb} where ID<:Union{Nothing, SciMLBase.OverrideInitData{IProb, UIProb, IProbMap, IProbPmap, M, OOP} where OOP<:Union{Base.Val{true}, Base.Val{false}} where M where IProbPmap where IProbMap where UIProb where IProb} where SYS where TCV where O where VJP_P where TPJ where WP where TWt where TW where SP where JP where VJP where JVP where TJ where Tt where Ta where TMM where F where specialize where iip}, NTuple{19, Symbol}}, Tuple{Tuple{SciMLBase.ODEFunction{iip, specialize, F, TMM, Ta, Tt, TJ, JVP, VJP, JP, SP, TW, TWt, WP, TPJ, VJP_P, O, TCV, SYS, ID, NLP} where NLP<:Union{Nothing, SciMLBase.ODENLStepData{NLProb, SetU0, SetGammaC, SetOuterTmp, SetInnerTmp, NLProbMap} where NLProbMap where SetInnerTmp where SetOuterTmp where SetGammaC where SetU0 where NLProb} where ID<:Union{Nothing, SciMLBase.OverrideInitData{IProb, UIProb, IProbMap, IProbPmap, M, OOP} where OOP<:Union{Base.Val{true}, Base.Val{false}} where M where IProbPmap where IProbMap where UIProb where IProb} where SYS where TCV where O where VJP_P where TPJ where WP where TWt where TW where SP where JP where VJP where JVP where TJ where Tt where Ta where TMM where F where specialize where iip}, NTuple{19, Symbol}})
ā Encountered unexpected error in runtime:
ā AssertionError(msg="irinterp is unable to handle heavy recursion correctly")
ā collect_limitations! at .\../usr/share/julia/Compiler/src/ssair\irinterp.jl:4 [inlined]
ā from_interprocedural! at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:422 [inlined]
ā infercalls at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:277
ā jfptr_infercalls_78525.1 at C:\Users\ufechner\.julia\juliaup\julia-1.12.7+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
ā doworkloop at .\../usr/share/julia/Compiler/src\inferencestate.jl:1205
ā reprocess_instruction! at .\../usr/share/julia/Compiler/src/ssair\irinterp.jl:159
ā #224 at .\../usr/share/julia/Compiler/src/ssair\irinterp.jl:364
ā scan! at .\../usr/share/julia/Compiler/src/ssair\irinterp.jl:286
ā #ir_abstract_constant_propagation#220 at .\../usr/share/julia/Compiler/src/ssair\irinterp.jl:332
ā ir_abstract_constant_propagation at .\../usr/share/julia/Compiler/src/ssair\irinterp.jl:318
ā semi_concrete_eval_call at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:1266
ā abstract_call_method_with_const_args at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:893
ā abstract_call_method_with_const_args at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:868
ā handle1 at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:178
ā infercalls at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:252
ā abstract_call_gf_by_type at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:338
ā abstract_call_unknown at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:2891
ā abstract_call at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:2901
ā abstract_call at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:2897 [inlined]
ā abstract_call at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:3057
ā abstract_eval_call at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:3075 [inlined]
ā abstract_eval_statement_expr at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:3404
ā abstract_eval_basic_statement at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:3850 [inlined]
ā abstract_eval_basic_statement at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:3807 [inlined]
ā typeinf_local at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:4357
ā jfptr_typeinf_local_80842.1 at C:\Users\ufechner\.julia\juliaup\julia-1.12.7+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
ā typeinf at .\../usr/share/julia/Compiler/src\abstractinterpretation.jl:4515
ā typeinf_ext at .\../usr/share/julia/Compiler/src\typeinfer.jl:1256
ā typeinf_ext_toplevel at .\../usr/share/julia/Compiler/src\typeinfer.jl:1439 [inlined]
ā typeinf_ext_toplevel at .\../usr/share/julia/Compiler/src\typeinfer.jl:1448
ā jfptr_typeinf_ext_toplevel_80922.1 at C:\Users\ufechner\.julia\juliaup\julia-1.12.7+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
ā _jl_invoke at C:/workdir/src\gf.c:3995 [inlined]
ā ijl_apply_generic at C:/workdir/src\gf.c:4214 [inlined]
ā jl_apply at C:/workdir/src\julia.h:2394 [inlined]
ā jl_type_infer at C:/workdir/src\gf.c:466
ā _generate_from_hint at C:/workdir/src\gf.c:3834
ā jl_compile_now at C:/workdir/src\gf.c:3848 [inlined]
ā ijl_compile_method_instance at C:/workdir/src\gf.c:3861
ā precompile at .\loading.jl:4315 [inlined]
ā precompile at .\loading.jl:4315 [inlined]
ā precompile_mi at C:\Users\ufechner\.julia\packages\PrecompileTools\QUxvR\src\PrecompileTools.jl:11 [inlined]
ā foreach at .\abstractarray.jl:3191
ā recompile_invalidations at C:\Users\ufechner\.julia\packages\PrecompileTools\QUxvR\src\invalidations.jl:27
ā unknown function (ip: 0000022f8c8a84a3) at (unknown file)
ā jl_apply at C:/workdir/src\julia.h:2394 [inlined]
ā do_call at C:/workdir/src\interpreter.c:123
ā eval_value at C:/workdir/src\interpreter.c:243
ā eval_stmt_value at C:/workdir/src\interpreter.c:194 [inlined]
ā eval_body at C:/workdir/src\interpreter.c:707
ā jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:898
ā top-level scope at C:\Users\ufechner\.julia\packages\ModelingToolkit\zh12i\src\ModelingToolkit.jl:27
ā jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:1035
ā jl_eval_module_expr at C:/workdir/src\toplevel.c:197 [inlined]
ā jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:814
ā jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:975
ā jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:975
ā ijl_toplevel_eval at C:/workdir/src\toplevel.c:1047 [inlined]
ā ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:1092
ā eval at .\boot.jl:489
ā include_string at .\loading.jl:2952
ā _include at .\loading.jl:3012
ā include at .\Base.jl:306
ā include_package_for_output at .\loading.jl:3106
ā jfptr_include_package_for_output_71677.1 at C:\Users\ufechner\.julia\juliaup\julia-1.12.7+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
ā jl_apply at C:/workdir/src\julia.h:2394 [inlined]
ā do_call at C:/workdir/src\interpreter.c:123
ā eval_value at C:/workdir/src\interpreter.c:243
ā eval_stmt_value at C:/workdir/src\interpreter.c:194 [inlined]
ā eval_body at C:/workdir/src\interpreter.c:707
ā jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:898
ā top-level scope at stdin:5
ā jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:1035
ā jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:975
ā ijl_toplevel_eval at C:/workdir/src\toplevel.c:1047 [inlined]
ā ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:1092
ā eval at .\boot.jl:489
ā include_string at .\loading.jl:2952
ā include_string at .\loading.jl:2962 [inlined]
ā exec_options at .\client.jl:315
ā _start at .\client.jl:550
ā jfptr__start_59066.1 at C:\Users\ufechner\.julia\juliaup\julia-1.12.7+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
ā jl_apply at C:/workdir/src\julia.h:2394 [inlined]
ā true_main at C:/workdir/src\jlapi.c:985
ā jl_repl_entrypoint at C:/workdir/src\jlapi.c:1153
ā mainCRTStartup at C:/workdir/cli\loader_exe.c:58
ā BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
ā RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
ā
julia> versioninfo()
Julia Version 1.12.7
Commit 6d172b025e (2026-08-15 08:05 UTC)
Build Info:
Official https://julialang.org release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 16 Ć AMD Ryzen 9 7950X 16-Core Processor
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, znver4)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 16 virtual cores)
Can I ignore it? What could be the reason?