Package evaluation to test ConcurrentSim on Julia 1.14.0-DEV.1367 (f40b117265*) started at 2025-12-14T12:54:18.282 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 9.44s ################################################################################ # Installation # Installing ConcurrentSim... Resolving package versions... Updating `~/.julia/environments/v1.14/Project.toml` [6ed1e86c] + ConcurrentSim v1.5.0 Updating `~/.julia/environments/v1.14/Manifest.toml` [34da2185] + Compat v4.18.1 [6ed1e86c] + ConcurrentSim v1.5.0 ⌅ [864edb3b] + DataStructures v0.18.22 [1914dd2f] + MacroTools v0.5.16 [bac558e1] + OrderedCollections v1.8.1 [c5292f4c] + ResumableFunctions v1.0.4 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.0.0 [f489334b] + StyledStrings v1.13.0 [fa267f1f] + TOML v1.0.3 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 1.05s ################################################################################ # Precompilation # ERROR: LoadError: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{IO}, ::Nothing) The function `setindex!` exists, but no method is defined for this combination of argument types. Stacktrace: [1] top-level scope @ /PkgEval.jl/scripts/precompile.jl:10 [2] include(mod::Module, _path::String) @ Base ./Base.jl:309 [3] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [4] _start() @ Base ./client.jl:577 in expression starting at /PkgEval.jl/scripts/precompile.jl:6 caused by: MethodError: no method matching setindex!(::Base.ScopedValues.ScopedValue{IO}, ::Base.DevNull) The function `setindex!` exists, but no method is defined for this combination of argument types. Stacktrace: [1] top-level scope @ /PkgEval.jl/scripts/precompile.jl:7 [2] include(mod::Module, _path::String) @ Base ./Base.jl:309 [3] exec_options(opts::Base.JLOptions) @ Base ./client.jl:344 [4] _start() @ Base ./client.jl:577 Precompilation failed after 13.35s ################################################################################ # Testing # Testing ConcurrentSim Status `/tmp/jl_B3Wt2Q/Project.toml` [4c88cf16] Aqua v0.8.14 [6ed1e86c] ConcurrentSim v1.5.0 [31c24e10] Distributions v0.25.122 [e30172f5] Documenter v1.16.1 [c3a54625] JET v0.11.2 [c5292f4c] ResumableFunctions v1.0.4 [1bc83da4] SafeTestsets v0.1.0 [860ef19b] StableRNGs v1.0.4 [ade2ca70] Dates v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [9a3f8284] Random v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_B3Wt2Q/Manifest.toml` [a4c015fc] ANSIColoredPrinters v0.0.1 [1520ce14] AbstractTrees v0.4.5 [66dad0bd] AliasTables v1.1.3 [4c88cf16] Aqua v0.8.14 [da1fd8a2] CodeTracking v3.0.0 [944b1d66] CodecZlib v0.7.8 [34da2185] Compat v4.18.1 [807dbc54] Compiler v0.1.1 [6ed1e86c] ConcurrentSim v1.5.0 [9a962f9c] DataAPI v1.16.0 ⌅ [864edb3b] DataStructures v0.18.22 [31c24e10] Distributions v0.25.122 [ffbed154] DocStringExtensions v0.9.5 [e30172f5] Documenter v1.16.1 [1a297f60] FillArrays v1.15.0 [d7ba0133] Git v1.5.0 [34004b35] HypergeometricFunctions v0.3.28 [b5f81e59] IOCapture v1.0.0 [92d709cd] IrrationalConstants v0.2.6 [c3a54625] JET v0.11.2 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.3.0 [aa1ae85d] JuliaInterpreter v0.10.9 [70703baa] JuliaSyntax v1.0.2 [0e77f7df] LazilyInitializedFields v1.3.0 [2ab3a3ac] LogExpFunctions v0.3.29 [6f1432cf] LoweredCodeUtils v3.5.0 [1914dd2f] MacroTools v0.5.16 [d0879d2d] MarkdownAST v0.1.2 [e1d29d7a] Missings v1.2.0 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.36 [69de0a69] Parsers v2.8.3 [aea7be01] PrecompileTools v1.3.3 [21216c6a] Preferences v1.5.0 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [189a3867] Reexport v1.2.2 [2792f1a3] RegistryInstances v0.1.0 [ae029012] Requires v1.3.1 [c5292f4c] ResumableFunctions v1.0.4 [295af30f] Revise v3.12.3 [79098fc4] Rmath v0.9.0 [1bc83da4] SafeTestsets v0.1.0 [a2af1166] SortingAlgorithms v1.2.2 [276daf66] SpecialFunctions v2.6.1 [860ef19b] StableRNGs v1.0.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.8.0 [2913bbd2] StatsBase v0.34.9 [4c63d2b9] StatsFuns v1.5.2 [ec057cc2] StructUtils v2.6.0 [3bb67fe8] TranscodingStreams v0.11.3 [2e619515] Expat_jll v2.7.3+0 [020c3dae] Git_LFS_jll v3.7.0+0 [f8c6e375] Git_jll v2.52.0+0 [94ce4f54] Libiconv_jll v1.18.0+0 [9bd350c2] OpenSSH_jll v10.2.1+0 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.14.0 [de0858da] Printf v1.11.0 [3fa0cd96] REPL v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.0.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.17.0+0 [e37daf67] LibGit2_jll v1.9.2+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.12.2 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.4+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.68.0+1 [3f19e933] p7zip_jll v17.7.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Starting tests with 1 threads out of `Sys.CPU_THREADS = 1`... ConcurrentSim.Event idle nothing scheduled Hi I am a callback function running in ConcurrentSim.Simulation ConcurrentSim.EventProcessed(ConcurrentSim.Event 1) has been thrown! processed Hi Test Summary: | Total Time base | 0 15.9s ConcurrentSim.EventNotIdle(ConcurrentSim.Event 2) has been thrown! Hi ConcurrentSim.Event 1 has value Success Hi ConcurrentSim.Event 2 has value Main.var"##events#147".TestException() Hi ConcurrentSim.Timeout 3 timed out at 1.0 Test Summary: | Total Time events | 0 0.4s One of both events is triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.idle, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) Both events are triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) One of both events is triggered: Main.var"##operators#148".TestException() Both events are triggered: Main.var"##operators#148".TestException() One of both events is triggered: Main.var"##operators#148".TestException() One of both events is triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 2 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) One of both events is triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.scheduled, nothing), ConcurrentSim.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.idle, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) Both events are triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) One of both events is triggered: Main.var"##operators#148".TestException() Both events are triggered: Main.var"##operators#148".TestException() One of both events is triggered: Main.var"##operators#148".TestException() One of both events is triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Timeout 2 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) Test Summary: | Total Time operators | 0 1.9s Hi I timed out at 1.0 ConcurrentSim.EmptySchedule() has been thrown! Hi I timed out at 4.0 2.0 Main.var"##simulations#149".TestException() has been thrown after 0.0! Test Summary: | Total Time simulations | 0 0.4s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ConcurrentSim.Simulation time: 0.0 active_process: nothing 0 1 1 2 3 5 8 13 21 34 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 Main.var"##processes#150".TestException() has been thrown Main.var"##processes#150".TestException() has been thrown ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ConcurrentSim.Process 1 interrupted Main.var"##processes#150".TestException() has been thrown Test Summary: | Total Time processes | 0 22.6s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ConcurrentSim.Resource ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, client 1 is waiting 0.0, client 1 is being served 0.005036545432661577, client 2 is waiting 0.008680383571577743, client 3 is waiting 0.07251656453025335, client 1 has been served 0.07251656453025335, client 3 is being served 0.2923567939399194, client 4 is waiting 0.36057890361464295, client 5 is waiting 0.5881713645820539, client 6 is waiting 0.6187156567215277, client 7 is waiting 0.788668598018798, client 3 has been served 0.788668598018798, client 7 is being served 1.0394563574331712, client 7 has been served 1.0394563574331712, client 6 is being served 1.097931195323565, client 8 is waiting 1.2356767061882628, client 6 has been served 1.2356767061882628, client 8 is being served 1.478872411202735, client 9 is waiting 1.8946981404337624, client 10 is waiting 1.89812191547008, client 8 has been served 1.89812191547008, client 10 is being served 2.1964272822417668, client 10 has been served 2.1964272822417668, client 9 is being served 2.2053324510538093, client 9 has been served 2.2053324510538093, client 5 is being served 2.7845806737052796, client 5 has been served 2.7845806737052796, client 4 is being served 3.302836155740594, client 4 has been served 3.302836155740594, client 2 is being served 3.5009728738203485, client 2 has been served ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 WARNING: Method definition generate(ConcurrentSim.Simulation, ConcurrentSim.Container{Int64, Int64}) in module ##resources_containers#180 at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 overwritten on the same line (check for duplicate calls to `include`). ConcurrentSim.Resource ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, client 1 attempting to lock 0.0, client 1 is being served 0.1489916634039412, client 2 attempting to lock 0.1489916634039412, client 2 is being served 0.43623553041368546, client 1 has been served 0.5578794446282347, client 3 attempting to lock 0.5578794446282347, client 3 is being served 0.683804933137959, client 2 has been served 0.7894384342973229, client 4 attempting to lock 0.7894384342973229, client 4 is being served 0.9672458976876335, client 5 attempting to lock 0.9672458976876335, client 5 is going elsewhere for a bit instead of waiting 1.0672458976876336, client 5 attempting to lock 1.0672458976876336, client 5 is going elsewhere for a bit instead of waiting 1.1171588778586765, client 3 has been served 1.1672458976876336, client 5 attempting to lock 1.1672458976876336, client 5 is being served 1.4214689448454738, client 6 attempting to lock 1.4214689448454738, client 6 is going elsewhere for a bit instead of waiting 1.423551465653039, client 4 has been served 1.4715057377472525, client 7 attempting to lock 1.4715057377472525, client 7 is being served 1.521468944845474, client 6 attempting to lock 1.521468944845474, client 6 is going elsewhere for a bit instead of waiting 1.5382968709223854, client 5 has been served 1.621468944845474, client 6 attempting to lock 1.621468944845474, client 6 is being served 1.760149098252603, client 8 attempting to lock 1.760149098252603, client 8 is going elsewhere for a bit instead of waiting 1.804947410272078, client 9 attempting to lock 1.804947410272078, client 9 is going elsewhere for a bit instead of waiting 1.8238267482934618, client 10 attempting to lock 1.8238267482934618, client 10 is going elsewhere for a bit instead of waiting 1.860149098252603, client 8 attempting to lock 1.860149098252603, client 8 is going elsewhere for a bit instead of waiting 1.904947410272078, client 9 attempting to lock 1.904947410272078, client 9 is going elsewhere for a bit instead of waiting 1.923826748293462, client 10 attempting to lock 1.923826748293462, client 10 is going elsewhere for a bit instead of waiting 1.960149098252603, client 8 attempting to lock 1.960149098252603, client 8 is going elsewhere for a bit instead of waiting 2.004947410272078, client 9 attempting to lock 2.004947410272078, client 9 is going elsewhere for a bit instead of waiting 2.023826748293462, client 10 attempting to lock 2.023826748293462, client 10 is going elsewhere for a bit instead of waiting 2.060149098252603, client 8 attempting to lock 2.060149098252603, client 8 is going elsewhere for a bit instead of waiting 2.104947410272078, client 9 attempting to lock 2.104947410272078, client 9 is going elsewhere for a bit instead of waiting 2.123826748293462, client 10 attempting to lock 2.123826748293462, client 10 is going elsewhere for a bit instead of waiting 2.160149098252603, client 8 attempting to lock 2.160149098252603, client 8 is going elsewhere for a bit instead of waiting 2.2049474102720783, client 9 attempting to lock 2.2049474102720783, client 9 is going elsewhere for a bit instead of waiting 2.205726073083151, client 7 has been served 2.223826748293462, client 10 attempting to lock 2.223826748293462, client 10 is being served 2.260149098252603, client 8 attempting to lock 2.260149098252603, client 8 is going elsewhere for a bit instead of waiting 2.304882901077404, client 6 has been served 2.3049474102720784, client 9 attempting to lock 2.3049474102720784, client 9 is being served 2.360149098252603, client 8 attempting to lock 2.360149098252603, client 8 is going elsewhere for a bit instead of waiting 2.3881517760820805, client 10 has been served 2.4601490982526033, client 8 attempting to lock 2.4601490982526033, client 8 is being served 2.711022674210216, client 8 has been served 3.1823931852536425, client 9 has been served ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, consumer is demanding 2.0607961746926584 0.0, producer is offering 1.5923699854967355 0.19424639162108892, consumer is being served, level is 2.9392038253073416 0.41794081504750913, producer is being served, level is 4.531573810804077 2.783259021863151, consumer is demanding 1.841791331385032 3.4182229607285226, producer is offering 1.6560674653437444 3.6415149529521598, consumer is being served, level is 2.689782479419045 3.9266086546437178, producer is being served, level is 4.345849944762789 8.29073086491348, producer is offering 0.39661053127463686 8.581127165405256, consumer is demanding 1.108462630320541 8.633813265787737, producer is being served, level is 4.742460476037426 8.665461186699794, consumer is being served, level is 3.633997845716885 9.037047870680269, consumer is demanding 2.2116791289126785 9.489115193490477, consumer is being served, level is 1.4223187168042064 11.779245335069593, producer is offering 0.4936048599853602 12.065899637551835, consumer is demanding 1.3424912769409691 12.204590332748197, consumer is being served, level is 0.07982743986323726 12.655395840925603, producer is being served, level is 0.5734322998485974 13.036504325449219, consumer is demanding 1.5412032433163203 13.959532092784722, consumer has timed out 13.959532092784722, consumer is demanding 1.2412723957295353 14.060423795083736, producer is offering 0.8441391776840899 14.508471941707182, consumer has timed out 14.508471941707182, consumer is demanding 2.177453709065019 15.009762860032417, producer is being served, level is 1.4175714775326873 15.105159413075596, producer is offering 1.8256224462298425 15.491037889059195, producer is being served, level is 1.0657402146975108 15.491037889059195, consumer is being served, level is 1.0657402146975108 16.29653189309441, producer is offering 0.9060914151420159 16.58879041385998, consumer is demanding 2.5108933299247065 17.129163815103656, producer is being served, level is 1.9718316298395266 18.032945656622697, consumer has timed out 18.032945656622697, consumer is demanding 1.8784156214868175 18.199525656586328, consumer is being served, level is 0.09341600835270913 20.236362947412577, producer is offering 0.027246647600539742 21.139192853130496, producer is being served, level is 0.12066265595324888 21.52661091083306, producer is offering 0.6148768211786213 22.507196444064167, producer is being served, level is 0.7355394771318702 24.420660799062926, producer is offering 1.8323214057902113 25.231314663831544, producer is being served, level is 2.5678608829220817 Test Summary: | Pass Total Time resources_containers | 2 2 9.9s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ConcurrentSim.Resource ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, client 1 is waiting 0.0, client 1 is being served 0.005036545432661577, client 2 is waiting 0.008680383571577743, client 3 is waiting 0.07251656453025335, client 1 has been served 0.07251656453025335, client 3 is being served 0.2923567939399194, client 4 is waiting 0.36057890361464295, client 5 is waiting 0.5881713645820539, client 6 is waiting 0.6187156567215277, client 7 is waiting 0.788668598018798, client 3 has been served 0.788668598018798, client 7 is being served 1.0394563574331712, client 7 has been served 1.0394563574331712, client 6 is being served 1.097931195323565, client 8 is waiting 1.2356767061882628, client 6 has been served 1.2356767061882628, client 8 is being served 1.478872411202735, client 9 is waiting 1.8946981404337624, client 10 is waiting 1.89812191547008, client 8 has been served 1.89812191547008, client 10 is being served 2.1964272822417668, client 10 has been served 2.1964272822417668, client 9 is being served 2.2053324510538093, client 9 has been served 2.2053324510538093, client 5 is being served 2.7845806737052796, client 5 has been served 2.7845806737052796, client 4 is being served 3.302836155740594, client 4 has been served 3.302836155740594, client 2 is being served 3.5009728738203485, client 2 has been served ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, consumer is demanding 0.8939499804236473 0.0, producer is offering 1.635551124897174 0.43623553041368546, consumer is being served, level is 4.106050019576353 ┌ Warning: `put(args...; kwargs...)` is deprecated, use `put!(args...; kwargs...)` instead. │ caller = macro expansion at transforms.jl:250 [inlined] └ @ Core ~/.julia/packages/ResumableFunctions/cprlE/src/transforms.jl:250 0.5348132697340178, producer is being served, level is 5.741601144473527 2.3128879036371233, producer is offering 1.2682260627114321 3.221333997952804, producer is being served, level is 7.0098272071849586 3.2326326965658945, consumer is demanding 0.3002207574106719 3.8099194175765954, consumer is being served, level is 6.709606449774286 5.076588864126563, producer is offering 0.1791932480778997 5.114347540169331, producer is being served, level is 6.8887996978521855 5.897222620901638, producer is offering 0.3286500555772367 6.774668395883202, producer is being served, level is 7.217449753429422 7.226989198736246, consumer is demanding 2.0607961746926584 7.421235590357335, consumer is being served, level is 5.156653578736764 8.029036275671265, producer is offering 0.5913401758434598 8.546838801719677, producer is being served, level is 5.747993754580223 9.510939665594881, consumer is demanding 1.841791331385032 10.36919559668389, consumer is being served, level is 3.9062024231951913 11.547120947400689, producer is offering 0.010487315957053323 12.535043389891309, producer is being served, level is 3.9166897391522446 12.911124066259864, consumer is demanding 0.5949157969119553 13.254206467134122, consumer is being served, level is 3.321773942240289 13.675876573606809, consumer is demanding 1.8872592415691134 14.425714911905478, consumer is being served, level is 1.4345147006711758 16.89916560016107, producer is offering 0.9041346456204149 17.41905076188293, producer is being served, level is 2.3386493462915907 18.111846793426608, consumer is demanding 0.7404072899780403 18.98799729928262, consumer is being served, level is 1.5982420563135504 19.681450775264427, consumer is demanding 2.3664925967924946 19.99583520594429, producer is offering 1.0274688288775469 20.128839164636258, consumer has timed out 20.128839164636258, consumer is demanding 1.2374157243417803 20.506391065165865, producer is being served, level is 2.625710885191097 20.542596629879437, consumer is being served, level is 1.3882951608493168 21.4029244983664, producer is offering 0.7392663245647069 22.128742401388074, producer is being served, level is 2.1275614854140237 23.798029297329983, producer is offering 1.9644793362354327 23.817108607938618, producer is being served, level is 4.092040821649457 25.28929195462284, consumer is demanding 1.1576354279507983 25.450390755429883, consumer is being served, level is 2.9344053936986585 Test Summary: | Total Time resources_containers_deprecated | 0 3.6s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, producer is offering object 1 0.0, producer is being served 0.010073090865323153, consumer is demanding object 0.010073090865323153, consumer is being served with object 1 0.017360767143155487, consumer is demanding object 0.1450331290605067, producer is offering object 2 0.1450331290605067, producer is being served 0.1450331290605067, consumer is being served with object 2 0.8611851625490513, consumer is demanding object 1.2797387705338734, producer is offering object 3 1.2797387705338734, producer is being served 1.2797387705338734, consumer is being served with object 3 1.5526272092327675, producer is offering object 4 1.5526272092327675, producer is being served 1.6748043777906627, producer is offering object 5 1.6748043777906627, producer is being served 1.7349236924686955, consumer is demanding object 1.7349236924686955, consumer is being served with object 4 1.9857114518830687, consumer is demanding object 1.9857114518830687, consumer is being served with object 5 2.1819318006381603, consumer is demanding object 3.591666532198812, producer is offering object 6 3.591666532198812, producer is being served 3.591666532198812, consumer is being served with object 6 4.25411174148063, consumer is demanding object 5.1154313957154915, producer is offering object 7 5.1154313957154915, producer is being served 5.1154313957154915, consumer is being served with object 7 5.331442232700436, consumer is demanding object 6.778734312639601, producer is offering object 8 6.778734312639601, producer is being served 6.778734312639601, consumer is being served with object 8 6.787639481451643, consumer is demanding object 7.375345046182975, producer is offering object 9 7.375345046182975, producer is being served 7.375345046182975, consumer is being served with object 9 7.89360052821829, consumer is demanding object 8.533841491485916, producer is offering object 10 8.533841491485916, producer is being served 8.533841491485916, consumer is being served with object 10 Test Summary: | Pass Total Time resources_stores | 5 5 3.9s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting 1 at time 0.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting 2 at time 2.0 [ Info: putting 3 at time 4.0 [ Info: putting 4 at time 6.0 [ Info: taking 1.0 at time 10.0 [ Info: taking 2.0 at time 12.0 [ Info: taking 3.0 at time 14.0 [ Info: taking 4.0 at time 16.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting 1 at time 0.0 [ Info: putting 2 at time 2.0 [ Info: putting 3 at time 4.0 [ Info: taking 1.0 at time 5.0 [ Info: taking 2.0 at time 5.0 [ Info: taking 3.0 at time 5.0 [ Info: putting 4 at time 6.0 [ Info: taking 4.0 at time 6.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting 1 at time 0.0 [ Info: putting 2 at time 2.0 [ Info: putting 3 at time 4.0 [ Info: taking 3.0 at time 5.0 [ Info: taking 2.0 at time 5.0 [ Info: taking 1.0 at time 5.0 [ Info: putting 4 at time 6.0 [ Info: taking 4.0 at time 6.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting 1 at time 0.0 Test Summary: | Pass Total Time resources_stores_cast | 13 13 7.5s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, producer is offering object 1 0.0, producer is being served 0.010073090865323153, consumer is demanding object 0.010073090865323153, consumer is being served with object 1 0.017360767143155487, consumer is demanding object 0.1450331290605067, producer is offering object 2 0.1450331290605067, producer is being served 0.1450331290605067, consumer is being served with object 2 0.8611851625490513, consumer is demanding object 1.2797387705338734, producer is offering object 3 1.2797387705338734, producer is being served 1.2797387705338734, consumer is being served with object 3 1.5526272092327675, producer is offering object 4 1.5526272092327675, producer is being served 1.6748043777906627, producer is offering object 5 1.6748043777906627, producer is being served 1.7349236924686955, consumer is demanding object 1.7349236924686955, consumer is being served with object 5 1.9857114518830687, consumer is demanding object 1.9857114518830687, consumer is being served with object 4 2.1819318006381603, consumer is demanding object 3.591666532198812, producer is offering object 6 3.591666532198812, producer is being served 3.591666532198812, consumer is being served with object 6 4.25411174148063, consumer is demanding object 5.1154313957154915, producer is offering object 7 5.1154313957154915, producer is being served 5.1154313957154915, consumer is being served with object 7 5.331442232700436, consumer is demanding object 6.778734312639601, producer is offering object 8 6.778734312639601, producer is being served 6.778734312639601, consumer is being served with object 8 6.787639481451643, consumer is demanding object 7.375345046182975, producer is offering object 9 7.375345046182975, producer is being served 7.375345046182975, consumer is being served with object 9 7.89360052821829, consumer is demanding object 8.533841491485916, producer is offering object 10 8.533841491485916, producer is being served 8.533841491485916, consumer is being served with object 10 Test Summary: | Total Time resources_stores_deprecated | 0 2.8s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting a at time 0.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting b at time 2.0 [ Info: putting a at time 4.0 [ Info: putting c at time 6.0 [ Info: taking a at time 10.0 [ Info: taking b at time 12.0 [ Info: taking a at time 14.0 [ Info: taking c at time 16.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting a at time 0.0 [ Info: putting b at time 2.0 [ Info: putting a at time 4.0 [ Info: taking a at time 5.0 [ Info: taking b at time 5.0 [ Info: taking a at time 5.0 [ Info: putting c at time 6.0 [ Info: taking c at time 6.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting a at time 0.0 [ Info: putting b at time 2.0 [ Info: putting a at time 4.0 [ Info: taking a at time 5.0 [ Info: taking a at time 5.0 [ Info: taking b at time 5.0 [ Info: putting c at time 6.0 [ Info: taking c at time 6.0 Test Summary: | Total Time resources_fancy_stores | 0 3.6s keys(con.put_queue) = ConcurrentSim.Put[ConcurrentSim.Put 9, ConcurrentSim.Put 8, ConcurrentSim.Put 7, ConcurrentSim.Put 6, ConcurrentSim.Put 5, ConcurrentSim.Put 4, ConcurrentSim.Put 3, ConcurrentSim.Put 2, ConcurrentSim.Put 1] keys(con.put_queue) = ConcurrentSim.Put[ConcurrentSim.Put 9, ConcurrentSim.Put 8, ConcurrentSim.Put 7, ConcurrentSim.Put 5, ConcurrentSim.Put 6, ConcurrentSim.Put 4, ConcurrentSim.Put 2, ConcurrentSim.Put 3, ConcurrentSim.Put 1] sto.items = Dict{Symbol, UInt64}(:a => 0x0000000000000005) keys(sto.put_queue) = ConcurrentSim.Put[ConcurrentSim.Put 9, ConcurrentSim.Put 8, ConcurrentSim.Put 7, ConcurrentSim.Put 6] sto.items = Dict{Symbol, UInt64}(:a => 0x0000000000000005) keys(sto.put_queue) = ConcurrentSim.Put[ConcurrentSim.Put 9, ConcurrentSim.Put 8, ConcurrentSim.Put 7, ConcurrentSim.Put 6] ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 Test Summary: | Broken Total Time resource_priorities | 1 1 7.3s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 2025-12-14T12:56:14.818 2025-12-16T12:56:14.818 2026-03-14T12:56:14.818 Test Summary: | Total Time utils_time | 0 0.9s ┌ Warning: Unable to determine HTML(edit_link = ...) from remote HEAD branch, defaulting to "master". │ Calling `git remote` failed with an exception. Set JULIA_DEBUG=Documenter to see the error. │ Unless this is due to a configuration error, the relevant variable should be set explicitly. └ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/utilities/utilities.jl:680 [ Info: SetupBuildDirectory: setting up build directory. [ Info: Doctest: running doctests. ┌ Error: doctest failure in ../docs/src/examples/mmc.md:9-81 │ │ ```jldoctest │ using StableRNGs │ using Distributions │ using ConcurrentSim │ using ResumableFunctions │ │ #set simulation parameters │ rng = StableRNG(123) │ num_customers = 10 # total number of customers generated │ │ # set queue parameters │ num_servers = 2 # number of servers │ mu = 1.0 / 2 # service rate │ lam = 0.9 # arrival rate │ arrival_dist = Exponential(1 / lam) # interarrival time distribution │ service_dist = Exponential(1 / mu) # service time distribution │ │ # define customer behavior │ @resumable function customer(env::Environment, server::Resource, id::Integer, t_a::Float64, d_s::Distribution) │ @yield timeout(env, t_a) # customer arrives │ println("Customer $id arrived: ", now(env)) │ @yield request(server) # customer starts service │ println("Customer $id entered service: ", now(env)) │ @yield timeout(env, rand(rng,d_s)) # server is busy │ @yield unlock(server) # customer exits service │ println("Customer $id exited service: ", now(env)) │ end │ │ # setup and run simulation │ function setup_and_run() │ sim = Simulation() # initialize simulation environment │ server = Resource(sim, num_servers) # initialize servers │ arrival_time = 0.0 │ for i = 1:num_customers # initialize customers │ arrival_time += rand(rng,arrival_dist) │ @process customer(sim, server, i, arrival_time, service_dist) │ end │ run(sim) # run simulation │ end │ setup_and_run() │ │ # output │ Customer 1 arrived: 0.14518451436852475 │ Customer 1 entered service: 0.14518451436852475 │ Customer 2 arrived: 0.5941831542903504 │ Customer 2 entered service: 0.5941831542903504 │ Customer 3 arrived: 1.5490648267819074 │ Customer 4 arrived: 1.6242796925312217 │ Customer 5 arrived: 1.6911000709069648 │ Customer 1 exited service: 2.200985520126681 │ Customer 3 entered service: 2.200985520126681 │ Customer 6 arrived: 2.2989039524296317 │ Customer 3 exited service: 3.5822120399442174 │ Customer 4 entered service: 3.5822120399442174 │ Customer 7 arrived: 4.377930221620456 │ Customer 8 arrived: 5.16494279700802 │ Customer 2 exited service: 5.900722829377648 │ Customer 5 entered service: 5.900722829377648 │ Customer 9 arrived: 7.0099944106308705 │ Customer 10 arrived: 7.828990220943469 │ Customer 5 exited service: 9.634196437885254 │ Customer 6 entered service: 9.634196437885254 │ Customer 4 exited service: 9.670688398447817 │ Customer 7 entered service: 9.670688398447817 │ Customer 7 exited service: 15.066978111608014 │ Customer 8 entered service: 15.066978111608014 │ Customer 8 exited service: 16.655548432659554 │ Customer 9 entered service: 16.655548432659554 │ Customer 6 exited service: 17.401833154870328 │ Customer 10 entered service: 17.401833154870328 │ Customer 9 exited service: 17.586065352135993 │ Customer 10 exited service: 18.690264775280085 │ ``` │ │ Subexpression: │ │ using StableRNGs │ using Distributions │ using ConcurrentSim │ using ResumableFunctions │ │ #set simulation parameters │ rng = StableRNG(123) │ num_customers = 10 # total number of customers generated │ │ # set queue parameters │ num_servers = 2 # number of servers │ mu = 1.0 / 2 # service rate │ lam = 0.9 # arrival rate │ arrival_dist = Exponential(1 / lam) # interarrival time distribution │ service_dist = Exponential(1 / mu) # service time distribution │ │ # define customer behavior │ @resumable function customer(env::Environment, server::Resource, id::Integer, t_a::Float64, d_s::Distribution) │ @yield timeout(env, t_a) # customer arrives │ println("Customer $id arrived: ", now(env)) │ @yield request(server) # customer starts service │ println("Customer $id entered service: ", now(env)) │ @yield timeout(env, rand(rng,d_s)) # server is busy │ @yield unlock(server) # customer exits service │ println("Customer $id exited service: ", now(env)) │ end │ │ # setup and run simulation │ function setup_and_run() │ sim = Simulation() # initialize simulation environment │ server = Resource(sim, num_servers) # initialize servers │ arrival_time = 0.0 │ for i = 1:num_customers # initialize customers │ arrival_time += rand(rng,arrival_dist) │ @process customer(sim, server, i, arrival_time, service_dist) │ end │ run(sim) # run simulation │ end │ setup_and_run() │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#customer", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [41] (::var"#setup_and_run")() │ │ @ Main ./none:9 │ │ [42] top-level scope │ │ @ none:1 │ │ [43] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [44] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [45] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [46] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [48] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [49] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [50] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [51] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [52] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [53] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [54] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [55] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [56] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [57] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [58] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [59] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [60] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [61] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [62] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [63] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [66] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [67] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [68] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [69] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [70] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [71] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [72] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [73] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [74] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [75] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [76] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [77] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [79] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [80] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [81] top-level scope │ │ @ none:6 │ │ [82] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [83] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [84] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#customer")(env::ConcurrentSim.Simulation, server::ConcurrentSim.Resource, id::Int64, t_a::Float64, d_s::Distributions.Exponential{Float64}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#customer", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [29] (::var"#setup_and_run")() │ │ @ Main ./none:9 │ │ [30] top-level scope │ │ @ none:1 │ │ [31] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [32] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [33] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [34] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [36] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [37] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [38] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [39] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [40] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [41] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [42] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [43] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [44] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [45] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [46] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [47] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [48] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [49] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [50] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [51] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [52] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [53] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [54] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [57] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [58] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [59] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [60] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [61] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [62] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [65] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [66] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [67] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [68] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [69] top-level scope │ │ @ none:6 │ │ [70] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [71] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [72] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#customer")(env::ConcurrentSim.Simulation, server::ConcurrentSim.Resource, id::Int64, t_a::Float64, d_s::Distributions.Exponential{Float64}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#customer", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [21] (::var"#setup_and_run")() │ │ @ Main ./none:9 │ │ [22] top-level scope │ │ @ none:1 │ │ [23] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [24] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [25] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [26] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [28] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [29] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [30] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [31] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [32] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [33] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [34] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [35] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [36] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [37] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [38] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [39] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [40] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [41] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [42] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [43] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [44] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [45] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [46] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [47] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [48] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [49] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [50] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [51] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [52] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [53] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [54] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [57] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [58] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [59] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ none:6 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [64] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] customer(env::Simulation, server::Resource, id::Int64, t_a::Float64, d_s::Exponential{Float64}) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(customer), ::Simulation, ::Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ [21] setup_and_run() │ @ Main ./none:9 │ [22] top-level scope │ @ none:1 │ │ Expected output: │ │ Customer 1 arrived: 0.14518451436852475 │ Customer 1 entered service: 0.14518451436852475 │ Customer 2 arrived: 0.5941831542903504 │ Customer 2 entered service: 0.5941831542903504 │ Customer 3 arrived: 1.5490648267819074 │ Customer 4 arrived: 1.6242796925312217 │ Customer 5 arrived: 1.6911000709069648 │ Customer 1 exited service: 2.200985520126681 │ Customer 3 entered service: 2.200985520126681 │ Customer 6 arrived: 2.2989039524296317 │ Customer 3 exited service: 3.5822120399442174 │ Customer 4 entered service: 3.5822120399442174 │ Customer 7 arrived: 4.377930221620456 │ Customer 8 arrived: 5.16494279700802 │ Customer 2 exited service: 5.900722829377648 │ Customer 5 entered service: 5.900722829377648 │ Customer 9 arrived: 7.0099944106308705 │ Customer 10 arrived: 7.828990220943469 │ Customer 5 exited service: 9.634196437885254 │ Customer 6 entered service: 9.634196437885254 │ Customer 4 exited service: 9.670688398447817 │ Customer 7 entered service: 9.670688398447817 │ Customer 7 exited service: 15.066978111608014 │ Customer 8 entered service: 15.066978111608014 │ Customer 8 exited service: 16.655548432659554 │ Customer 9 entered service: 16.655548432659554 │ Customer 6 exited service: 17.401833154870328 │ Customer 10 entered service: 17.401833154870328 │ Customer 9 exited service: 17.586065352135993 │ Customer 10 exited service: 18.690264775280085 │ │ diff = │ Warning: Diff output requires color. │ Customer 1 arrived: 0.14518451436852475 │ Customer 1 entered service: 0.14518451436852475 │ Customer 2 arrived: 0.5941831542903504 │ Customer 2 entered service: 0.5941831542903504 │ Customer 3 arrived: 1.5490648267819074 │ Customer 4 arrived: 1.6242796925312217 │ Customer 5 arrived: 1.6911000709069648 │ Customer 1 exited service: 2.200985520126681 │ Customer 3 entered service: 2.200985520126681 │ Customer 6 arrived: 2.2989039524296317 │ Customer 3 exited service: 3.5822120399442174 │ Customer 4 entered service: 3.5822120399442174 │ Customer 7 arrived: 4.377930221620456 │ Customer 8 arrived: 5.16494279700802 │ Customer 2 exited service: 5.900722829377648 │ Customer 5 entered service: 5.900722829377648 │ Customer 9 arrived: 7.0099944106308705 │ Customer 10 arrived: 7.828990220943469 │ Customer 5 exited service: 9.634196437885254 │ Customer 6 entered service: 9.634196437885254 │ Customer 4 exited service: 9.670688398447817 │ Customer 7 entered service: 9.670688398447817 │ Customer 7 exited service: 15.066978111608014 │ Customer 8 entered service: 15.066978111608014 │ Customer 8 exited service: 16.655548432659554 │ Customer 9 entered service: 16.655548432659554 │ Customer 6 exited service: 17.401833154870328 │ Customer 10 entered service: 17.401833154870328 │ Customer 9 exited service: 17.586065352135993 │ Customer 10 exited service: 18.690264775280085┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#customer", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [41] (::var"#setup_and_run")() │ │ @ Main ./none:9 │ │ [42] top-level scope │ │ @ none:1 │ │ [43] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [44] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [45] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [46] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [48] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [49] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [50] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [51] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [52] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [53] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [54] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [55] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [56] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [57] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [58] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [59] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [60] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [61] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [62] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [63] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [66] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [67] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [68] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [69] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [70] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [71] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [72] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [73] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [74] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [75] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [76] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [77] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [79] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [80] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [81] top-level scope │ │ @ none:6 │ │ [82] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [83] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [84] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#customer")(env::ConcurrentSim.Simulation, server::ConcurrentSim.Resource, id::Int64, t_a::Float64, d_s::Distributions.Exponential{Float64}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#customer", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [29] (::var"#setup_and_run")() │ │ @ Main ./none:9 │ │ [30] top-level scope │ │ @ none:1 │ │ [31] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [32] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [33] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [34] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [36] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [37] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [38] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [39] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [40] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [41] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [42] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [43] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [44] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [45] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [46] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [47] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [48] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [49] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [50] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [51] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [52] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [53] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [54] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [57] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [58] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [59] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [60] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [61] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [62] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [65] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [66] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [67] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [68] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [69] top-level scope │ │ @ none:6 │ │ [70] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [71] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [72] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#customer")(env::ConcurrentSim.Simulation, server::ConcurrentSim.Resource, id::Int64, t_a::Float64, d_s::Distributions.Exponential{Float64}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#customer", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [21] (::var"#setup_and_run")() │ │ @ Main ./none:9 │ │ [22] top-level scope │ │ @ none:1 │ │ [23] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [24] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [25] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [26] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [28] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [29] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [30] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [31] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [32] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [33] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [34] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [35] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [36] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [37] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [38] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [39] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [40] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [41] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [42] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [43] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [44] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [45] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [46] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [47] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [48] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [49] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [50] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [51] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [52] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [53] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [54] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [57] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [58] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [59] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ none:6 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [64] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##customer_FSMI#425"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] customer(env::Simulation, server::Resource, id::Int64, t_a::Float64, d_s::Exponential{Float64}) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(customer), ::Simulation, ::Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ [21] setup_and_run() │ @ Main ./none:9 │ [22] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/examples/mmc.md:9 ┌ Error: doctest failure in ../docs/src/guides/events.md:39-61 │ │ ```jldoctest │ julia> using ConcurrentSim │ │ julia> function my_callback(ev::AbstractEvent) │ println("Called back from ", ev) │ end │ my_callback (generic function with 1 method) │ │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> ev = Event(sim) │ ConcurrentSim.Event 1 │ │ julia> @callback my_callback(ev) │ #1 (generic function with 1 method) │ │ julia> succeed(ev) │ ConcurrentSim.Event 1 │ │ julia> run(sim) │ Called back from ConcurrentSim.Event 1 │ ``` │ │ Subexpression: │ │ @callback my_callback(ev) │ │ Evaluated output: │ │ #append_callback##0 (generic function with 1 method) │ │ Expected output: │ │ #1 (generic function with 1 method) │ │ diff = │ Warning: Diff output requires color. │ #1 #append_callback##0 (generic function with 1 method) └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/guides/events.md:39 ┌ Error: doctest failure in ../docs/src/guides/events.md:71-128 │ │ ```jldoctest │ using ResumableFunctions │ using ConcurrentSim │ │ mutable struct School │ class_ends :: Event │ pupil_procs :: Vector{Process} │ bell_proc :: Process │ function School(env::Simulation) │ school = new() │ school.class_ends = Event(env) │ school.pupil_procs = Process[@process pupil(env, school, i) for i=1:3] │ school.bell_proc = @process bell(env, school) │ return school │ end │ end │ │ @resumable function bell(env::Simulation, school::School) │ for i=1:2 │ println("starting the bell timer at t=$(now(env))") │ @yield timeout(env, 45.0) │ succeed(school.class_ends) │ school.class_ends = Event(env) # the event is now idle (i.e. spent) so we need to create a new one │ println("bell is ringing at t=$(now(env))") │ end │ end │ │ @resumable function pupil(env::Simulation, school::School, pupil) │ for i=1:2 │ println("pupil $pupil goes to class") │ @yield school.class_ends │ println("pupil $pupil leaves class at t=$(now(env))") │ end │ end │ │ env = Simulation() │ school = School(env) │ run(env) │ │ # output │ │ pupil 1 goes to class │ pupil 2 goes to class │ pupil 3 goes to class │ starting the bell timer at t=0.0 │ bell is ringing at t=45.0 │ starting the bell timer at t=45.0 │ pupil 1 leaves class at t=45.0 │ pupil 1 goes to class │ pupil 2 leaves class at t=45.0 │ pupil 2 goes to class │ pupil 3 leaves class at t=45.0 │ pupil 3 goes to class │ bell is ringing at t=90.0 │ pupil 1 leaves class at t=90.0 │ pupil 2 leaves class at t=90.0 │ pupil 3 leaves class at t=90.0 │ ``` │ │ Subexpression: │ │ using ResumableFunctions │ using ConcurrentSim │ │ mutable struct School │ class_ends :: Event │ pupil_procs :: Vector{Process} │ bell_proc :: Process │ function School(env::Simulation) │ school = new() │ school.class_ends = Event(env) │ school.pupil_procs = Process[@process pupil(env, school, i) for i=1:3] │ school.bell_proc = @process bell(env, school) │ return school │ end │ end │ │ @resumable function bell(env::Simulation, school::School) │ for i=1:2 │ println("starting the bell timer at t=$(now(env))") │ @yield timeout(env, 45.0) │ succeed(school.class_ends) │ school.class_ends = Event(env) # the event is now idle (i.e. spent) so we need to create a new one │ println("bell is ringing at t=$(now(env))") │ end │ end │ │ @resumable function pupil(env::Simulation, school::School, pupil) │ for i=1:2 │ println("pupil $pupil goes to class") │ @yield school.class_ends │ println("pupil $pupil leaves class at t=$(now(env))") │ end │ end │ │ env = Simulation() │ school = School(env) │ run(env) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] top-level scope │ │ @ none:1 │ │ [40] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [41] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [42] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [43] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [45] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [46] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [47] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [48] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [49] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [50] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [51] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [52] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [53] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [54] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [55] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [56] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [57] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [58] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [59] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [60] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [61] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [64] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [65] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [66] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [67] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [68] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [69] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [70] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [71] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [72] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [73] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [74] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [75] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [76] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [77] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [78] top-level scope │ │ @ none:6 │ │ [79] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [80] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [81] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##bell_FSMI#439"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] top-level scope │ │ @ none:1 │ │ [40] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [41] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [42] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [43] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [45] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [46] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [47] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [48] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [49] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [50] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [51] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [52] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [53] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [54] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [55] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [56] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [57] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [58] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [59] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [60] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [61] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [64] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [65] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [66] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [67] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [68] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [69] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [70] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [71] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [72] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [73] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [74] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [75] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [76] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [77] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [78] top-level scope │ │ @ none:6 │ │ [79] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [80] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [81] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#pupil", ::ConcurrentSim.Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [41] School(env::ConcurrentSim.Simulation) │ │ @ Main ./none:9 │ │ [42] top-level scope │ │ @ none:1 │ │ [43] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [44] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [45] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [46] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [48] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [49] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [50] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [51] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [52] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [53] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [54] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [55] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [56] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [57] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [58] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [59] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [60] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [61] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [62] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [63] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [66] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [67] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [68] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [69] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [70] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [71] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [72] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [73] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [74] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [75] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [76] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [77] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [79] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [80] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [81] top-level scope │ │ @ none:6 │ │ [82] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [83] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [84] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#pupil")(env::ConcurrentSim.Simulation, school::School, pupil::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#pupil", ::ConcurrentSim.Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [29] School(env::ConcurrentSim.Simulation) │ │ @ Main ./none:9 │ │ [30] top-level scope │ │ @ none:1 │ │ [31] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [32] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [33] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [34] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [36] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [37] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [38] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [39] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [40] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [41] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [42] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [43] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [44] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [45] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [46] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [47] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [48] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [49] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [50] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [51] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [52] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [53] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [54] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [57] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [58] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [59] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [60] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [61] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [62] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [65] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [66] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [67] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [68] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [69] top-level scope │ │ @ none:6 │ │ [70] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [71] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [72] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#pupil")(env::ConcurrentSim.Simulation, school::School, pupil::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#pupil", ::ConcurrentSim.Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [21] School(env::ConcurrentSim.Simulation) │ │ @ Main ./none:9 │ │ [22] top-level scope │ │ @ none:1 │ │ [23] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [24] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [25] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [26] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [28] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [29] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [30] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [31] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [32] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [33] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [34] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [35] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [36] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [37] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [38] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [39] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [40] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [41] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [42] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [43] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [44] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [45] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [46] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [47] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [48] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [49] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [50] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [51] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [52] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [53] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [54] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [57] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [58] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [59] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ none:6 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [64] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] pupil(env::Simulation, school::School, pupil::Int64) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(pupil), ::Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ [21] School(env::Simulation) │ @ Main ./none:9 │ [22] top-level scope │ @ none:1 │ │ Expected output: │ │ pupil 1 goes to class │ pupil 2 goes to class │ pupil 3 goes to class │ starting the bell timer at t=0.0 │ bell is ringing at t=45.0 │ starting the bell timer at t=45.0 │ pupil 1 leaves class at t=45.0 │ pupil 1 goes to class │ pupil 2 leaves class at t=45.0 │ pupil 2 goes to class │ pupil 3 leaves class at t=45.0 │ pupil 3 goes to class │ bell is ringing at t=90.0 │ pupil 1 leaves class at t=90.0 │ pupil 2 leaves class at t=90.0 │ pupil 3 leaves class at t=90.0 │ │ diff = │ Warning: Diff output requires color. │ pupil 1 goes to class │ pupil 2 goes to class │ pupil 3 goes ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to class │ starting the bell timer at t=0.0 │ bell is ringing developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at t=45.0 │ starting /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] top-level scope │ │ @ none:1 │ │ [40] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [41] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [42] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [43] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [45] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [46] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [47] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [48] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [49] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [50] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [51] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [52] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [53] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [54] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [55] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [56] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [57] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [58] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [59] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [60] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [61] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [64] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [65] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [66] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [67] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [68] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [69] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [70] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [71] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [72] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [73] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [74] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [75] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [76] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [77] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [78] top-level scope │ │ @ none:6 │ │ [79] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [80] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [81] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the bell timer at t=45.0 │ pupil 1 leaves class developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at t=45.0 │ pupil 1 goes /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##bell_FSMI#439"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] top-level scope │ │ @ none:1 │ │ [40] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [41] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [42] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [43] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [45] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [46] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [47] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [48] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [49] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [50] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [51] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [52] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [53] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [54] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [55] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [56] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [57] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [58] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [59] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [60] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [61] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [64] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [65] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [66] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [67] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [68] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [69] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [70] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [71] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [72] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [73] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [74] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [75] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [76] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [77] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [78] top-level scope │ │ @ none:6 │ │ [79] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [80] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [81] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to class │ pupil 2 leaves class the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at t=45.0 │ pupil 2 goes /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#pupil", ::ConcurrentSim.Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [41] School(env::ConcurrentSim.Simulation) │ │ @ Main ./none:9 │ │ [42] top-level scope │ │ @ none:1 │ │ [43] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [44] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [45] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [46] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [48] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [49] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [50] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [51] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [52] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [53] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [54] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [55] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [56] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [57] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [58] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [59] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [60] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [61] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [62] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [63] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [66] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [67] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [68] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [69] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [70] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [71] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [72] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [73] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [74] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [75] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [76] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [77] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [79] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [80] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [81] top-level scope │ │ @ none:6 │ │ [82] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [83] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [84] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to class │ pupil 3 leaves class the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at t=45.0 │ pupil 3 goes /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#pupil")(env::ConcurrentSim.Simulation, school::School, pupil::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#pupil", ::ConcurrentSim.Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [29] School(env::ConcurrentSim.Simulation) │ │ @ Main ./none:9 │ │ [30] top-level scope │ │ @ none:1 │ │ [31] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [32] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [33] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [34] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [36] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [37] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [38] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [39] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [40] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [41] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [42] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [43] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [44] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [45] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [46] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [47] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [48] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [49] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [50] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [51] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [52] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [53] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [54] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [57] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [58] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [59] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [60] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [61] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [62] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [65] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [66] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [67] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [68] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [69] top-level scope │ │ @ none:6 │ │ [70] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [71] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [72] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to class │ bell is ringing at t=90.0 │ pupil 1 leaves class at t=90.0 │ pupil 2 leaves class at t=90.0 │ pupil 3 leaves class the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at t=90.0/home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#pupil")(env::ConcurrentSim.Simulation, school::School, pupil::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#pupil", ::ConcurrentSim.Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [21] School(env::ConcurrentSim.Simulation) │ │ @ Main ./none:9 │ │ [22] top-level scope │ │ @ none:1 │ │ [23] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [24] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [25] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [26] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [28] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [29] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [30] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [31] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [32] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [33] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [34] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [35] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [36] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [37] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [38] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [39] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [40] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [41] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [42] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [43] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [44] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [45] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [46] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [47] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [48] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [49] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [50] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [51] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [52] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [53] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [54] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [57] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [58] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [59] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ none:6 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [64] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##pupil_FSMI#448"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] pupil(env::Simulation, school::School, pupil::Int64) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(pupil), ::Simulation, ::School, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ [21] School(env::Simulation) │ @ Main ./none:9 │ [22] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/guides/events.md:71 ┌ Error: doctest failure in ../docs/src/guides/basics.md:19-36 │ │ ```jldoctest │ using ResumableFunctions │ using ConcurrentSim │ │ @resumable function example(env::Environment) │ event = timeout(env, 1, value=42) │ value = @yield event │ println("now=", now(env), ", value=", value) │ end │ │ sim = Simulation() │ @process example(sim) │ run(sim) │ │ # output │ │ now=1.0, value=42 │ ``` │ │ Subexpression: │ │ using ResumableFunctions │ using ConcurrentSim │ │ @resumable function example(env::Environment) │ event = timeout(env, 1, value=42) │ value = @yield event │ println("now=", now(env), ", value=", value) │ end │ │ sim = Simulation() │ @process example(sim) │ run(sim) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [48] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#example")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#example", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [37] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#example")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#example", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [29] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] example(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(example), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 │ │ Expected output: │ │ now=1.0, value=42 │ │ diff = │ Warning: Diff output requires color. │ now=1.0, value=42┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [48] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#example")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#example", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [37] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#example")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#example", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [29] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##example_FSMI#460"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] example(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(example), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/guides/basics.md:19 ┌ Error: doctest failure in ../docs/src/examples/ross.md:17-88 │ │ ```jldoctest │ using ResumableFunctions │ using ConcurrentSim │ │ using Distributions │ using Random │ using StableRNGs │ │ const RUNS = 5 │ const N = 10 │ const S = 3 │ const SEED = 150 │ const LAMBDA = 100 │ const MU = 1 │ │ const rng = StableRNG(42) # setting a random seed for reproducibility │ const F = Exponential(LAMBDA) │ const G = Exponential(MU) │ │ @resumable function machine(env::Environment, repair_facility::Resource, spares::Store{Process}) │ while true │ try @yield timeout(env, Inf) catch end │ @yield timeout(env, rand(rng, F)) │ get_spare = take!(spares) │ @yield get_spare | timeout(env) │ if state(get_spare) != ConcurrentSim.idle │ @yield interrupt(value(get_spare)) │ else │ throw(StopSimulation("No more spares!")) │ end │ @yield request(repair_facility) │ @yield timeout(env, rand(rng, G)) │ @yield unlock(repair_facility) │ @yield put!(spares, active_process(env)) │ end │ end │ │ @resumable function start_sim(env::Environment, repair_facility::Resource, spares::Store{Process}) │ for i in 1:N │ proc = @process machine(env, repair_facility, spares) │ @yield interrupt(proc) │ end │ for i in 1:S │ proc = @process machine(env, repair_facility, spares) │ @yield put!(spares, proc) │ end │ end │ │ function sim_repair() │ sim = Simulation() │ repair_facility = Resource(sim) │ spares = Store{Process}(sim) │ @process start_sim(sim, repair_facility, spares) │ msg = run(sim) │ stop_time = now(sim) │ println("At time $stop_time: $msg") │ stop_time │ end │ │ results = Float64[] │ for i in 1:RUNS push!(results, sim_repair()) end │ println("Average crash time: ", sum(results)/RUNS) │ │ # output │ │ At time 12715.718224958666: No more spares! │ At time 37335.53567595007: No more spares! │ At time 30844.62667837361: No more spares! │ At time 1601.2524911974856: No more spares! │ At time 824.1048708405848: No more spares! │ Average crash time: 16664.247588264083 │ ``` │ │ Subexpression: │ │ using ResumableFunctions │ using ConcurrentSim │ │ using Distributions │ using Random │ using StableRNGs │ │ const RUNS = 5 │ const N = 10 │ const S = 3 │ const SEED = 150 │ const LAMBDA = 100 │ const MU = 1 │ │ const rng = StableRNG(42) # setting a random seed for reproducibility │ const F = Exponential(LAMBDA) │ const G = Exponential(MU) │ │ @resumable function machine(env::Environment, repair_facility::Resource, spares::Store{Process}) │ while true │ try @yield timeout(env, Inf) catch end │ @yield timeout(env, rand(rng, F)) │ get_spare = take!(spares) │ @yield get_spare | timeout(env) │ if state(get_spare) != ConcurrentSim.idle │ @yield interrupt(value(get_spare)) │ else │ throw(StopSimulation("No more spares!")) │ end │ @yield request(repair_facility) │ @yield timeout(env, rand(rng, G)) │ @yield unlock(repair_facility) │ @yield put!(spares, active_process(env)) │ end │ end │ │ @resumable function start_sim(env::Environment, repair_facility::Resource, spares::Store{Process}) │ for i in 1:N │ proc = @process machine(env, repair_facility, spares) │ @yield interrupt(proc) │ end │ for i in 1:S │ proc = @process machine(env, repair_facility, spares) │ @yield put!(spares, proc) │ end │ end │ │ function sim_repair() │ sim = Simulation() │ repair_facility = Resource(sim) │ spares = Store{Process}(sim) │ @process start_sim(sim, repair_facility, spares) │ msg = run(sim) │ stop_time = now(sim) │ println("At time $stop_time: $msg") │ stop_time │ end │ │ results = Float64[] │ for i in 1:RUNS push!(results, sim_repair()) end │ println("Average crash time: ", sum(results)/RUNS) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##machine_FSMI#467"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_frame(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, run_optimizer::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1362 │ │ [37] typeinf_frame │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1356 [inlined] │ │ [38] code_typed_by_type(tt::Type; optimize::Bool, world::UInt64, interp::Compiler.NativeInterpreter) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:141 │ │ [39] kwcall(::@NamedTuple{world::UInt64, optimize::Bool}, ::typeof(ResumableFunctions.code_typed_by_type), tt::Type) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:133 │ │ [40] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:157 │ │ [41] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [42] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [43] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [44] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [45] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [46] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [47] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [48] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [49] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [50] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [51] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [52] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [53] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [54] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [55] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [56] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [57] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [58] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [59] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [60] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [61] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [64] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [65] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [66] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [67] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [68] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [69] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [70] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [71] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [72] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [73] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [74] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [75] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [76] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [77] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [78] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [79] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [80] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [81] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [82] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [83] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [84] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [85] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [86] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [87] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [88] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [89] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [90] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [91] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [92] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [93] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [94] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [95] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [96] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [97] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [98] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [99] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [100] top-level scope │ │ @ none:6 │ │ [101] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [102] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [103] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [40] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [41] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [42] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [43] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [44] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [45] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [46] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [47] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [48] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [49] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [50] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [51] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [52] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [53] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [54] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [55] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [56] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [57] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [58] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [59] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [60] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [61] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [65] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [66] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [67] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [68] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [69] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [70] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [71] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [72] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [73] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [74] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [75] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [76] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [77] top-level scope │ │ @ none:6 │ │ [78] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [79] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [80] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#start_sim", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [41] (::var"#sim_repair")() │ │ @ Main ./none:6 │ │ [42] top-level scope │ │ @ ./none:1 │ │ [43] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [44] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [45] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [46] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [48] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [49] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [50] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [51] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [52] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [53] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [54] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [55] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [56] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [57] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [58] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [59] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [60] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [61] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [62] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [63] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [66] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [67] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [68] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [69] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [70] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [71] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [72] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [73] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [74] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [75] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [76] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [77] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [79] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [80] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [81] top-level scope │ │ @ none:6 │ │ [82] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [83] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [84] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#start_sim")(env::ConcurrentSim.Simulation, repair_facility::ConcurrentSim.Resource, spares::ConcurrentSim.Store{ConcurrentSim.Process, Int64, Dict{ConcurrentSim.Process, UInt64}}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#start_sim", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [29] (::var"#sim_repair")() │ │ @ Main ./none:6 │ │ [30] top-level scope │ │ @ ./none:1 │ │ [31] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [32] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [33] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [34] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [36] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [37] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [38] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [39] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [40] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [41] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [42] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [43] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [44] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [45] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [46] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [47] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [48] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [49] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [50] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [51] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [52] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [53] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [54] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [57] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [58] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [59] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [60] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [61] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [62] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [65] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [66] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [67] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [68] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [69] top-level scope │ │ @ none:6 │ │ [70] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [71] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [72] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#start_sim")(env::ConcurrentSim.Simulation, repair_facility::ConcurrentSim.Resource, spares::ConcurrentSim.Store{ConcurrentSim.Process, Int64, Dict{ConcurrentSim.Process, UInt64}}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#start_sim", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [21] (::var"#sim_repair")() │ │ @ Main ./none:6 │ │ [22] top-level scope │ │ @ ./none:1 │ │ [23] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [24] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [25] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [26] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [28] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [29] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [30] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [31] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [32] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [33] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [34] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [35] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [36] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [37] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [38] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [39] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [40] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [41] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [42] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [43] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [44] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [45] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [46] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [47] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [48] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [49] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [50] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [51] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [52] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [53] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [54] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [57] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [58] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [59] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ none:6 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [64] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] start_sim(env::Simulation, repair_facility::Resource, spares::Store{Process, Int64, Dict{Process, UInt64}}) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(start_sim), ::Simulation, ::Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ [21] sim_repair() │ @ Main ./none:6 │ [22] top-level scope │ @ ./none:1 │ │ Expected output: │ │ At time 12715.718224958666: No more spares! │ At time 37335.53567595007: No more spares! │ At time 30844.62667837361: No more spares! │ At time 1601.2524911974856: No more spares! │ At time 824.1048708405848: No more spares! │ Average crash time: 16664.247588264083 │ │ diff = │ Warning: Diff output requires color. │ At time 12715.718224958666: No more spares! │ At time 37335.53567595007: No more spares! │ At time 30844.62667837361: No more spares! │ At time 1601.2524911974856: No more spares! │ At time 824.1048708405848: No more spares! │ Average crash time: 16664.247588264083┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##machine_FSMI#467"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_frame(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, run_optimizer::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1362 │ │ [37] typeinf_frame │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1356 [inlined] │ │ [38] code_typed_by_type(tt::Type; optimize::Bool, world::UInt64, interp::Compiler.NativeInterpreter) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:141 │ │ [39] kwcall(::@NamedTuple{world::UInt64, optimize::Bool}, ::typeof(ResumableFunctions.code_typed_by_type), tt::Type) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:133 │ │ [40] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:157 │ │ [41] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [42] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [43] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [44] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [45] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [46] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [47] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [48] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [49] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [50] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [51] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [52] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [53] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [54] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [55] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [56] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [57] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [58] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [59] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [60] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [61] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [64] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [65] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [66] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [67] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [68] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [69] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [70] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [71] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [72] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [73] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [74] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [75] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [76] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [77] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [78] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [79] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [80] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [81] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [82] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [83] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [84] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [85] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [86] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [87] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [88] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [89] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [90] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [91] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [92] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [93] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [94] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [95] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [96] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [97] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [98] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [99] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [100] top-level scope │ │ @ none:6 │ │ [101] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [102] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [103] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [40] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [41] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [42] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [43] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [44] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [45] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [46] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [47] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [48] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [49] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [50] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [51] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [52] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [53] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [54] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [55] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [56] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [57] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [58] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [59] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [60] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [61] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [65] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [66] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [67] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [68] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [69] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [70] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [71] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [72] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [73] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [74] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [75] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [76] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [77] top-level scope │ │ @ none:6 │ │ [78] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [79] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [80] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#start_sim", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [41] (::var"#sim_repair")() │ │ @ Main ./none:6 │ │ [42] top-level scope │ │ @ ./none:1 │ │ [43] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [44] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [45] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [46] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [48] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [49] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [50] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [51] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [52] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [53] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [54] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [55] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [56] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [57] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [58] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [59] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [60] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [61] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [62] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [63] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [66] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [67] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [68] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [69] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [70] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [71] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [72] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [73] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [74] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [75] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [76] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [77] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [79] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [80] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [81] top-level scope │ │ @ none:6 │ │ [82] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [83] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [84] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#start_sim")(env::ConcurrentSim.Simulation, repair_facility::ConcurrentSim.Resource, spares::ConcurrentSim.Store{ConcurrentSim.Process, Int64, Dict{ConcurrentSim.Process, UInt64}}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#start_sim", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [29] (::var"#sim_repair")() │ │ @ Main ./none:6 │ │ [30] top-level scope │ │ @ ./none:1 │ │ [31] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [32] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [33] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [34] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [36] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [37] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [38] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [39] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [40] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [41] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [42] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [43] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [44] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [45] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [46] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [47] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [48] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [49] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [50] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [51] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [52] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [53] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [54] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [57] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [58] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [59] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [60] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [61] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [62] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [65] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [66] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [67] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [68] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [69] top-level scope │ │ @ none:6 │ │ [70] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [71] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [72] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#start_sim")(env::ConcurrentSim.Simulation, repair_facility::ConcurrentSim.Resource, spares::ConcurrentSim.Store{ConcurrentSim.Process, Int64, Dict{ConcurrentSim.Process, UInt64}}) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#start_sim", ::ConcurrentSim.Simulation, ::ConcurrentSim.Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] Process │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ │ [21] (::var"#sim_repair")() │ │ @ Main ./none:6 │ │ [22] top-level scope │ │ @ ./none:1 │ │ [23] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [24] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [25] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [26] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [28] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [29] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [30] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [31] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [32] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [33] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [34] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [35] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [36] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [37] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [38] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [39] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [40] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [41] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [42] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [43] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [44] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [45] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [46] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [47] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [48] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [49] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [50] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [51] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [52] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [53] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [54] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [55] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [56] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [57] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [58] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [59] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ none:6 │ │ [62] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [63] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [64] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##start_sim_FSMI#476"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] start_sim(env::Simulation, repair_facility::Resource, spares::Store{Process, Int64, Dict{Process, UInt64}}) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(start_sim), ::Simulation, ::Resource, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process │ @ ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 [inlined] │ [21] sim_repair() │ @ Main ./none:6 │ [22] top-level scope │ @ ./none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/examples/ross.md:17 ┌ Error: doctest failure in ../docs/src/examples/Latency.md:87-107 │ │ ```jldoctest 1; output = false │ @resumable function sender(env::Simulation, cable::Cable) │ while true │ @yield timeout(env, SEND_PERIOD) │ value = "sender sent this at $(now(env))" │ put!(cable, value) │ end │ end │ │ @resumable function receiver(env::Simulation, cable::Cable) │ while true │ @yield timeout(env, RECEIVE_PERIOD) │ msg = @yield take!(cable) │ println("Received this at $(now(env)) while $msg") │ end │ end; │ │ nothing # hide │ │ # output │ ``` │ │ Subexpression: │ │ @resumable function sender(env::Simulation, cable::Cable) │ while true │ @yield timeout(env, SEND_PERIOD) │ value = "sender sent this at $(now(env))" │ put!(cable, value) │ end │ end │ │ @resumable function receiver(env::Simulation, cable::Cable) │ while true │ @yield timeout(env, RECEIVE_PERIOD) │ msg = @yield take!(cable) │ println("Received this at $(now(env)) while $msg") │ end │ end; │ │ nothing # hide │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##latency_FSMI#492"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_frame(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, run_optimizer::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1362 │ │ [37] typeinf_code │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1317 [inlined] │ │ [38] typeinf_code(interp::Compiler.NativeInterpreter, match::Core.MethodMatch, run_optimizer::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1311 │ │ [39] invoke_in_typeinf_world(::Function, ::Vararg{Any}) │ │ @ Base ./reflection.jl:308 │ │ [40] invoke_default_compiler(::Symbol, ::Compiler.NativeInterpreter, ::Vararg{Any}) │ │ @ Base ./reflection.jl:313 │ │ [41] invoke_interp_compiler(::Nothing, ::Symbol, ::Compiler.NativeInterpreter, ::Vararg{Any}) │ │ @ Base ./reflection.jl:321 │ │ [42] code_typed_by_type(tt::Type; optimize::Bool, debuginfo::Symbol, world::UInt64, interp::Nothing) │ │ @ Base ./reflection.jl:378 │ │ [43] code_typed_by_type │ │ @ ./reflection.jl:355 [inlined] │ │ [44] code_typed(f::Any, types::Any; kwargs::@Kwargs{optimize::Bool}) │ │ @ Base ./reflection.jl:275 │ │ [45] code_typed │ │ @ ./reflection.jl:270 [inlined] │ │ [46] get_slots(func_def::Dict{Symbol, Any}, args::Dict{Symbol, Any}, mod::Module) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:81 │ │ [47] var"@resumable"(__source__::LineNumberNode, __module__::Module, ex::Vararg{Expr}) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:104 │ │ [48] fl_lower(ex::Expr, mod::Module, filename::String, lineno::UInt64, world::UInt64, warn::Bool) │ │ @ Base ./flfrontend.jl:24 │ │ [49] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [50] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [51] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [52] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [53] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [54] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [55] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [56] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [57] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [58] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [59] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [60] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [61] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [62] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [63] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [64] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [65] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [66] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [67] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [68] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [69] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [70] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [71] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [72] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [75] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [76] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [77] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [79] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [80] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [81] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [82] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [83] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [84] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [85] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [86] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [87] top-level scope │ │ @ none:6 │ │ [88] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [89] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [90] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ Expected output: │ │ │ │ diff = │ Warning: Diff output requires color. │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##latency_FSMI#492"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_frame(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, run_optimizer::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1362 │ │ [37] typeinf_code │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1317 [inlined] │ │ [38] typeinf_code(interp::Compiler.NativeInterpreter, match::Core.MethodMatch, run_optimizer::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1311 │ │ [39] invoke_in_typeinf_world(::Function, ::Vararg{Any}) │ │ @ Base ./reflection.jl:308 │ │ [40] invoke_default_compiler(::Symbol, ::Compiler.NativeInterpreter, ::Vararg{Any}) │ │ @ Base ./reflection.jl:313 │ │ [41] invoke_interp_compiler(::Nothing, ::Symbol, ::Compiler.NativeInterpreter, ::Vararg{Any}) │ │ @ Base ./reflection.jl:321 │ │ [42] code_typed_by_type(tt::Type; optimize::Bool, debuginfo::Symbol, world::UInt64, interp::Nothing) │ │ @ Base ./reflection.jl:378 │ │ [43] code_typed_by_type │ │ @ ./reflection.jl:355 [inlined] │ │ [44] code_typed(f::Any, types::Any; kwargs::@Kwargs{optimize::Bool}) │ │ @ Base ./reflection.jl:275 │ │ [45] code_typed │ │ @ ./reflection.jl:270 [inlined] │ │ [46] get_slots(func_def::Dict{Symbol, Any}, args::Dict{Symbol, Any}, mod::Module) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:81 │ │ [47] var"@resumable"(__source__::LineNumberNode, __module__::Module, ex::Vararg{Expr}) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:104 │ │ [48] fl_lower(ex::Expr, mod::Module, filename::String, lineno::UInt64, world::UInt64, warn::Bool) │ │ @ Base ./flfrontend.jl:24 │ │ [49] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [50] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [51] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [52] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [53] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [54] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [55] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [56] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [57] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [58] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [59] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [60] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [61] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [62] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [63] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [64] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [65] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [66] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [67] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [68] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [69] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [70] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [71] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [72] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [75] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [76] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [77] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [78] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [79] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [80] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [81] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [82] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [83] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [84] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [85] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [86] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [87] top-level scope │ │ @ none:6 │ │ [88] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [89] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [90] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/examples/Latency.md:87 ┌ Error: doctest failure in ../docs/src/examples/Latency.md:112-139 │ │ ```jldoctest 1 │ env = Simulation() │ cable = Cable(env, 10.) │ @process sender(env, cable) │ @process receiver(env, cable) │ │ run(env, SIM_DURATION) │ │ # output │ │ Received this at 15.0 while sender sent this at 5.0 │ Received this at 20.0 while sender sent this at 10.0 │ Received this at 25.0 while sender sent this at 15.0 │ Received this at 30.0 while sender sent this at 20.0 │ Received this at 35.0 while sender sent this at 25.0 │ Received this at 40.0 while sender sent this at 30.0 │ Received this at 45.0 while sender sent this at 35.0 │ Received this at 50.0 while sender sent this at 40.0 │ Received this at 55.0 while sender sent this at 45.0 │ Received this at 60.0 while sender sent this at 50.0 │ Received this at 65.0 while sender sent this at 55.0 │ Received this at 70.0 while sender sent this at 60.0 │ Received this at 75.0 while sender sent this at 65.0 │ Received this at 80.0 while sender sent this at 70.0 │ Received this at 85.0 while sender sent this at 75.0 │ Received this at 90.0 while sender sent this at 80.0 │ Received this at 95.0 while sender sent this at 85.0 │ ``` │ │ Subexpression: │ │ env = Simulation() │ cable = Cable(env, 10.) │ @process sender(env, cable) │ @process receiver(env, cable) │ │ run(env, SIM_DURATION) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Cable, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [48] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#sender")(env::ConcurrentSim.Simulation, cable::Cable) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(func::var"#sender", env::ConcurrentSim.Simulation, args::Cable; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Cable, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [37] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#sender")(env::ConcurrentSim.Simulation, cable::Cable) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(func::var"#sender", env::ConcurrentSim.Simulation, args::Cable; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Cable, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [29] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] sender(env::Simulation, cable::Cable) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(func::typeof(sender), env::Simulation, args::Cable; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation, ::Cable, ::Vararg{Any}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 │ │ Expected output: │ │ Received this at 15.0 while sender sent this at 5.0 │ Received this at 20.0 while sender sent this at 10.0 │ Received this at 25.0 while sender sent this at 15.0 │ Received this at 30.0 while sender sent this at 20.0 │ Received this at 35.0 while sender sent this at 25.0 │ Received this at 40.0 while sender sent this at 30.0 │ Received this at 45.0 while sender sent this at 35.0 │ Received this at 50.0 while sender sent this at 40.0 │ Received this at 55.0 while sender sent this at 45.0 │ Received this at 60.0 while sender sent this at 50.0 │ Received this at 65.0 while sender sent this at 55.0 │ Received this at 70.0 while sender sent this at 60.0 │ Received this at 75.0 while sender sent this at 65.0 │ Received this at 80.0 while sender sent this at 70.0 │ Received this at 85.0 while sender sent this at 75.0 │ Received this at 90.0 while sender sent this at 80.0 │ Received this at 95.0 while sender sent this at 85.0 │ │ diff = │ Warning: Diff output requires color. │ Received this at 15.0 while sender sent this at 5.0 │ Received this at 20.0 while sender sent this at 10.0 │ Received this at 25.0 while sender sent this at 15.0 │ Received this at 30.0 while sender sent this at 20.0 │ Received this at 35.0 while sender sent this at 25.0 │ Received this at 40.0 while sender sent this at 30.0 │ Received this at 45.0 while sender sent this at 35.0 │ Received this at 50.0 while sender sent this at 40.0 │ Received this at 55.0 while sender sent this at 45.0 │ Received this at 60.0 while sender sent this at 50.0 │ Received this at 65.0 while sender sent this at 55.0 │ Received this at 70.0 while sender sent this at 60.0 │ Received this at 75.0 while sender sent this at 65.0 │ Received this at 80.0 while sender sent this at 70.0 │ Received ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this at 85.0 to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while sender sent this generating log record in module ResumableFunctions at 75.0 │ Received /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Cable, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [48] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this at 90.0 to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while sender sent this generating log record in module ResumableFunctions at 80.0 │ Received /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#sender")(env::ConcurrentSim.Simulation, cable::Cable) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(func::var"#sender", env::ConcurrentSim.Simulation, args::Cable; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Cable, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [37] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this at 95.0 to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while sender sent this generating log record in module ResumableFunctions at 85.0/home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#sender")(env::ConcurrentSim.Simulation, cable::Cable) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(func::var"#sender", env::ConcurrentSim.Simulation, args::Cable; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Cable, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [29] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##sender_FSMI#500"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] sender(env::Simulation, cable::Cable) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(func::typeof(sender), env::Simulation, args::Cable; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation, ::Cable, ::Vararg{Any}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/examples/Latency.md:112 ┌ Error: doctest failure in ../docs/src/tutorial.md:64-77 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> run(sim, 15) │ Start parking at 0.0 │ Start driving at 5.0 │ Start parking at 7.0 │ Start driving at 12.0 │ Start parking at 14.0 │ ``` │ │ Subexpression: │ │ @process car(sim) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [48] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 │ │ Expected output: │ │ ConcurrentSim.Process 1 │ │ diff = │ Warning: Diff output requires color. │ ConcurrentSim.Process 1┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [48] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#522"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:64 ┌ Error: doctest failure in ../docs/src/tutorial.md:64-77 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> run(sim, 15) │ Start parking at 0.0 │ Start driving at 5.0 │ Start parking at 7.0 │ Start driving at 12.0 │ Start parking at 14.0 │ ``` │ │ Subexpression: │ │ run(sim, 15) │ │ Evaluated output: │ │ │ │ Expected output: │ │ Start parking at 0.0 │ Start driving at 5.0 │ Start parking at 7.0 │ Start driving at 12.0 │ Start parking at 14.0 │ │ diff = │ Warning: Diff output requires color. │ Start parking at 0.0 │ Start driving at 5.0 │ Start parking at 7.0 │ Start driving at 12.0 │ Start parking at 14.0 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:64 ┌ Error: doctest failure in ../docs/src/tutorial.md:155-168 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> run(sim, 15) │ Start parking and charging at 0.0 │ Start driving at 5.0 │ Start parking and charging at 7.0 │ Start driving at 12.0 │ Start parking and charging at 14.0 │ ``` │ │ Subexpression: │ │ @process car(sim) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [48] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 │ │ Expected output: │ │ ConcurrentSim.Process 1 │ │ diff = │ Warning: Diff output requires color. │ ConcurrentSim.Process 1┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [48] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#549"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:155 ┌ Error: doctest failure in ../docs/src/tutorial.md:155-168 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> run(sim, 15) │ Start parking and charging at 0.0 │ Start driving at 5.0 │ Start parking and charging at 7.0 │ Start driving at 12.0 │ Start parking and charging at 14.0 │ ``` │ │ Subexpression: │ │ run(sim, 15) │ │ Evaluated output: │ │ │ │ Expected output: │ │ Start parking and charging at 0.0 │ Start driving at 5.0 │ Start parking and charging at 7.0 │ Start driving at 12.0 │ Start parking and charging at 14.0 │ │ diff = │ Warning: Diff output requires color. │ Start parking and charging at 0.0 │ Start driving at 5.0 │ Start parking and charging at 7.0 │ Start driving at 12.0 │ Start parking and charging at 14.0 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:155 ┌ Error: doctest failure in ../docs/src/tutorial.md:261-278 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> car_process = @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> @process driver(sim, car_process) │ ConcurrentSim.Process 3 │ │ julia> run(sim, 15) │ Start parking and charging at 0.0 │ Was interrupted. Hopefully, the battery is full enough ... │ Start driving at 3.0 │ Start parking and charging at 5.0 │ Start driving at 10.0 │ Start parking and charging at 12.0 │ ``` │ │ Subexpression: │ │ car_process = @process car(sim) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [48] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 │ │ Expected output: │ │ ConcurrentSim.Process 1 │ │ diff = │ Warning: Diff output requires color. │ ConcurrentSim.Process 1┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [48] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#590"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:261 ┌ Error: doctest failure in ../docs/src/tutorial.md:261-278 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> car_process = @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> @process driver(sim, car_process) │ ConcurrentSim.Process 3 │ │ julia> run(sim, 15) │ Start parking and charging at 0.0 │ Was interrupted. Hopefully, the battery is full enough ... │ Start driving at 3.0 │ Start parking and charging at 5.0 │ Start driving at 10.0 │ Start parking and charging at 12.0 │ ``` │ │ Subexpression: │ │ @process driver(sim, car_process) │ │ Evaluated output: │ │ ERROR: UndefVarError: `car_process` not defined in `Main` │ Suggestion: add an appropriate import or assignment. This global was declared but not assigned. │ Stacktrace: │ [1] top-level scope │ @ none:1 │ │ Expected output: │ │ ConcurrentSim.Process 3 │ │ diff = │ Warning: Diff output requires color. │ ConcurrentSim.Process 3ERROR: UndefVarError: `car_process` not defined in `Main` │ Suggestion: add an appropriate import or assignment. This global was declared but not assigned. │ Stacktrace: │ [1] top-level scope │ @ none:1 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:261 ┌ Error: doctest failure in ../docs/src/tutorial.md:261-278 │ │ ```jldoctest │ julia> sim = Simulation() │ ConcurrentSim.Simulation time: 0.0 active_process: nothing │ │ julia> car_process = @process car(sim) │ ConcurrentSim.Process 1 │ │ julia> @process driver(sim, car_process) │ ConcurrentSim.Process 3 │ │ julia> run(sim, 15) │ Start parking and charging at 0.0 │ Was interrupted. Hopefully, the battery is full enough ... │ Start driving at 3.0 │ Start parking and charging at 5.0 │ Start driving at 10.0 │ Start parking and charging at 12.0 │ ``` │ │ Subexpression: │ │ run(sim, 15) │ │ Evaluated output: │ │ │ │ Expected output: │ │ Start parking and charging at 0.0 │ Was interrupted. Hopefully, the battery is full enough ... │ Start driving at 3.0 │ Start parking and charging at 5.0 │ Start driving at 10.0 │ Start parking and charging at 12.0 │ │ diff = │ Warning: Diff output requires color. │ Start parking and charging at 0.0 │ Was interrupted. Hopefully, the battery is full enough ... │ Start driving at 3.0 │ Start parking and charging at 5.0 │ Start driving at 10.0 │ Start parking and charging at 12.0 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:261 ┌ Error: doctest failure in ../docs/src/tutorial.md:366-384 │ │ ```jldoctest │ julia> for i in 1:4 │ @process car(sim, i, bcs, 2i, 5) │ end │ │ julia> run(sim) │ 1 arriving at 2.0 │ 1 starting to charge at 2.0 │ 2 arriving at 4.0 │ 2 starting to charge at 4.0 │ 3 arriving at 6.0 │ 1 leaving the bcs at 7.0 │ 3 starting to charge at 7.0 │ 4 arriving at 8.0 │ 2 leaving the bcs at 9.0 │ 4 starting to charge at 9.0 │ 3 leaving the bcs at 12.0 │ 4 leaving the bcs at 14.0 │ ``` │ │ Subexpression: │ │ for i in 1:4 │ @process car(sim, i, bcs, 2i, 5) │ end │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [41] top-level scope │ │ @ ./none:2 │ │ [42] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [43] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [44] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [45] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [46] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [47] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [48] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [49] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [50] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [51] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [52] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [53] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [54] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [55] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [56] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [57] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [58] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [59] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [60] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [61] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [62] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [63] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [64] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [65] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [66] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [67] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [68] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [69] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [70] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [71] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [72] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [73] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [74] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [75] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [76] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [77] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [78] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [79] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [80] top-level scope │ │ @ none:6 │ │ [81] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [82] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [83] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation, name::Int64, bcs::ConcurrentSim.Resource, driving_time::Int64, charge_duration::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ ./none:2 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation, name::Int64, bcs::ConcurrentSim.Resource, driving_time::Int64, charge_duration::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ ./none:2 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation, name::Int64, bcs::Resource, driving_time::Int64, charge_duration::Int64) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation, ::Int64, ::Vararg{Any}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ ./none:2 │ │ Expected output: │ │ │ │ diff = │ Warning: Diff output requires color. │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [40] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [41] top-level scope │ │ @ ./none:2 │ │ [42] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [43] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [44] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [45] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [46] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [47] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [48] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [49] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [50] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [51] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [52] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [53] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [54] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [55] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [56] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [57] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [58] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [59] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [60] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [61] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [62] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [63] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [64] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [65] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [66] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [67] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [68] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [69] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [70] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [71] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [72] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [73] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [74] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [75] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [76] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [77] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [78] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [79] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [80] top-level scope │ │ @ none:6 │ │ [81] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [82] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [83] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#car")(env::ConcurrentSim.Simulation, name::Int64, bcs::ConcurrentSim.Resource, driving_time::Int64, charge_duration::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ ./none:2 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [37] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#car")(env::ConcurrentSim.Simulation, name::Int64, bcs::ConcurrentSim.Resource, driving_time::Int64, charge_duration::Int64) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#car", ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation, ::Int64, ::Vararg{Any}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ ./none:2 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_repl##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:263 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_repl##0#eval_repl##1"{Module}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_repl##0#eval_repl##1"{Module}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] capture │ │ @ ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 [inlined] │ │ [29] eval_repl(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:262 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:174 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##car_FSMI#624"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] car(env::Simulation, name::Int64, bcs::Resource, driving_time::Int64, charge_duration::Int64) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(car), ::Simulation, ::Int64, ::Vararg{Any}; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation, ::Int64, ::Vararg{Any}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ ./none:2 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:366 ┌ Error: doctest failure in ../docs/src/tutorial.md:366-384 │ │ ```jldoctest │ julia> for i in 1:4 │ @process car(sim, i, bcs, 2i, 5) │ end │ │ julia> run(sim) │ 1 arriving at 2.0 │ 1 starting to charge at 2.0 │ 2 arriving at 4.0 │ 2 starting to charge at 4.0 │ 3 arriving at 6.0 │ 1 leaving the bcs at 7.0 │ 3 starting to charge at 7.0 │ 4 arriving at 8.0 │ 2 leaving the bcs at 9.0 │ 4 starting to charge at 9.0 │ 3 leaving the bcs at 12.0 │ 4 leaving the bcs at 14.0 │ ``` │ │ Subexpression: │ │ run(sim) │ │ Evaluated output: │ │ │ │ Expected output: │ │ 1 arriving at 2.0 │ 1 starting to charge at 2.0 │ 2 arriving at 4.0 │ 2 starting to charge at 4.0 │ 3 arriving at 6.0 │ 1 leaving the bcs at 7.0 │ 3 starting to charge at 7.0 │ 4 arriving at 8.0 │ 2 leaving the bcs at 9.0 │ 4 starting to charge at 9.0 │ 3 leaving the bcs at 12.0 │ 4 leaving the bcs at 14.0 │ │ diff = │ Warning: Diff output requires color. │ 1 arriving at 2.0 │ 1 starting to charge at 2.0 │ 2 arriving at 4.0 │ 2 starting to charge at 4.0 │ 3 arriving at 6.0 │ 1 leaving the bcs at 7.0 │ 3 starting to charge at 7.0 │ 4 arriving at 8.0 │ 2 leaving the bcs at 9.0 │ 4 starting to charge at 9.0 │ 3 leaving the bcs at 12.0 │ 4 leaving the bcs at 14.0 └ @ Documenter ~/.julia/packages/ConcurrentSim/V71SQ/docs/src/tutorial.md:366 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Error: doctest failure in ../docs/src/guides/environments.md:37-53 │ │ ```jldoctest │ using ResumableFunctions │ using ConcurrentSim │ │ @resumable function my_process(env::Environment) │ @yield timeout(env, 1) │ "Monty Python's Flying Circus" │ end │ │ sim = Simulation() │ proc = @process my_process(sim) │ run(sim, proc) │ │ # output │ │ "Monty Python's Flying Circus" │ ``` │ │ Subexpression: │ │ using ResumableFunctions │ using ConcurrentSim │ │ @resumable function my_process(env::Environment) │ @yield timeout(env, 1) │ "Monty Python's Flying Circus" │ end │ │ sim = Simulation() │ proc = @process my_process(sim) │ run(sim, proc) │ │ Evaluated output: │ │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [48] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#my_process")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#my_process", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [37] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#my_process")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#my_process", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [29] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [63] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ERROR: task switch not allowed from inside staged nor pure functions │ Stacktrace: │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ @ Base ./task.jl:1130 │ [2] wait() │ @ Base ./task.jl:1249 │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1077 │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ @ Base ./stream.jl:1150 │ [5] unsafe_write │ @ ./io.jl:469 [inlined] │ [6] unsafe_write │ @ ./io.jl:819 [inlined] │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ @ Base ./io.jl:853 │ [8] macro expansion │ @ ./lock.jl:376 [inlined] │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ [10] logging_error(logger::Any, level::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any, err::Any, real::Bool) │ @ Base.CoreLogging ./logging/logging.jl:510 │ [11] #invokelatest_gr#224 │ @ ./reflection.jl:1363 [inlined] │ [12] invokelatest_gr │ @ ./reflection.jl:1357 [inlined] │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ @ Base.CoreLogging ./logging/logging.jl:439 │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ @ Base.CoreLogging ./logging/logging.jl:431 │ [15] macro expansion │ @ ./logging/logging.jl:419 [inlined] │ [16] macro expansion │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ [18] my_process(env::Simulation) │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ [19] Process(::typeof(my_process), ::Simulation; kwargs::@Kwargs{}) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ [20] Process(::Function, ::Simulation) │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ [21] top-level scope │ @ none:1 │ │ Expected output: │ │ "Monty Python's Flying Circus" │ │ diff = │ Warning: Diff output requires color. │ "Monty Python's Flying Circus"┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:160 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] typeinf_edge(interp::Compiler.NativeInterpreter, method::Method, atype::Any, sparams::Core.SimpleVector, caller::Compiler.InferenceState, edgecycle::Bool, edgelimited::Bool) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1195 │ │ [23] abstract_call_method(interp::Compiler.NativeInterpreter, method::Method, sig::Any, sparams::Core.SimpleVector, hardlimit::Bool, si::Compiler.StmtInfo, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:725 │ │ [24] (::Compiler.var"#infercalls#abstract_call_gf_by_type##0"{Compiler.ArgInfo, Compiler.StmtInfo, Compiler.CallInferenceState, Compiler.Future{Compiler.CallMeta}, Vector{Compiler.MethodMatchTarget}, Vector{Any}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#tmerge##0#tmerge##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.var"#⊑##0#⊑##1"{Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}}, Compiler.InferenceLattice{Compiler.ConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}, Compiler.InferenceLattice{Compiler.InterConditionalsLattice{Compiler.PartialsLattice{Compiler.ConstsLattice}}}})(interp::Compiler.NativeInterpreter, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:166 │ │ [25] abstract_call_gf_by_type(interp::Compiler.NativeInterpreter, func::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, atype::Any, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:328 │ │ [26] abstract_call_known(interp::Compiler.NativeInterpreter, f::Any, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2796 │ │ [27] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, si::Compiler.StmtInfo, sv::Compiler.InferenceState, max_methods::Int64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2904 │ │ [28] abstract_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:2897 [inlined] │ │ [29] abstract_call(interp::Compiler.NativeInterpreter, arginfo::Compiler.ArgInfo, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3057 │ │ [30] abstract_eval_call │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3075 [inlined] │ │ [31] abstract_eval_statement_expr(interp::Compiler.NativeInterpreter, e::Expr, sstate::Compiler.StatementState, sv::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3439 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3838 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3795 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4344 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4501 │ │ [36] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1527 │ │ [37] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [39] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [40] top-level scope │ │ @ none:1 │ │ [41] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [42] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [43] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [44] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [46] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [47] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [48] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [49] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [50] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [51] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [52] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [53] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [54] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [55] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [56] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [57] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [58] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [59] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [60] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [61] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [62] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [63] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [64] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [65] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [66] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [67] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [68] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [69] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [70] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [71] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [72] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [73] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [74] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [75] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [76] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [77] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [78] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [79] top-level scope │ │ @ none:6 │ │ [80] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [81] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [82] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] call_get_staged │ │ @ ./../usr/share/julia/Compiler/src/utilities.jl:0 [inlined] │ │ [19] get_staged(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:88 │ │ [20] retrieve_code_info(mi::Core.MethodInstance, world::UInt64) │ │ @ Compiler ./../usr/share/julia/Compiler/src/utilities.jl:121 │ │ [21] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:599 [inlined] │ │ [22] InferenceState │ │ @ ./../usr/share/julia/Compiler/src/inferencestate.jl:604 [inlined] │ │ [23] typeinf_ext(interp::Compiler.NativeInterpreter, mi::Core.MethodInstance, source_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1521 │ │ [24] typeinf_ext_toplevel │ │ @ ./../usr/share/julia/Compiler/src/typeinfer.jl:1710 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1719 │ │ [26] (::var"#my_process")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [27] ConcurrentSim.Process(::var"#my_process", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [28] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [29] top-level scope │ │ @ none:1 │ │ [30] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [31] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [32] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [33] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [35] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [36] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [37] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [38] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [39] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [40] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [41] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [42] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [43] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [44] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [45] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [46] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [47] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [48] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [49] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [50] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [51] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [52] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [53] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [56] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [57] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [58] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [59] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [60] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [61] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [62] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [63] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [64] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [65] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [66] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [67] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [68] top-level scope │ │ @ none:6 │ │ [69] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [70] exec_options(opts::Base.JLOptions) │ │ @ Base ./client.jl:310 │ │ [71] _start() │ │ @ Base ./client.jl:577 │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance │ └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ ┌ Error: Exception while generating log record in module ResumableFunctions at /home/pkgeval/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 │ │ exception = │ │ task switch not allowed from inside staged nor pure functions │ │ Stacktrace: │ │ [1] try_yieldto(undo::typeof(Base.ensure_rescheduled)) │ │ @ Base ./task.jl:1130 │ │ [2] wait() │ │ @ Base ./task.jl:1249 │ │ [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1077 │ │ [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64) │ │ @ Base ./stream.jl:1150 │ │ [5] unsafe_write │ │ @ ./io.jl:469 [inlined] │ │ [6] unsafe_write │ │ @ ./io.jl:819 [inlined] │ │ [7] write(s::IOContext{Base.PipeEndpoint}, A::Vector{UInt8}) │ │ @ Base ./io.jl:853 │ │ [8] macro expansion │ │ @ ./lock.jl:376 [inlined] │ │ [9] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:194 │ │ [10] handle_message(logger::Base.CoreLogging.ConsoleLogger, level::Base.CoreLogging.LogLevel, message::Any, _module::Any, group::Any, id::Any, filepath::Any, line::Any) │ │ @ Base.CoreLogging ./logging/ConsoleLogger.jl:110 │ │ [11] #invokelatest_gr#224 │ │ @ ./reflection.jl:1363 [inlined] │ │ [12] invokelatest_gr │ │ @ ./reflection.jl:1357 [inlined] │ │ [13] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any; kwargs...) │ │ @ Base.CoreLogging ./logging/logging.jl:434 │ │ [14] handle_message_nothrow(logger::Any, level::Any, msg::Any, _module::Any, group::Any, id::Any, file::Any, line::Any) │ │ @ Base.CoreLogging ./logging/logging.jl:431 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:419 [inlined] │ │ [16] macro expansion │ │ @ ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:23 [inlined] │ │ [17] fsmi_generator(world::UInt64, source::Any, passtype::Any, fsmitype::Type{Type{var"##my_process_FSMI#650"}}, fargtypes::Any) │ │ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/utils.jl:159 │ │ [18] (::var"#my_process")(env::ConcurrentSim.Simulation) │ │ @ Main ~/.julia/packages/ResumableFunctions/cprlE/src/macro.jl:172 │ │ [19] ConcurrentSim.Process(::var"#my_process", ::ConcurrentSim.Simulation; kwargs::@Kwargs{}) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:16 │ │ [20] ConcurrentSim.Process(::Function, ::ConcurrentSim.Simulation) │ │ @ ConcurrentSim ~/.julia/packages/ConcurrentSim/V71SQ/src/processes.jl:13 │ │ [21] top-level scope │ │ @ none:1 │ │ [22] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [23] #eval_script##0 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:291 [inlined] │ │ [24] (::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint})() │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:170 │ │ [25] with_logstate(f::IOCapture.var"#12#13"{Type{InterruptException}, Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, Base.PipeEndpoint, Base.PipeEndpoint}, logstate::Base.CoreLogging.LogState) │ │ @ Base.CoreLogging ./logging/logging.jl:542 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:653 │ │ [27] capture(f::Documenter.var"#eval_script##0#eval_script##1"{Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:167 │ │ [28] kwcall(::@NamedTuple{rethrow::DataType}, ::typeof(IOCapture.capture), f::Function) │ │ @ IOCapture ~/.julia/packages/IOCapture/MR051/src/IOCapture.jl:100 │ │ [29] eval_script(block::MarkdownAST.CodeBlock, sandbox::Module, meta::Dict{Symbol, Any}, doc::Documenter.Document, page::String) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:290 │ │ [30] _doctest(ctx::Documenter.DocTestContext, block::MarkdownAST.CodeBlock) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:176 │ │ [31] _doctest(ctx::Documenter.DocTestContext, mdast::MarkdownAST.Node{Nothing}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:97 │ │ [32] _doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:58 [inlined] │ │ [33] _doctest(blueprint::Documenter.DocumentBlueprint, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctests.jl:31 │ │ [34] runner(::Type{Documenter.Builder.Doctest}, doc::Documenter.Document) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/builder_pipeline.jl:210 │ │ [35] dispatch(::Type{Documenter.Builder.DocumentPipeline}, x::Documenter.Document) │ │ @ Documenter.Selectors ~/.julia/packages/Documenter/xvqbW/src/utilities/Selectors.jl:170 │ │ [36] #89 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:283 [inlined] │ │ [37] withenv(::Documenter.var"#89#90"{Documenter.Document}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}}) │ │ @ Base ./env.jl:265 │ │ [38] #87 │ │ @ ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:282 [inlined] │ │ [39] cd(f::Documenter.var"#87#88"{Documenter.Document}, dir::String) │ │ @ Base.Filesystem ./file.jl:112 │ │ [40] makedocs(; debug::Bool, format::Documenter.HTMLWriter.HTML, kwargs::@Kwargs{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:281 │ │ [41] kwcall(::@NamedTuple{root::String, source::String, sitename::String, doctest::Symbol, modules::Vector{Module}, doctestfilters::Vector{Regex}, remotes::Nothing, plugins::Vector{Documenter.Plugin}}, ::typeof(Documenter.makedocs)) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/makedocs.jl:274 │ │ [42] (::Documenter.var"#all_doctests#141"{Bool, Vector{Regex}, Vector{Documenter.Plugin}, Vector{Module}})() │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:85 │ │ [43] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [44] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:750 [inlined] │ │ [45] macro expansion │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 [inlined] │ │ [46] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [47] doctest(source::String, modules::Vector{Module}; fix::Bool, testset::String, doctestfilters::Vector{Regex}, plugins::Vector{Documenter.Plugin}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:110 │ │ [48] doctest │ │ @ ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:69 [inlined] │ │ [49] doctest(package::Module; manual::Bool, testset::Nothing, kwargs::@Kwargs{}) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:37 │ │ [50] doctest(package::Module) │ │ @ Documenter ~/.julia/packages/Documenter/xvqbW/src/doctest.jl:20 │ │ [51] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/test_doctests.jl:5 │ │ [52] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [53] top-level scope │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:21 │ │ [54] macro expansion │ │ @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:1961 [inlined] │ │ [55] macro expansion │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:21 [inlined] │ │ [56] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [57] top-level scope │ │ @ ~/.julia/packages/ConcurrentSim/V71SQ/test/runtests.jl:20 │ │ [58] macro expansion │ │ @ ~/.julia/packages/SafeTestsets/raUNr/src/SafeTestsets.jl:28 [inlined] │ │ [59] include(mapexpr::Function, mod::Module, _path::String) │ │ @ Base ./Base.jl:310 │ │ [60] top-level scope │ │ @ none:6 │ │ [61] eval(m::Module, e::Any) │ │ @ Core ./boot.jl:489 │ │ [62] exec_options(opts::Base.JLOptions) │ │ @ Base ./cl PkgEval terminated after 242.88s: test log exceeded the size limit