Package evaluation to test ConcurrentSim on Julia 1.14.0-DEV.1284 (37b9484954*) started at 2025-11-23T13:04:13.714 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.41s ################################################################################ # 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.12.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.11.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.26s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... ┌ Error: Failed to use TestEnv.jl; test dependencies will not be precompiled │ exception = │ UndefVarError: `project_rel_path` not defined in `TestEnv` │ Suggestion: this global was defined as `Pkg.Operations.project_rel_path` but not assigned a value. │ Stacktrace: │ [1] get_test_dir(ctx::Pkg.Types.Context, pkgspec::PackageSpec) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:75 │ [2] test_dir_has_project_file │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:52 [inlined] │ [3] maybe_gen_project_override! │ @ ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/common.jl:83 [inlined] │ [4] activate(pkg::String; allow_reresolve::Bool) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:12 │ [5] activate(pkg::String) │ @ TestEnv ~/.julia/packages/TestEnv/i9lgt/src/julia-1.11/activate_set.jl:9 │ [6] top-level scope │ @ /PkgEval.jl/scripts/precompile.jl:24 │ [7] include(mod::Module, _path::String) │ @ Base ./Base.jl:309 │ [8] exec_options(opts::Base.JLOptions) │ @ Base ./client.jl:344 │ [9] _start() │ @ Base ./client.jl:577 └ @ Main /PkgEval.jl/scripts/precompile.jl:26 Precompiling package dependencies... Precompiling packages... 2764.3 ms ✓ ResumableFunctions 11795.4 ms ✓ ConcurrentSim 2 dependencies successfully precompiled in 15 seconds. 16 already precompiled. Precompilation completed after 27.95s ################################################################################ # Testing # Testing ConcurrentSim Status `/tmp/jl_eoIxJT/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.0 [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_eoIxJT/Manifest.toml` [a4c015fc] ANSIColoredPrinters v0.0.1 [1520ce14] AbstractTrees v0.4.5 [66dad0bd] AliasTables v1.1.3 [4c88cf16] Aqua v0.8.14 [da1fd8a2] CodeTracking v2.0.2 [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.0 [692b3bcd] JLLWrappers v1.7.1 [682c06a0] JSON v1.3.0 [aa1ae85d] JuliaInterpreter v0.10.7 [70703baa] JuliaSyntax v1.0.2 [0e77f7df] LazilyInitializedFields v1.3.0 [2ab3a3ac] LogExpFunctions v0.3.29 [6f1432cf] LoweredCodeUtils v3.4.4 [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.2 [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.7.1 [2913bbd2] StatsBase v0.34.8 [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.51.3+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.12.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.13.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.11.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.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.11.4 [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 3.9s ConcurrentSim.EventNotIdle(ConcurrentSim.Event 2) has been thrown! Hi ConcurrentSim.Event 1 has value Success Hi ConcurrentSim.Event 2 has value Main.var"##events#142".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#143".TestException() Both events are triggered: Main.var"##operators#143".TestException() One of both events is triggered: Main.var"##operators#143".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.Event 2 => ConcurrentSim.StateValue(ConcurrentSim.idle, nothing), ConcurrentSim.Timeout 1 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing), ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.scheduled, 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), ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) One of both events is triggered: Main.var"##operators#143".TestException() Both events are triggered: Main.var"##operators#143".TestException() One of both events is triggered: Main.var"##operators#143".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), ConcurrentSim.Timeout 3 => ConcurrentSim.StateValue(ConcurrentSim.processed, nothing)) Test Summary: | Total Time operators | 0 2.0s Hi I timed out at 1.0 ConcurrentSim.EmptySchedule() has been thrown! Hi I timed out at 4.0 2.0 Main.var"##simulations#144".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#145".TestException() has been thrown Main.var"##processes#145".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#145".TestException() has been thrown Test Summary: | Total Time processes | 0 26.7s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this 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.011584542565428901, client 2 is waiting 0.3506312096482921, client 3 is waiting 0.562771487405136, client 4 is waiting 0.6691689511697894, client 1 has been served 0.6691689511697894, client 4 is being served 0.9379157442325086, client 5 is waiting 1.0182077274214472, client 6 is waiting 1.4418572622325485, client 7 is waiting 1.5218072967709948, client 4 has been served 1.5218072967709948, client 7 is being served 1.898811823302359, client 8 is waiting 2.165366084783051, client 7 has been served 2.165366084783051, client 8 is being served 2.2791015071549396, client 9 is waiting 2.4930505894209274, client 8 has been served 2.4930505894209274, client 9 is being served 2.685573583159108, client 9 has been served 2.685573583159108, client 6 is being served 2.7703665927932746, client 10 is waiting 3.309403602721778, client 6 has been served 3.309403602721778, client 10 is being served 3.8440866311877695, client 10 has been served 3.8440866311877695, client 5 is being served 4.3278539450885365, client 5 has been served 4.3278539450885365, client 3 is being served 4.556892088648969, client 3 has been served 4.556892088648969, client 2 is being served 5.403285831537381, client 2 has been served ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 WARNING: Method definition generate(ConcurrentSim.Simulation, ConcurrentSim.Container{Int64, Int64}) in module ##resources_containers#175 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.11241252651463751, client 1 has been served 0.26730978511861603, client 2 attempting to lock 0.26730978511861603, client 2 is being served 0.7203872496761091, client 3 attempting to lock 0.7203872496761091, client 3 is being served 0.7406074245361924, client 2 has been served 0.9590235265166145, client 4 attempting to lock 0.9590235265166145, client 4 is being served 1.0022497166800375, client 4 has been served 1.0147106353963415, client 5 attempting to lock 1.0147106353963415, client 5 is being served 1.0631515869750647, client 6 attempting to lock 1.0631515869750647, client 6 is going elsewhere for a bit instead of waiting 1.1631515869750648, client 6 attempting to lock 1.1631515869750648, client 6 is going elsewhere for a bit instead of waiting 1.2048917869061977, client 5 has been served 1.263151586975065, client 6 attempting to lock 1.263151586975065, client 6 is being served 1.4815657231858426, client 7 attempting to lock 1.4815657231858426, client 7 is going elsewhere for a bit instead of waiting 1.5687213284412387, client 3 has been served 1.5815657231858427, client 7 attempting to lock 1.5815657231858427, client 7 is being served 1.594318657587286, client 6 has been served 1.7699293675296865, client 8 attempting to lock 1.7699293675296865, client 8 is being served 1.9639973406668028, client 9 attempting to lock 1.9639973406668028, client 9 is going elsewhere for a bit instead of waiting 2.063997340666803, client 9 attempting to lock 2.063997340666803, client 9 is going elsewhere for a bit instead of waiting 2.163997340666803, client 9 attempting to lock 2.163997340666803, client 9 is going elsewhere for a bit instead of waiting 2.263997340666803, client 9 attempting to lock 2.263997340666803, client 9 is going elsewhere for a bit instead of waiting 2.2848199873846227, client 10 attempting to lock 2.2848199873846227, client 10 is going elsewhere for a bit instead of waiting 2.363997340666803, client 9 attempting to lock 2.363997340666803, client 9 is going elsewhere for a bit instead of waiting 2.3848199873846228, client 10 attempting to lock 2.3848199873846228, client 10 is going elsewhere for a bit instead of waiting 2.463997340666803, client 9 attempting to lock 2.463997340666803, client 9 is going elsewhere for a bit instead of waiting 2.484819987384623, client 10 attempting to lock 2.484819987384623, client 10 is going elsewhere for a bit instead of waiting 2.496672355273499, client 7 has been served 2.5096341949031613, client 8 has been served 2.5639973406668033, client 9 attempting to lock 2.5639973406668033, client 9 is being served 2.584819987384623, client 10 attempting to lock 2.584819987384623, client 10 is being served 2.6740204793540743, client 9 has been served 2.9093389303616495, client 10 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.6902489833314744 0.0, producer is offering 0.14161643111188904 0.28988935273826566, producer is being served, level is 5.141616431111889 0.6056747140361715, consumer is being served, level is 3.451367447780415 3.8454709163821668, producer is offering 1.6655384973285439 4.0068464818902605, consumer is demanding 0.22565252661741741 4.1017473835897995, consumer is being served, level is 3.2257149211629974 4.223606660282833, producer is being served, level is 4.891253418491541 5.179617116035399, consumer is demanding 0.17433148452687008 5.838014950168696, consumer is being served, level is 4.716921933964671 6.1216081050028714, consumer is demanding 2.6748351010514293 7.080201287449724, consumer is being served, level is 2.042086832913242 8.35211013147714, producer is offering 0.9179201141469628 9.194474376280183, producer is being served, level is 2.9600069470602044 10.069052785619721, consumer is demanding 2.312634168044217 10.118853667535506, producer is offering 1.252648773001545 10.43295386525403, consumer is being served, level is 0.6473727790159876 10.462151686631143, producer is being served, level is 1.9000215520175325 11.211019502059472, producer is offering 0.40957404441996736 11.393417906122174, producer is being served, level is 2.3095955964375 11.99687865208539, consumer is demanding 1.7901346557716151 12.018756490087185, consumer is being served, level is 0.519460940665885 16.03164905145448, producer is offering 1.8233304062797786 16.43378276389928, producer is being served, level is 2.3427913469456634 16.902234907441944, consumer is demanding 2.2537729558243624 17.74661593177299, consumer is being served, level is 0.08901839112130094 21.394064102033376, producer is offering 0.4536427766836284 21.44665143044807, consumer is demanding 2.5289144473421703 22.087326985630792, producer is being served, level is 0.5426611678049293 22.799984048398823, consumer has timed out 22.799984048398823, consumer is demanding 1.2410935979368314 24.039279350914022, producer is offering 1.775760650995072 24.15035587536716, consumer has timed out 24.15035587536716, consumer is demanding 2.4697393224953825 24.24244974470401, producer is being served, level is 2.3184218188000014 25.956066312878516, consumer has timed out 26.43003522982612, producer is offering 1.1073855588466948 27.288016952042838, producer is being served, level is 3.425807377646696 29.832089730515772, producer is offering 0.9199660208005851 30.65031114708737, producer is being served, level is 4.345773398447281 Test Summary: | Pass Total Time resources_containers | 2 2 9.9s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ConcurrentSim.Resource ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, client 1 is waiting 0.0, client 1 is being served 0.011584542565428901, client 2 is waiting 0.3506312096482921, client 3 is waiting 0.562771487405136, client 4 is waiting 0.6691689511697894, client 1 has been served 0.6691689511697894, client 4 is being served 0.9379157442325086, client 5 is waiting 1.0182077274214472, client 6 is waiting 1.4418572622325485, client 7 is waiting 1.5218072967709948, client 4 has been served 1.5218072967709948, client 7 is being served 1.898811823302359, client 8 is waiting 2.165366084783051, client 7 has been served 2.165366084783051, client 8 is being served 2.2791015071549396, client 9 is waiting 2.4930505894209274, client 8 has been served 2.4930505894209274, client 9 is being served 2.685573583159108, client 9 has been served 2.685573583159108, client 6 is being served 2.7703665927932746, client 10 is waiting 3.309403602721778, client 6 has been served 3.309403602721778, client 10 is being served 3.8440866311877695, client 10 has been served 3.8440866311877695, client 5 is being served 4.3278539450885365, client 5 has been served 4.3278539450885365, client 3 is being served 4.556892088648969, client 3 has been served 4.556892088648969, client 2 is being served 5.403285831537381, client 2 has been served ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 0.0, consumer is demanding 1.6038587107116962 0.0, producer is offering 1.8123098582299724 0.11241252651463751, consumer is being served, level is 3.3961412892883036 ┌ 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.4732976394175764, producer is being served, level is 5.208451147518276 1.0301687282148475, producer is offering 0.08645238032684599 1.127050631372294, producer is being served, level is 5.294903527845122 2.077956388921575, producer is offering 1.6736565448431115 2.409123459533796, producer is being served, level is 6.968560072688233 4.354082920340284, consumer is demanding 2.745319896262968 4.742218866614516, consumer is being served, level is 4.223240176425265 5.292759902972235, producer is offering 0.8380739420674601 5.4027830416595055, producer is being served, level is 5.061314118492725 7.025377756544639, producer is offering 1.1268326555543162 7.63105247058081, producer is being served, level is 6.188146774047041 7.950445333792718, consumer is demanding 0.869668058214797 7.985093548360533, producer is offering 0.8279968855988791 8.661561646521498, consumer is being served, level is 5.318478715832244 8.66532790193135, producer is being served, level is 6.146475601431123 9.041415446293712, producer is offering 0.18980180339907804 9.434452004763768, producer is being served, level is 6.336277404830201 10.51232173720937, producer is offering 1.651401388477723 10.552240366024828, consumer is demanding 1.9751935023998906 10.57043223205166, producer is being served, level is 7.987678793307924 10.854025386885835, producer is offering 1.7832234007009529 11.458571173508707, consumer is being served, level is 6.0124852909080335 11.812618569332688, producer is being served, level is 7.795708691608986 14.107418854700095, producer is offering 1.6847284896060857 14.29229471295116, producer is being served, level is 9.480437181215072 14.447422671678705, consumer is demanding 1.0917032389029229 15.073747058179478, consumer is being served, level is 8.388733942312149 17.912582532116495, consumer is demanding 0.9383548720988166 18.062356095202162, consumer is being served, level is 7.450379070213332 18.974348115515678, consumer is demanding 2.782938687199384 19.57105966743955, consumer is being served, level is 4.667440383013948 24.566881093987536, consumer is demanding 2.9300870504128547 25.478546297127426, consumer is being served, level is 1.737353332601093 30.43882763526152, consumer is demanding 2.2537729558243624 31.479529593402255, consumer has timed out 31.479529593402255, consumer is demanding 2.2200212992050496 32.399613865341486, consumer has timed out 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.023169085130857803, consumer is demanding object 0.023169085130857803, consumer is being served with object 1 0.7012624192965842, consumer is demanding object 1.3383379023395787, producer is offering object 2 1.3383379023395787, producer is being served 1.3383379023395787, consumer is being served with object 2 2.088626415994324, consumer is demanding object 2.1868990133669546, producer is offering object 3 2.1868990133669546, producer is being served 2.1868990133669546, consumer is being served with object 3 2.3474829797448318, consumer is demanding object 3.8921757045693655, producer is offering object 4 3.8921757045693655, producer is being served 3.8921757045693655, consumer is being served with object 4 4.806084826708986, consumer is demanding object 5.586773843813771, producer is offering object 5 5.586773843813771, producer is being served 5.586773843813771, consumer is being served with object 5 6.347353211518932, consumer is demanding object 6.873891419837883, producer is offering object 6 6.873891419837883, producer is being served 6.873891419837883, consumer is being served with object 6 7.529260429113636, producer is offering object 7 7.529260429113636, producer is being served 7.856421591114553, consumer is demanding object 7.856421591114553, consumer is being served with object 7 7.914306416589997, producer is offering object 8 7.914306416589997, producer is being served 8.008704247050247, producer is offering object 9 8.008704247050247, producer is being served 8.480251610677223, consumer is demanding object 8.480251610677223, consumer is being served with object 9 8.96401892457799, consumer is demanding object 8.96401892457799, consumer is being served with object 8 9.07807030398223, producer is offering object 10 9.07807030398223, producer is being served 9.193057068138424, consumer is demanding object 9.193057068138424, consumer is being served with object 10 Test Summary: | Pass Total Time resources_stores | 5 5 4.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 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this 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 8.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.023169085130857803, consumer is demanding object 0.023169085130857803, consumer is being served with object 1 0.7012624192965842, consumer is demanding object 1.3383379023395787, producer is offering object 2 1.3383379023395787, producer is being served 1.3383379023395787, consumer is being served with object 2 2.088626415994324, consumer is demanding object 2.1868990133669546, producer is offering object 3 2.1868990133669546, producer is being served 2.1868990133669546, consumer is being served with object 3 2.3474829797448318, consumer is demanding object 3.8921757045693655, producer is offering object 4 3.8921757045693655, producer is being served 3.8921757045693655, consumer is being served with object 4 4.806084826708986, consumer is demanding object 5.586773843813771, producer is offering object 5 5.586773843813771, producer is being served 5.586773843813771, consumer is being served with object 5 6.347353211518932, consumer is demanding object 6.873891419837883, producer is offering object 6 6.873891419837883, producer is being served 6.873891419837883, consumer is being served with object 6 7.529260429113636, producer is offering object 7 7.529260429113636, producer is being served 7.856421591114553, consumer is demanding object 7.856421591114553, consumer is being served with object 7 7.914306416589997, producer is offering object 8 7.914306416589997, producer is being served 8.008704247050247, producer is offering object 9 8.008704247050247, producer is being served 8.480251610677223, consumer is demanding object 8.480251610677223, consumer is being served with object 8 8.96401892457799, consumer is demanding object 8.96401892457799, consumer is being served with object 9 9.07807030398223, producer is offering object 10 9.07807030398223, producer is being served 9.193057068138424, consumer is demanding object 9.193057068138424, consumer is being served with object 10 Test Summary: | Total Time resources_stores_deprecated | 0 2.8s ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting a at time 0.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting b at time 2.0 [ Info: putting a at time 4.0 [ Info: putting c at time 6.0 [ Info: taking a at time 10.0 [ Info: taking b at time 12.0 [ Info: taking a at time 14.0 [ Info: taking c at time 16.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting a at time 0.0 [ Info: putting b at time 2.0 [ Info: putting a at time 4.0 [ Info: taking a at time 5.0 [ Info: taking b at time 5.0 [ Info: taking a at time 5.0 [ Info: putting c at time 6.0 [ Info: taking c at time 6.0 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: Inference of a @resumable function failed -- a slower fallback will be used and everything will still work, however please consider reporting this to the developers of ResumableFunctions.jl so that we can debug and increase performance └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 ┌ Warning: The error was FieldError(Compiler.InferenceState, :world) └ @ ResumableFunctions ~/.julia/packages/ResumableFunctions/cprlE/src/safe_logging.jl:15 [ Info: putting a at time 0.0 [ Info: putting b at time 2.0 [ Info: putting a at time 4.0 [ Info: taking a at time 5.0 [ Info: taking a at time 5.0 [ Info: taking b at time 5.0 [ Info: putting c at time 6.0 [ Info: taking c at time 6.0 Test Summary: | Total Time resources_fancy_stores | 0 4.2s 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 9.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 2025-11-23T13:06:21.598 2025-11-25T13:06:21.598 2026-02-23T13:06:21.598 Test Summary: | Total Time utils_time | 0 0.8s ┌ 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#420"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#420"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#420"}}, 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:540 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#420"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#420"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#420"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#420"}}, 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:540 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#420"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#434"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:540 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#443"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#434"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [44] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#443"}}, 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:540 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#443"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#455"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#455"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#455"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#455"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#455"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#455"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#455"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#455"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#462"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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#471"}}, 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:3433 │ │ [55] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [56] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [57] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [58] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [61] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [66] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [43] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:540 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#471"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#462"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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#471"}}, 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:3433 │ │ [55] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [56] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [57] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [58] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [61] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [66] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [43] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [47] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [35] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#471"}}, 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:540 │ │ [27] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#471"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#487"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:540 │ │ [53] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#487"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:540 │ │ [53] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#495"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#495"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#495"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#495"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#495"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#495"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#495"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#495"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#517"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#517"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#517"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#517"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#517"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#517"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#517"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#517"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#544"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#544"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#544"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#544"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#544"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#544"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#544"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#544"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#585"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#585"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#585"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#585"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#585"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#585"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#585"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#585"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#619"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [46] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#619"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#619"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#619"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#619"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [46] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#619"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#619"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#619"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#645"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#645"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#645"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:508 │ [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:437 │ [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:429 │ [15] macro expansion │ @ ./logging/logging.jl:417 [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#645"}}, 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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#645"}}, 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:3433 │ │ [32] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3832 [inlined] │ │ [33] abstract_eval_basic_statement │ │ @ ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:3789 [inlined] │ │ [34] typeinf_local(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState, nextresult::Compiler.CurrentState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4338 │ │ [35] typeinf(interp::Compiler.NativeInterpreter, frame::Compiler.InferenceState) │ │ @ Compiler ./../usr/share/julia/Compiler/src/abstractinterpretation.jl:4495 │ │ [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:1704 [inlined] │ │ [38] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [45] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#645"}}, 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:1704 [inlined] │ │ [25] typeinf_ext_toplevel(mi::Core.MethodInstance, world::UInt64, source_mode::UInt8, trim_mode::UInt8) │ │ @ Compiler ./../usr/share/julia/Compiler/src/typeinfer.jl:1713 │ │ [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:540 │ │ [34] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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:432 │ │ [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:429 │ │ [15] macro expansion │ │ @ ./logging/logging.jl:417 [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#645"}}, 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:540 │ │ [26] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) │ │ @ Base.CoreLogging ./logging/logging.jl:651 │ │ [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::B PkgEval terminated after 208.12s: test log exceeded the size limit