Package evaluation to test ConcurrentSim on Julia 1.14.0-DEV.1372 (893635dc59*) started at 2025-12-16T12:53:35.251 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 9.45s ################################################################################ # 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.08s ################################################################################ # 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.58s ################################################################################ # Testing # Testing ConcurrentSim Status `/tmp/jl_yPM2EF/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_yPM2EF/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.3s 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.3s 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 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.idle, nothing), ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.scheduled, nothing)) Both events are triggered: Dict{ConcurrentSim.AbstractEvent, ConcurrentSim.StateValue}(ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 3 => 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 3 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 2 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) Test Summary: | Total Time operators | 0 1.7s 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 23.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 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.3064229124720126, client 2 is waiting 0.5397430454197057, client 1 has been served 0.5397430454197057, client 2 is being served 0.5988448967157854, client 3 is waiting 0.6258047881505131, client 4 is waiting 0.6769700127421674, client 5 is waiting 0.7067383384392287, client 6 is waiting 0.7760067572292014, client 2 has been served 0.7760067572292014, client 6 is being served 1.024886480911251, client 7 is waiting 1.4592006559567, client 8 is waiting 1.7170153559870718, client 9 is waiting 1.7632342238176548, client 6 has been served 1.7632342238176548, client 9 is being served 1.7774238465635601, client 10 is waiting 2.405204636278709, client 9 has been served 2.405204636278709, client 10 is being served 2.418718311146085, client 10 has been served 2.418718311146085, client 8 is being served 2.555823976489833, client 8 has been served 2.555823976489833, client 7 is being served 2.774830190903679, client 7 has been served 2.774830190903679, client 5 is being served 2.9857963130819942, client 5 has been served 2.9857963130819942, client 4 is being served 3.42769460112374, client 4 has been served 3.42769460112374, client 3 is being served 3.514154306902668, client 3 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.30290348049646687, client 2 attempting to lock 0.30290348049646687, client 2 is being served 0.36557501469306736, client 3 attempting to lock 0.36557501469306736, client 3 is going elsewhere for a bit instead of waiting 0.4655750146930674, client 3 attempting to lock 0.4655750146930674, client 3 is going elsewhere for a bit instead of waiting 0.5655750146930674, client 3 attempting to lock 0.5655750146930674, client 3 is going elsewhere for a bit instead of waiting 0.5804000947722969, client 4 attempting to lock 0.5804000947722969, client 4 is going elsewhere for a bit instead of waiting 0.6158572795255705, client 2 has been served 0.6618698868600534, client 5 attempting to lock 0.6618698868600534, client 5 is being served 0.6655750146930673, client 3 attempting to lock 0.6655750146930673, client 3 is going elsewhere for a bit instead of waiting 0.6804000947722969, client 4 attempting to lock 0.6804000947722969, client 4 is going elsewhere for a bit instead of waiting 0.7655750146930673, client 3 attempting to lock 0.7655750146930673, client 3 is going elsewhere for a bit instead of waiting 0.7804000947722969, client 4 attempting to lock 0.7804000947722969, client 4 is going elsewhere for a bit instead of waiting 0.8655750146930673, client 3 attempting to lock 0.8655750146930673, client 3 is going elsewhere for a bit instead of waiting 0.8804000947722969, client 4 attempting to lock 0.8804000947722969, client 4 is going elsewhere for a bit instead of waiting 0.9610292431401958, client 5 has been served 0.9655750146930673, client 3 attempting to lock 0.9655750146930673, client 3 is being served 0.9804000947722968, client 4 attempting to lock 0.9804000947722968, client 4 is going elsewhere for a bit instead of waiting 0.9899402927559829, client 1 has been served 1.080400094772297, client 4 attempting to lock 1.080400094772297, client 4 is being served 1.1281915414423542, client 6 attempting to lock 1.1281915414423542, client 6 is going elsewhere for a bit instead of waiting 1.2281915414423543, client 6 attempting to lock 1.2281915414423543, client 6 is going elsewhere for a bit instead of waiting 1.2672599833578002, client 3 has been served 1.3281915414423544, client 6 attempting to lock 1.3281915414423544, client 6 is being served 1.5752262751828405, client 7 attempting to lock 1.5752262751828405, client 7 is going elsewhere for a bit instead of waiting 1.6752262751828406, client 7 attempting to lock 1.6752262751828406, client 7 is going elsewhere for a bit instead of waiting 1.7752262751828407, client 7 attempting to lock 1.7752262751828407, client 7 is going elsewhere for a bit instead of waiting 1.8393631728263224, client 8 attempting to lock 1.8393631728263224, client 8 is going elsewhere for a bit instead of waiting 1.8752262751828408, client 7 attempting to lock 1.8752262751828408, client 7 is going elsewhere for a bit instead of waiting 1.9393631728263225, client 8 attempting to lock 1.9393631728263225, client 8 is going elsewhere for a bit instead of waiting 1.9752262751828409, client 7 attempting to lock 1.9752262751828409, client 7 is going elsewhere for a bit instead of waiting 2.014269730077311, client 4 has been served 2.03731961838418, client 9 attempting to lock 2.03731961838418, client 9 is being served 2.0393631728263224, client 8 attempting to lock 2.0393631728263224, client 8 is going elsewhere for a bit instead of waiting 2.0752262751828408, client 7 attempting to lock 2.0752262751828408, client 7 is going elsewhere for a bit instead of waiting 2.1256765973477476, client 6 has been served 2.1393631728263225, client 8 attempting to lock 2.1393631728263225, client 8 is being served 2.175226275182841, client 7 attempting to lock 2.175226275182841, client 7 is going elsewhere for a bit instead of waiting 2.183387924462373, client 8 has been served 2.239558512921243, client 10 attempting to lock 2.239558512921243, client 10 is being served 2.275226275182841, client 7 attempting to lock 2.275226275182841, client 7 is going elsewhere for a bit instead of waiting 2.375226275182841, client 7 attempting to lock 2.375226275182841, client 7 is going elsewhere for a bit instead of waiting 2.459676861889534, client 10 has been served 2.475226275182841, client 7 attempting to lock 2.475226275182841, client 7 is being served 2.8983197090913215, client 9 has been served 3.325364560307453, client 7 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 1.7940655800642407 0.0, producer is offering 0.8220093107769257 0.11201385057493518, consumer is being served, level is 3.205934419935759 0.20674577598915223, producer is being served, level is 4.027943730712685 1.0106748088757538, consumer is demanding 0.5814211654643334 1.1758188316855902, consumer is being served, level is 3.446522565248351 2.8475215831165888, producer is offering 1.4113816928843295 3.7484606285585365, producer is being served, level is 4.857904258132681 4.4048925993671455, producer is offering 0.27652742737970515 4.589186458079056, producer is being served, level is 5.134431685512386 4.965018889888491, producer is offering 1.9881248176395379 4.984603049933539, producer is being served, level is 7.122556503151923 5.768401125258356, consumer is demanding 2.005941825463624 5.974988772043038, consumer is being served, level is 5.116614677688299 6.25316795991728, consumer is demanding 2.7417216588955857 6.848760969642816, producer is offering 0.2485068955350871 6.951720456116177, consumer is being served, level is 2.374893018792713 7.521859469804649, producer is being served, level is 2.6233999143278 7.900261963733201, consumer is demanding 2.148843765950892 8.05457855289293, producer is offering 1.4158128664131764 8.181252298669794, producer is being served, level is 4.039212780740977 8.622511839791729, consumer is being served, level is 1.890369014790085 13.077695400258797, producer is offering 1.0800047879822572 13.405137302604402, consumer is demanding 2.924136506271613 14.022992404030324, producer is being served, level is 0.046237296500729386 14.022992404030324, consumer is being served, level is 0.046237296500729386 16.174104098135423, consumer is demanding 0.621458414927939 16.976015309130016, consumer has timed out 16.976015309130016, consumer is demanding 0.7995651515728902 17.922975664916155, consumer has timed out 17.922975664916155, consumer is demanding 2.972206331782224 18.145043795015873, producer is offering 1.197198279302577 18.386634577681157, consumer has timed out 18.386634577681157, consumer is demanding 0.13015010340250655 18.475950644693054, producer is being served, level is 1.2434355758033064 19.08310144140144, consumer is being served, level is 1.1132854724008 19.79255381983794, producer is offering 0.6867299992775941 20.006923222701033, producer is being served, level is 1.800015471678394 23.13569079088986, producer is offering 1.8053030910253836 23.68883712760334, producer is being served, level is 3.6053185627037774 Test Summary: | Pass Total Time resources_containers | 2 2 9.0s ┌ 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.3064229124720126, client 2 is waiting 0.5397430454197057, client 1 has been served 0.5397430454197057, client 2 is being served 0.5988448967157854, client 3 is waiting 0.6258047881505131, client 4 is waiting 0.6769700127421674, client 5 is waiting 0.7067383384392287, client 6 is waiting 0.7760067572292014, client 2 has been served 0.7760067572292014, client 6 is being served 1.024886480911251, client 7 is waiting 1.4592006559567, client 8 is waiting 1.7170153559870718, client 9 is waiting 1.7632342238176548, client 6 has been served 1.7632342238176548, client 9 is being served 1.7774238465635601, client 10 is waiting 2.405204636278709, client 9 has been served 2.405204636278709, client 10 is being served 2.418718311146085, client 10 has been served 2.418718311146085, client 8 is being served 2.555823976489833, client 8 has been served 2.555823976489833, client 7 is being served 2.774830190903679, client 7 has been served 2.774830190903679, client 5 is being served 2.9857963130819942, client 5 has been served 2.9857963130819942, client 4 is being served 3.42769460112374, client 4 has been served 3.42769460112374, client 3 is being served 3.514154306902668, client 3 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 1.8174208829788012 0.0, producer is offering 0.25068613678640195 ┌ 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.3129537990291036, producer is being served, level is 5.250686136786402 0.9899402927559829, consumer is being served, level is 3.4332652538076003 2.461204599821399, producer is offering 0.5983187125602847 2.7628895684861323, producer is being served, level is 4.031583966367885 5.653156838578992, consumer is demanding 2.6822084024429182 6.450641894484385, consumer is being served, level is 1.3493755639249665 7.432237745011203, producer is offering 0.808955578148252 8.293237835718344, producer is being served, level is 2.1583311420732185 8.43020635006296, consumer is demanding 0.3506417609776873 8.513361593898598, producer is offering 1.7002765702492233 8.650324699031252, consumer is being served, level is 1.8076893810955312 9.111383453920011, producer is being served, level is 3.5079659513447545 10.145112333865772, producer is offering 1.701286255363269 10.324844525525936, producer is being served, level is 5.209252206708023 10.705347975973567, consumer is demanding 0.5814211654643334 10.870491998783404, consumer is being served, level is 4.62783104124369 12.965620332653373, producer is offering 1.4113816928843295 13.866559378095321, producer is being served, level is 6.03921273412802 14.52299134890393, producer is offering 0.27652742737970515 14.707285207615842, producer is being served, level is 6.315740161507724 15.083117639425277, producer is offering 1.9881248176395379 15.102701799470324, producer is being served, level is 8.303864979147262 15.463074292356168, consumer is demanding 2.005941825463624 15.66966193914085, consumer is being served, level is 6.297923153683637 15.947841127015092, consumer is demanding 2.7417216588955857 16.64639362321399, consumer is being served, level is 3.5562014947880516 16.966859719179602, producer is offering 1.4101965094623188 17.156568020703006, producer is being served, level is 4.966398004250371 17.689287103791287, producer is offering 1.432562510633928 18.411536979849814, producer is being served, level is 6.3989605148842985 20.011886124023153, consumer is demanding 0.3800212373305889 20.991174744340952, consumer is being served, level is 6.018939277553709 25.773800207153624, consumer is demanding 1.620007181973386 26.719097210925153, consumer is being served, level is 4.3989320955803235 29.045717302011266, consumer is demanding 0.7747813678313826 29.870127580208376, consumer is being served, level is 3.624150727748941 30.905891605088275, consumer is demanding 0.22990223714648672 31.631168737034038, consumer is being served, level is 3.394248490602454 Test Summary: | Total Time resources_containers_deprecated | 0 3.2s ┌ 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.6128458249440252, consumer is demanding object 0.6128458249440252, consumer is being served with object 1 1.0794860908394115, producer is offering object 2 1.0794860908394115, producer is being served 1.197689793431571, consumer is demanding object 1.197689793431571, consumer is being served with object 2 1.2516095763010262, consumer is demanding object 1.5520135144584029, producer is offering object 3 1.5520135144584029, producer is being served 1.5520135144584029, consumer is being served with object 3 1.6115501658525253, consumer is demanding object 1.75667441282502, producer is offering object 4 1.75667441282502, producer is being served 1.75667441282502, consumer is being served with object 4 2.7439018794134733, consumer is demanding object 3.029266982713109, producer is offering object 5 3.029266982713109, producer is being served 3.029266982713109, consumer is being served with object 5 3.544896382773852, consumer is demanding object 4.7665236828949045, producer is offering object 6 4.7665236828949045, producer is being served 4.7665236828949045, consumer is being served with object 6 5.008157645200858, producer is offering object 7 5.008157645200858, producer is being served 5.408494095355959, consumer is demanding object 5.408494095355959, consumer is being served with object 7 5.422007770223335, consumer is demanding object 5.57347360641911, producer is offering object 8 5.57347360641911, producer is being served 5.57347360641911, consumer is being served with object 8 5.792479820832956, consumer is demanding object 5.847684937106607, producer is offering object 9 5.847684937106607, producer is being served 5.847684937106607, consumer is being served with object 9 6.269617181463237, producer is offering object 10 6.269617181463237, producer is being served 6.289583225148352, consumer is demanding object 6.289583225148352, consumer is being served with object 10 Test Summary: | Pass Total Time resources_stores | 5 5 3.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 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 6.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.6128458249440252, consumer is demanding object 0.6128458249440252, consumer is being served with object 1 1.0794860908394115, producer is offering object 2 1.0794860908394115, producer is being served 1.197689793431571, consumer is demanding object 1.197689793431571, consumer is being served with object 2 1.2516095763010262, consumer is demanding object 1.5520135144584029, producer is offering object 3 1.5520135144584029, producer is being served 1.5520135144584029, consumer is being served with object 3 1.6115501658525253, consumer is demanding object 1.75667441282502, producer is offering object 4 1.75667441282502, producer is being served 1.75667441282502, consumer is being served with object 4 2.7439018794134733, consumer is demanding object 3.029266982713109, producer is offering object 5 3.029266982713109, producer is being served 3.029266982713109, consumer is being served with object 5 3.544896382773852, consumer is demanding object 4.7665236828949045, producer is offering object 6 4.7665236828949045, producer is being served 4.7665236828949045, consumer is being served with object 6 5.008157645200858, producer is offering object 7 5.008157645200858, producer is being served 5.408494095355959, consumer is demanding object 5.408494095355959, consumer is being served with object 7 5.422007770223335, consumer is demanding object 5.57347360641911, producer is offering object 8 5.57347360641911, producer is being served 5.57347360641911, consumer is being served with object 8 5.792479820832956, consumer is demanding object 5.847684937106607, producer is offering object 9 5.847684937106607, producer is being served 5.847684937106607, consumer is being served with object 9 6.269617181463237, producer is offering object 10 6.269617181463237, producer is being served 6.289583225148352, consumer is demanding object 6.289583225148352, consumer is being served with object 10 Test Summary: | Total Time resources_stores_deprecated | 0 2.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 ┌ 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.3s 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-16T12:55:29.753 2025-12-18T12:55:29.753 2026-03-16T12:55:29.753 Test Summary: | Total Time utils_time | 0 0.6s ┌ 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 │ │ [5 PkgEval terminated after 240.23s: test log exceeded the size limit